CASCADE: Case-Based Continual Adaptation for Large Language Models During Deployment

Siyuan Guo, Yali Du, Hechang Chen, Yi Chang, Jun Wang

arXiv:2605.06702 · 2026-05-11 공개 · arXiv · PDF

llm-agents code-generation adaptive-learning contextual-bandits episodic-memory continual-adaptation case-based-learning deployment-time-learning

Abstract

Large language models (LLMs) have become a central foundation of modern artificial intelligence, yet their lifecycle remains constrained by a rigid separation between training and deployment, after which learning effectively ceases. This limitation contrasts with natural intelligence, which continually adapts through interaction with its environment. In this paper, we formalise deployment-time learning (DTL) as the third stage in the LLM lifecycle that enables LLM agents to improve from experience during deployment without modifying model parameters. We present CASCADE (CASe-based Continual Adaptation during DEployment), a general and principled framework that equips LLM agents with an explicit, evolving episodic memory. CASCADE formulates experience reuse as a contextual bandit problem, enabling principled exploration-exploitation trade-offs and establishing no-regret guarantees over long-term interactions. This design allows agents to accumulate, select, and refine task-relevant cases, transforming past experience into actionable knowledge. Across 16 diverse tasks spanning medical diagnosis, legal analysis, code generation, web search, tool use, and embodied interaction, CASCADE improves macro-averaged success rate by 20.9% over zero-shot prompting while consistently outperforming gradient-based and memory-based baselines. By reframing deployment as an adaptive learning process, this work establishes a foundation for continually improving AI systems.

한국어 요약

📋 한 줄 요약

**[LLM 에이전트 · 지속학습]** 파라미터 갱신 없이 배포 중 사례 기반 에피소딕 메모리를 컨텍스추얼 밴딧으로 학습·재사용하는 CASCADE 프레임워크가 16개 다양한 과제에서 제로샷 대비 매크로 평균 성공률을 20.9%p 향상시켰다.

🎯 핵심 기여도

💡 핵심 아이디어

LLM은 학습-배포가 경직되어 배포 후 학습이 멈춘다. CASCADE는 파라미터를 건드리지 않고 에피소딕 메모리에 사례를 축적·선택·정제하며, 사례 재사용을 컨텍스추얼 밴딧으로 모델링해 이론적으로도 장기적 후회 없음(no-regret)을 보장한다.

🔬 기술적 접근법

📊 주요 결과

💭 의의 및 한계

**의의**: 배포 중에도 LLM 에이전트가 경험을 통해 성능을 끌어올릴 수 있음을 이론·실증적으로 보여, 지속 개선 AI의 토대를 마련한다. **한계**: 메모리 누적에 따른 검색 비용 및 사례 품질 관리, 그리고 보안·프라이버시 측면의 위험성은 추가 검토가 필요하다.

🚀 실용적 활용