Conjugate Learning Theory: Uncovering the Mechanisms of Trainability and Generalization in Deep Neural Networks
Binchuan Qi
TL;DR
Conjugate Learning Theory offers a unified, duality-based framework to analyze trainability and generalization in deep neural networks under finite data. By casting learning as conditional distribution estimation within exponential-family constraints and employing Fenchel–Young losses, the approach links empirical-risk optimization to gradient energy and the spectrum of a model-induced structure matrix, while bounding generalization via generalized conditional entropy and information-loss measures. The theory yields data-determined lower bounds on empirical risk and reveals how architecture (depth, width, skip connections) and optimization choices shape trainability and generalization in a principled way. Empirical validation across LeNet, ResNet-18, and ViT on MNIST and CIFAR demonstrates that the predicted relationships between gradient energy, eigenvalues, and loss bounds hold in practice, supporting the framework's relevance for real-world DNN training.
Abstract
In this work, we propose a notion of practical learnability grounded in finite sample settings, and develop a conjugate learning theoretical framework based on convex conjugate duality to characterize this learnability property. Building on this foundation, we demonstrate that training deep neural networks (DNNs) with mini-batch stochastic gradient descent (SGD) achieves global optima of empirical risk by jointly controlling the extreme eigenvalues of a structure matrix and the gradient energy, and we establish a corresponding convergence theorem. We further elucidate the impact of batch size and model architecture (including depth, parameter count, sparsity, skip connections, and other characteristics) on non-convex optimization. Additionally, we derive a model-agnostic lower bound for the achievable empirical risk, theoretically demonstrating that data determines the fundamental limit of trainability. On the generalization front, we derive deterministic and probabilistic bounds on generalization error based on generalized conditional entropy measures. The former explicitly delineates the range of generalization error, while the latter characterizes the distribution of generalization error relative to the deterministic bounds under independent and identically distributed (i.i.d.) sampling conditions. Furthermore, these bounds explicitly quantify the influence of three key factors: (i) information loss induced by irreversibility in the model, (ii) the maximum attainable loss value, and (iii) the generalized conditional entropy of features with respect to labels. Moreover, they offer a unified theoretical lens for understanding the roles of regularization, irreversible transformations, and network depth in shaping the generalization behavior of deep neural networks. Extensive experiments validate all theoretical predictions, confirming the framework's correctness and consistency.
