Improving Interactive In-Context Learning from Natural Language Feedback
Martin Klissarov, Jonathan Cook, Diego Antognini, Hao Sun, Jingling Li, Natasha Jaques, Claudiu Musat, Edward Grefenstette
TL;DR
This work tackles how language models can learn from corrective natural-language feedback by reframing feedback as multi-turn didactic interactions between a student and a teacher with privileged information. It introduces Reinforcement Learning with Language Feedback (RL$^2$F), a scalable method that converts single-turn verifiable problems into multi-turn dialogues and trains the student to integrate feedback via RL. The results show that a smaller model trained with RL$^2$F nearly matches a much larger model on verifiable reasoning tasks and generalizes to coding, puzzles, and maze navigation, driven by enhanced in-context plasticity. It further demonstrates a pathway to self-improvement by having the model internalize the feedback loop and self-correct at inference, i.e., becoming autodidactic, with broad implications for data-efficient continual learning.
Abstract
Adapting one's thought process based on corrective feedback is an essential ability in human learning, particularly in collaborative settings. In contrast, the current large language model training paradigm relies heavily on modeling vast, static corpora. While effective for knowledge acquisition, it overlooks the interactive feedback loops essential for models to adapt dynamically to their context. In this work, we propose a framework that treats this interactive in-context learning ability not as an emergent property, but as a distinct, trainable skill. We introduce a scalable method that transforms single-turn verifiable tasks into multi-turn didactic interactions driven by information asymmetry. We first show that current flagship models struggle to integrate corrective feedback on hard reasoning tasks. We then demonstrate that models trained with our approach dramatically improve the ability to interactively learn from language feedback. More specifically, the multi-turn performance of a smaller model nearly reaches that of a model an order of magnitude larger. We also observe robust out-of-distribution generalization: interactive training on math problems transfers to diverse domains like coding, puzzles and maze navigation. Our qualitative analysis suggests that this improvement is due to an enhanced in-context plasticity. Finally, we show that this paradigm offers a unified path to self-improvement. By training the model to predict the teacher's critiques, effectively modeling the feedback environment, we convert this external signal into an internal capability, allowing the model to self-correct even without a teacher.
