Parameter Efficient Fine-tuning of Self-supervised ViTs without Catastrophic Forgetting

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Bafghi, Reza Akbarian, Harilal, Nidhin, Monteleoni, Claire, Raissi, Maziar
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916313146851328
author Bafghi, Reza Akbarian
Harilal, Nidhin
Monteleoni, Claire
Raissi, Maziar
author_facet Bafghi, Reza Akbarian
Harilal, Nidhin
Monteleoni, Claire
Raissi, Maziar
contents Artificial neural networks often suffer from catastrophic forgetting, where learning new concepts leads to a complete loss of previously acquired knowledge. We observe that this issue is particularly magnified in vision transformers (ViTs), where post-pre-training and fine-tuning on new tasks can significantly degrade the model's original general abilities. For instance, a DINO ViT-Base/16 pre-trained on ImageNet-1k loses over 70% accuracy on ImageNet-1k after just 10 iterations of fine-tuning on CIFAR-100. Overcoming this stability-plasticity dilemma is crucial for enabling ViTs to continuously learn and adapt to new domains while preserving their initial knowledge. In this work, we study two new parameter-efficient fine-tuning strategies: (1)~Block Expansion, and (2) Low-rank adaptation (LoRA). Our experiments reveal that using either Block Expansion or LoRA on self-supervised pre-trained ViTs surpass fully fine-tuned ViTs in new domains while offering significantly greater parameter efficiency. Notably, we find that Block Expansion experiences only a minimal performance drop in the pre-training domain, thereby effectively mitigating catastrophic forgetting in pre-trained ViTs.
format Preprint
id arxiv_https___arxiv_org_abs_2404_17245
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Parameter Efficient Fine-tuning of Self-supervised ViTs without Catastrophic Forgetting
Bafghi, Reza Akbarian
Harilal, Nidhin
Monteleoni, Claire
Raissi, Maziar
Computer Vision and Pattern Recognition
Artificial neural networks often suffer from catastrophic forgetting, where learning new concepts leads to a complete loss of previously acquired knowledge. We observe that this issue is particularly magnified in vision transformers (ViTs), where post-pre-training and fine-tuning on new tasks can significantly degrade the model's original general abilities. For instance, a DINO ViT-Base/16 pre-trained on ImageNet-1k loses over 70% accuracy on ImageNet-1k after just 10 iterations of fine-tuning on CIFAR-100. Overcoming this stability-plasticity dilemma is crucial for enabling ViTs to continuously learn and adapt to new domains while preserving their initial knowledge. In this work, we study two new parameter-efficient fine-tuning strategies: (1)~Block Expansion, and (2) Low-rank adaptation (LoRA). Our experiments reveal that using either Block Expansion or LoRA on self-supervised pre-trained ViTs surpass fully fine-tuned ViTs in new domains while offering significantly greater parameter efficiency. Notably, we find that Block Expansion experiences only a minimal performance drop in the pre-training domain, thereby effectively mitigating catastrophic forgetting in pre-trained ViTs.
title Parameter Efficient Fine-tuning of Self-supervised ViTs without Catastrophic Forgetting
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2404.17245