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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Hedjazi, Mohamed Abbas, Hadjerci, Oussama, Hafiane, Adel
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915237112840192
author Hedjazi, Mohamed Abbas
Hadjerci, Oussama
Hafiane, Adel
author_facet Hedjazi, Mohamed Abbas
Hadjerci, Oussama
Hafiane, Adel
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2504_08613
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Enhancing knowledge retention for continual learning with domain-specific adapters and features gating
Hedjazi, Mohamed Abbas
Hadjerci, Oussama
Hafiane, Adel
Computer Vision and Pattern Recognition
Image and Video Processing
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.
title Enhancing knowledge retention for continual learning with domain-specific adapters and features gating
topic Computer Vision and Pattern Recognition
Image and Video Processing
url https://arxiv.org/abs/2504.08613