# How Efficient Is Your Agent? Online Predictive Bounds under Budget Constraints

PROBE predicts how many steps agents need under a limited budget

Roy Maor Lotan, Shai Feldman, Yaniv Romano · arXiv · 2026-11-8

- **Problem** Checking a predictive bound on agent runtime needs the true finish time, but budget limits stop many runs early. Early stops hide whether the bound held, so calibration loses its feedback exactly when the budget is tight.
- **Method** PROBE calibrates upper bounds online with inverse-probability-weighted feedback, unlike offline methods that calibrate once on a fixed set. It also picks which tasks get a full run, so the budget holds at every prefix.
- **Results** On the SWE data, PROBE's coverage stayed closer to the 0.90 target than ACI+IPCW, with tighter bounds.

![Figure 1: Illustration of PROBE framework.For each arriving task (1), the system predicts the required time-to-success or token count (2). After environmental…](https://refivu.com/papers/2fbb7b4d-cfef-446a-beb3-900f7d602be4/figures/figure-4bc60bacea5f19d5ff22d32a7e23b2b1.png?thumb=512)

**Figure 1** :Illustration of PROBE framework.For each arriving task (1), the system predicts the required time-to-success or token count (2). After environmental interaction where the agent executes the provided task (3), a budget is allocated for additional execution for agent evaluation (4). The result evaluation step (5) determines whether the task finished on time, leading to either a censored outcome with history-based correction (5a) or an observed outcome with direct trajectory evaluation (5b). Both outcomes are integrated via a coverage-aware update (6) (Theorem 3) consisting of (6a) online calibration to adjust predictive upper bounds (τt+1) and (6b) a budget strategy to optimize future budget allocation (πt+1).

[Original paper](https://arxiv.org/abs/2611.11279v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Roy Maor Lotan, Shai Feldman, Yaniv Romano · How Efficient Is Your Agent? Online Predictive Bounds under Budget Constraints · Original paper figure · Extracted the figure area from page 2 of the original PDF.

## Why censored agent runs make bounds hard

Agent runs are long and costly, so predicting how many interactions a task needs is useful before it starts. The authors want an upper predictive bound on time-to-success that covers the true value with probability at least 1 minus alpha. Checking such a bound against outcomes is where the trouble starts, because the check needs the true time-to-success.

A per-task censoring time caps how many iterations the agent may spend, so many runs stop before the agent finishes. When the censoring time falls below the bound, the run never shows whether the bound held, so the coverage check can't be made. Censoring can hide prediction errors, so the feedback that calibration relies on gets thinner exactly when the budget is tight.

Offline conformal survival methods collect a fixed set of censored samples and calibrate once, which doesn't fit a stream of tasks. Here the censoring times and bounds change with every task, and each censored run becomes training data for later bounds. Prediction and data collection are therefore coupled, because the choice of how long to run affects future bounds.

On the SWE data, the ACI-based baseline adapted for censoring gave overly conservative upper bounds under a limited budget.

## How PROBE calibrates and allocates budget

PROBE keeps the ACI habit of nudging a calibration knob after each error, but feeds that knob with feedback that stays valid under censoring. The knob is the reparameterized value a\_t, and the bound uses tau\_t equal to tau\_max times exp(minus a\_t), together with U\_t equal to q\_t(X\_t; tau\_t). A larger a\_t gives a smaller tau\_t, which raises the upper-tail quantile level and makes the bound more conservative.

The parameterization keeps tau\_t inside (0, tau\_max\] for every t, and the authors say it allows faster adaptation to distributional shifts.

Each finished task yields an inverse-probability-weighted error, the observed miscoverage divided by G\_t(U\_t). The estimate rho\_t is 1 minus the estimated CDF at U\_t, and it adds a correction whose conditional mean is zero. Because the correction has conditional mean zero, the feedback stays unbiased even when the estimated CDF is inaccurate.

The calibration parameter then moves by projected online gradient descent, a\_{t+1} equals the maximum of 0 and a\_t plus eta times s\_t. Here s\_t is the corrected feedback minus alpha, so observed miscoverage raises a\_t and observed coverage pushes it toward zero. The authors note that any predictable rho\_t in \[0, 1\] keeps the feedback unbiased, but its choice changes the variance.

For a fixed censoring law, the variance is minimized when rho\_t equals the conditional miscoverage probability m\_t, the optimal augmentation for IPCW estimators.

For each arriving task, PROBE sets the censoring time C\_t to u\_t, the ceiling of U\_t, with probability pi\_t, and to zero otherwise. The inverse-probability weight is 1 over pi\_t, so a task that is rarely run contributes a larger correction when it is observed. The allocator picks pi\_t from the feasible set Pi^bud\_t, which requires that every prefix stays within the budget.

Among feasible values, the allocator minimizes an anticipated coverage deficit built from a model of the completion time. Because unused allowance carries forward, a task can spend more than C\_task in expectation when earlier tasks left room. Assumption 1 holds by construction because the allocator draws the censoring times with fresh randomization.

## Coverage and width on three settings

On the SWE data with an expected budget of 20 per task and alpha of 0.10, the Uncalibrated predictor undercovers the true event time. ACI+IPCW overcovers the response, while PROBE's coverage over moving windows of time stays closer to the desired level. Each window spans 50 tasks, so the plotted values are local coverage readings rather than a single cumulative number.

In the RAG setting, the Uncalibrated predictor systematically undercovers the time-to-success over 1,000 steps and 10 repetitions. With alpha of 0.10 and a budget of 25, ACI+IPCW attains coverage above the target and yields large, less informative UPBs. The authors read this as evidence that accounting for censored feedback restores reliability while keeping predictions informative.

![Figure 3: RAG setting:Results after 1,000 steps across 10 repetitions forα = 0.10and budget constraintCtask = 25, comparing theUncalibrated, ACI+IPCW, and Prop…](https://refivu.com/papers/2fbb7b4d-cfef-446a-beb3-900f7d602be4/figures/figure-a41b0f5a4b01e8f256ae96845c2ab0bd.png?thumb=512)

**Figure 3** :RAG setting:Results after 1,000 steps across 10 repetitions forα = 0.10and budget constraintCtask = 25, comparing theUncalibrated, ACI+IPCW, and Proposed methods. (a) Boxplots of empirical local coverage over window= 50; the dashed line marks the target coverage level. (b) Boxplots of the mean upper predictive bound within each repetition.

[Original paper](https://arxiv.org/abs/2611.11279v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

The SWE ablation at a budget of 15.0 separates the ACI+IPCW zero-budget penalty from the exponential parametrization. Without the penalty, the ACI+IPCW variant undercovers under tight budgets, because skipped rounds induce optimistic calibration updates. The penalty restores empirical coverage at the cost of wider upper predictive bounds.

The non-exponential penalized variant reaches 0.9126 with mean UPB 191.5697 at comparable spending. The two methods spent 14905.5 and 14749.7, so the width gap doesn't come from a larger budget. They didn't isolate the contribution of the proposed budget allocator in this ablation.

## What the theorems promise

Theorem 3 is a finite-horizon statement about average conditional coverage, not a guarantee for each task. For every fixed T and delta\_cov in (0,1), the average of P(T\_t \<= U\_t \| X\_t, D\_{t-1}) is at least 1 minus alpha plus (A\_rho,T minus Gamma\_T minus F\_T(delta\_cov)) divided by T, with probability at least 1 minus delta\_cov. Gamma\_T is built from the observed threshold-weighted sum L\_T and the squared update signals Q\_T.

F\_T(delta\_cov) is a confidence buffer that comes from an exponential-moment concentration bound on the IPCW feedback. The bound uses the signed centered correction A\_rho,T, which is the cumulative sum of rho\_t times one minus the reach indicator over G\_t(U\_t).

The authors note that a terminal cancellation condition lets the coverage certificate reach the nominal threshold. The residual bound in the proof doesn't need that terminal cancellation, since the proof states it holds without it. The coverage claim relies on Assumptions 1 and 2, together with the quantile and threshold regularity in Assumption 5.

Assumption 1 says the censoring time C\_t is conditionally independent of T\_t given X\_t, R\_t and D\_{t-1}.

Theorem 4 bounds the average expected consumed budget, not the realized budget, by C\_task over every fixed horizon T. The quantity bounded is the average of E\[(T̃\_t minus R\_t) plus\], which is the actually consumed budget for each task. The accumulating constraint in (3) limits that expected cost at every prefix, so unused allowance can fund later rounds.

The allocator draws C\_t with fresh randomness, which makes Assumption 1 hold by construction. A high-probability budget bound, holding jointly with the coverage certificate, appears in Theorem 12 in Appendix B.3.

## Limitations and open directions

The guarantees cover average conditional coverage over a finite horizon, and the paper states that coverage holds on average over the task stream. They don't hold for each task or for each subgroup, which the authors flag as a limit of the current framework.

The framework assumes the auditor that labels the event of interest is reliable. Unit tests, automated checkers and LLM judges can be noisy or incorrect in practice. The authors name robustness to such incorrect labels as an open direction.

The main experiments use the penalized ACI+IPCW variant, so the baseline is not the unpenalized one. Under tight budgets, the unpenalized implementation shows undercoverage, which is why the authors chose the penalized version. The unit penalty restores empirical coverage at the cost of wider upper predictive bounds. The ablation in Table 1 uses only the real SWE dataset at Ctask = 15.0, with ten repetitions of 1,000 rounds.

The authors also say the guarantees don't certify complete system reliability or safety. Their coverage claims apply to the specified event, auditor and coverage criterion only. Time-to-event bounds can also flag how many iterations undesirable events need before they occur.

## Paper info

- **Authors**: Roy Maor Lotan, Shai Feldman, Yaniv Romano
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-8
- **Added**: 2026-11-10
- **Updated**: 2026-11-8
- **Version**: v1
- **arXiv**: 2611.11279
- **Category**: cs.LG
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.11279v1) · [PDF ↗](https://arxiv.org/pdf/2611.11279v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

We evaluate AI agents in an online setting where tasks arrive sequentially and, before running each task, we construct an upper predictive bound on its \\emph{time-to-success}---the number of interactions until the task is completed successfully. Under a limited budget, some runs are stopped early, so their time-to-success is unobserved (right-censored), and the correctness of the bound may be unknown. We introduce \\emph{\\textbf{PR}edictive Bounds for \\textbf{O}nline \\textbf{B}udget \\textbf{E}fficiency} (\\texttt{PROBE}), a method for constructing calibrated upper predictive bounds while adaptively allocating a limited budget across agent tasks to reduce the anticipated coverage deficit. Our method calibrates the bounds online using inverse-probability-weighted feedback together with a correction designed to minimize coverage deficit while remaining unbiased. We prove that \\texttt{PROBE} provides a coverage guarantee for any finite time horizon while satisfying the budget constraint. Experiments on software engineering, retrieval-augmented generation, and instruction following show that \\texttt{PROBE} attains a coverage rate closer to the target level with tighter predictive bounds than a calibrated baseline.

## Quote from the paper

Roy Maor Lotan, Shai Feldman, Yaniv Romano (2026). How Efficient Is Your Agent? Online Predictive Bounds under Budget Constraints. arXiv:2611.11279v1. https://arxiv.org/abs/2611.11279v1

**BibTeX**

```
@misc{lotan2026efficient,
  title = {{How Efficient Is Your Agent? Online Predictive Bounds under Budget Constraints}},
  author = {Roy Maor Lotan and Shai Feldman and Yaniv Romano},
  year = {2026},
  eprint = {2611.11279},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.11279v1}
}
```

## Other paper commentary

- [PIA: Agentic Physics-Informed Runtime Anomaly Detection](https://refivu.com/en/papers/9759ea5e-4edd-4749-bb03-45759285d767-pia-agentic-physics-informed-runtime-anomaly-detection.md)
- [Advancements in Cloud-Native Systems: A Systematic Mapping Study of Reliability and Scalability across Cloud-Native, Edge-Native and AI-Enabled Systems](https://refivu.com/en/papers/dcc9a55c-1402-4ca3-b4fb-5c370442536e-advancements-in-cloud-native-systems-a-systematic-mapping.md)
- [Think or Remember: The Exchange Rate of Agentic Inference](https://refivu.com/en/papers/430e6cf8-4d25-4ea8-8672-86be1d22daf9-think-or-remember-the-exchange-rate-of-agentic.md)
- [How to "train" a surgeon? Benchmarking generalist agents in surgical scene understanding](https://refivu.com/en/papers/c14fcb0f-7658-4cdb-aab2-a512b0b5e61c-how-to-train-a-surgeon-benchmarking-generalist-agents.md)
- [Firepool: Brokering Warm GPU Capacity for Agentic and RL Workloads at LinkedIn](https://refivu.com/en/papers/0e017dee-ff2c-4a1f-9e6d-de71d910b214-firepool-brokering-warm-gpu-capacity-for-agentic-and.md)
- [Reflexion: Language Agents with Verbal Reinforcement Learning](https://refivu.com/en/papers/a572f458-b121-4d38-bfc9-7a77309a3aba-reflexion-language-agents-with-verbal-reinforcement-learning.md)
- [Task-adaptive anonymisation enables privacy-preserving sharing of clinical speech data](https://refivu.com/en/papers/2d28cb8a-75a8-4897-bbf8-fdb5cfb0dcac-task-adaptive-anonymisation-enables-privacy-preserving.md)
- [Learning calibrated probabilistic forecasts using Koopman mode decomposition and the continuous ranked probability score](https://refivu.com/en/papers/7d2160bc-b50d-4daa-80ae-47f45db09a7e-learning-calibrated-probabilistic-forecasts-using-koopman.md)
- [Fast Approximate $\\ell\_p$ Chamfer Distance via Lopsided Embeddings and Structured JL](https://refivu.com/en/papers/af65be94-df4a-495e-b528-92e1039c3712-fast-approximate-ell-p-chamfer-distance-via-lopsided.md)
- [Map2SLAM: From Streaming Map Prediction to Real-Time SLAM](https://refivu.com/en/papers/bb1368e0-4956-4656-a723-87cdafb34923-map2slam-from-streaming-map-prediction-to-real-time.md)
- [Horizon-Scalable Q-Learning](https://refivu.com/en/papers/7423413a-b61a-4919-884f-a61103a7ae8f-horizon-scalable-q-learning.md)
- [LongCap: Hour-Scale Timestamped Audio Captioning via Chunk-wise Processing](https://refivu.com/en/papers/3d29785b-d68d-4ba4-8ec6-d0cb9c1d3076-longcap-hour-scale-timestamped-audio-captioning-via-chunk.md)

## Terms in this paper

- [Adaptive conformal inference](https://refivu.com/en/terms/45bff93c6fbc-adaptive-conformal-inference)
- [NFCorpus](https://refivu.com/en/terms/c11c375ee20f-nfcorpus)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/2fbb7b4d-cfef-446a-beb3-900f7d602be4-how-efficient-is-your-agent-online-predictive-bounds)
