Abstract
Input-Convex Neural Networks (ICNNs) ensure that their output is a convex function of the input by enforcing non-negative weights and convex activation functions. While this property is highly desirable for optimization tasks in energy-based modeling and drug discovery, ICNNs are notoriously difficult to train. This paper identifies that standard initialization methods fail for ICNNs because they assume zero-centered weights. By generalizing signal propagation theory to non-centered distributions and accounting for feature correlation, the authors propose a principled Log-Normal initialization that stabilizes training, accelerates convergence, and removes the necessity for architectural workarounds like heavy skip-connections.
Introduction
Input-Convex Neural Networks (ICNNs) represent a specialized class of architectures where the mapping from input to output is guaranteed to be convex. This mathematical guarantee is a "superpower" for applications requiring optimization over the input space, such as optimal transport, molecular latent space navigation, and energy-based modeling. However, the constraints required to maintain convexity—specifically non-negative weights—introduce significant challenges during training.
Historically, ICNNs have suffered from slow convergence and numerical instability. Researchers often relied on architectural "crutches," such as dense skip-connections, to make these models trainable. In "Principled Weight Initialisation for Input-Convex Neural Networks" (NeurIPS 2023), Hoedt and Klambauer argue that these difficulties stem from a fundamental mismatch between ICNN constraints and standard weight initialization strategies.
The Challenge of Non-Negative Weights
Standard initialization schemes, such as He or Xavier initialization, are built on the assumption that weights are sampled from a distribution centered at zero. This symmetry ensures that the mean and variance of activations (the "signal") remain stable as they propagate through deep layers.
In ICNNs, weight matrices must have non-negative entries to preserve convexity. If one simply applies a standard initialization and takes the absolute value or samples from a uniform distribution $[0, 1]$, the mean weight is no longer zero. This shift causes the mean and variance of activations to grow or shrink exponentially with depth, leading to vanishing or exploding gradients. Consequently, the network experiences massive distribution shifts that make learning nearly impossible without significant architectural intervention.
Methodology: Signal Propagation Theory
The authors revisit Signal Propagation Theory to track how the moments of activations—mean, variance, and correlation—evolve across layers in a non-negative regime.
1. Generalizing the Math
Unlike standard networks where features are ideally uncorrelated, ICNNs with positive weights inherently create correlated features. The authors derived new propagation equations that do not assume zero-centered weights and explicitly account for this feature correlation. They identified that ignoring the off-diagonal elements of the covariance matrix is a primary reason why previous ICNN initializations failed.
2. Fixed-Point Analysis
To ensure stability, the authors sought a "fixed point" where the statistics of activations remain constant across layers. Their analysis revealed a stable configuration by setting a target correlation ($ ho_*$) of 0.5. This balance prevents the signal from collapsing into a single dimension or exploding.
3. Log-Normal Initialization
Because weights must remain positive, a Gaussian distribution is inapplicable. The authors propose sampling initial weights from a Log-Normal distribution. This distribution is parameterized specifically to match the theoretical mean and variance required by their fixed-point analysis.
4. Bias Centering
To further stabilize the first forward pass, the authors utilize bias terms to "re-center" activations to a zero mean at each layer. This ensures that the theoretical assumptions regarding Gaussian pre-activations hold more closely during the onset of training.
Experimental Results
The proposed initialization was evaluated across computer vision and bioinformatics benchmarks, comparing "plain" ICNNs (without skip-connections) against standard ICNN architectures.
- Convergence and Accuracy: On CIFAR-10, the principled initialization allowed a plain ICNN to reach higher accuracy in just 10 epochs than a standard ICNN could reach in 25. Furthermore, the well-initialized model achieved approximately 55.6% accuracy, significantly outperforming the standard ICNN with skip-connections (52.5%).
- Bioinformatics (Tox21): In predicting the toxicity of small molecules, ICNNs using the new initialization significantly outperformed standard ICNN baselines. Remarkably, they performed nearly as well as unconstrained, non-convex Multi-Layer Perceptrons (MLPs), suggesting that the "expressivity gap" of ICNNs is smaller than previously thought when training is properly stabilized.
- Molecular Optimization: Using Continuous and Data-Driven Descriptors (CDDDs), the authors demonstrated the ability to traverse the level sets of an ICNN. This allows researchers to optimize molecular properties (like drug-likeness) while keeping predicted toxicity constant—a feat made reliable by the guaranteed convexity of the model.
Discussion and Limitations
A key insight of this work is that skip-connections in ICNNs were largely serving as a remedy for poor initialization rather than a requirement for representational power. By fixing the math at the starting line, plain ICNNs become viable and efficient.
However, some limitations remain. The theoretical fixed point is stable only up to a certain depth (approximately 17 layers in current tests), and the theory relies on the assumption that pre-activations follow a Gaussian distribution. While this is a standard approximation, ICNN activations can deviate from this norm, suggesting that future work could benefit from more distribution-aware theoretical frameworks. Additionally, while the principles apply to fully-connected layers, extending the full covariance analysis to the spatial filters of convolutional layers remains an open challenge.
Conclusion
By addressing the unique statistical requirements of non-negative weights, Hoedt and Klambauer provide a robust framework for training ICNNs. This principled initialization eliminates the need for architectural hacks and positions ICNNs as a more competitive and accessible tool for constrained optimization tasks in machine learning.
Summary updated