Search papers, labs, and topics across Lattice.
The paper introduces Memory-Inspired Sampler and Scheduler Replay (MSSR), a novel experience replay framework for continual fine-tuning of LLMs that estimates sample-level memory strength to mitigate catastrophic forgetting. MSSR adaptively schedules rehearsal intervals based on this memory strength, balancing the need for fast adaptation with the preservation of previously learned knowledge. Experiments across three LLMs and 11 sequential tasks demonstrate that MSSR outperforms existing replay strategies, particularly on reasoning and multiple-choice benchmarks.
LLMs can learn new tasks without forgetting old ones, thanks to a memory-aware replay strategy that selectively rehearses important examples.
Continual fine-tuning of large language models (LLMs) is becoming increasingly crucial as these models are deployed in dynamic environments where tasks and data distributions evolve over time. While strong adaptability enables rapid acquisition of new knowledge, it also exposes LLMs to catastrophic forgetting, where previously learned skills degrade during sequential training. Existing replay-based strategies, such as fixed interleaved replay, accuracy-supervised, and loss-driven scheduling, remain limited: some depend on heuristic rules and provide only partial mitigation of forgetting, while others improve performance but incur substantial computational overhead. Motivated by retention dynamics under sequential fine-tuning, we propose Memory-Inspired Sampler and Scheduler Replay (MSSR), an experience replay framework that estimates sample-level memory strength and schedules rehearsal at adaptive intervals to mitigate catastrophic forgetting while maintaining fast adaptation. Extensive experiments across three backbone models and 11 sequential tasks show that MSSR consistently outperforms state-of-the-art replay baselines, with particularly strong gains on reasoning-intensive and multiple-choice benchmarks.