Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Calibrate-Then-Act: Cost-Aware Exploration in LLM Agents

About

LLM agents are deployed in environments where they must interact to acquire information. In these scenarios, the agent must reason about inherent cost-uncertainty tradeoffs in how to act, such as when to stop exploring and commit to an answer. For instance, on a programming task, an agent might run the code it generates, or it might generate tests for that code snippet; the cost of writing and running a test is nonzero, but typically lower than the cost of running buggy code. In this work, we show that we can induce LLM agents to explicitly reason about balancing these cost-uncertainty tradeoffs, then act more optimally in their environments. We formalize multiple tasks, including retrieval-augmented QA and a file reading coding task, as sequential decision-making problems under uncertainty. Each problem has latent environment state that impacts the agent's performance. We introduce a framework called Calibrate-Then-Act (CTA), where we pass the agent an inferred prior about this environment state to enable it to act more optimally. This information qualitatively changes agent behavior, and adds environment sensitivity to the agent which is not learned via standard RL training. Our results on a synthetic task, QA, and file reading show that making cost-benefit tradeoffs explicit with CTA helps agents discover more optimal decision-making strategies.

Wenxuan Ding, Nicholas Tomlin, Greg Durrett• 2026

Related benchmarks

TaskDatasetResultRank
Question AnsweringPopQA (test)
Accuracy51.2
111
Decision MakingPandora's Box
Optimal Match Rate0.94
5
CodingCODE (test)
Turns3.47
4
Showing 3 of 3 rows

Other info

GitHub

Follow for update