Expected Gradients of Maxout Networks and Consequences to Parameter Initialization

Hanna Tseran, Guido Montufar

Introduction

Maxout networks, introduced as a powerful generalization of the Rectified Linear Unit (ReLU), are capable of approximating any convex function. By taking the maximum over $K$ affine transformations, Maxout units avoid the "dying neuron" problem and offer significant representational flexibility. Despite these advantages, Maxout networks have not achieved the same ubiquity as ReLU-based models, largely due to the difficulty of stable parameter initialization.

Standard initialization schemes, such as He or Xavier initialization, were designed for fixed activation functions. However, Maxout units are inherently dynamic; the gradient's behavior depends on which of the $K$ "pieces" is active, which is itself a function of the input data. This paper addresses this gap by providing a rigorous theoretical framework for initializing deep Maxout networks, preventing the vanishing and exploding gradient problems that typically plague these models.

The Initialization Problem in Maxout Networks

In deep learning, proper initialization ensures that the variance of activations and gradients remains stable across layers. For a standard ReLU network, the variance of weights is typically set to $2 / \text{fan-in}$. Maxout units complicate this because they select the maximum of $K$ different affine functions:

$$f(x) = \max_{j \in \{1, \dots, K\}} (w_j^T x + b_j)$$

Because the "max" operation is input-dependent, the distribution of the input-output Jacobian is not constant. Without a tailored initialization, the signal either saturates or explodes as it propagates through deep layers, making convergence slow or impossible. The authors identify that the primary culprit is this input dependency, which causes "one-size-fits-all" initializations to fail.

Methodology: Order Statistics and Gradient Analysis

The authors derive a new initialization strategy by analyzing the input-output Jacobian through the lens of order statistics.

1. Modeling with Order Statistics

Since a Maxout unit selects the largest value among $K$ pre-activations, the authors treat these pre-activations as Gaussian random variables. By applying the theory of order statistics, they model the properties of the maximum value to understand how the mean and variance shift as the signal passes through the unit. A key discovery is the "Shifted Mean": because Maxout units take the maximum of $K$ variables, the expected activation is non-zero even if weights are zero-mean. This shift accumulates through layers, requiring a smaller scaling constant to keep the signal from exploding.

2. Stochastic Order Bounds

The research provides rigorous bounds on the moments of the gradients, demonstrating how they scale with network depth ($L$), width ($n$), and the Maxout rank ($K$). The math suggests that for Maxout networks to have stable, input-independent initialization, they benefit from being deep and wide, where the "angles" between internal representations converge.

3. The Rank-Dependent Constant

To counteract gradient instability, the authors propose a modified variance for weight initialization:

$$Var(W) = \frac{c}{\text{fan-in}}$$

Crucially, the constant $c$ is rank-dependent. While ReLU ($K=1$) uses $c=2$, the authors calculate that a rank-5 Maxout unit ($K=5$) requires $c \approx 0.556$. As the number of pieces $K$ increases, the scaling constant $c$ must decrease to maintain stability.

Experimental Results

The proposed initialization was validated across several benchmarks, including MNIST, Fashion-MNIST, SVHN, CIFAR-10, and CIFAR-100, using both deep fully-connected networks (21 layers) and VGG-like CNNs (up to 20 layers).

Training Stability and Convergence

The "Maxout Initialization" allowed for the successful training of 21-layer networks that previously failed to converge using standard He-initialization. When using Adam optimization, Maxout networks with the new $c$ values converged faster and reached higher final accuracies than those using naive or ReLU-centric initializations. Empirical tests confirmed that with the calculated $c$, gradient magnitude remains nearly constant across 100+ layers.

Performance Gains

On the CIFAR-100 dataset, a properly initialized Maxout CNN achieved an accuracy of 65.39%, significantly outperforming a ReLU counterpart which reached 59.59% under identical training conditions. This suggests that when the initialization barrier is removed, the inherent expressivity of Maxout units provides a clear competitive advantage.

Theoretical Insights and Expressivity

Beyond initialization, the paper refines the understanding of Maxout network expressivity. The authors show that the number of linear regions—a proxy for model complexity—is controlled by the same constants derived for initialization. They also use their gradient analysis to improve existing bounds on the Neural Tangent Kernel (NTK), providing a more complete picture of the learning dynamics of these networks.

Conclusion and Future Work

This work provides the first formal initialization strategy specifically designed for Maxout networks, turning a notoriously difficult architecture into a robust tool for deep learning. While the theoretical derivations focus on fully-connected layers, empirical evidence shows strong transferability to convolutional architectures.

Future research directions include extending the formal Jacobian analysis to convolutional layers, modeling how gradient distributions evolve during training (beyond the initial state), and applying this order-statistics framework to other multi-argument functions, such as aggregation functions in Graph Neural Networks (GNNs).

Summary updated

BibTeX
@inproceedings{tseran2023expected,
  author = {Hanna Tseran and Guido Montufar},
  title = {{Expected Gradients of Maxout Networks and Consequences to Parameter Initialization}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=mJRMHkaTcp},
}
Figure