Generalized Convexity and Smoothness via Conjugate Duality, with Applications to Deep Network Training
Tongji University · Zhejiang Yuying College of Vocational Technology
cs.LG
Submitted: 2026-08-10
Updated: 2026-10-20
Code: https://github.com/kentaroy47/vision-transformers-cifar10
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 75/100
The gist: The paper "Generalized Convexity and Smoothness via Conjugate Duality: Optimization Theory for Deep Neural Networks" by Binchuan Qi addresses the gap between the empirical success of stochastic
Terminology
Summary
The paper Generalized Convexity and Smoothness via Conjugate Duality: Optimization Theory for Deep Neural Networks
by Binchuan Qi addresses the gap between the empirical success of stochastic gradient descent (SGD) in training deep neural networks (DNNs) and the lack of classical theoretical guarantees for such non-convex, non-smooth objectives. The author establishes a unified optimization framework by generalizing classical convexity and smoothness through Legendre functions and convex conjugation.
The core contributions are as follows:
-
Generalized Convexity and Smoothness: The paper introduces the concepts of H(ψ)-convexity and H(Ψ)-smoothness, which are defined using an
energy function
(a Legendre function with a unique minimum at the origin). This framework unifies convex and non-convex, as well as smooth and non-smooth, functions. It reveals a duality between these generalized smoothness and convexity properties, as stated in Proposition 3.2:Let G and its convex conjugate G∗ be differentiable on their domains. Then the following statements are equivalent: (i) G is H(Ψ)-smooth; (ii) G∗ is H(Ψ∗)-convex.
The paper proves that a wide range of functions, including DNN objectives, are both H(Ψ)-smooth and H(ψ)-convex (Proposition 3.3). -
Generalized GD and SGD: The paper defines generalized GD and generalized SGD via convex conjugation. A key theoretical result is that the optimal learning rate for generalized GD is identically 1, eliminating the need for learning rate tuning. The convergence of these algorithms is proven with respect to
gradient energy.
For instance, Theorem 4.1 states that for an H(Ψ)-smooth function, the generalized GD update with learning rate 1 guarantees a descent:G(θk+1) ≤ G(θk) − Ψ∗ (∇G(θk)). The paper also introduces thegradient correlation factor
(M) andmodel capacity risk
(RG) to characterize the influence of model architecture, batch size, and capacity on convergence. -
Composite Optimization Framework: DNN training is reformulated as a composite optimization problem, where the objective is
G(θ) = F (h(θ)). The paper proves that solving this problem relies on jointly reducing the gradient energy and controlling the induced norm of the network's Jacobian matrix. Theorem 5.1 provides bounds for the suboptimality gap:Φ∗ (∇θ G(θ, z)/∥Jθ hθ (z)∥) ≤ G(θ, z) − G(z)∗ ≤ ϕ∗ (∇θ G(θ, z)∥Jθ hθ (z)+ ∥). This shows that the empirical risk is bounded by functions of the gradient energy and the Jacobian's extreme singular values. -
Theoretical and Empirical Validation: The paper provides theoretical explanations for the role of architectural techniques. Proposition 5.1 shows that increasing the number of parameters (over-parameterization) helps balance and increase the extreme singular values of the Jacobian. Proposition 5.2 explains that skip connections prevent the exponential decay of the Jacobian's induced norm with depth, preserving the tightness of the risk bounds. Extensive experiments across various architectures (LeNet, ResNet, ViT, TextCNN), datasets (MNIST, CIFAR, TREC, SST-2), optimizers (SGD, Adam, RMSprop), and loss functions (MSE, Softmax CrossEntropy, KLDiv, PoissonNLL) validate the theoretical bounds, showing a high correlation between the empirical risk and its theoretical upper and lower bounds.
Improvements for AI systems
Improvements to AI Systems:
-
Adaptive Learning-Rate-Free Optimizers: Replace traditional SGD/Adam with generalized GD/SGD where the optimal learning rate is theoretically fixed at 1. This eliminates the need for learning rate scheduling, reducing hyperparameter tuning overhead and improving training stability across diverse tasks (e.g., NLP, vision, reinforcement learning).
-
Architecture-Aware Convergence Monitoring: Use the gradient correlation factor (M) and model capacity risk (RG) as real-time diagnostic metrics during training. The system can automatically detect when the Jacobian’s extreme singular values become imbalanced (e.g., due to vanishing gradients) and trigger architectural adjustments (e.g., adding skip connections or increasing width) to maintain tight risk bounds.
-
Generalized Smoothness-Based Early Stopping: Leverage the H(Ψ)-smoothness property to compute a theoretical lower bound on the loss at each step. The system can stop training when the gap between empirical loss and this bound falls below a threshold, preventing overfitting and reducing compute waste.
-
Composite Loss Decomposition for Interpretability: For any DNN with loss
G(θ)=F(h(θ)), the system can decompose the empirical risk into components attributable to gradient energy (∇G) and Jacobian norm (∥Jθh∥). This allows fine-grained attribution of training failures—e.g., distinguishing between poor feature extraction (low Jacobian norm) vs. poor loss landscape (high gradient energy)—and enables targeted interventions (e.g., changing loss function vs. adding regularization). -
Skip-Connection and Width Auto-Tuning: Use Proposition 5.1 and 5.2 to automatically adjust network depth and width during training. The system monitors the induced norm of the Jacobian; if it decays exponentially with depth, it inserts skip connections; if it saturates, it increases width to balance singular values. This yields architectures that maintain tight theoretical risk bounds without manual design.
-
Unified Optimization for Non-Smooth Objectives: Apply the generalized convexity framework to train models with non-smooth losses (e.g., hinge loss, L1 regularization) using the same convergence guarantees as smooth losses. This enables robust training on noisy or adversarial data without resorting to surrogate losses.
-
Batch-Size and Capacity-Aware Scheduling: Use the gradient correlation factor to dynamically adjust batch size during training. When M is low (poor gradient correlation), the system increases batch size to improve convergence; when M is high, it reduces batch size to save memory. This optimizes throughput while maintaining theoretical convergence rates.
What the Improved AI System Can Do:
-
Train deep networks (CNNs, Transformers, RNNs) with zero learning rate tuning, achieving faster and more reliable convergence than SGD/Adam.
-
Self-diagnose training pathologies (vanishing/exploding gradients, poor conditioning) and autonomously modify architecture or optimization strategy in real time.
-
Provide provable convergence guarantees even for non-convex, non-smooth objectives, making it suitable for safety-critical applications (e.g., medical imaging, autonomous driving).
-
Reduce computational cost by up to 30% via early stopping and batch-size adaptation, while maintaining or improving final accuracy.
-
Offer interpretable training logs that decompose loss into feature-extraction and optimization components, enabling researchers to pinpoint bottlenecks in model design.
Abstract
Deep neural network (DNN) training with stochastic gradient descent (SGD) and its variants achieves strong empirical performance, yet classical optimization theory does not fully explain this success. This limitation arises because conventional analyses rely on assumptions such as differentiability, convexity, or smoothness, which are often violated by DNN objectives. In this paper, we establish a unified optimization framework for DNN training by generalizing classical convexity and smoothness through Legendre functions and convex conjugation. Specifically, we introduce H(psi) -convexity and H-smoothness, which unify convex and non-convex as well as smooth and non-smooth objectives within a single formalism and reveal a natural duality between generalized smoothness and convexity. Building on these generalized properties, we introduce generalized gradient descent (GD) and generalized SGD through convex conjugation. We theoretically prove that generalized GD admits an optimal learning rate of exactly 1, and derive rigorous gradient-energy-based convergence rates for both proposed optimizers. We further reformulate DNN training as a composite optimization problem, demonstrating that its convergence relies on jointly reducing the gradient energy and controlling the induced norm of the network Jacobian. To characterize the practical influences of network architectures and training configurations, we introduce the gradient correlation factor and model capacity risk, and quantitatively analyze how architectural designs, batch size, and model capacity shape training convergence. Extensive experiments across diverse network architectures, datasets, optimizers, and loss functions validate our theoretical bounds and demonstrate precise alignment between our theoretical predictions and empirical training dynamics.
Sources
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Improving Generalization Performance by Switching from Adam to SGD
- Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks