mlsanityData to 13 Oct 2026

The activity-weight duality in feed forward neural networks: The geometric determinants of generalization

arXiv 2203.10736 ↗First posted 21 Mar 2022cs.LG cs.AI stat.MLcited by 12

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,950
  2. 2016Densely Connected Convolutional Networkscited by 6,707
  3. 2016Understanding deep learning requires rethinking generalizationcited by 1,666
  4. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,473
  5. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,411
  6. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,344
  7. 2017Spectrally-normalized margin bounds for neural networkscited by 681
  8. 2019Fantastic Generalization Measures and Where to Find Themcited by 510
  9. 2017Can Decentralized Algorithms Outperform Centralized Algorithms? A Case Study for Decentralized Parallel Stochastic Gradient Descentcited by 500
  10. 2017Sharp Minima Can Generalize For Deep Netscited by 465
  11. 2014New insights and perspectives on the natural gradient methodcited by 438
  12. 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 358
12 more
  1. 2015Norm-Based Capacity Control in Neural Networkscited by 299
  2. 2017Empirical Analysis of the Hessian of Over-Parametrized Neural Networkscited by 285
  3. 2018Measuring the Effects of Data Parallelism on Neural Network Trainingcited by 193
  4. 2017Asynchronous Decentralized Parallel Stochastic Gradient Descentcited by 159
  5. 2018Towards Understanding the Role of Over-Parametrization in Generalization of Neural Networkscited by 142
  6. 2017Stochastic gradient descent performs variational inference, converges to limit cycles for deep networkscited by 108
  7. 2019Improved Sample Complexities for Deep Networks and Robust Classification via an All-Layer Margincited by 56
  8. 2019Time Matters in Regularizing Deep Networks: Weight Decay and Data Augmentation Affect Early Learning Dynamics, Matter Little Near Convergencecited by 54
  9. 2019Generalization in Deep Networks: The Role of Distance from Initializationcited by 50
  10. 2019Shaping the learning landscape in neural networks around wide flat minimacited by 47
  11. 2021Does the Data Induce Capacity Control in Deep Learning?cited by 13
  12. 2021Loss Landscape Dependent Self-Adjusting Learning Rates in Decentralized Stochastic Gradient Descentcited by 3

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2023: 2; 2024: 3; 2025: 4; 2026: 3.

12 papers.