Skip to main content
QUICK REVIEW

[Paper Review] Demystifying Batch Normalization in ReLU Networks: Equivalent Convex Optimization Models and Implicit Regularization

Tolga Ergen, Arda Sahiner|arXiv (Cornell University)|Mar 2, 2021
Advanced Neural Network ApplicationsComputer Science30 references9 citations
TL;DR

This paper introduces an exact convex optimization framework for ReLU networks with Batch Normalization (BN), revealing that BN implicitly whitens features and induces a bias toward high-singular-value directions during training. It derives closed-form solutions for optimal weights in high-dimensional and overparameterized regimes and demonstrates that explicit regularization can mimic the implicit bias of gradient descent in BN networks, improving performance on CIFAR-10.

ABSTRACT

Batch Normalization (BN) is a commonly used technique to accelerate and stabilize training of deep neural networks. Despite its empirical success, a full theoretical understanding of BN is yet to be developed. In this work, we analyze BN through the lens of convex optimization. We introduce an analytic framework based on convex duality to obtain exact convex representations of weight-decay regularized ReLU networks with BN, which can be trained in polynomial-time. Our analyses also show that optimal layer weights can be obtained as simple closed-form formulas in the high-dimensional and/or overparameterized regimes. Furthermore, we find that Gradient Descent provides an algorithmic bias effect on the standard non-convex BN network, and we design an approach to explicitly encode this implicit regularization into the convex objective. Experiments with CIFAR image classification highlight the effectiveness of this explicit regularization for mimicking and substantially improving the performance of standard BN networks.

Motivation & Objective

  • To provide a theoretically complete characterization of Batch Normalization in ReLU networks using convex optimization.
  • To uncover the implicit regularization effect of gradient descent in BN networks that is absent in standard convex formulations.
  • To develop an explicit regularization technique that captures the algorithmic bias of GD in BN networks.
  • To extend convex optimization frameworks to deep ReLU networks with BN, including CNNs and vector outputs.
  • To demonstrate that optimal weights in high-dimensional regimes can be computed via closed-form solutions using convex duality.

Proposed method

  • Uses convex duality to derive an equivalent finite-dimensional convex problem for weight-decay regularized ReLU networks with BN.
  • Reveals that BN induces a whitening effect on the data matrix, transforming it into a de-meaned and whitened form via SVD.
  • Derives closed-form solutions for optimal layer weights in the high-dimensional regime ($n \leq d$) when the input matrix is full row-rank.
  • Identifies that gradient descent on BN networks implicitly regularizes high singular value directions of the data, which is not captured in the convex formulation.
  • Proposes a method to explicitly encode this implicit regularization into the convex objective using structured norms.
  • Applies the framework to deep networks, CNNs, BN after ReLU, and arbitrary convex loss functions, generalizing prior convex ReLU network results.

Experimental results

Research questions

  • RQ1How can Batch Normalization in ReLU networks be formally characterized using convex optimization?
  • RQ2What is the implicit regularization effect induced by gradient descent in BN networks, and how does it differ from standard convex formulations?
  • RQ3Can the implicit bias of gradient descent in BN networks be explicitly modeled in a convex optimization framework?
  • RQ4What closed-form solutions exist for optimal weights in overparameterized and high-dimensional ReLU networks with BN?
  • RQ5How does the placement of BN (before or after ReLU) affect the resulting convex optimization model and feature whitening?

Key findings

  • The optimal solution to ReLU networks with BN and weight decay can be equivalently formulated as a finite-dimensional convex problem.
  • Batch Normalization induces a whitening effect on the data matrix, transforming it into a de-meaned and whitened form via SVD, which is explicitly revealed through convex duality.
  • In the high-dimensional regime ($n \leq d$) with full row-rank input data, the optimal solution for a two-layer network can be computed in closed-form as $\mathbf{w}^{(1)*} = \mathbf{X}^\dagger(\mathbf{y} - \min_i y_i)$, $w^{(2)*} = (\|\mathbf{y}\|_2 - \beta)_+$.
  • Gradient descent on BN networks implicitly biases learning toward high singular value directions of the data, a property not present in the standard convex formulation of whitened data.
  • Explicitly regularizing the convex model to capture this implicit bias leads to improved performance on CIFAR-10, demonstrating the effectiveness of the proposed framework.
  • The framework generalizes to deep networks, CNNs, BN after ReLU, and vector-output networks, extending prior convex ReLU network results beyond two-layer fully connected networks.

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.