The activity-weight duality in feed forward neural networks: The geometric determinants of generalization
Not on the map. Why?
Abstract (arXiv)
One of the fundamental problems in machine learning is generalization. In neural network models with a large number of weights (parameters), many solutions can be found to fit the training data equally well. The key question is which solution can describe testing data not in the training set. Here, we report the discovery of an exact duality (equivalence) between changes in activities in a given layer of neurons and changes in weights that connect to the next layer of neurons in a densely connected layer in any feed forward neural network. The activity-weight (A-W) duality allows us to map variations in inputs (data) to variations of the corresponding dual weights. By using this mapping, we show that the generalization loss can be decomposed into a sum of contributions from different eigen-directions of the Hessian matrix of the loss function at the solution in weight space. The contribution from a given eigen-direction is the product of two geometric factors (determinants): the sharpness of the loss landscape and the standard deviation of the dual weights, which is found to scale with the weight norm of the solution. Our results provide an unified framework, which we used to reveal how different regularization schemes (weight decay, stochastic gradient descent with different batch sizes and learning rates, dropout), training data size, and labeling noise affect generalization performance by controlling either one or both of these two geometric determinants for generalization. These insights can be used to guide development of algorithms for finding more generalizable solutions in overparametrized neural networks.
Key facts. Cited by 12 papers in the map (data through 13 Oct 2026). Builds on 24 of its 41 references that are in the map. First posted on arXiv 21 Mar 2022.
Builds on
24 of 41 references.
References · 24
- 2015Deep Residual Learning for Image Recognitioncited by 51,950
- 2016Densely Connected Convolutional Networkscited by 6,707
- 2016Understanding deep learning requires rethinking generalizationcited by 1,666
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,473
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,411
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,344
- 2017Spectrally-normalized margin bounds for neural networkscited by 681
- 2019Fantastic Generalization Measures and Where to Find Themcited by 510
- 2017Can Decentralized Algorithms Outperform Centralized Algorithms? A Case Study for Decentralized Parallel Stochastic Gradient Descentcited by 500
- 2017Sharp Minima Can Generalize For Deep Netscited by 465
- 2014New insights and perspectives on the natural gradient methodcited by 438
- 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 358
12 more
- 2015Norm-Based Capacity Control in Neural Networkscited by 299
- 2017Empirical Analysis of the Hessian of Over-Parametrized Neural Networkscited by 285
- 2018Measuring the Effects of Data Parallelism on Neural Network Trainingcited by 193
- 2017Asynchronous Decentralized Parallel Stochastic Gradient Descentcited by 159
- 2018Towards Understanding the Role of Over-Parametrization in Generalization of Neural Networkscited by 142
- 2017Stochastic gradient descent performs variational inference, converges to limit cycles for deep networkscited by 108
- 2019Improved Sample Complexities for Deep Networks and Robust Classification via an All-Layer Margincited by 56
- 2019Time Matters in Regularizing Deep Networks: Weight Decay and Data Augmentation Affect Early Learning Dynamics, Matter Little Near Convergencecited by 54
- 2019Generalization in Deep Networks: The Role of Distance from Initializationcited by 50
- 2019Shaping the learning landscape in neural networks around wide flat minimacited by 47
- 2021Does the Data Induce Capacity Control in Deep Learning?cited by 13
- 2021Loss Landscape Dependent Self-Adjusting Learning Rates in Decentralized Stochastic Gradient Descentcited by 3
Built on by
Citing papers per year: 2023: 2; 2024: 3; 2025: 4; 2026: 3.
12 papers.
- 2023Arithmetic with Language Models: from Memorization to Computationcited by 12
- 2025Is Grokking a Computational Glass Relaxation?cited by 8
- 2023Inversion dynamics of class manifolds in deep learning reveals tradeoffs underlying generalisationcited by 6
- 2025High-entropy Advantage in Neural Networks' Generalizabilitycited by 4
- 2026Leveraging Flatness to Improve Information-Theoretic Generalization Bounds for SGDcited by 2
- 2026On the Superlinear Relationship between SGD Noise Covariance and Loss Landscape Curvaturecited by 2
- 2024Is Hyper-Parameter Optimization Different for Software Analytics?cited by 1
- 2024Discovering High-Strength Alloys via Physics-Transfer Learningcited by 1
- 2024Embedding generalization within the learning dynamics: An approach based-on sample path large deviation theorycited by 1
- 2025Network Dynamics-Based Framework for Understanding Deep Neural Networkscited by 1
- 2026Noise-Driven Exploration and Transient Freezing Select Flat Minima in Stochastic Gradient Descentcited by 1
- 2025High-order Regularization for Machine Learning and Learning-based Controlcited by 0
- 2026On the Superlinear Relationship between SGD Noise Covariance and Loss Landscape Curvature5 Feb 2026
- 2026Noise-Driven Exploration and Transient Freezing Select Flat Minima in Stochastic Gradient Descent16 Jan 2026
- 2026Leveraging Flatness to Improve Information-Theoretic Generalization Bounds for SGD4 Jan 2026
- 2025Is Grokking a Computational Glass Relaxation?16 May 2025
- 2025High-order Regularization for Machine Learning and Learning-based Control13 May 2025
- 2025High-entropy Advantage in Neural Networks' Generalizability17 Mar 2025
- 2025Network Dynamics-Based Framework for Understanding Deep Neural Networks5 Jan 2025
- 2024Embedding generalization within the learning dynamics: An approach based-on sample path large deviation theory4 Aug 2024
- 2024Discovering High-Strength Alloys via Physics-Transfer Learning12 Mar 2024
- 2024Is Hyper-Parameter Optimization Different for Software Analytics?17 Jan 2024
- 2023Arithmetic with Language Models: from Memorization to Computation2 Aug 2023
- 2023Inversion dynamics of class manifolds in deep learning reveals tradeoffs underlying generalisation9 Mar 2023