mlsanityData to 14 Oct 2026

Evaluating natural language processing models with generalization metrics that do not need access to any training or testing data

arXiv 2202.02842 ↗First posted 6 Feb 2022cs.CL cs.LGcited by 19

Not on the map. Why?

Abstract (arXiv)

Selecting suitable architecture parameters and training hyperparameters is essential for enhancing machine learning (ML) model performance. Several recent empirical studies conduct large-scale correlational analysis on neural networks (NNs) to search for effective generalization metrics that can guide this type of model selection. Effective metrics are typically expected to correlate strongly with test performance. In this paper, we expand on prior analyses by examining generalization-metric-based model selection with the following objectives: (i) focusing on natural language processing (NLP) tasks, as prior work primarily concentrates on computer vision (CV) tasks; (ii) considering metrics that directly predict test error instead of the generalization gap; (iii) exploring metrics that do not need access to data to compute. From these objectives, we are able to provide the first model selection results on large pretrained Transformers from Huggingface using generalization metrics. Our analyses consider (I) hundreds of Transformers trained in different settings, in which we systematically vary the amount of data, the model size and the optimization hyperparameters, (II) a total of 51 pretrained Transformers from eight families of Huggingface NLP models, including GPT2, BERT, etc., and (III) a total of 28 existing and novel generalization metrics. Despite their niche status, we find that metrics derived from the heavy-tail (HT) perspective are particularly useful in NLP tasks, exhibiting stronger correlations than other, more popular metrics. To further examine these metrics, we extend prior formulations relying on power law (PL) spectral distributions to exponential (EXP) and exponentially-truncated power law (E-TPL) families.

Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). Builds on 46 of its 69 references that are in the map. First posted on arXiv 6 Feb 2022.

Builds on

46 of 69 references.

References · 46

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  6. 2016Pointer Sentinel Mixture Modelscited by 3,096
  7. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  8. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  9. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,262
  10. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
  11. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
  12. 2020On Layer Normalization in the Transformer Architecturecited by 922
34 more
  1. 2019DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generationcited by 842
  2. 2018How To Backdoor Federated Learningcited by 765
  3. 2021BARTScore: Evaluating Generated Text as Text Generationcited by 722
  4. 2017Spectrally-normalized margin bounds for neural networkscited by 686
  5. 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 672
  6. 2017Exploring Generalization in Deep Learningcited by 600
  7. 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 588
  8. 2019Fantastic Generalization Measures and Where to Find Themcited by 513
  9. 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 460
  10. 2019Deep Ensembles: A Loss Landscape Perspectivecited by 443
  11. 2019HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precisioncited by 402
  12. 2017A PAC-Bayesian Approach to Spectrally-Normalized Margin Bounds for Neural Networkscited by 314
  13. 2015Norm-Based Capacity Control in Neural Networkscited by 299
  14. 2019Uniform convergence may be unable to explain generalization in deep learningcited by 224
  15. 2018Implicit Self-Regularization in Deep Neural Networks: Evidence from Random Matrix Theory and Implications for Learningcited by 215
  16. 2020Understanding the Difficulty of Training Transformerscited by 210
  17. 2018Scaling Neural Machine Translationcited by 204
  18. 2021Neural Architecture Search on ImageNet in Four GPU Hours: A Theoretically Inspired Perspectivecited by 169
  19. 2020Funnel-Transformer: Filtering out Sequential Redundancy for Efficient Language Processingcited by 162
  20. 2019FlauBERT: Unsupervised Language Model Pre-training for Frenchcited by 153
  21. 2020Predicting trends in the quality of state-of-the-art neural networks without access to training or testing datacited by 115
  22. 2018Predicting the Generalization Gap in Deep Networks with Margin Distributionscited by 113
  23. 2018Large Margin Deep Networks for Classificationcited by 112
  24. 2019Traditional and Heavy-Tailed Self Regularization in Neural Network Modelscited by 105
  25. 2020In Search of Robust Measures of Generalizationcited by 79
  26. 2020A Simple but Tough-to-Beat Data Augmentation Approach for Natural Language Understanding and Generationcited by 72
  27. 2016A Boundary Tilting Persepective on the Phenomenon of Adversarial Examplescited by 70
  28. 2019Improved Sample Complexities for Deep Networks and Robust Classification via an All-Layer Margincited by 56
  29. 2019Heavy-Tailed Universality Predicts Trends in Test Accuracies for Very Large Pre-Trained Deep Neural Networkscited by 44
  30. 2020NeurIPS 2020 Competition: Predicting Generalization in Deep Learningcited by 41
  31. 2021Taxonomizing local versus global structure in neural network loss landscapescited by 34
  32. 2020Boundary thickness and robustness in learning modelscited by 26
  33. 2017Rethinking generalization requires revisiting old ideas: statistical mechanics approaches and complex learning behaviorcited by 25
  34. 2021Post-mortem on a deep learning contest: a Simpson's paradox and the complementary roles of scale metrics versus shape metricscited by 19

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 1; 2023: 2; 2024: 7; 2025: 4; 2026: 5.

19 papers.

Sort:

By area:

  1. 2024Towards Scalable and Versatile Weight Space Learningcited by 41
  2. 2022Spectral Evolution and Invariance in Linear-width Neural Networkscited by 30
  3. 2024Unleashing the Power of Data Tsunami: A Comprehensive Survey on Data Assessment and Selection for Instruction Tuning of Language Modelscited by 29
  4. 2023A Three-regime Model of Network Pruningcited by 15
  5. 2025LENSLLM: Unveiling Fine-Tuning Dynamics for LLM Selectioncited by 14
  6. 2025Can Language Models Discover Scaling Laws?cited by 13
  7. 2024Mitigating Memorization In Language Modelscited by 12
  8. 2025Using Pre-trained LLMs for Multivariate Time Series Forecastingcited by 6
  9. 2024Transferable and Principled Efficiency for Open-Vocabulary Segmentationcited by 3
  10. 2024Evaluating Loss Landscapes from a Topology Perspectivecited by 3
  11. 2024Visualizing Loss Functions as Topological Landscape Profilescited by 2
  12. 2025Early-stopping for Transformer model trainingcited by 1
7 more
  1. 2026Landscaper: Understanding Loss Landscapes Through Multi-Dimensional Topological Analysiscited by 1
  2. 2026Spectral Signatures of Data Quality: Eigenvalue Tail Index as a Diagnostic for Label Noise in Neural Networkscited by 1
  3. 2026Diffract: Spectral View of LLM Domain Adaptationcited by 1
  4. 2023Greedy Ordering of Layer Weight Matrices in Transformers Improves Translationcited by 0
  5. 2024Hyper-Representations: Learning from Populations of Neural Networkscited by 0
  6. 2026Data-Free Contribution Estimation in Federated Learning using Gradient von Neumann Entropycited by 0
  7. 2026Eigen-Spike Emergence and Quadratic Equivalents for Conjugate Kernels on Nonlinearly Separable Datacited by 0