Skip to main content
QUICK REVIEW

[Paper Review] Do Wide and Deep Networks Learn the Same Things? Uncovering How Neural Network Representations Vary with Width and Depth

Thao Nguyen, Maithra Raghu|arXiv (Cornell University)|May 3, 2021
Adversarial Robustness in Machine LearningComputer Science45 references91 citations
TL;DR

This paper investigates how width and depth affect neural network representations, revealing a characteristic block structure in hidden representations of high-capacity models. The block structure emerges when model capacity exceeds training data size and reflects preservation of the dominant principal component, leading to unique representations across architectures despite similar overall accuracy and shared features outside the block.

ABSTRACT

A key factor in the success of deep neural networks is the ability to scale models to improve performance by varying the architecture depth and width. This simple property of neural network design has resulted in highly effective architectures for a variety of tasks. Nevertheless, there is limited understanding of effects of depth and width on the learned representations. In this paper, we study this fundamental question. We begin by investigating how varying depth and width affects model hidden representations, finding a characteristic block structure in the hidden representations of larger capacity (wider or deeper) models. We demonstrate that this block structure arises when model capacity is large relative to the size of the training set, and is indicative of the underlying layers preserving and propagating the dominant principal component of their representations. This discovery has important ramifications for features learned by different models, namely, representations outside the block structure are often similar across architectures with varying widths and depths, but the block structure is unique to each model. We analyze the output predictions of different model architectures, finding that even when the overall accuracy is similar, wide and deep models exhibit distinctive error patterns and variations across classes.

Motivation & Objective

  • To understand how varying network depth and width influences learned representations in neural networks.
  • To investigate whether wide and deep networks learn similar or distinct features despite comparable performance.
  • To identify structural patterns in hidden representations that emerge with increased model capacity.
  • To analyze differences in prediction errors and class-level variations between wide and deep architectures.

Proposed method

  • Analyzing hidden representations of deep and wide neural networks trained on standard datasets.
  • Applying principal component analysis (PCA) to identify dominant components preserved across layers.
  • Detecting a block structure in representations where layers maintain a shared principal component across depth.
  • Comparing representations and predictions across models of varying width and depth while controlling for accuracy.
  • Measuring error patterns and class-wise variations in model outputs to assess differences in generalization.

Experimental results

Research questions

  • RQ1How do width and depth affect the structure of learned representations in neural networks?
  • RQ2What structural patterns emerge in hidden representations when model capacity exceeds training data size?
  • RQ3To what extent do wide and deep networks share or differ in their learned features?
  • RQ4How do prediction errors vary across classes between wide and deep models with similar accuracy?

Key findings

  • A block structure emerges in hidden representations of high-capacity models, indicating that dominant principal components are preserved and propagated across layers.
  • The block structure appears when model capacity is large relative to training set size, suggesting a capacity-driven representation phenomenon.
  • Representations outside the block structure are similar across wide and deep models, indicating shared feature learning in non-dominant components.
  • The block structure is unique to each model architecture, implying that wide and deep networks learn distinct representations even with similar accuracy.
  • Despite similar overall accuracy, wide and deep models exhibit distinctive error patterns and variations across classes, indicating different inductive biases.

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.