跳到正文
arXiv:cs.CL· Fengyuan Liu, Yue Wang, Hangxi Guo, Fengyuan Liu, Chenxu Wu, Yanguang Liu, Mengnan Du·· 3 小时前

从提示词到功能库:EFRE 让 LLM 实现持续学习

From a Prompt to Repertoires: Evolving Functional REpertoires Enable LLM Continual Learning

AI 导读

针对提示词优化在序列任务适应中遭遇灾难性遗忘的问题,研究者提出 Evolving Functional REpertoires(EFRE),用随新任务演化的函数库取代单一提示词,兼容更新则精炼已有函数,冲突更新则催生新函数。

正文

View PDF HTML (experimental)

Abstract:Continual learning remains challenging for large language models, which must enable models to acquire new skills and knowledge without degrading existing capabilities. Existing approaches typically address this challenge by carefully designing how model parameters are updated. In contrast, prompt optimization avoids costly parameter updates while achieving competitive or even superior performance to reinforcement learning methods such as GRPO on individual knowledge-intensive and reasoning tasks. This raises a natural question: \textit{Can prompt optimization, as an efficient adaptation approach, be directly applied to continual learning?} Our analysis shows that, under sequential task adaptation, it suffers from catastrophic forgetting, while optimized prompts accumulate rules that overfit to local task distributions. To address these limitations, we propose \emph{Evolving Functional REpertoires} (EFRE), which replaces a single prompt with a repertoire of functions that evolves as new tasks arrive: compatible updates refine existing functions, while conflicting updates trigger the emergence of new ones. On a three-task continual-learning stream, EFRE achieves a final average performance 7.50 percentage points higher than GRPO. Moreover, after adaptation to the Bio task, its performance on FinQA decreases by only 1.56 percentage points, compared with 25.10 percentage points for the base prompt optimization method. We further instantiate EFRE in a minimal agent system and observe consistent improvements across different backbone models. Overall, these results demonstrate EFRE's strong performance in continual learning for large language models and highlight its substantial potential for continual learning in advanced agent systems.
Subjects: Machine Learning (cs.LG); Computation and Language (cs.CL)
Cite as: arXiv:2610.11373 [cs.LG]
  (or arXiv:2610.11373v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2610.11373

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Fengyuan Liu [view email]
[v1] Thu, 8 Oct 2026 07:06:52 UTC (933 KB)

来源:arXiv:cs.CL · arxiv.org