English

The Tunnel Effect: Building Data Representations in Deep Neural Networks

Machine Learning 2023-10-31 v2 Computer Vision and Pattern Recognition

Abstract

Deep neural networks are widely known for their remarkable effectiveness across various tasks, with the consensus that deeper networks implicitly learn more complex data representations. This paper shows that sufficiently deep networks trained for supervised image classification split into two distinct parts that contribute to the resulting data representations differently. The initial layers create linearly-separable representations, while the subsequent layers, which we refer to as \textit{the tunnel}, compress these representations and have a minimal impact on the overall performance. We explore the tunnel's behavior through comprehensive empirical studies, highlighting that it emerges early in the training process. Its depth depends on the relation between the network's capacity and task complexity. Furthermore, we show that the tunnel degrades out-of-distribution generalization and discuss its implications for continual learning.

Keywords

Cite

@article{arxiv.2305.19753,
  title  = {The Tunnel Effect: Building Data Representations in Deep Neural Networks},
  author = {Wojciech Masarczyk and Mateusz Ostaszewski and Ehsan Imani and Razvan Pascanu and Piotr Miłoś and Tomasz Trzciński},
  journal= {arXiv preprint arXiv:2305.19753},
  year   = {2023}
}

Comments

NeurIPS 2023

R2 v1 2026-06-28T10:51:51.517Z