Generalization in Neural Networks Through the Lens of Magnitude Potential

Sahel Torkamani, Henry Gouk, Rik Sarkar

Abstract

Explaining generalization and training dynamics in neural networks remains a challenge, and various approaches have been developed to study different aspects of these phenomena. In this paper, we introduce the idea of *magnitude potential* -- a quantity based on the theory of metric magnitude -- that reflects how well an arbitrary point is represented by a given set. We find that this basic quantity can be applied to examine various features in neural generalization. The ratio between the magnitude potential with respect to a class and with respect to the entire data, computed at the logit layer, is informative of the representation of the point. In experiments, these ratios for individual training points are found to be correlated with the Feldman memorization scores. Magnitude potential ratios aggregated across points detect structural changes in the decision boundaries and provide a geometric indicator of grokking in modular arithmetic. Although the magnitude potential ratio and neural collapse are both closely associated with intra-class and inter-class geometric structure, the magnitude potential ratio remains informative even when neural collapse is explicitly suppressed.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
CIFAR-100Magnitude Potential Ratio (t=0.20, 10-seed average)Spearman correlation (ρ) with Feldman memorization scores−0.763split: train · backbone=ResNet-50
Source quote
L363: −0.763
Reported baseline / comparator measurements (4)
BenchmarkMethodMetricScoreProtocol / Evidence
CIFAR-100Max softmax probability baselineSpearman correlation (ρ) with Feldman memorization scores−0.507split: train · backbone=ResNet-50
Source quote
L342: −0.507
CIFAR-100Logit margin baselineSpearman correlation (ρ) with Feldman memorization scores−0.655split: train · backbone=ResNet-50
Source quote
L345: −0.655
CIFAR-100Entropy baselineSpearman correlation (ρ) with Feldman memorization scores0.661split: train · backbone=ResNet-50
Source quote
L348: 0.661
CIFAR-100Cross-entropy loss baselineSpearman correlation (ρ) with Feldman memorization scores0.507split: train · backbone=ResNet-50
Source quote
L351: 0.507
BibTeX
@inproceedings{torkamani2026generalization,
  author = {Sahel Torkamani and Henry Gouk and Rik Sarkar},
  title = {{Generalization in Neural Networks Through the Lens of Magnitude Potential}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=V9A3lPMU5E},
}
Figure