NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Importance of Consistency in Training Deep Neural Networks

Chengxi Ye, Yezhou Yang, Cornelia Fermüller, Yiannis AloimonosarXiv 2017

Training deep neural networks often feels like a "dark art"—a process of trial and error involving the fine-tuning of learning rates, initialization schemes, and normalization layers. In their research, On the Importance of Consistency in Training Deep Neural Networks, Chengxi Ye and colleagues argue that these common frustrations are not random occurrences but rather symptoms of three fundamental "consistency issues." By addressing these issues through a simplified second-order optimization approach and a rethink of activation functions, they propose a more robust and principled framework for training deep models.

The "Syndrome of Inconsistencies"

Despite the widespread success of deep learning, training remains computationally intensive and often unintuitive. Most practitioners rely on first-order optimization methods, such as Stochastic Gradient Descent (SGD) or Adam, which utilize only the local slope of the error surface. The authors characterize the limitations of these "near-sighted" methods as a "syndrome of inconsistencies":

  1. Speed Inconsistency: Different layers in a network often learn at vastly different rates. According to the "Law of the Minimum," the overall training speed is dictated by the slowest-learning layer, creating a significant bottleneck.
  2. Scale Inconsistency: The range of values for inputs and residuals can vary wildly across layers. This makes it nearly impossible for a single global learning rate to be optimal for the entire network.
  3. Gradient Propagation (Vanishing Gradients): Gradients frequently "die" or vanish as they propagate backward through many layers. The authors analyze this through the lens of linear algebra, noting that information is lost when gradients fall into the "kernel" (nullspace) of a layer's operator.

Addressing the Bottlenecks: The SGD2 Framework

To resolve these inconsistencies, the authors introduce SGD2, a low-footprint second-order optimizer. While standard second-order methods like Newton’s method are typically computationally prohibitive due to the need to calculate and invert a massive Hessian matrix, SGD2 simplifies this into a layer-wise "decorrelation add-on."

Conceptual comparison between first-order and second-order optimization paths.

By multiplying the gradient by the inverse of the input correlation matrix $(X_i X_i^T + \lambda I)^{-1}$, SGD2 effectively "whitens" the data at each layer. This ensures that every layer moves toward the optimum at a consistent, full speed, effectively neutralizing the "Law of the Minimum." To maintain efficiency, the authors employ "stochastic chunking," dividing hidden units into small groups so that matrix inversions remain computationally inexpensive.

Activation and Normalization: ModU and RMS

The proposed framework also includes a rethink of architectural components:

  • RMS Normalization: Instead of the more complex Batch Normalization, the authors utilize a minimal "Root Mean Square" normalization. This ensures that inputs to every layer are on a similar scale, which is critical for maintaining the stability of second-order updates.
  • The Modulus Unit (ModU): The authors argue that the popular ReLU activation function contributes to vanishing gradients because it "zeros out" half the input space. They propose the Modulus activation, $ModU(x) = |x|$, which preserves more information and allows gradients to flow through much deeper and narrower networks.

Experimental Validation

The researchers evaluated their approach on the MNIST and CIFAR-10 datasets, comparing SGD2 against standard optimizers like Adam, Adagrad, and RMSProp.

Empirical results showing training loss, test error, and initialization robustness.

The results demonstrate significant improvements in both speed and accuracy. On a 10-layer MNIST network, SGD2 achieved a 1.9% test error, outperforming Adam (4.13%) and standard SGD (6.34%). In CIFAR-10 experiments, SGD2 reached a lower error rate in its very first epoch than other methods achieved after several.

Perhaps the most striking finding is SGD2's initialization independence. While standard SGD fails if weights are initialized too large or too small, SGD2 converged to similar error rates even when the initialization standard deviation varied by eight orders of magnitude (from $10^{-4}$ to $10^4$). Furthermore, the combination of SGD2 and the ModU activation enabled the successful training of a 50-layer narrow network (only 20 nodes per layer), a task where standard ReLU-based networks typically fail entirely due to vanishing or exploding gradients.

Conclusion

By enforcing consistency in training speed, data scale, and gradient propagation, the authors provide a path toward a more principled engineering approach to deep learning. While future work is needed to scale these second-order decorrelation steps to massive modern architectures like Transformers, the current results suggest that addressing fundamental inconsistencies can significantly reduce the "mysterious" nature of neural network training.

Summary updated

BibTeX
@misc{ye2017importance,
  author = {Chengxi Ye and Yezhou Yang and Cornelia Fermüller and Yiannis Aloimonos},
  title = {{On the Importance of Consistency in Training Deep Neural Networks}},
  year = {2017},
  eprint = {1708.00631},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.00631},
}
Figure