Deep Neural Networks with Random Gaussian Weights: A Universal Classification Strategy?

Raja Giryes, Guillermo Sapiro, Alexander M. Bronstein · DOI

Abstract

Three important properties of a classification machinery are: (i) the system preserves the core information of the input data; (ii) the training examples convey information about unseen data; and (iii) the system is able to treat differently points from different classes. In this work we show that these fundamental properties are satisfied by the architecture of deep neural networks. We formally prove that these networks with random Gaussian weights perform a distance-preserving embedding of the data, with a special treatment for in-class and out-of-class data. Similar points at the input of the network are likely to have a similar output. The theoretical analysis of deep networks here presented exploits tools used in the compressed sensing and dictionary learning literature, thereby making a formal connection between these important topics. The derived results allow drawing conclusions on the metric learning properties of the network and their relation to its structure, as well as providing bounds on the required size of the training set such that the training examples would represent faithfully the unseen data. The results are validated with state-of-the-art trained networks.

Introduction

Despite the unprecedented success of deep learning, the theoretical underpinnings of why specific deep neural network (DNN) architectures are so effective remain partially obscured. A central question is whether this performance is purely a product of massive datasets and optimized weights, or if the architectural structure itself possesses inherent classification properties. This paper investigates the properties of DNNs with random Gaussian weights to uncover the fundamental geometric transformations occurring during data propagation, even in an untrained state.

Theoretical Framework

The study bridges deep learning with compressed sensing and dictionary learning. By treating each DNN layer as a mathematical operator, the authors analyze the network using tools such as the Gromov-Hausdorff distance and Gaussian mean width. The core analysis focuses on a standard layer: a linear transformation with random i.i.d. Gaussian weights followed by a Rectified Linear Unit (ReLU) activation.

The authors formally prove that such a layer acts as a $\delta$-isometry—a stable embedding that maps the input manifold to an output manifold while preserving its intrinsic structure. This implies that core information is not lost during the transformation, and the network's architecture is naturally predisposed to group similar items together, a property akin to Locality-Sensitive Hashing (LSH).

The Geometry of ReLU: Metric Shaping

A key finding is the role of the ReLU activation function as a "metric-shaping" tool. While random linear projections typically preserve Euclidean distances, the addition of ReLU makes the network sensitive to the angles between data points.

Transformation of the angle between two vectors through a random Gaussian layer with ReLU activation.

As shown in Figure 2, the ReLU layer non-linearly transforms the angle between vectors. It significantly shrinks the distance between points separated by small angles (typically belonging to the same class) while maintaining larger distances for points with wider angular separation (typically different classes). This suggests that training does not invent a classification strategy from scratch but rather tunes the existing geometric tendencies of the architecture.

Empirical Validation

The theoretical results were validated using MNIST, CIFAR-10, and ImageNet datasets. The researchers compared random networks against state-of-the-art trained models, such as the 19-layer VGG network, to observe how angles and Euclidean distances evolve across layers.

Comparison of angle distributions in random (dashed) vs. trained (solid) networks, showing how training sharpens the natural geometric tendencies of the architecture.

The empirical results, illustrated in Figure 6, confirm that trained networks follow the geometric patterns predicted by the random weight theory but with enhanced precision. Training effectively "compresses" classes in the feature space, pushing points within a class closer together and sharpening the separation between different classes.

Conclusion and Future Work

This work provides a formal connection between DNN architectures and metric learning. It demonstrates that the linear+ReLU structure is inherently designed for classification by exploiting angular relationships. However, some limitations remain:

  • Angular Assumptions: The theory assumes classes are primarily separated by angles, which may not hold for all data distributions (e.g., concentric spheres).
  • Activation and Pooling: While ReLU is the focus, the impact of other activations (sigmoid, tanh) and various pooling strategies requires further rigorous analysis.
  • Architecture Scope: Future research could extend these proofs to sub-Gaussian distributions or more structured filters like those found in Wavelet Scattering.

Summary updated

BibTeX
@article{giryes2015deep,
  author = {Raja Giryes and Guillermo Sapiro and Alexander M. Bronstein},
  title = {{Deep Neural Networks with Random Gaussian Weights: A Universal Classification Strategy?}},
  journal = {IEEE Trans. Signal Process.},
  year = {2015},
  doi = {10.1109/tsp.2016.2546221},
}
Figure