Chain-of-Experience for Continual LLM Improvement
AuthorsHaoqin Tu, Yunhao Fang, Yizhong Wang, Cihang Xie, Shen Yan
Resources
Chain-of-Experience helps LLMs learn from repeated feedback during inference, improving performance and token efficiency across math, coding, and knowledge tasks.
Key results
Average improvement from feedback-driven CoE over no-feedback inference.
Lower API cost achieved across tasks and models.
Average executor-feedback gain on LiveCodeBench (V6) and LiveBench (Code), from 66.4% to 75.0%.
Average performance with self-feedback versus 66.8% for the no-feedback baseline.
Average Pearson correlation between initial ability and improvement capacity across five benchmarks.
What the paper found
This study introduces Chain-of-Experience, or CoE, a training-free test-time learning framework in which an LLM repeatedly solves a problem, stores the full trajectory of actions and feedback, and conditions its next attempt on that accumulated experience. Feedback can be absent, generated by the model itself, supplied by a code executor, or provided as a correctness signal. Across math, coding, and knowledge benchmarks, experiments with eight models—including OpenAI’s GPT-5, Gemini-2.5 Pro, and Anthropic’s Claude-4.5 Sonnet—show a 5.6% overall improvement over no-feedback inference while reducing API cost by 19%. On LiveCodeBench (V6) and LiveBench (Code), executor feedback raises accuracy by 8.6%, from 66.4% to 75.0%, while self-feedback reaches 71.0% on average compared with 66.8% for the no-feedback baseline. Combining model feedback with correctness or executor signals can improve results further, reaching 81.2% on LiveBench (Code), although Dynamic CheatSheet, Agentic Context Engineering, and other compressed-memory methods often discard useful intermediate reasoning. Improvement capacity correlates positively with initial model ability, averaging a Pearson correlation of 0.50 across five benchmarks. Most gains appear early in the interaction loop, and models remain partially robust to spurious feedback. Because CoE does not update model parameters, its improvements reflect contextual reuse of experience rather than persistent weight-level learning.
Original abstract
Humans continuously learn from experience, whereas conventional large language model (LLM) evaluations ignore the models' ability to improve through inference-time interaction. In this paper, we study how LLMs learn from iterative experience at test time, a setting we refer to as Chain-of-Experience (CoE), where models accumulate experiential traces through iterative interactions with self or environmental feedback to form a continual improvement loop beyond zero-shot inference. We instantiate CoE with diverse feedback mechanisms, including model self-feedback and environmental signals such as correctness or public coding test pass rates, and evaluate across math, coding, and knowledge domains using 8 LLMs, including GPT-5, Gemini-2.5 Pro, Claude-4.5 Sonnet. Our study shows that leveraging iterative experience consistently outperforms feedback-free baselines, achieving substantial gains with self feedback alone, alongside a 5.6% overall improvement and 19% lower API cost across tasks and models. We further show that combining complementary feedback channels (e.g., model and correctness signals) yields additional gains, and that CoE delivers higher accuracy per token than existing test-time strategies. We observe a positive correlation between LLM base ability and improvement capacity, and show that models remain robust under weak or spurious feedback, with different feedback contributing to distinct improvement aspects and most gains emerging early in the iterations.
Read the original paperMore in Continual Learning
Browse all 30 papers →Are Self-Evolving Agents Continual Learners?
Xiaoyin Chen, Yizheng Huang, Yinglun Xu, Ziyun Zhao, Emmett McQuinn, Julie Liu, Hope Yao
The study finds that current self-evolving AI agents can learn new workflows, but often do so by disrupting what they already know.
Don't Forget What You Just Learned: Self-Directed Repair Turns Agent Mistakes Into Lasting Lessons
Yuval Kansal, Karen Ullrich, Polina Kirichenko, Ilia Kulikov, Niraj K. Jha, Mohammad Pezeshki, Mark Ibrahim
Self-Direction turns an agent’s mistakes into small reusable adapters so it can avoid repeating them on future tasks.
Towards Continual Learning: Mitigating Forgetting With Subspace Tuning
Arnav Chavan, Kusha Sareen, Rishabh Tiwari, Abhranil Chandra, Johan Obando-Ceron, Kurt Keutzer, Scott Niekum, Inderjit S Dhillon, Devvrit Khatri
Subspace Tuning aims to help language models learn new skills while preserving the capabilities they already have.