cs.AIApr 6, 2026

Decocted Experience Improves Test-Time Inference in LLM Agents

Authors: Maohao Shen, Kaiwen Zha, Zexue He, Zhang-Wei Hong, Siru Ouyang, J. Jon Ryu, Prasanna Sattigeri, Suhas Diggavi, +1 more

Organizations: Massachusetts Institute of Technology · Stanford University · MIT-IBM Watson AI Lab · University of Illinois at Urbana-Champaign · University of California, Los Angeles

Abstract

There is growing interest in improving LLMs without updating model parameters. One well-established direction is test-time scaling, where increased inference-time computation (e.g., longer reasoning, sampling, or search) is used to improve performance. However, for complex reasoning and agentic tasks, naively scaling test-time compute can substantially increase cost and still lead to wasted budget on suboptimal exploration. In this paper, we explore context as a complementary scaling axis for improving LLM performance, and systematically study how to construct better inputs that guide reasoning through experience. We show that effective context construction critically depends on decocted experience. We present a detailed analysis of experience-augmented agents, studying how to derive context from experience, how performance scales with accumulated experience, what characterizes good context, and which data structures best support context construction. We identify decocted experience as a key mechanism for effective context construction: extracting essence from experience, organizing it coherently, and retrieving salient information to build effective context. We validate our findings across reasoning and agentic tasks, including math reasoning, web browsing, and software engineering.

Figures & tables

Explore similar work

CardsList
  1. ExpWeaver: LLM Agents Learn from Experience via Latent RAG

    May 31, 2026Tao Feng, Tianyang Luo, Jingjun Xu +5Retrieval-Augmented GenerationAgentic RAG

  2. LLMs Improving LLMs: Agentic Discovery for Test-Time Scaling

    May 8, 2026Tong Zheng, Haolin Liu, Chengsong Huang +10LLM Inference EfficiencyAutomated Algorithm Discovery

  3. Evaluating Test-Time Scaling of General LLM Agents

    Feb 22, 2026Xiaochuan Li, Ryan Ming, Pranav Setlur +6LLM Agent EvaluationTest-Time Scaling