Two-Phase Dynamics of Interactions Explains the Starting Point of a DNN Learning Over-Fitted Features
Junpeng Zhang, Qing Li, Liang Lin, Quanshi Zhang
TL;DR
The paper reframes DNN generalization in terms of primitive inference patterns called interactions and reveals a two-phase dynamic in how these interactions of varying order are learned during training. Phase one inhibits medium- and high-order interactions to promote simpler, more generalizable patterns, while phase two gradually increases interaction order, enabling the emergence of overfitted features. The authors provide a formal AND-OR interaction framework, demonstrate alignment between the two-phase dynamics and the training-testing loss gap, and show that high-order interactions generalize less effectively across diverse architectures and tasks. These findings offer a granular mechanism for understanding how DNN representations evolve from underfitting to overfitting and inform when models begin to rely on overfitted features.
Abstract
This paper investigates the dynamics of a deep neural network (DNN) learning interactions. Previous studies have discovered and mathematically proven that given each input sample, a well-trained DNN usually only encodes a small number of interactions (non-linear relationships) between input variables in the sample. A series of theorems have been derived to prove that we can consider the DNN's inference equivalent to using these interactions as primitive patterns for inference. In this paper, we discover the DNN learns interactions in two phases. The first phase mainly penalizes interactions of medium and high orders, and the second phase mainly learns interactions of gradually increasing orders. We can consider the two-phase phenomenon as the starting point of a DNN learning over-fitted features. Such a phenomenon has been widely shared by DNNs with various architectures trained for different tasks. Therefore, the discovery of the two-phase dynamics provides a detailed mechanism for how a DNN gradually learns different inference patterns (interactions). In particular, we have also verified the claim that high-order interactions have weaker generalization power than low-order interactions. Thus, the discovered two-phase dynamics also explains how the generalization power of a DNN changes during the training process.
