Skip to main content
QUICK REVIEW

[Paper Review] Regularizing activations in neural networks via distribution matching with the Wasserstein metric

Taejong Joo, Donggu Kang|arXiv (Cornell University)|Feb 13, 2020
Advanced Neural Network ApplicationsComputer Science56 references8 citations
TL;DR

This paper proposes Projected Error Function Regularization (PER), a novel method that regularizes neural network activations by minimizing the upper bound of the 1-Wasserstein distance between their empirical distribution and the standard normal distribution. By projecting activations onto random one-dimensional directions and applying a Pseudo-Huber-like loss, PER captures higher-order statistics and inter-unit correlations, leading to improved training stability and generalization without additional parameters or architectural changes.

ABSTRACT

Regularization and normalization have become indispensable components in training deep neural networks, resulting in faster training and improved generalization performance. We propose the projected error function regularization loss (PER) that encourages activations to follow the standard normal distribution. PER randomly projects activations onto one-dimensional space and computes the regularization loss in the projected space. PER is similar to the Pseudo-Huber loss in the projected space, thus taking advantage of both $L^1$ and $L^2$ regularization losses. Besides, PER can capture the interaction between hidden units by projection vector drawn from a unit sphere. By doing so, PER minimizes the upper bound of the Wasserstein distance of order one between an empirical distribution of activations and the standard normal distribution. To the best of the authors' knowledge, this is the first work to regularize activations via distribution matching in the probability distribution space. We evaluate the proposed method on the image classification task and the word-level language modeling task.

Motivation & Objective

  • To address the instability of activation distributions during deep network training, which can hinder convergence and generalization.
  • To overcome the limitations of existing methods that regularize only first- and second-order statistics (e.g., mean and variance) by capturing higher-order moments and inter-unit correlations.
  • To explore the potential of regularization in the probability distribution space using the Wasserstein metric, a theoretically sound and robust distance measure.
  • To develop a parameter-free, architecture-agnostic regularization method that improves training stability and model performance across diverse tasks.

Proposed method

  • Project activations from each layer onto random one-dimensional directions drawn from a unit sphere to enable distributional analysis in lower dimensions.
  • Apply a Pseudo-Huber loss in the projected space, which combines benefits of both L1 and L2 regularization by being smooth and robust to outliers.
  • Minimize an upper bound of the 1-Wasserstein distance between the empirical distribution of activations and the standard normal distribution N(0, I).
  • Use sliced Wasserstein distance approximation via Monte Carlo sampling of random projections to estimate the Wasserstein distance efficiently.
  • Formulate the regularization loss as a function of the projected activations and their deviation from the target Gaussian distribution.
  • Ensure the method is computationally efficient and compatible with standard training pipelines by avoiding learnable parameters and maintaining differentiability.

Experimental results

Research questions

  • RQ1Can regularizing the full distribution of activations—rather than just their moments—improve training stability and generalization in deep neural networks?
  • RQ2How does distribution matching via the Wasserstein metric compare to conventional normalization and regularization techniques in terms of performance and robustness?
  • RQ3To what extent can PER stabilize activation distributions during training without explicit normalization layers or batch statistics?
  • RQ4Does the use of random projections and Pseudo-Huber loss effectively capture inter-unit correlations and higher-order statistics in hidden representations?
  • RQ5Can PER be applied effectively across diverse tasks such as image classification and language modeling without architectural modifications?

Key findings

  • PER significantly stabilizes the distribution of activations over training, preventing mean and variance drift, especially in early training stages.
  • The 1-Wasserstein distance between the activation distribution and the standard normal distribution is consistently lower under PER compared to vanilla and BN baselines.
  • PER achieves marginal but consistent improvements in test accuracy on image classification (CIFAR-10, CIFAR-100) and word-level language modeling (WikiText-2) tasks.
  • Despite a slight increase in training time (0.093s per iteration vs. 0.071s for vanilla), PER incurs no additional parameters and is compatible with standard training pipelines.
  • Analysis shows that PER effectively controls higher-order statistics and inter-unit correlations, as evidenced by reduced distributional drift and faster convergence.
  • The method outperforms BN and VCL in maintaining activation distributions close to the target N(0, I), even without batch normalization or explicit moment control.

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.