mlsanityData to 7 Oct 2026

Measuring training variability from stochastic optimization using robust nonparametric testing

arXiv 2406.08307 ↗First posted 12 Jun 2024stat.ML cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Deep neural network training often involves stochastic optimization, meaning each run will produce a different model. This implies that hyperparameters of the training process, such as the random seed itself, can potentially have significant influence on the variability in the trained models. Measuring model quality by summary statistics, such as test accuracy, can obscure this dependence. We propose a robust hypothesis testing framework and a novel summary statistic, the α-trimming level, to measure model similarity. Applying hypothesis testing directly with the α-trimming level is challenging because we cannot accurately describe the distribution under the null hypothesis. Our framework addresses this issue by determining how closely an approximate distribution resembles the expected distribution of a group of individually trained models and using this approximation as our reference. We then use the α-trimming level to suggest how many training runs should be sampled to ensure that an ensemble is a reliable representative of the true model performance. We also show how to use the α-trimming level to measure model variability and demonstrate experimentally that it is more expressive than performance metrics like validation accuracy, churn, or expected calibration error when taken alone. An application of fine-tuning over random seed in transfer learning illustrates the advantage of our new metric.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 20 of its 40 references that are in the map. First posted on arXiv 12 Jun 2024.

Builds on

20 of 40 references.

References · 20

  1. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  3. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
  4. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
  5. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  6. 2017Deep Reinforcement Learning that Matterscited by 727
  7. 2019Deep Ensembles: A Loss Landscape Perspectivecited by 438
  8. 2020Fine-Tuning Pretrained Language Models: Weight Initializations, Data Orders, and Early Stoppingcited by 377
  9. 2021Accounting for Variance in Machine Learning Benchmarkscited by 195
  10. 2015Why M Heads are Better than One: Training a Diverse Ensemble of Deep Networkscited by 138
  11. 2017On the State of the Art of Evaluation in Neural Language Modelscited by 103
  12. 2021Torch.manual_seed(3407) is all you need: On the influence of random seeds in deep learning architectures for computer visioncited by 76
8 more
  1. 2017Reporting Score Distributions Makes a Difference: Performance Study of LSTM-networks for Sequence Taggingcited by 71
  2. 2023A Unified Theory of Diversity in Ensemble Learningcited by 71
  3. 2021Nondeterminism and Instability in Neural Network Optimizationcited by 47
  4. 2022Sources of Irreproducibility in Machine Learning: A Reviewcited by 28
  5. 2023When are ensembles really effective?cited by 21
  6. 2023Pathologies of Predictive Diversity in Deep Ensemblescited by 16
  7. 2019On approximate validation of models: A Kolmogorov-Smirnov based approachcited by 3
  8. 2023Robust Nonparametric Hypothesis Testing to Understand Variability in Training Neural Networkscited by 1

Built on by

Not cited yet.