🤖 AI Summary
To address severe catastrophic forgetting and reliance on historical data in continual learning (CL) for large language models (LLMs), this paper proposes RECALL—a data-free, hierarchical adaptive CL framework. RECALL innovatively employs inter-layer hidden representations as knowledge proxies: it clusters representative samples to compute cross-task representation similarity and performs hierarchical model merging—preserving generic features in shallow layers while integrating task-specific knowledge in deeper layers—without requiring task labels or stored historical data. Evaluated across five NLP tasks and diverse CL settings, RECALL consistently outperforms state-of-the-art baselines, achieving superior knowledge retention and new-task generalization without performance trade-offs. This work establishes a novel paradigm for efficient, scalable online evolution of LLMs.
📝 Abstract
We unveil that internal representations in large language models (LLMs) serve as reliable proxies of learned knowledge, and propose RECALL, a novel representation-aware model merging framework for continual learning without access to historical data. RECALL computes inter-model similarity from layer-wise hidden representations over clustered typical samples, and performs adaptive, hierarchical parameter fusion to align knowledge across models. This design enables the preservation of domain-general features in shallow layers while allowing task-specific adaptation in deeper layers. Unlike prior methods that require task labels or incur performance trade-offs, RECALL achieves seamless multi-domain integration and strong resistance to catastrophic forgetting. Extensive experiments across five NLP tasks and multiple continual learning scenarios show that RECALL outperforms baselines in both knowledge retention and generalization, providing a scalable and data-free solution for evolving LLMs.