Does RoBERTa Perform Better than BERT in Continual Learning: An Attention Sink Perspective
Not on the map. Why?
Abstract (arXiv)
Continual learning (CL) aims to train models that can sequentially learn new tasks without forgetting previous tasks' knowledge. Although previous works observed that pre-training can benefit CL, it remains unclear whether a pre-trained model with higher downstream capacity also performs better in CL. In this paper, we observe that pre-trained models may allocate high attention scores to some 'sink' tokens, such as [SEP] tokens, which are ubiquitous across various tasks. Such attention sinks may lead to models' over-smoothing in single-task learning and interference in sequential tasks' learning, which may compromise the models' CL performance despite their high pre-trained capabilities. To reduce these effects, we propose a pre-scaling mechanism that encourages attention diversity across all tokens. Specifically, it first scales the task's attention to the non-sink tokens in a probing stage, and then fine-tunes the model with scaling. Experiments show that pre-scaling yields substantial improvements in CL without experience replay, or progressively storing parameters from previous tasks.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 39 of its 46 references that are in the map. First posted on arXiv 8 Oct 2024.
Builds on
39 of 46 references.
References · 39
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2017Gradient Episodic Memory for Continual Learningcited by 1,871
- 2016Progressive Neural Networkscited by 1,332
27 more
- 2017Continual Learning with Deep Generative Replaycited by 1,152
- 2018Deeper Insights into Graph Convolutional Networks for Semi-Supervised Learningcited by 1,099
- 2017Memory Aware Synapses: Learning what (not) to forgetcited by 1,094
- 2018Efficient Lifelong Learning with A-GEMcited by 1,044
- 2021Learning to Prompt for Continual Learningcited by 938
- 2018Representation Learning on Graphs with Jumping Knowledge Networkscited by 875
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
- 2017Lifelong Learning with Dynamically Expandable Networkscited by 689
- 2018Learning to Learn without Forgetting by Maximizing Transfer and Minimizing Interferencecited by 511
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
- 2019On Tiny Episodic Memories in Continual Learningcited by 299
- 2023A Survey on Oversmoothing in Graph Neural Networkscited by 246
- 2020A Note on Over-Smoothing for Graph Neural Networkscited by 245
- 2017Overcoming Catastrophic Forgetting by Incremental Moment Matchingcited by 243
- 2019Episodic Memory in Lifelong Language Learningcited by 188
- 2017FearNet: Brain-Inspired Model for Incremental Learningcited by 177
- 2019LAMOL: LAnguage MOdeling for Lifelong Language Learningcited by 156
- 2020Continual Lifelong Learning in Natural Language Processing: A Surveycited by 152
- 2021An Empirical Investigation of the Role of Pre-training in Lifelong Learningcited by 134
- 2021Achieving Forgetting Prevention and Knowledge Transfer in Continual Learningcited by 91
- 2021Continual Learning for Text Classification with Information Disentanglement Based Regularizationcited by 86
- 2022Revisiting Over-smoothing in BERT from the Perspective of Graphcited by 71
- 2020Tackling Over-Smoothing for General Graph Convolutional Networkscited by 66
- 2020Revisiting Over-smoothing in Deep GCNscited by 55
- 2018Memory-based Parameter Adaptationcited by 35
- 2019Continual Learning for Sentence Representations Using Conceptorscited by 22
- 2022Do Pre-trained Models Benefit Equally in Continual Learning?cited by 20
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.