Introduction
Despite the ubiquity of Deep Neural Networks (DNNs), their internal decision-making processes remain largely opaque. Traditional post-hoc explanation methods, such as saliency maps, often struggle with "faithfulness"—the degree to which an explanation accurately reflects the model's underlying logic. This paper investigates a more robust alternative: symbolic interactions. These interactions represent non-linear relationships between input variables (e.g., specific combinations of image patches) that drive model outputs.
While empirical observations have previously suggested that DNNs learn these interactions in distinct stages, a rigorous mathematical explanation has been missing. This research provides a theoretical framework for the "two-phase dynamics" of DNN learning, linking the complexity of learned patterns to generalization performance and the onset of overfitting.
Theoretical Framework
The authors base their proof on Harsanyi interactions, a game-theoretic approach to attributing model outputs to subsets of input variables. The methodology involves three key components:
- AND-OR Modeling: The DNN's inference process is represented as a combination of AND-type interactions (where all features in a set must be present) and OR-type interactions (where any feature in a set can trigger a response).
- Linear Regression Reformulation: The learning process is reformulated as a linear regression problem. In this framework, the network attempts to learn optimal weights for various "interaction triggering functions."
- Noise as a Proxy for Training: The core of the proof assumes that at initialization, network parameters are essentially "noisy." As training progresses, this parameter noise (denoted as $\sigma^2$) gradually diminishes.
By deriving an analytic solution for interaction weights under varying noise levels, the authors prove that low-order (simple) interactions are naturally more robust to noise and are consequently learned earlier in the training process. High-order (complex) interactions only emerge as the noise level drops significantly.
The Two-Phase Learning Process
The research identifies a universal "purge then build" dynamic that occurs during training:
Phase 1: The Great Purge
At the start of training, a randomly initialized DNN contains a "spindle-shaped" distribution of interactions. These are mostly meaningless, medium-to-high-complexity patterns resulting from random weights. In this first phase, the DNN effectively cleans the slate by eliminating these chaotic interactions, focusing the model on the most basic, low-order signals.
Phase 2: The Complexity Climb
Once the initial noise is purged, the DNN begins to learn interactions of increasing order:
- Low-order interactions: These represent simple features like edges or textures. They are generally stable, generalizable, and indicative of healthy learning.
- High-order interactions: These involve complex combinations of features that may be unique to specific training samples. The emergence of these interactions serves as a quantifiable signal of overfitting.
Experimental Validation
The authors validated their theory across diverse architectures (VGG-11/16, AlexNet, BERT-Tiny/Medium, DGCNN) and data modalities, including image classification (MNIST, CIFAR-10, Tiny-ImageNet), natural language processing (SST-2), and 3D point clouds (ShapeNet).
Key findings from these experiments include:
- Theoretical Alignment: The predicted distribution of interactions from the mathematical model closely matched the actual distributions measured during training across all datasets.
- Predicting the Generalization Gap: The study confirmed that the moment a DNN begins learning high-order interactions coincides with the widening of the loss gap between training and testing data.
- Architecture Agnosticism: The two-phase dynamic held true regardless of whether the model was a Convolutional Neural Network (CNN) or a Transformer, suggesting a fundamental property of gradient-based learning in DNNs.
Conclusion and Future Work
This research provides a mathematical foundation for understanding how DNNs navigate the trade-off between simple generalizations and complex memorization. By monitoring the "interaction order," researchers can potentially identify the exact moment a model begins to overfit, offering a more granular tool for early stopping than validation loss alone.
However, limitations remain. The current noise model is simplified and may not account for erratic learning rate schedules. Furthermore, calculating Harsanyi interactions is computationally expensive—currently requiring 35-40 seconds per sample—making real-time monitoring a challenge for future optimization.
Summary updated