Skip to main content
QUICK REVIEW

[Paper Review] Gradient-Coherent Strong Regularization for Deep Neural Networks

Dae Hoon Park, Chiu Man Ho|arXiv (Cornell University)|Nov 20, 2018
Sparse and Compressive Sensing TechniquesEngineering21 references3 citations
TL;DR

This paper proposes gradient-coherent strong regularization, a method that selectively applies strong L1/L2 regularization in deep neural networks only when gradients remain coherent, preventing training failure. It achieves up to 9.9x model compression and improved accuracy by avoiding the destructive weight decay caused by dominant regularization gradients during stochastic gradient descent.

ABSTRACT

Regularization plays an important role in generalization of deep neural networks, which are often prone to overfitting with their numerous parameters. L1 and L2 regularizers are common regularization tools in machine learning with their simplicity and effectiveness. However, we observe that imposing strong L1 or L2 regularization with stochastic gradient descent on deep neural networks easily fails, which limits the generalization ability of the underlying neural networks. To understand this phenomenon, we first investigate how and why learning fails when strong regularization is imposed on deep neural networks. We then propose a novel method, gradient-coherent strong regularization, which imposes regularization only when the gradients are kept coherent in the presence of strong regularization. Experiments are performed with multiple deep architectures on three benchmark data sets for image recognition. Experimental results show that our proposed approach indeed endures strong regularization and significantly improves both accuracy and compression (up to 9.9x), which could not be achieved otherwise.

Motivation & Objective

  • To investigate why strong L1/L2 regularization fails in deep neural networks when using stochastic gradient descent.
  • To address the failure of learning under strong regularization, which causes excessive weight decay and vanishing gradients.
  • To develop a method that enables strong regularization without compromising training stability or model performance.
  • To achieve high model compression and improved generalization through sparse, strongly regularized solutions.

Proposed method

  • The method introduces a gradient-coherence condition that determines whether to apply strong regularization at each training step.
  • Regularization is enforced only when the sum of the loss gradient and regularization gradient maintains coherence with the loss gradient direction.
  • The coherence is measured by the cosine similarity between the total gradient and the loss gradient, ensuring that regularization does not disrupt the learning signal.
  • The approach dynamically skips regularization when gradients become incoherent, preventing continuous suppression of weight and gradient magnitudes.
  • The method is general and applicable to both L1 and L2 regularization, and can be integrated into standard SGD training pipelines.
  • It avoids the exponential decay of gradient and weight magnitudes seen in standard strong regularization, preserving learning capacity.

Experimental results

Research questions

  • RQ1Why does strong L1 or L2 regularization cause training failure in deep neural networks when using stochastic gradient descent?
  • RQ2What causes the dominance of regularization gradients that suppress learning and lead to weight decay?
  • RQ3Can regularization be applied strongly without disrupting the learning process if applied only when gradients remain coherent?
  • RQ4To what extent can strong regularization improve model generalization and compression without sacrificing accuracy?
  • RQ5How does gradient coherence serve as a reliable criterion for selective regularization application in deep networks?

Key findings

  • The proposed method successfully trains deep neural networks with strong L2 regularization (λ = 2×10⁻³), achieving higher accuracy than a baseline with weaker regularization (λ = 1×10⁻³).
  • Gradient magnitudes in the proposed method stabilize after epoch 20, avoiding the exponential decay seen in standard strong regularization.
  • Weight magnitudes in the proposed model stop decreasing after a certain point, indicating prevention of continuous suppression.
  • The method achieves up to 9.9x compression in model size while maintaining or improving test accuracy compared to baseline models.
  • On all three benchmark datasets (CIFAR-10, CIFAR-100, ImageNet), the method consistently outperforms standard strong regularization in both accuracy and sparsity.
  • The approach enables sparse solutions via L1 regularization with significantly higher sparsity (10–30% of parameters retained) than baseline models (20–90% retained), without accuracy loss.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.