Enhancing knowledge retention for continual learning with domain-specific adapters and features gating

Mohamed Abbas Hedjazi, Oussama Hadjerci, Adel Hafiane
4/11/2025
cs.CVeess.IV

No confident code implementation found for this paper.

Abstract

Continual learning empowers models to learn from a continuous stream of data while preserving previously acquired knowledge, effectively addressing the challenge of catastrophic forgetting. In this study, we propose a new approach that integrates adapters within the self-attention mechanisms of Vision Transformers to enhance knowledge retention when sequentially adding datasets from different domains. Unlike previous methods that continue learning with only one dataset, our approach introduces domain-specific output heads and feature gating, allowing the model to maintain high accuracy on previously learned tasks while incorporating only the essential information from multiple domains. The proposed method is compared to prominent parameter-efficient fine-tuning methods in the current state of the art. The results provide evidence that our method effectively alleviates the limitations of previous works. Furthermore, we conduct a comparative analysis using three datasets, CIFAR-100, Flowers102, and DTD, each representing a distinct domain, to investigate the impact of task order on model performance. Our findings underscore the critical role of dataset sequencing in shaping learning outcomes, demonstrating that strategic ordering can significantly improve the model's ability to adapt to evolving data distributions over time while preserving the integrity of previously learned knowledge.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hedjazi2025enhancing,
  title  = {Enhancing knowledge retention for continual learning with domain-specific adapters and features gating},
  author = {Mohamed Abbas Hedjazi and Oussama Hadjerci and Adel Hafiane},
  year   = {2025},
  eprint = {2504.08613},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.08613v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.08613.svg)](https://codeofpaper.com/paper/2504.08613)

Discussion