The Local Learning Coefficient: A Singularity-Aware Complexity Measure

Edmund Lau, Zach Furman, George Wang, Daniel Murfet, Susan Wei

Abstract

The Local Learning Coefficient (LLC) is introduced as a novel complexity measure for deep neural networks (DNNs). Recognizing the limitations of traditional complexity measures, the LLC leverages Singular Learning Theory (SLT), which has long recognized the significance of singularities in the loss landscape geometry. This paper provides an extensive exploration of the LLC’s theoretical underpinnings, offering both a clear definition and intuitive insights into its application. Moreover, we propose a new scalable estimator for the LLC, which is then effectively applied across diverse architectures including deep linear networks up to 100M parameters, ResNet image models, and transformer language models. Empirical evidence suggests that the LLC provides valuable insights into how training heuristics might influence the effective complexity of DNNs. Ultimately, the LLC emerges as a crucial tool for reconciling the apparent contradiction between deep learning’s complexity and the principle of parsimony.

Introduction

In classical statistics, Occam’s Razor suggests that simpler models—those with fewer parameters—generalize better. However, deep learning presents a "complexity paradox": models with millions or billions of parameters often generalize remarkably well. This suggests that standard complexity measures, such as raw parameter counts, are fundamentally inadequate for Deep Neural Networks (DNNs).

DNNs are singular models, meaning multiple parameter configurations can represent the exact same function. Consequently, a model's true complexity is determined by the geometry of the loss landscape around a solution rather than the size of the weight matrix. This paper introduces the Local Learning Coefficient (LLC), a mathematically rigorous and computationally scalable measure that captures this "singularity-aware" complexity.

Theoretical Framework: Volume Scaling and the LLC

The LLC ($\lambda$) is rooted in Singular Learning Theory (SLT). It is based on the concept of "volume scaling": if a small error $\epsilon$ is permitted in the loss, the LLC measures the "room" (volume) available in the parameter space to move without exceeding that error threshold.

Visualizing volume scaling in regular (top) vs. singular (bottom) loss landscapes. A lower LLC corresponds to a "roomier" or more degenerate region, representing a simpler implementation of a function.

In a regular (non-singular) model, this volume scales predictably with the number of parameters. In singular models, the scaling is governed by the LLC. A lower LLC indicates a more degenerate region, which corresponds to a "simpler" functional implementation. Crucially, the LLC is invariant to reparameterizations, such as weight rescaling in ReLU networks, capturing the intrinsic geometry of the representation.

Scalable Estimation via SGLD

Calculating the LLC theoretically is intractable for large-scale models. To address this, we propose a scalable estimator using Stochastic Gradient Langevin Dynamics (SGLD). By adding controlled noise to Stochastic Gradient Descent (SGD), we can sample the local neighborhood of a trained minimum.

We adapt the "Widely Applicable Bayesian Information Criterion" (WBIC) to this local setting. By observing how the average local loss behaves under a specific inverse temperature ($\beta = 1/\log n$), we can effectively estimate the LLC. This approach allows for complexity analysis in modern architectures that were previously inaccessible to SLT-based methods.

Empirical Results

Our experiments validate the LLC estimator across various architectures and datasets, including Deep Linear Networks (DLNs), ResNet18 on CIFAR-10, and attention-only Transformers.

Impact of Training Heuristics

A key finding is that common training heuristics—higher learning rates, smaller batch sizes, and higher momentum—act as implicit regularizers by pushing the model toward regions of the loss landscape with lower LLCs.

LLC estimates, test accuracy, and train loss across different training hyperparameters. Stronger implicit regularization (e.g., higher learning rates) correlates with lower LLC and improved test accuracy.

As shown in the empirical data, increasing the learning rate from 0.005 to 0.2 for a ResNet18 model leads to a significant reduction in the estimated LLC and a corresponding improvement in test accuracy. This suggests that the optimizer is successfully finding "simpler" solutions within the same high-dimensional parameter space.

Complexity at Scale

In Transformers, we observed that the "effective" complexity is often a small fraction of the total parameter count. For instance, a 3.3M parameter transformer exhibited an LLC of approximately 180, indicating that the model utilizes only a tiny fraction of its available degrees of freedom. Furthermore, optimizers like Entropy-SGD, designed to find flat minima, consistently yield solutions with lower LLCs than standard SGD.

Conclusion

The Local Learning Coefficient provides a bridge between the geometry of the loss landscape and the generalization capabilities of deep models. By measuring the "effective" complexity of specific implementations, the LLC explains why overparameterized models do not necessarily violate the principle of parsimony. Future work will explore the use of LLC to detect phase transitions in learning, such as "grokking," and to further map the saddle-to-saddle dynamics of neural network optimization.

Summary updated

BibTeX
@inproceedings{lau2025local,
  author = {Edmund Lau and Zach Furman and George Wang and Daniel Murfet and Susan Wei},
  title = {{The Local Learning Coefficient: A Singularity-Aware Complexity Measure}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=KJ07nXQ7jF},
}
Figure