Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Representation Gap: Explaining the Unreasonable Effectiveness of Neural Networks from a Geometric Perspective

About

Characterizing precisely the asymptotic generalization error of neural networks using parameters that can be estimated efficiently is a crucial problem in machine learning, which relies heavily on heuristics and practitioners' intuition to make key design choices. In order to mitigate this issue, we introduce the Representation Gap, a metric closely related to the generalization error, but admitting better-behaved asymptotic dynamics. Focusing on equivariant diffusion models and leveraging results from optimal quantization and point-process theory, we derive a precise asymptotic equivalent of the Representation Gap and show that it is governed by a single parameter, the \textit{intrinsic dimension} of the task, which is easy to interpret, efficient to estimate, and can be linked to the equivariances of common neural network architectures. We show that this asymptotic dynamic also extends to a broader range of tasks and training algorithms. Finally, we demonstrate empirically that our asymptotic law and intrinsic dimension estimation are accurate on a wide range of synthetic datasets, where these quantities are known, as well as on more realistic datasets, where we obtain results consistent with the related literature.

David Perera, Victor Moura, Lais Isabelle Alves dos Santos, Michel F. C. Haddad, Flavio Figueiredo• 2026

Related benchmarks

TaskDatasetResultRank
Intrinsic Dimension EstimationMNIST
Intrinsic Dimension Estimate13
13
Intrinsic Dimension EstimationSphere d = 1
Estimated Intrinsic Dimension1.94
4
Intrinsic Dimension EstimationCube d = 1
Estimated Intrinsic Dimension1.07
2
Intrinsic Dimension EstimationCube d = 5
Estimated Intrinsic Dimension5.06
2
Intrinsic Dimension EstimationSphere d = 5
Estimated Intrinsic Dimension5.13
2
Intrinsic Dimension EstimationSwiss roll
Estimated Intrinsic Dimension2.19
2
Intrinsic Dimension EstimationSVHN
Estimated Intrinsic Dimension13
2
Intrinsic Dimension EstimationCIFAR-10
Intrinsic Dimension (Estimated)18
2
Intrinsic Dimension EstimationMSCOCO
Estimated Intrinsic Dimension19
2
Intrinsic Dimension EstimationImageNet
Estimated Intrinsic Dimension21
2
Showing 10 of 10 rows

Other info

Follow for update