Cockpit: A Practical Debugging Tool for the Training of Deep Neural Networks
Not on the map. Why?
Abstract (arXiv)
When engineers train deep learning models, they are very much 'flying blind'. Commonly used methods for real-time training diagnostics, such as monitoring the train/test loss, are limited. Assessing a network's training process solely through these performance indicators is akin to debugging software without access to internal states through a debugger. To address this, we present Cockpit, a collection of instruments that enable a closer look into the inner workings of a learning machine, and a more informative and meaningful status report for practitioners. It facilitates the identification of learning phases and failure modes, like ill-chosen hyperparameters. These instruments leverage novel higher-order information about the gradient distribution and curvature, which has only recently become efficiently accessible. We believe that such a debugging tool, which we open-source for PyTorch, is a valuable help in troubleshooting the training process. By revealing new insights, it also more generally contributes to explainability and interpretability of deep nets.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 34 of its 52 references that are in the map. First posted on arXiv 12 Feb 2021.
Builds on
34 of 52 references.
References · 34
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2014Striving for Simplicity: The All Convolutional Netcited by 983
- 2017Sharp Minima Can Generalize For Deep Netscited by 462
- 2019PyHessian: Neural Networks Through the Lens of the Hessiancited by 291
- 2019An Investigation into Neural Net Optimization via Hessian Eigenvalue Densitycited by 289
- 2017Empirical Analysis of the Hessian of Over-Parametrized Neural Networkscited by 283
- 2018Gradient Descent Happens in a Tiny Subspacecited by 208
- 2020The Computational Limits of Deep Learningcited by 188
- 2016Eigenvalues of the Hessian in Deep Learning: Singularity and Beyondcited by 156
22 more
- 2020The Break-Even Point on Optimization Trajectories of Deep Neural Networkscited by 149
- 2019Painless Stochastic Gradient: Interpolation, Line-Search, and Convergence Ratescited by 119
- 2020The Early Phase of Neural Network Trainingcited by 114
- 2019BackPACK: Packing more into backpropcited by 77
- 2018A Walk with SGDcited by 74
- 2018Understanding Short-Horizon Bias in Stochastic Meta-Optimizationcited by 68
- 2020Catastrophic Fisher Explosion: Early Phase Fisher Matrix Impacts Generalizationcited by 61
- 2019Generalization in Deep Networks: The Role of Distance from Initializationcited by 49
- 2019The Impact of Neural Network Overparameterization on Gradient Confusion and Stochastic Gradient Descentcited by 46
- 2019On the interplay between noise and curvature and its effect on optimization and generalizationcited by 44
- 2020Coherent Gradients: An Approach to Understanding Generalization in Gradient Descent-based Optimizationcited by 41
- 2020Understanding Why Neural Networks Generalize Well Through GSNR of Parameterscited by 40
- 2017Early Stopping without a Validation Setcited by 39
- 2019DeepOBS: A Deep Learning Optimizer Benchmark Suitecited by 37
- 2015Probabilistic Line Searches for Stochastic Optimizationcited by 29
- 2016Coupling Adaptive Batch Sizes with Learning Ratescited by 29
- 2017Adaptive Sampling Strategies for Stochastic Optimizationcited by 29
- 2020A Study of Gradient Variance in Deep Learningcited by 27
- 2020Making Coherence Out of Nothing At All: Measuring the Evolution of Gradient Alignmentcited by 7
- 2019A Dynamic Sampling Adaptive-SGD Method for Machine Learningcited by 2
- 2020Investigating Learning in Deep Neural Networks using Layer-Wise Weight Changecited by 2
- 2020On regularization of gradient descent, layer imbalance and flat minimacited by 1
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 1; 2024: 0; 2025: 2; 2026: 3.
7 papers.
- 2021ViViT: Curvature access through the generalized Gauss-Newton's low-rank structurecited by 16
- 2025Position: Curvature Matrices Should Be Democratized via Linear Operatorscited by 9
- 2023Going Further: Flatness at the Rescue of Early Stopping for Adversarial Example Transferabilitycited by 2
- 2025Per-example gradients: a new frontier for understanding and improving optimizerscited by 2
- 2026BTTackler: A Diagnosis-based Framework for Efficient Deep Learning Hyperparameter Optimizationcited by 0
- 2026Second-Order, First-Class: A Composable Stack for Curvature-Aware Trainingcited by 0
- 2026Evaluation-Strategy Gap in Fault Diagnosis of Deep Learning Programscited by 0
- 2026Evaluation-Strategy Gap in Fault Diagnosis of Deep Learning Programs25 Jun 2026
- 2026Second-Order, First-Class: A Composable Stack for Curvature-Aware Training26 Mar 2026
- 2026BTTackler: A Diagnosis-based Framework for Efficient Deep Learning Hyperparameter Optimization27 Feb 2026
- 2025Per-example gradients: a new frontier for understanding and improving optimizers30 Sep 2025
- 2025Position: Curvature Matrices Should Be Democratized via Linear Operators31 Jan 2025
- 2023Going Further: Flatness at the Rescue of Early Stopping for Adversarial Example Transferability5 Apr 2023
- 2021ViViT: Curvature access through the generalized Gauss-Newton's low-rank structure4 Jun 2021