Deep neural networks generalize by expanding stable prediction regions
Neural Expansion: A Unified Mechanism for How Deep Neural Networks Generalize
Machine LearningArtificial Intelligence
Summary
Deep neural networks can correctly understand many new examples even though they have far more parameters than needed. The authors describe a new way to see how this happens: during training, the network’s predictions become stable over larger and larger directions around examples it has seen before. This means the network isn’t just memorizing single points but learns in a way that covers surrounding cases, helping explain why it handles new and even tricky inputs well. Their idea links the shape of the input space to the model’s behavior, offering a clearer picture of deep learning’s success.
What this means in practice
- •For machine learning engineers: Improve understanding of which data directions models generalize over, potentially guiding model and training design to yield better robustness and generalization.
- •For cybersecurity teams: Analyze and anticipate adversarial examples by studying geometric regions of stable predictions around inputs to enhance defense strategies.
A theory result. No direct application yet.
Authors
Chashi Mahiul Islam, Samuel Jacob Chacko, Mao Nishino, Canlin Zhang, Xiuwen Liu
Abstract
Deep neural networks demonstrate remarkable generalization despite being highly over-parameterized, challenging traditional statistical learning theories. While several theoretical paradigms such as margin-based bounds, PAC-Bayesian analyses, and neural tangent kernels provide global explanations, they often lack mechanistic insight into how generalization emerges from training dynamics. We introduce Neural Expansion, a unified geometric framework that characterizes generalization through the expansion of directionally-selective ray coverage in the input space. Using Generalization Intervals (GIs), we quantify direction-specific regions around training samples where the model's predictions remain stable. Our extensive empirical studies across diverse architectures and datasets reveal that training leads to progressive expansion of ray coverage, particularly along directions with low Jacobian singular values. This mechanism helps explain a large fraction of correctly classified test inputs, adversarial examples, and even mislabeled or out-of-distribution samples through the geometry of ray coverage rather than instance-level memorization. By connecting input-space curvature to predictive behavior, our framework provides a mechanistic foundation that complements existing global theories of deep learning.