NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Tight Error Bound for Deep Learning via Distribution and Loss Complexity

Khoat Than, Vinh Doan, Phuc Le, Phu PhungOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

This paper introduces a new, mathematically rigorous generalization bound for deep neural networks that is "non-vacuous"—meaning it provides meaningful error estimates rather than uselessly large numbers. By leveraging a novel concentration inequality for multinomial variables, the authors achieve significantly tighter test-error estimates for large-scale models (like ViTs and ResNets on ImageNet) without requiring any modifications to the trained models.

What Problem Does This Paper Address?

A fundamental mystery in deep learning is why models with millions of parameters generalize so well to new data instead of simply memorizing the training set. Theoretical researchers try to explain this using "generalization bounds"—mathematical formulas that guarantee a maximum gap between training error and test error.

However, most existing bounds are vacuous: they might predict a test error of $\le 1000\%$, which is useless for a classifier. While some recent "non-vacuous" bounds exist (like those based on PAC-Bayes theory), they often require modifying the model (e.g., compressing or quantizing it) or only work for tiny, shallow networks. The challenge is creating a bound that is:

  1. Tight: Close to the actual test error.
  2. Computable: Estimable using only the training data.
  3. Applicable to scale: Works for modern, large-scale architectures like Transformers and ConvNets.

Methods

The authors propose a model-dependent bound that focuses on how a model behaves across different regions of the data space. Their approach involves three key components:

  1. Data Space Partitioning: They divide the data space into $K$ disjoint regions (using centroids and Euclidean distance). This allows them to analyze "micro-level" behavior (individual sample errors) and "macro-level" behavior (error consistency across local regions).
  2. Novel Concentration Inequality: The core technical contribution is a new concentration inequality for multinomial random variables. Previous state-of-the-art bounds scaled with $\sqrt{\ln K}$ (where $K$ is the number of partitions), which makes them loose as the partitioning becomes finer. The new inequality eliminates this dependency, achieving a tighter convergence rate of $O(1/\sqrt{n})$.
  3. Distribution-Loss Alignment: The bound explicitly captures the interaction between the geometry of the data distribution and the "loss landscape" of the model. It rewards models that perform consistently across local areas of the data space.

Datasets

The authors validated their theory across a diverse set of benchmarks:

  • ImageNet-1K: Evaluated on 32 pre-trained classifiers, including ResNets, VGG, DenseNet, ConvNext, and Swin Transformers.
  • COCO 2017: Evaluated on 5 semantic segmentation models (DeepLabV3 and FCN).
  • CIFAR-10 & FashionMNIST: Used to track the dynamics of generalization during the training process.
  • UCI Repository: Tested on tabular datasets (Diabetes 130, News Aggregator) using traditional ML models like SVMs and LightGBM.

Key Insights and Ideas

  • The "Macro" Error Matters: The authors introduce a term, $m_{ach}$, which summarizes error across local regions. They found that $m_{ach}$ tracks true test error much better than standard validation error does, especially in cases of overfitting.
  • Alignment is Key: A "good" partition—one that aligns with the actual geometry of the data—leads to much tighter bounds. This highlights that generalization isn't just about the model or the data alone, but how well the model's loss landscape fits the data's distribution.
  • Breaking the $\sqrt{\ln K}$ Barrier: By proving that the uncertainty term doesn't have to grow significantly with the number of partitions, the authors allow for finer-grained analysis of high-dimensional data spaces without losing theoretical tightness.

Key Results

  • Tightest Estimates to Date: On ImageNet, the bound's estimates were often within 1.5x to 2x of the actual test error. For a Vision Transformer (ViT L 16 V1), the test error was 20.40% and the bound predicted 31.74%—a significant improvement over the previous best baseline of 40.12%.
  • Non-Vacuous for Segmentation: The bound provided meaningful guarantees for complex segmentation tasks on COCO, where prior methods often struggled.
  • Diagnostic Utility: The macro-level components of the bound proved to be excellent diagnostic tools. In experiments where validation error failed to signal a drop in test accuracy, the $m_{ach}$ term correctly tracked the model's declining performance.

Limitations and Future Work

  • Small-Sample Regime: The bound can still become loose (or vacuous) if the number of training samples $n$ is very small, as the uncertainty terms are inversely proportional to $n$.
  • Bounded Loss Requirement: The theory currently requires bounded loss functions (like 0-1 loss or clipped cross-entropy). Applying this to unbounded losses remains a challenge.
  • Partitioning Strategy: While the bound is tight, its quality depends on the choice of partitioning. Finding the "optimal" partition for a given dataset remains an open research question.
  • Algorithm Analysis: The bound is "model-dependent," meaning it analyzes a specific frozen model. It does not yet provide a way to analyze the generalization properties of a learning algorithm (like SGD) itself.

Summary updated

BibTeX
@misc{than2026tight,
  author = {Khoat Than and Vinh Doan and Phuc Le and Phu Phung},
  title = {{A Tight Error Bound for Deep Learning via Distribution and Loss Complexity}},
  year = {2026},
  url = {https://openreview.net/forum?id=4T8VIqxPqy},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure