Smarter by the Moment: Environment-Driven Dynamic Policies for Continual LLM Improvement
Abstract
Large Language Models (LLMs) have achieved remarkable progress across diverse domains, but continual adaptation to evolving tasks and environments remains a key challenge. Existing memory-augmented approaches retrieve individual past examples as direct references, but do not explicitly synthesize actionable strategies from them, causing the same types of errors to recur. We propose Dynamic Retrieval-based Policy Generation (DRPG), a framework that integrates memory-based retrieval with a dynamic policy generator, leveraging historical data and environment feedback to produce task-specific policies for continual LLM improvement. We evaluate DRPG across six benchmarks spanning text-to-SQL, question answering, medical diagnosis, and Python programming, using seven LLMs from both proprietary and open-weight families. DRPG outperforms strong baselines across most datasets and models. Further analysis demonstrates that DRPG's policy generation is robust to retrieval strategy, operates effectively without prior policy continuity, and can leverage smaller or cross-family models as cost-efficient policy generators. We also find that the benefit of policy-level guidance depends on task characteristics, offering practical insights into when and under what conditions this mechanism is most effective.
Create a lesson
Metadata
- Comments
- 25 pages, 13 figures. Accepted to the Conference on Language Modeling (COLM) 2026. Code: https://github.com/tingwei161803/drpg
Related papers
How resampling method can help us: Improving the Delta model
Shared title terminologycs.CLJacques Savoy
Failure Broadens, Success Sharpens: Continual Adaptation of Tool-Use Agents Across Diverse Tasks with Dual-Polarity Memory
Shared title terminologycs.CLTianmai M. Zhang, Hoda Shajari, Amr Hendy et al.
AI-human hybrid conversations: Can AI Agents Improve Discourse Quality?
Shared title terminologycs.CLIshita Chakraborty, Xingjian You, Shrabastee Banerjee
CoT-Proxy: Cross-Format Transfer for Distilling Long-Horizon Policies
Shared title terminologycs.CLDawid J. Kopiczko, Tijmen Blankevoort, Yuki M. Asano
Unjamming Deferrals: Supporting Students Through JAMN Bot, a Mobile RAG-Grounded Policy Assistant
Shared title terminologycs.CLMark Farinas, Alesandra Garcia, Maria Reyes et al.
Reading, Writing and Repairing Game-Theoretic Policies in Weight Space
Shared title terminologycs.CLAncil Crayton