Intelligent Learning Rate Distribution to reduce Catastrophic Forgetting in Transformers

Philip Kenneweg, Alexander Schulz, Sarah Schröder, Barbara Hammer
3/27/2024
cs.CLcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Pretraining language models on large text corpora is a common practice in natural language processing. Fine-tuning of these models is then performed to achieve the best results on a variety of tasks. In this paper, we investigate the problem of catastrophic forgetting in transformer neural networks and question the common practice of fine-tuning with a flat learning rate for the entire network in this context. We perform a hyperparameter optimization process to find learning rate distributions that are better than a flat learning rate. We combine the learning rate distributions thus found and show that they generalize to better performance with respect to the problem of catastrophic forgetting. We validate these learning rate distributions with a variety of NLP benchmarks from the GLUE dataset.

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{kenneweg2024intelligent,
  title  = {Intelligent Learning Rate Distribution to reduce Catastrophic Forgetting in Transformers},
  author = {Philip Kenneweg and Alexander Schulz and Sarah Schröder and Barbara Hammer},
  year   = {2024},
  eprint = {2404.01317},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.01317v1}
}

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

Discussion