Introduction
Deep neural networks (DNNs) exhibit a remarkable ability to generalize to unseen data, yet they remain prone to overfitting. Traditional explanations for this phenomenon often rely on abstract concepts like loss landscape flatness or high-dimensional feature geometry. This research proposes a more intuitive approach: evaluating a DNN's generalization power by analyzing the "shapes" of the internal symbolic logic it employs during inference. By understanding the complexity of patterns a model learns, we can better distinguish between meaningful knowledge and memorized noise.
Quantifying Logic via Interaction Theory
To move beyond the "black box" nature of DNNs, the authors utilize AND-OR interaction theory. This framework allows for the decomposition of a model's output into a sum of logical interactions of varying complexity, or "orders." For instance, a first-order interaction might involve a single input feature, while an eighth-order interaction represents a complex logical combination of eight distinct input patches or tokens.
The central hypothesis is that a model's total logic is composed of two distinct distributions:
- Decay-shaped distributions: These are characterized by high strength in low-order interactions that taper off as complexity increases. These represent simple, robust concepts that generalize well to new data.
- Spindle-shaped distributions: These follow a bell-curve-like pattern, with strength concentrated in medium-order interactions. These represent "noise" or patterns overly specific to the training set, which are the primary drivers of overfitting.
Empirical Evidence and Learning Dynamics
The researchers validated this theory across diverse architectures (VGG-11/16, AlexNet, ResNet-20, BERT-Medium) and datasets, including computer vision tasks (CIFAR-10, CUB200-2011, Tiny-ImageNet) and natural language processing (SST-2). A key finding is the existence of two-stage learning dynamics. In the initial "normal" phase, the model builds up decay-shaped logic while suppressing initial spindle-shaped noise. However, as training progresses into the "overfitting" phase, the spindle-shaped distribution begins to grow again as the model starts to "connect the dots" between random noise in the training data.
This growth in the "spindle" component was found to be highly correlated with the "loss gap"—the divergence between training and testing error. Furthermore, when noise or adversarial perturbations were manually injected, the resulting new interactions almost perfectly followed the predicted spindle-shaped distribution, reinforcing the theory that complexity without simplicity leads to poor generalization.
Conclusion
By disentangling generalizable logic from non-generalizable noise through the lens of interaction shapes, this work provides a structural explanation for DNN performance. While the theory currently describes macro-trends rather than individual interaction guarantees, it opens the door for new regularization techniques designed to explicitly suppress spindle-shaped distributions, potentially leading to more robust and interpretable deep learning models.
Summary updated