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

Authors: Thao Nguyen, Maithra Raghu, Simon Kornblith

Submitted to arXiv on 29 Oct. 2020
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.

The papers around it, by date and closeness

Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper

How to read this map? Illustrated guide

Closest papers Prior work it builds on Papers that cite it

Papers around this one

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Close Broader context
    Step by Step Network
    Dongchen Han, Tianzhu Ye, Zhuofan Xia et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 3 times · Not summarized yet

    Step by Step Network identifies barriers to scaling residual networks deeper, whereas this paper studies how depth and width affect learned representations.

    Abstract

    Scaling up network depth is a fundamental pursuit in neural architecture design, as theory suggests that deeper models offer exponentially greater capability. Benefiting from the residual connections, modern neural networks can scale up to more than one hundred layers and enjoy wide success. However, as networks continue to deepen, current architectures often struggle to realize their theoretical capacity improvements, calling for more advanced designs to further unleash the potential of deeper networks. In this paper, we identify two key barriers that obstruct residual models from scaling deeper: shortcut degradation and limited width. Shortcut degradation hinders deep-layer learning, while…

  2. Close Broader context
    Tensor Programs VI: Feature Learning in Infinite-Depth Neural Networks
    Greg Yang, Dingli Yu, Chen Zhu et al. · 2023 · Neural and Evolutionary Computing · cited 114 times · Not summarized yet

    Tensor Programs VI classifies depthwise parameterizations and hyperparameter transfer in infinite-width residual networks, rather than comparing learned representations across architectures.

    Abstract

    By classifying infinite-width neural networks and identifying the *optimal* limit, Tensor Programs IV and V demonstrated a universal way, called $\mu$P, for *widthwise hyperparameter transfer*, i.e., predicting optimal hyperparameters of wide neural networks from narrow ones. Here we investigate the analogous classification for *depthwise parametrizations* of deep residual networks (resnets). We classify depthwise parametrizations of block multiplier and learning rate by their infinite-width-then-depth limits. In resnets where each block has only one layer, we identify a unique optimal parametrization, called Depth-$\mu$P that extends $\mu$P and show empirically it admits depthwise hyperpara…

  3. Close Same question
    Frivolous Units: Wider Networks Are Not Really That Wide
    Stephen Casper, X. Boix, Vanessa D'Amario et al. · 2019 · AAAI Conference on Artificial Intelligence · cited 21 times · Not summarized yet

    Frivolous Units investigates how overparameterized networks accommodate greater width without losing accuracy by examining their learned units and representations.

    Abstract

    A remarkable characteristic of overparameterized deep neural networks (DNNs) is that their accuracy does not degrade when the network width is increased. Recent evidence suggests that developing compressible representations allows the complexity of large networks to be adjusted for the learning task at hand. However, these representations are poorly understood. A promising strand of research inspired from biology involves studying representations at the unit level as it offers a more granular interpretation of the neural mechanisms. In order to better understand what facilitates increases in width without decreases in accuracy, we ask: Are there mechanisms at the unit level by which networks…

  4. Close Broader context
    Wide and deep neural networks achieve consistency for classification
    Adityanarayanan Radhakrishnan, Mikhail Belkin, C. Uhler · 2022 · Proceedings of the National Academy of Sciences of the United States of America · cited 21 times · Not summarized yet

    Wide and deep neural networks achieve consistency for classification establishes when deep networks can attain Bayes-optimal classification, while this paper compares their representations and error patterns.

    Abstract

    Significance While neural networks used in practice are often very deep, the benefit of depth is not well understood. Interestingly, it is known that increasing depth is often harmful for regression tasks. In this work, we show that, in contrast to regression, very deep networks can be Bayes optimal for classification. In particular, we provide simple and explicit activation functions that can be used with standard neural network architectures to achieve consistency. This work provides fundamental understanding of classification using deep neural networks, and we envision it will help guide the design of future neural network architectures.

  5. Close Another approach to the problem Cited by this paper Used in depth by this paper A method it uses
    Wide Residual Networks
    S. Zagoruyko, N. Komodakis · 2016 · British Machine Vision Conference · cited 9,419 times · Not summarized yet

    Wide Residual Networks tests reducing depth and increasing width to improve residual-network performance, while this paper analyzes representation differences across widths and depths.

    Abstract

    Deep residual networks were shown to be able to scale up to thousands of layers and still have improving performance. However, each fraction of a percent of improved accuracy costs nearly doubling the number of layers, and so training very deep residual networks has a problem of diminishing feature reuse, which makes these networks very slow to train. To tackle these problems, in this paper we conduct a detailed experimental study on the architecture of ResNet blocks, based on which we propose a novel architecture where we decrease depth and increase width of residual networks. We call the resulting network structures wide residual networks (WRNs) and show that these are far superior over th…

  6. Close Another approach to the problem
    Building effective deep neural network architectures one feature at a time
    Martin Mundt, Tobias Weis, K. Konda et al. · 2017 · arXiv.org · preprint, not peer reviewed · cited 1 time · Not summarized yet

    Building effective deep neural network architectures one feature at a time grows layer widths to fit task-specific capacity, rather than analyzing representations across architectures.

    Abstract

    Successful training of convolutional neural networks is often associated with sufficiently deep architectures composed of high amounts of features. These networks typically rely on a variety of regularization and pruning techniques to converge to less redundant states. We introduce a novel bottom-up approach to expand representations in fixed-depth architectures. These architectures start from just a single feature per layer and greedily increase width of individual layers to attain effective representational capacities needed for a specific task. While network growth can rely on a family of metrics, we propose a computationally efficient version based on feature time evolution and demonstra…

  7. Close Broader context
    Width and Depth Limits Commute in Residual Networks
    Soufiane Hayou, Greg Yang · 2023 · Machine Learning · cited 28 times · AI summary available

    Width and Depth Limits Commute in Residual Networks studies covariance limits as residual-network width and depth grow, rather than learned representations at finite capacities.

    Abstract

    We show that taking the width and depth to infinity in a deep neural network with skip connections, when branches are scaled by $1/\sqrt{depth}$ (the only nontrivial scaling), result in the same covariance structure no matter how that limit is taken. This explains why the standard infinite-width-then-depth approach provides practical insights even for networks with depth of the same order as width. We also demonstrate that the pre-activations, in this case, have Gaussian distributions which has direct applications in Bayesian deep learning. We conduct extensive simulations that show an excellent match with our theoretical findings.

  8. Close Broader context
    The Principles of Deep Learning Theory
    Daniel A. Roberts, Sho Yaida, Boris Hanin · 2021 · Machine Learning · preprint, not peer reviewed · cited 314 times · Not summarized yet

    The Principles of Deep Learning Theory explains how depth-to-width ratio shapes network predictions and learning, while this paper examines hidden representations across architectures.

    Abstract

    This book develops an effective theory approach to understanding deep neural networks of practical relevance. Beginning from a first-principles component-level picture of networks, we explain how to determine an accurate description of the output of trained networks by solving layer-to-layer iteration equations and nonlinear learning dynamics. A main result is that the predictions of networks are described by nearly-Gaussian distributions, with the depth-to-width aspect ratio of the network controlling the deviations from the infinite-width Gaussian description. We explain how these effectively-deep networks learn nontrivial representations from training and more broadly analyze the mechanis…

Prior work it builds on

  1. Close Groundwork for this paper Used in depth by this paper A method it uses
    Deep Residual Learning for Image Recognition
    Kaiming He, Xiangyu Zhang, Shaoqing Ren et al. · 2015 · Computer Vision and Pattern Recognition · cited 246,482 times · AI summary available

    Deep Residual Learning for Image Recognition introduces residual networks and demonstrates gains from increased depth, providing an architecture basis for this paper's comparisons.

    Abstract

    Deeper neural networks are more difficult to train. We present a residual learning framework to ease the training of networks that are substantially deeper than those used previously. We explicitly reformulate the layers as learning residual functions with reference to the layer inputs, instead of learning unreferenced functions. We provide comprehensive empirical evidence showing that these residual networks are easier to optimize, and can gain accuracy from considerably increased depth. On the ImageNet dataset we evaluate residual nets with a depth of up to 152 layers---8x deeper than VGG nets but still having lower complexity. An ensemble of these residual nets achieves 3.57% error on the…

  2. Close Groundwork for this paper
    The Expressive Power of Neural Networks: A View from the Width
    Zhou Lu, Hongming Pu, Feicheng Wang et al. · 2017 · Neural Information Processing Systems · cited 1,043 times · Not summarized yet

    The Expressive Power of Neural Networks: A View from the Width proves width-based approximation results, grounding this paper's investigation of width and learned representations.

    Abstract

    The expressive power of neural networks is important for understanding deep learning. Most existing works consider this problem from the view of the depth of a network. In this paper, we study how width affects the expressiveness of neural networks. Classical results state that depth-bounded (e.g. depth-$2$) networks with suitable activation functions are universal approximators. We show a universal approximation theorem for width-bounded ReLU networks: width-$(n+4)$ ReLU networks, where $n$ is the input dimension, are universal approximators. Moreover, except for a measure zero set, all functions cannot be approximated by width-$n$ ReLU networks, which exhibits a phase transition. Several r…

  3. Close Same question
    What shapes feature representations? Exploring datasets, architectures, and training
    Katherine L. Hermann, Andrew Kyle Lampinen · 2020 · Neural Information Processing Systems · cited 192 times · Not summarized yet

    What shapes feature representations? studies which useful and irrelevant input features networks represent, while this paper examines how width and depth shape representations.

    Abstract

    In naturalistic learning problems, a model's input contains a wide range of features, some useful for the task at hand, and others not. Of the useful features, which ones does the model use? Of the task-irrelevant features, which ones does the model represent? Answers to these questions are important for understanding the basis of models' decisions, as well as for building models that learn versatile, adaptable representations useful beyond the original training task. We study these questions using synthetic datasets in which the task-relevance of input features can be controlled directly. We find that when two features redundantly predict the labels, the model preferentially represents one,…

  4. Close Groundwork for this paper
    Gaussian Process Behaviour in Wide Deep Neural Networks
    A. G. de G. Matthews, Mark Rowland, Jiri Hron et al. · 2018 · International Conference on Learning Representations · cited 636 times · Not summarized yet

    Gaussian Process Behaviour in Wide Deep Neural Networks shows convergence of random wide networks to Gaussian processes, providing theoretical context for studying width.

    Abstract

    Whilst deep neural networks have shown great empirical success, there is still much work to be done to understand their theoretical properties. In this paper, we study the relationship between random, wide, fully connected, feedforward networks with more than one hidden layer and Gaussian processes with a recursive kernel definition. We show that, under broad conditions, as we make the architecture increasingly wide, the implied random function converges in distribution to a Gaussian process, formalising and extending existing results by Neal (1996) to deep networks. To evaluate convergence rates empirically, we use maximum mean discrepancy. We then compare finite Bayesian deep networks from…

  5. Related Shared data, tool or method A method it uses
    Insights on representational similarity in neural networks with canonical correlation
    Ari S. Morcos, M. Raghu, Samy Bengio · 2018 · Neural Information Processing Systems · cited 603 times · Not summarized yet

    Insights on representational similarity in neural networks with canonical correlation develops projection weighted CCA to compare network representations, a generic tool for representation analysis.

    Abstract

    Comparing different neural network representations and determining how representations evolve over time remain challenging open questions in our understanding of the function of neural networks. Comparing representations in neural networks is fundamentally difficult as the structure of representations varies greatly, even across groups of networks trained on identical tasks, and over the course of training. Here, we develop projection weighted CCA (Canonical Correlation Analysis) as a tool for understanding neural networks, building off of SVCCA, a recently proposed method (Raghu et al., 2017). We first improve the core method, showing how to differentiate between signal and noise, and then …

Papers that cite it

  1. Close Broader context Uses this paper in depth
    Understanding the Dynamics of DNNs Using Graph Modularity
    Yao Lu, Wen Yang, Yunzhe Zhang et al. · 2021 · European Conference on Computer Vision · cited 37 times · Not summarized yet

    Understanding the Dynamics of DNNs Using Graph Modularity tracks layer-wise feature separation with graph modularity, another analysis of neural-network representations.

    Abstract

    There are good arguments to support the claim that deep neural networks (DNNs) capture better feature representations than the previous hand-crafted feature engineering, which leads to a significant performance improvement. In this paper, we move a tiny step towards understanding the dynamics of feature representations over layers. Specifically, we model the process of class separation of intermediate representations in pre-trained DNNs as the evolution of communities in dynamic graphs. Then, we introduce modularity, a generic metric in graph theory, to quantify the evolution of communities. In the preliminary experiment, we find that modularity roughly tends to increase as the layer goes de…

  2. Close Same question Uses this paper in depth
    How Does Overparameterization Affect Features?
    A. Duzgun, Samy Jelassi, Yuanzhi Li · 2024 · arXiv.org · preprint, not peer reviewed · cited 1 time · Not summarized yet

    How Does Overparameterization Affect Features? compares features across widths and finds distinctive feature spaces in over- and underparameterized networks.

    Abstract

    Overparameterization, the condition where models have more parameters than necessary to fit their training loss, is a crucial factor for the success of deep learning. However, the characteristics of the features learned by overparameterized networks are not well understood. In this work, we explore this question by comparing models with the same architecture but different widths. We first examine the expressivity of the features of these models, and show that the feature space of overparameterized networks cannot be spanned by concatenating many underparameterized features, and vice versa. This reveals that both overparameterized and underparameterized networks acquire some distinctive featu…

  3. Close Broader context Uses this paper in depth
    Neural Networks as Paths through the Space of Representations
    Richard D. Lange, Jordan K Matelsky, Xinyue Wang et al. · 2022 · arXiv.org · preprint, not peer reviewed · cited 9 times · Not summarized yet

    Neural Networks as Paths through the Space of Representations models layer-wise computation as a path through representation space, rather than comparing width and depth.

    Abstract

    Deep neural networks implement a sequence of layer-by-layer operations that are each relatively easy to understand, but the resulting overall computation is generally difficult to understand. We consider a simple hypothesis for interpreting the layer-by-layer construction of useful representations: perhaps the role of each layer is to reformat information to reduce the"distance"to the desired outputs. With this framework, the layer-wise computation implemented by a deep neural network can be viewed as a path through a high-dimensional representation space. We formalize this intuitive idea of a"path"by leveraging recent advances in *metric* representational similarity. We extend existing repr…

  4. Close Same question
    How Do the Architecture and Optimizer Affect Representation Learning? On the Training Dynamics of Representations in Deep Neural Networks
    Yuval Sharon, Yehuda Dar · 2024 · cited 2 times · Not summarized yet

    How Do the Architecture and Optimizer Affect Representation Learning? tracks how architecture and training shape representations in overparameterized networks.

    Abstract

    In this paper, we elucidate how representations in deep neural networks (DNNs) evolve during training. Our focus is on overparameterized learning settings where the training continues much after the trained DNN starts to perfectly fit its training data. We examine the evolution of learned representations along the entire training process. We explore the representational similarity of DNN layers, each layer with respect to its own representations throughout the training process. For this, we use two similarity metrics: (1) The centered kernel alignment (CKA) similarity; (2) Similarity of decision regions of linear classifier probes that we train for the DNN layers. We visualize and analyze th…

  5. Related Broader context Uses this paper in depth
    Representational Similarity via Interpretable Visual Concepts
    Neehar Kondapaneni, Oisin Mac Aodha, P. Perona · 2025 · International Conference on Learning Representations · cited 8 times · Not summarized yet

    Representational Similarity via Interpretable Visual Concepts compares shared and unique concepts across networks, addressing representation differences rather than their variation with width and depth.

    Abstract

    How do two deep neural networks differ in how they arrive at a decision? Measuring the similarity of deep networks has been a long-standing open question. Most existing methods provide a single number to measure the similarity of two networks at a given layer, but give no insight into what makes them similar or dissimilar. We introduce an interpretable representational similarity method (RSVC) to compare two networks. We use RSVC to discover shared and unique visual concepts between two models. We show that some aspects of model differences can be attributed to unique concepts discovered by one model that are not well represented in the other. Finally, we conduct extensive evaluation across …

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 6 November 2026.

The illustrated guide to the papers around a paper