mlsanityData to 7 Oct 2026

Hidden State Variability of Pretrained Language Models Can Guide Computation Reduction for Transfer Learning

arXiv 2210.10041 ↗First posted 18 Oct 2022cs.CL cs.AI cs.LGcited by 13

Not on the map. Why?

Abstract (arXiv)

While transferring a pretrained language model, common approaches conventionally attach their task-specific classifiers to the top layer and adapt all the pretrained layers. We investigate whether one could make a task-specific selection on which subset of the layers to adapt and where to place the classifier. The goal is to reduce the computation cost of transfer learning methods (e.g. fine-tuning or adapter-tuning) without sacrificing its performance. We propose to select layers based on the variability of their hidden states given a task-specific corpus. We say a layer is already "well-specialized" in a task if the within-class variability of its hidden states is low relative to the between-class variability. Our variability metric is cheap to compute and doesn't need any training or hyperparameter tuning. It is robust to data imbalance and data scarcity. Extensive experiments on the GLUE benchmark demonstrate that selecting layers based on our metric can yield significantly stronger performance than using the same number of top layers and often match the performance of fine-tuning or adapter-tuning the entire language model.

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 56 of its 68 references that are in the map. First posted on arXiv 18 Oct 2022.

Builds on

56 of 68 references.

References · 56

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  6. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  7. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  8. 2018Deep contextualized word representationscited by 2,285
  9. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  10. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
  11. 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,234
  12. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
38 more
  1. 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 863
  2. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  3. 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
  4. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  5. 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 713
  6. 2019Designing and Interpreting Probes with Control Taskscited by 608
  7. 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
  8. 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 376
  9. 2019KEPLER: A Unified Model for Knowledge Embedding and Pre-trained Language Representationcited by 356
  10. 2020Parameter-Efficient Transfer Learning with Diff Pruningcited by 351
  11. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
  12. 2019ERNIE: Enhanced Representation through Knowledge Integrationcited by 301
  13. 2021Layer-wise Analysis of a Self-supervised Speech Representation Modelcited by 293
  14. 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 267
  15. 2020On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselinescited by 254
  16. 2020Information-Theoretic Probing with Minimum Description Lengthcited by 230
  17. 2021A Geometric Analysis of Neural Collapse with Unconstrained Featurescited by 226
  18. 2021WARP: Word-level Adversarial ReProgrammingcited by 220
  19. 2020Information-Theoretic Probing for Linguistic Structurecited by 204
  20. 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
  21. 2019To Tune or Not to Tune? Adapting Pretrained Representations to Diverse Taskscited by 167
  22. 2021Exploring Deep Neural Networks via Layer-Peeled Model: Minority Collapse in Imbalanced Trainingcited by 166
  23. 2016On Deep Multi-View Representation Learning: Objectives and Optimizationcited by 162
  24. 2021Neural Collapse Under MSE Loss: Proximity to and Dynamics on the Central Pathcited by 156
  25. 2020Probing the Probing Paradigm: Does Probing Accuracy Entail Task Relevance?cited by 144
  26. 2020Neural collapse with unconstrained featurescited by 140
  27. 2019The Bottom-up Evolution of Representations in the Transformer: A Study with Machine Translation and Language Modeling Objectivescited by 139
  28. 2020On the Effect of Dropping Layers of Pre-trained Transformer Modelscited by 118
  29. 2020What Happens To BERT Embeddings During Fine-tuning?cited by 113
  30. 2022Extended Unconstrained Features Model for Exploring Deep Neural Collapsecited by 101
  31. 2021On the Role of Neural Collapse in Transfer Learningcited by 100
  32. 2022On the Optimization Landscape of Neural Collapse under MSE Loss: Global Optimality with Unconstrained Featurescited by 97
  33. 2022Neural Collapse: A Review on Modelling Principles and Generalizationcited by 95
  34. 2020Traces of Class/Cross-Class Structure Pervade Deep Learning Spectracited by 94
  35. 2021An Unconstrained Layer-Peeled Perspective on Neural Collapsecited by 87
  36. 2020Why Do Better Loss Functions Lead to Less Transferable Features?cited by 73
  37. 2022Limitations of Neural Collapse for Understanding Generalization in Deep Learningcited by 63
  38. 2022Neural Collapse Inspired Attraction-Repulsion-Balanced Loss for Imbalanced Learningcited by 43

50 most cited of 56 All 56 (JSON)

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 9; 2024: 3.

13 papers.

Sort: