Skip to main content
QUICK REVIEW

[Paper Review] ZerO Initialization: Initializing Neural Networks with only Zeros and Ones

Jiawei Zhao, Florian Schäfer|arXiv (Cornell University)|Oct 25, 2021
Advanced Neural Network ApplicationsComputer Science10 references10 citations
TL;DR

This paper proposes ZerO, a fully deterministic weight initialization method for deep neural networks that uses only zeros and ones via identity and Hadamard transforms, achieving state-of-the-art performance on ImageNet without random initialization. ZerO enables stable training of ultra-deep networks (e.g., over 500 layers) without batch normalization, exhibits low-rank learning trajectories, and produces sparse, low-complexity models with improved reproducibility.

ABSTRACT

Deep neural networks are usually initialized with random weights, with adequately selected initial variance to ensure stable signal propagation during training. However, selecting the appropriate variance becomes challenging especially as the number of layers grows. In this work, we replace random weight initialization with a fully deterministic initialization scheme, viz., ZerO, which initializes the weights of networks with only zeros and ones (up to a normalization factor), based on identity and Hadamard transforms. Through both theoretical and empirical studies, we demonstrate that ZerO is able to train networks without damaging their expressivity. Applying ZerO on ResNet achieves state-of-the-art performance on various datasets, including ImageNet, which suggests random weights may be unnecessary for network initialization. In addition, ZerO has many benefits, such as training ultra deep networks (without batch-normalization), exhibiting low-rank learning trajectories that result in low-rank and sparse solutions, and improving training reproducibility.

Motivation & Objective

  • To investigate whether random weight initialization is necessary for training deep neural networks.
  • To address the challenges of variance selection and gradient explosion/vanishing in very deep networks.
  • To develop a deterministic initialization scheme that ensures stable signal propagation and avoids the need for random variance tuning.
  • To explore whether deterministic initialization can yield low-complexity, sparse, and reproducible models.

Proposed method

  • ZerO initializes network weights using only zeros and ones through deterministic application of identity and Hadamard transforms.
  • The method applies identity matrices to preserve dimensionality in residual blocks and uses Hadamard matrix columns for dimension-increasing layers.
  • It ensures dynamical isometry by maintaining signal propagation stability without random perturbations.
  • The initialization is applied uniformly across layers, avoiding any random weight variance tuning.
  • ZerO leverages the structure of Hadamard and identity matrices to create a fully deterministic, normalized initialization scheme.
  • The approach enables training without batch normalization and supports ultra-deep architectures.

Experimental results

Research questions

  • RQ1Can deep neural networks be trained effectively without any random weight initialization?
  • RQ2Does a deterministic initialization using only zeros and ones preserve network expressivity and generalization?
  • RQ3Can ZerO training achieve state-of-the-art performance on standard benchmarks like ImageNet?
  • RQ4Does ZerO induce low-rank learning trajectories and lead to sparse, low-complexity solutions?
  • RQ5Can ZerO improve training reproducibility compared to random initialization?

Key findings

  • ZerO achieves state-of-the-art accuracy on ImageNet without random initialization, outperforming standard methods.
  • ZerO enables stable training of ResNet architectures with over 500 layers without batch normalization.
  • ZerO exhibits a greedy low-rank learning trajectory, where matrix rank gradually increases during training.
  • ZerO-trained models achieve 25% higher sparsity or 30% lower rank in kernel approximation compared to random initialization, without accuracy loss.
  • ZerO improves training reproducibility by eliminating random seed dependence in weight initialization.
  • The method encourages convergence to low-complexity solutions, suggesting potential for more efficient inference through pruning and low-rank approximation.

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.