Bayesian Parameter-Efficient Fine-Tuning for Overcoming Catastrophic Forgetting

Haolin Chen, Philip N. Garner
2/19/2024
eess.AScs.LG

No official code found. Best implementation: idiap/bayesian-peft (3 stars, last commit 2024-09-14).

Abstract

We are motivated primarily by the adaptation of text-to-speech synthesis models; however we argue that more generic parameter-efficient fine-tuning (PEFT) is an appropriate framework to do such adaptation. Nevertheless, catastrophic forgetting remains an issue with PEFT, damaging the pre-trained model's inherent capabilities. We demonstrate that existing Bayesian learning techniques can be applied to PEFT to prevent catastrophic forgetting as long as the parameter shift of the fine-tuned layers can be calculated differentiably. In a principled series of experiments on language modeling and speech synthesis tasks, we utilize established Laplace approximations, including diagonal and Kronecker-factored approaches, to regularize PEFT with the low-rank adaptation (LoRA) and compare their performance in pre-training knowledge preservation. Our results demonstrate that catastrophic forgetting can be overcome by our methods without degrading the fine-tuning performance, and using the Kronecker-factored approximation produces a better preservation of the pre-training knowledge than the diagonal ones.

View on arXivView PDF

Code Implementations(1)

idiap/bayesian-peftCommunity100%

Bayesian Parameter-Efficient Fine-Tuning for Overcoming Catastrophic Forgetting

30MDX, ShellFeb 23, 20242 years ago

Similar Papers

Cite this paper

@article{chen2024bayesian,
  title  = {Bayesian Parameter-Efficient Fine-Tuning for Overcoming Catastrophic Forgetting},
  author = {Haolin Chen and Philip N. Garner},
  year   = {2024},
  eprint = {2402.12220},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.12220v3}
}

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/2402.12220.svg)](https://codeofpaper.com/paper/2402.12220)

Discussion