Visualizing and Understanding the Effectiveness of BERT
Not on the map. Why?
Abstract (arXiv)
Language model pre-training, such as BERT, has achieved remarkable results in many NLP tasks. However, it is unclear why the pre-training-then-fine-tuning paradigm can improve performance and generalization capability across different tasks. In this paper, we propose to visualize loss landscapes and optimization trajectories of fine-tuning BERT on specific datasets. First, we find that pre-training reaches a good initial point across downstream tasks, which leads to wider optima and easier optimization compared with training from scratch. We also demonstrate that the fine-tuning procedure is robust to overfitting, even though BERT is highly over-parameterized for downstream tasks. Second, the visualization results indicate that fine-tuning BERT tends to generalize better because of the flat and wide optima, and the consistency between the training loss surface and the generalization error surface. Third, the lower layers of BERT are more invariant during fine-tuning, which suggests that the layers that are close to input learn more transferable representations of language.
Key facts. Cited by 67 papers in the map (data through 7 Oct 2026). First posted on arXiv 15 Aug 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 14; 2022: 18; 2023: 16; 2024: 15; 2025: 3; 2026: 1.
67 papers.
Sort:
By area:
- 2023A Comprehensive Survey of Continual Learning: Theory, Method and Applicationcited by 860
- 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 228
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
- 2021On the Effectiveness of Adapter-based Tuning for Pretrained Language Model Adaptationcited by 147
- 2021An Empirical Investigation of the Role of Pre-training in Lifelong Learningcited by 134
- 2023Full Parameter Fine-tuning for Large Language Models with Limited Resourcescited by 134
- 2022Revealing the Dark Secrets of Masked Image Modelingcited by 117
- 2024Revisiting Catastrophic Forgetting in Large Language Model Tuningcited by 93
- 2023Wider and Deeper LLM Networks are Fairer LLM Evaluatorscited by 91
- 2021HiT: Hierarchical Transformer with Momentum Contrast for Video-Text Retrievalcited by 87
- 2025Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyondcited by 76
- 2021Probing Across Time: What Does RoBERTa Know and When?cited by 73
38 more
- 2022On the Importance and Applicability of Pre-Training for Federated Learningcited by 71
- 2022Improving Sharpness-Aware Minimization with Fisher Mask for Better Generalization on Language Modelscited by 42
- 2023A Preliminary Study of the Intrinsic Relationship between Complexity and Alignmentcited by 33
- 2021What can linear interpolation of neural network loss landscapes tell us?cited by 27
- 2022Why does Self-Supervised Learning for Speech Recognition Benefit Speaker Recognition?cited by 27
- 2022Exploring Mode Connectivity for Pre-trained Language Modelscited by 26
- 2023AccelTran: A Sparsity-Aware Accelerator for Dynamic Inference with Transformerscited by 24
- 2022A Survey of Pretraining on Graphs: Taxonomy, Methods, and Applicationscited by 23
- 2024Adversarial Attacks of Vision Tasks in the Past 10 Years: A Surveycited by 22
- 2023Sparse is Enough in Fine-tuning Pre-trained Large Language Modelscited by 21
- 2022Train Flat, Then Compress: Sharpness-Aware Minimization Learns More Compressible Modelscited by 20
- 2021Interpreting Deep Learning Models in Natural Language Processing: A Reviewcited by 19
- 2022Visualizing high-dimensional loss landscapes with Hessian directionscited by 16
- 2024Random Masking Finds Winning Tickets for Parameter Efficient Fine-tuningcited by 16
- 2021The heads hypothesis: A unifying statistical approach towards understanding multi-headed attention in BERTcited by 15
- 2021Inspecting the concept knowledge graph encoded by modern language modelscited by 15
- 2022On the Complementarity between Pre-Training and Random-Initialization for Resource-Rich Machine Translationcited by 15
- 2021Interpreting Language Models Through Knowledge Graph Extractioncited by 14
- 2022Pyramid-BERT: Reducing Complexity via Successive Core-set based Token Selectioncited by 13
- 2021T3-Vis: a visual analytic framework for Training and fine-Tuning Transformers in NLPcited by 11
- 2024Addax: Utilizing Zeroth-Order Gradients to Improve Memory Efficiency and Performance of SGD for Fine-Tuning Language Modelscited by 11
- 2023Data efficiency and extrapolation trends in neural network interatomic potentialscited by 10
- 2023Prompt Valuation Based on Shapley Valuescited by 10
- 2022Near-optimal control of dynamical systems with neural ordinary differential equationscited by 9
- 2022Improving Generalization of Pre-trained Language Models via Stochastic Weight Averagingcited by 9
- 2024HATFormer: Historic Handwritten Arabic Text Recognition with Transformerscited by 9
- 2022Silence is Sweeter Than Speech: Self-Supervised Model Using Silence to Store Speaker Informationcited by 7
- 2023HiFi: High-Information Attention Heads Hold for Parameter-Efficient Model Adaptationcited by 7
- 2021Targeted Adversarial Training for Natural Language Understandingcited by 5
- 2021Multirate Training of Neural Networkscited by 5
- 2022BERTops: Studying BERT Representations under a Topological Lenscited by 5
- 2023Revisit Few-shot Intent Classification with PLMs: Direct Fine-tuning vs. Continual Pre-trainingcited by 5
- 2024DM-Codec: Distilling Multimodal Representations for Speech Tokenizationcited by 5
- 2021On a Benefit of Mask Language Modeling: Robustness to Simplicity Biascited by 4
- 2023Visually Grounded Continual Language Learning with Selective Specializationcited by 4
- 2023Empowering Dual-Level Graph Self-Supervised Pretraining with Motif Discoverycited by 4
- 2021How Does Adversarial Fine-Tuning Benefit BERT?cited by 3
- 2024A Study on How Attention Scores in the BERT Model are Aware of Lexical Categories in Syntactic and Semantic Tasks on the GLUE Benchmarkcited by 3
50 most cited of 67 All 67 (JSON)
- 2026TuneAhead: Predicting Fine-tuning Performance Before Full Training Begins16 Jun 2026
- 2025Module-Aware Parameter-Efficient Machine Unlearning on Transformers24 Aug 2025
- 2025TRACE for Tracking the Emergence of Semantic Representations in Transformers23 May 2025
- 2025Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyond7 Feb 2025
- 2024Adversarial Attacks of Vision Tasks in the Past 10 Years: A Survey31 Oct 2024
- 2024DM-Codec: Distilling Multimodal Representations for Speech Tokenization19 Oct 2024
- 2024Addax: Utilizing Zeroth-Order Gradients to Improve Memory Efficiency and Performance of SGD for Fine-Tuning Language Models9 Oct 2024
- 2024HATFormer: Historic Handwritten Arabic Text Recognition with Transformers3 Oct 2024
- 2024Weight Scope Alignment: A Frustratingly Easy Method for Model Merging22 Aug 2024
- 2024Hybrid Dynamic Pruning: A Pathway to Efficient Transformer Inference17 Jul 2024
- 2024A BERT-based Empirical Study of Privacy Policies' Compliance with GDPR9 Jul 2024
- 2024Multi-Task Domain Adaptation for Language Grounding with 3D Objects3 Jul 2024
38 more
- 2024Revisiting Catastrophic Forgetting in Large Language Model Tuning7 Jun 2024
- 2024Visualizing, Rethinking, and Mining the Loss Landscape of Deep Neural Networks21 May 2024
- 2024Exploring and Exploiting the Asymmetric Valley of Deep Neural Networks21 May 2024
- 2024Random Masking Finds Winning Tickets for Parameter Efficient Fine-tuning4 May 2024
- 2024Continual Learning of Large Language Models: A Comprehensive Survey25 Apr 2024
- 2024Statistical Mechanics and Artificial Neural Networks: Principles, Models, and Applications5 Apr 2024
- 2024A Study on How Attention Scores in the BERT Model are Aware of Lexical Categories in Syntactic and Semantic Tasks on the GLUE Benchmark25 Mar 2024
- 2023Prompt Valuation Based on Shapley Values24 Dec 2023
- 2023Empowering Dual-Level Graph Self-Supervised Pretraining with Motif Discovery19 Dec 2023
- 2023Sparse is Enough in Fine-tuning Pre-trained Large Language Models19 Dec 2023
- 2023Assessing Logical Reasoning Capabilities of Encoder-Only Transformer Models18 Dec 2023
- 2023The Distributional Hypothesis Does Not Fully Explain the Benefits of Masked Language Model Pretraining25 Oct 2023
- 2023Visually Grounded Continual Language Learning with Selective Specialization24 Oct 2023
- 2023Examining the Effect of Pre-training on Time Series Classification11 Sep 2023
- 2023A Preliminary Study of the Intrinsic Relationship between Complexity and Alignment10 Aug 2023
- 2023Wider and Deeper LLM Networks are Fairer LLM Evaluators3 Aug 2023
- 2023Full Parameter Fine-tuning for Large Language Models with Limited Resources16 Jun 2023
- 2023Revisit Few-shot Intent Classification with PLMs: Direct Fine-tuning vs. Continual Pre-training8 Jun 2023
- 2023HiFi: High-Information Attention Heads Hold for Parameter-Efficient Model Adaptation8 May 2023
- 2023Redundancy and Concept Analysis for Code-trained Language Models1 May 2023
- 2023AccelTran: A Sparsity-Aware Accelerator for Dynamic Inference with Transformers28 Feb 2023
- 2023Data efficiency and extrapolation trends in neural network interatomic potentials12 Feb 2023
- 2023A Comprehensive Survey of Continual Learning: Theory, Method and Application31 Jan 2023
- 2022KL Regularized Normalization Framework for Low Resource Tasks21 Dec 2022
- 2022Improving Generalization of Pre-trained Language Models via Stochastic Weight Averaging12 Dec 2022
- 2022Exploring Mode Connectivity for Pre-trained Language Models25 Oct 2022
- 2022Improving Sharpness-Aware Minimization with Fisher Mask for Better Generalization on Language Models11 Oct 2022
- 2022On the Complementarity between Pre-Training and Random-Initialization for Resource-Rich Machine Translation7 Sep 2022
- 2022Visualizing high-dimensional loss landscapes with Hessian directions28 Aug 2022
- 2022On the Importance and Applicability of Pre-Training for Federated Learning23 Jun 2022
- 2022Near-optimal control of dynamical systems with neural ordinary differential equations22 Jun 2022
- 2022Perspectives of Non-Expert Users on Cyber Security and Privacy: An Analysis of Online Discussions on Twitter5 Jun 2022
- 2022Revealing the Dark Secrets of Masked Image Modeling26 May 2022
- 2022Train Flat, Then Compress: Sharpness-Aware Minimization Learns More Compressible Models25 May 2022
- 2022Silence is Sweeter Than Speech: Self-Supervised Model Using Silence to Store Speaker Information8 May 2022
- 2022BERTops: Studying BERT Representations under a Topological Lens2 May 2022
- 2022Why does Self-Supervised Learning for Speech Recognition Benefit Speaker Recognition?27 Apr 2022
- 2022Pyramid-BERT: Reducing Complexity via Successive Core-set based Token Selection27 Mar 2022
50 newest of 67 All 67 (JSON)
- 2023A Comprehensive Survey of Continual Learning: Theory, Method and Applicationcited by 860
- 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 228
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
- 2021On the Effectiveness of Adapter-based Tuning for Pretrained Language Model Adaptationcited by 147
- 2021An Empirical Investigation of the Role of Pre-training in Lifelong Learningcited by 134
- 2023Full Parameter Fine-tuning for Large Language Models with Limited Resourcescited by 134
- 2022Revealing the Dark Secrets of Masked Image Modelingcited by 117
- 2024Revisiting Catastrophic Forgetting in Large Language Model Tuningcited by 93
- 2023Wider and Deeper LLM Networks are Fairer LLM Evaluatorscited by 91
- 2021HiT: Hierarchical Transformer with Momentum Contrast for Video-Text Retrievalcited by 87
- 2021Probing Across Time: What Does RoBERTa Know and When?cited by 73
- 2022On the Importance and Applicability of Pre-Training for Federated Learningcited by 71
12 most cited of 62 All 62 (JSON)
- 2026TuneAhead: Predicting Fine-tuning Performance Before Full Training Begins16 Jun 2026
- 2025TRACE for Tracking the Emergence of Semantic Representations in Transformers23 May 2025
- 2024DM-Codec: Distilling Multimodal Representations for Speech Tokenization19 Oct 2024
- 2024Addax: Utilizing Zeroth-Order Gradients to Improve Memory Efficiency and Performance of SGD for Fine-Tuning Language Models9 Oct 2024
- 2024HATFormer: Historic Handwritten Arabic Text Recognition with Transformers3 Oct 2024
- 2024Weight Scope Alignment: A Frustratingly Easy Method for Model Merging22 Aug 2024
- 2024Hybrid Dynamic Pruning: A Pathway to Efficient Transformer Inference17 Jul 2024
- 2024A BERT-based Empirical Study of Privacy Policies' Compliance with GDPR9 Jul 2024
- 2024Multi-Task Domain Adaptation for Language Grounding with 3D Objects3 Jul 2024
- 2024Revisiting Catastrophic Forgetting in Large Language Model Tuning7 Jun 2024
- 2024Visualizing, Rethinking, and Mining the Loss Landscape of Deep Neural Networks21 May 2024
- 2024Exploring and Exploiting the Asymmetric Valley of Deep Neural Networks21 May 2024
12 newest of 62 All 62 (JSON)