Continual learning (CL) aims to adapt models to new tasks sequentially while preserving performance on earlier tasks whose data are no longer available. Many state-of-the-art (SOTA) methods leverage a pre-trained backbone augmented with lightweight fine-tuning modules to balance representation adaptability and knowledge retention. However, retrieval-based methods often retrieve fine-tuning modules at inference via continually learned retrieval functions that are themselves vulnerable to catastrophic forgetting. Alternatively, retrieval-free methods learn prediction mechanisms over a fixed pre-trained or pre-tuned representation space, avoiding forgetting induced by representation updates at the cost of adaptability. To overcome, we develop a novel CL framework that enables parameter-free retrieval by exploiting the distributional structures of task-adaptive representations. Our key insight is fine-tuning modules can be learned not only to acquire task-specific knowledge but also to induce representations that facilitate their own retrieval. Specifically, each fine-tuning module is paired with a compact statistical signature of its induced embedding distribution, enabling likelihood-based retrieval without continually updating a shared retriever. We theoretically characterize the conditions for accurate retrieval, showing that the per-input retrieval error decreases exponentially with representation separation, while the error of retrieving modules for single-task batches decreases exponentially with batch size under suitable conditions. Guided by this analysis, we develop a continual fine-tuning method that promotes representation distinguishability while facilitating cross-task knowledge transfer. Across class-incremental benchmarks, our approach achieves SOTA classification accuracy and the lowest average forgetting, while attaining highly competitive batch-wise retrieval accuracy.
翻译:暂无翻译