Making Coherence Out of Nothing At All: Measuring the Evolution of Gradient Alignment
Not on the map. Why?
Abstract (arXiv)
We propose a new metric (m-coherence) to experimentally study the alignment of per-example gradients during training. Intuitively, given a sample of size m, m-coherence is the number of examples in the sample that benefit from a small step along the gradient of any one example on average. We show that compared to other commonly used metrics, m-coherence is more interpretable, cheaper to compute (O(m) instead of O(m2)) and mathematically cleaner. (We note that m-coherence is closely connected to gradient diversity, a quantity previously used in some theoretical bounds.) Using m-coherence, we study the evolution of alignment of per-example gradients in ResNet and Inception models on ImageNet and several variants with label noise, particularly from the perspective of the recently proposed Coherent Gradients (CG) theory that provides a simple, unified explanation for memorization and generalization [Chatterjee, ICLR 20]. Although we have several interesting takeaways, our most surprising result concerns memorization. Naively, one might expect that when training with completely random labels, each example is fitted independently, and so m-coherence should be close to 1. However, this is not the case: m-coherence reaches much higher values during training (100s), indicating that over-parameterized neural networks find common patterns even in scenarios where generalization is not possible. A detailed analysis of this phenomenon provides both a deeper confirmation of CG, but at the same point puts into sharp relief what is missing from the theory in order to provide a complete explanation of generalization in neural networks.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Aug 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 2; 2023: 1; 2024: 0; 2025: 1; 2026: 1.
7 papers.
- 2023Revisiting Weighted Aggregation in Federated Learning with Neural Networkscited by 57
- 2021Implicit Gradient Alignment in Distributed and Federated Learningcited by 29
- 2022On the Generalization Mystery in Deep Learningcited by 25
- 2021Cockpit: A Practical Debugging Tool for the Training of Deep Neural Networkscited by 7
- 2025Trustworthy Machine Learning via Memorization and the Granular Long-Tail: A Survey on Interactions, Tradeoffs, and Beyondcited by 6
- 2026When Do Concepts Become Functionally Sufficient During Language-Model Training?cited by 1
- 2022Towards understanding deep learning with the natural clustering priorcited by 0
- 2026When Do Concepts Become Functionally Sufficient During Language-Model Training?15 Aug 2026
- 2025Trustworthy Machine Learning via Memorization and the Granular Long-Tail: A Survey on Interactions, Tradeoffs, and Beyond10 Mar 2025
- 2023Revisiting Weighted Aggregation in Federated Learning with Neural Networks14 Feb 2023
- 2022On the Generalization Mystery in Deep Learning18 Mar 2022
- 2022Towards understanding deep learning with the natural clustering prior15 Mar 2022
- 2021Implicit Gradient Alignment in Distributed and Federated Learning25 Jun 2021
- 2021Cockpit: A Practical Debugging Tool for the Training of Deep Neural Networks12 Feb 2021