TL;DR
LLM agents operating in interactive environments need to accurately estimate their own confidence before executing an action to avoid costly or irreversible mistakes. The Critic Experience Bank (CEB) is a training-free, self-evolving framework that allows a frozen LLM critic to learn from its own past execution consequences, reducing confidence calibration error by up to 54% over strong baselines.
What Problem Does This Paper Address?
When LLM agents operate in web browsers, mobile apps, or terminal shells, a single wrong step can derail an entire task or trigger irreversible side effects (like deleting a file or submitting an incorrect form). To deploy these agents safely, we need step-level confidence estimation—a calibrated probability that a proposed action will be productive, calculated before the action is executed.
Traditional LLM confidence metrics (like token logits, verbalized confidence, or self-consistency) are designed for single-turn text generation. They evaluate whether a response looks locally plausible, but they fail to account for execution consequences—how the environment will actually respond to that action. As a result, standard confidence signals become highly unstable as an agent interacts with an environment over time.
While trained process reward models (PRMs) can provide step-level verification, they require expensive, human-annotated process data and model fine-tuning. CEB addresses this gap by providing a highly calibrated, training-free confidence estimator that works out-of-the-box with fixed API models.
Methods
CEB introduces a self-evolving loop consisting of two main phases: Online Step Confidence Estimation and Hindsight Memory Bank Updates.
- Online Step Confidence Estimation: Before executing a proposed action $a_t$, a frozen LLM critic evaluates it. Crucially, the critic's prompt is augmented with relevant past experiences retrieved from the Experience Bank.
- Hindsight Memory Bank Updates: Once a full trajectory completes, the environment's feedback is fully visible. A "hindsight LLM" reviews the entire action-observation sequence and votes multiple times (to reduce noise) on whether each individual step was actually productive or unproductive.
- Contrastive Retrieval: These hindsight judgments form pseudo-labeled records stored in the bank. When a new step is evaluated, CEB uses a sparse TF-IDF retriever over a composite key (
task || state || action) to pull the top-$k$ most similar productive and unproductive past experiences into the critic's prompt.
By seeing contrastive examples of what worked and what failed in similar past scenarios, the fixed-weight critic dynamically adjusts its confidence based on its own track record.
Datasets
The authors evaluated CEB across three diverse agent benchmarks representing different modalities:
- Mind2Web: A benchmark for web navigation tasks spanning real-world websites.
- AMEX: A dataset for mobile GUI control, consisting of Android multi-annotation episodes.
- InterCode-Bash: An interactive CLI environment for bash shell tasks.
Key Insights and Ideas
- Contrastive Memory is Essential: Ablation studies revealed that retrieving both successful and failed past actions (contrastive retrieval) is the single most critical component of CEB. Seeing similar actions that failed gives the critic the necessary evidence to lower its confidence on locally plausible but ultimately counterproductive steps.
- Sparse Retrieval Beats Dense Retrieval: Surprisingly, a simple sparse TF-IDF retriever outperformed a learned dense embedding model (
text-embedding-3-small). This is because agent decisions often hinge on exact lexical matches—such as clicking the exact same button on near-identical UI screens—which dense embeddings tend to smooth over. - Self-Evolution Over Time: Because the experience bank starts empty and populates as the agent completes tasks, the critic's calibration naturally improves over the task stream without any weight updates or human intervention.
Key Results
CEB was tested across three different critic backbones (GPT-4.1, GPT-5.4, and Qwen3-Next) and consistently achieved the best calibration and ranking performance:
- Drastic Error Reduction: CEB reduced the Expected Calibration Error (ECE) by up to 54% compared to the strongest training-free baseline.
- Closing the Oracle Gap: When compared against an "Oracle" bank populated with perfect ground-truth step labels, CEB recovered up to 95% of the total calibration headroom, proving that hindsight pseudo-labels are highly effective substitutes for human annotations.
- Downstream Utility: In selective execution tests (where the agent defers low-confidence steps to a human or a replanning mechanism), CEB successfully isolated incorrect actions, significantly boosting final task success rates under a fixed review budget.
Limitations and Future Work
The authors note a few limitations that pave the way for future research:
- Model Dependency: The current implementation uses the same LLM backbone for both the online critic and the hindsight labeler, leaving the effects of using independent or smaller models for labeling unexplored.
- Memory Management: As the agent performs thousands of tasks, the experience bank will grow indefinitely. Future work needs to introduce bank compression or eviction mechanisms to handle long-term deployments.
- Closed-Loop Intervention: This paper focuses on evaluating the confidence signal itself; integrating CEB into a live, closed-loop system that triggers automated replanning or human intervention is a natural next step.
Summary updated