Evaluating the performance of AI agents is notoriously difficult. Unlike a simple classifier, an agent might take five, fifty, or five hundred steps to solve a coding problem or answer a complex query. To use these agents effectively in production, we don't just need to know if they will succeed, but how long they will take.
In their recent paper, "How Efficient Is Your Agent?", researchers from Technion introduce PROBE (PRedictive Ondline Budget Efficiency), a framework designed to provide reliable upper bounds on an agent's "time-to-success" while operating under a strict computational budget.
TL;DR
PROBE is an online framework that constructs calibrated upper predictive bounds for an AI agent's time-to-success. It uniquely handles "right-censored" data—where tasks are stopped early due to budget constraints—by coupling a censoring-aware calibration mechanism with an adaptive budget allocation strategy.
What Problem Does This Paper Address?
Most agent evaluations focus on binary success rates. However, agentic efficiency (the number of interactions, tool calls, or tokens required) is a more informative metric for real-world deployment.
The challenge lies in online evaluation under budget constraints. If you have a stream of tasks and a limited total budget, you can't afford to run every agentic trajectory to completion. When you stop an agent early, you encounter a "right-censoring" problem: you know the agent didn't succeed within $X$ steps, but you don't know if it would have succeeded at step $X+1$ or never at all. This missing information makes it incredibly hard to calibrate predictive models that tell a user, "This task will take no more than $N$ steps with 90% certainty."
Methods
The PROBE framework consists of two tightly coupled components that run as tasks arrive sequentially:
- Censoring-Aware Online Calibration: Building on Adaptive Conformal Inference (ACI), PROBE adjusts its predictive bounds based on past errors. To handle censored data, it uses Inverse-Probability-of-Censoring Weighting (IPCW). Essentially, it weights observed failures more heavily to compensate for failures hidden by early timeouts. Crucially, PROBE adds a model-based "correction" term (an imputation of the miscoverage probability) that reduces the variance of these updates while maintaining statistical unbiasedness.
- Coverage-Informed Budget Allocation: Instead of a fixed timeout for every task, PROBE adaptively decides how much budget to allocate to the current task. It solves a constrained optimization problem: "How can I spend my remaining budget to most effectively reduce my future prediction error (coverage deficit)?"
Datasets
The authors evaluated PROBE across three diverse agentic settings:
- Software Engineering (SWE): Using the
nebius/SWE-agent-trajectoriesdataset, they predicted the number of interactions required for an agent to resolve real-world GitHub issues. - Retrieval-Augmented Generation (RAG): Using the
NFCorpusmedical benchmark, they predicted how many retrieval iterations were needed to find all relevant documents for a query. - Instruction Following (AutoIF): They used the
AutoIFdataset and the Anthropic Red Team dataset to model multi-turn conversations aimed at satisfying complex constraints or achieving "jailbreaks."
Key Insights and Ideas
- Prediction and Data Collection are Coupled: In an online setting, the decision of how much budget to spend on Task A directly changes the data available to calibrate the model for Task B. PROBE is the first to treat budget allocation as an active data collection problem for conformal prediction.
- Stability via Imputation: Standard IPCW-based methods are often "jumpy" because they rely on rare, high-weight events. By incorporating a model-based estimate of the missing data (the $\rho_t$ term in the paper), PROBE achieves much smoother and more stable calibration.
- Efficiency over Conservatism: Traditional methods for handling censored data often result in "over-coverage"—they produce bounds that are so large they are practically useless. PROBE aims for the "Goldilocks" zone: hitting the target coverage level (e.g., exactly 90%) with the tightest possible bounds.
Key Results
The experiments demonstrate that PROBE significantly outperforms standard uncalibrated models and basic ACI baselines.
- Reliable Coverage: While uncalibrated models consistently underestimate the time required (under-coverage), PROBE tracks the target coverage level (e.g., 0.90) accurately over time.
- Tighter Bounds: Compared to a baseline that simply adapts ACI for censoring (ACI+IPCW), PROBE provides much more "informative" (smaller) upper predictive bounds. In the SWE experiments, the baseline bounds were often twice as large as those produced by PROBE while achieving similar or worse coverage.
Limitations and Future Work
The authors identify several areas for further exploration:
- Individualized Guarantees: Currently, the coverage guarantee is an average over the task stream. Future work could aim for "group-conditional" coverage to ensure the bounds are equally reliable for different types of tasks.
- Noisy Auditors: The framework assumes the "verifier" (e.g., a unit test or LLM judge) is 100% accurate. In reality, these auditors can be noisy, and the framework needs to be made robust to incorrect success/failure labels.
- Safety Applications: The authors suggest that time-to-event bounds are not just for efficiency; they can also be used for safety, such as predicting the "time-to-unsafe-behavior" during red-teaming.
For researchers building autonomous agents, PROBE offers a mathematically rigorous way to answer the question: "How much is this going to cost me, and how sure are you?"
Summary updated