← Latest papers
💬 NLP

Chain-of-Experience for Continual LLM Improvement

This paper introduces Chain-of-Experience (CoE), a framework enabling large language models to continuously improve during inference by accumulating iterative experiential traces from self- and environmental feedback, which consistently outperforms zero-shot baselines across math, coding, and knowledge tasks while reducing API costs.

Original authors: Haoqin Tu, Yunhao Fang, Yizhong Wang, Cihang Xie, Shen Yan

Published 2026-08-19
📖 6 min read🧠 Deep dive

Original authors: Haoqin Tu, Yunhao Fang, Yizhong Wang, Cihang Xie, Shen Yan

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Human beings are built to learn from their mistakes. When we solve a difficult problem, fail, and then try again with the knowledge of what went wrong, we do not simply restart from zero; we carry the lesson forward, refining our approach until we succeed. This continuous loop of action, feedback, and adjustment is the engine of human intelligence. For decades, the most advanced computer programs known as large language models have operated quite differently. Once these systems are trained, they are deployed in a fixed state, treating every new question as an isolated event. They generate an answer and stop, ignoring the rich feedback that exists within the problem-solving process itself. They do not learn from the experience of the moment.

This gap between how humans learn and how machines currently operate has led researchers to ask a fundamental question: can these digital minds be taught to learn while they are working, using the experience they gather in real time? The answer lies in a new approach called the Chain-of-Experience. This method treats the entire history of a model's attempts at a problem as a single, evolving story. Instead of discarding a failed attempt, the system feeds the result back into the model, allowing it to read its own previous errors and the feedback it received, then generate a new, improved response. It is a continuous cycle where the model learns from its own journey, updating its understanding with every step it takes.

In a recent study, researchers set out to test whether this concept could actually work across a wide range of difficult tasks. They took eight of the most powerful language models available today, including systems from major technology companies, and placed them in a series of challenging environments involving mathematics, computer programming, and complex knowledge questions. The goal was to see if these models could improve their performance simply by interacting with feedback during the test, without any changes to their underlying training. The researchers designed a system where the models could receive different types of guidance. Sometimes, the feedback came from the model itself, acting as a critic to point out flaws in its own logic. Other times, the feedback came from an external environment, such as a computer program that could instantly tell the model if a piece of code ran successfully or if a mathematical answer was correct.

The results were striking. When these models were allowed to use this iterative process of learning from experience, they consistently outperformed their standard versions that were not allowed to reflect on their mistakes. The improvement was not marginal; the models achieved a significant boost in accuracy across the board. In the realm of computer coding, where the feedback was precise and immediate, the models saw their success rates jump by 8.6 percentage points on average. Even in more abstract tasks like solving complex math problems, where the feedback was less direct, the models still managed to improve their scores by over five percentage points. This suggests that the ability to learn from experience is a powerful tool that can be unlocked even without retraining the model's core brain.

Perhaps more surprising was the efficiency of this new method. The researchers found that these models did not just get better; they got better while spending less money and computing power. By using feedback to guide their thinking, the models reached higher levels of accuracy with fewer attempts and shorter responses. In fact, the study showed that the models could achieve their best results with a nineteen percent reduction in the cost of running them compared to traditional methods that do not use this feedback loop. This indicates that the models were not just guessing more times; they were thinking more effectively, using the information they gathered to avoid dead ends and focus on the right path.

The study also revealed a fascinating pattern regarding the models' own capabilities. The researchers observed that the models which were already the strongest at a task were also the ones that improved the most when given the chance to learn from experience. It appears that a model's capacity to learn from its own history is tied to its initial intelligence; the smarter the model starts, the better it becomes at digesting feedback and evolving its strategy. This correlation was strong across the different tasks tested, suggesting that the ability to learn from experience is not a separate skill but an emergent property of a powerful reasoning system.

Even when the feedback was imperfect or misleading, the models showed a remarkable resilience. In experiments where the researchers deliberately gave the models false information, such as telling them a wrong answer was correct, the models did not collapse. While their performance did dip slightly, the strongest models were able to recover and often still find the right solution. This robustness suggests that these systems are not blindly following instructions but are actively reasoning through the information they receive, weighing the feedback against their own internal logic. The study also found that most of the learning happened very quickly. The models made the vast majority of their improvements in the first few rounds of feedback, after which their performance tended to level off. This implies that the initial moments of reflection are the most critical for learning.

The researchers also explored whether combining different types of feedback could lead to even better results. They found that when a model received both its own internal critique and an external signal confirming the correctness of an answer, the two sources of information worked together to produce the highest scores. This combination allowed the models to benefit from the broad perspective of self-reflection and the precise verification of an external check. However, when the researchers tried to simplify the process by summarizing past experiences into a short memory, the models performed worse. This suggests that the detailed, step-by-step history of the model's attempts contains crucial information that gets lost when the experience is compressed too tightly.

Ultimately, this work demonstrates that large language models are capable of a form of learning that was previously thought to be impossible without retraining. By allowing them to accumulate experience and interact with feedback during the problem-solving process, they can evolve and improve in real time. The study confirms that this approach is not only effective but also efficient, offering a way to get more out of these powerful tools without the massive computational cost of traditional training. As these systems continue to develop, the ability to learn from experience may become a standard feature, bridging the gap between how machines think and how humans learn.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →