Do Agents Know When They Succeed? Calibrating Agent Confidence from Internal Representations
Abstract
As agentic systems getting adopted rapidly in safety critical applications, it is vital to measure the confidence associated with the agentic actions. In comparison to the traditional machine learning systems, agentic workflows have complex failure modes with planning, tool invocation and dynamic environment interactions. In this paper, we investigate whether model's internal representations provide stronger signals of eventual task success in multi-turn agentic setups. We introduce two complementary methods: Latent Trajectory Dynamics (LTD), which summarizes changes in residual-stream representations across an interaction trajectory, and the Action Representation Probe (ARP), which predicts success from representations formed at action decisions. Across three interactive benchmarks (Bash, SQL, Python) and three model families (Qwen14B, Qwen7B, DeepSeek6.7B), our methods consistently outperform surface level generation and sequence-based calibration baselines providing a zero-overhead reliability monitor that requires neither prompt alterations nor multi-sample rollouts.
Create a lesson
Related papers
Know When to Abstain: Conformal Confidence Estimation for Text-to-SQL
Shared title terminologycs.AIAvinash Kumar Singh, Bhaskarjit Sarmah, Stefano Pasquali
Context-Grounded Skill Internalization for Vision-Language Agents
Shared title terminologycs.AIJinlin Liu, Yumeng He, Qihan Huang et al.
Graph-Based Personalized Memory for LLM Agents: Representation, Evolution, Retrieval, and Evaluation
Shared title terminologycs.AIDac Duy Anh Nguyen, Zhangchi Qiu, Shigeng Chen et al.
Modeling Event-Conditioned Emotional Expression Response with LLM Agents in a Synthetic Social Simulation
Shared title terminologycs.AIRebecca Marigliano, Peter Carragher, Kathleen M. Carley
Compressible Representations: Functional Spines in Deep Neural Networks
Shared title terminologycs.AINiranjan Rajesh, Meenakshi Khosla
A Generative AI Agent to Emulate Interactive Human-driven Vehicles for Automated Driving Testing in Urban Areas
Shared title terminologycs.AIJia Hu, Changjian Yu, Panqu Wang et al.