Gradient Descent Robustly Learns the Intrinsic Dimension of Data in Training Convolutional Neural Networks
Chenyang Zhang, Peifeng Gao, Difan Zou, Yuan Cao
TL;DR
The paper investigates how gradient-descent trained CNNs reflect the intrinsic data dimension through the stable rank of learned filters when faced with noisy backgrounds. It introduces a low-rank patch-based data model and analyzes a two-layer CNN with Hubered ReLU, proving that the CNN filters' stable rank stays close to the clean-data rank $2K$ across a broad noise regime, while the data stable rank explodes with noise. It provides convergence guarantees for training and test losses and supports the theory with experiments on MNIST, CIFAR-10, and synthetic data, showing robust rank behavior of filters versus data. The findings illuminate a form of implicit bias in gradient descent: CNNs preferentially learn a low-rank, clean-data subspace even under substantial background noise, with implications for understanding generalization and robustness.
Abstract
Modern neural networks are usually highly over-parameterized. Behind the wide usage of over-parameterized networks is the belief that, if the data are simple, then the trained network will be automatically equivalent to a simple predictor. Following this intuition, many existing works have studied different notions of "ranks" of neural networks and their relation to the rank of data. In this work, we study the rank of convolutional neural networks (CNNs) trained by gradient descent, with a specific focus on the robustness of the rank to image background noises. Specifically, we point out that, when adding background noises to images, the rank of the CNN trained with gradient descent is affected far less compared with the rank of the data. We support our claim with a theoretical case study, where we consider a particular data model to characterize low-rank clean images with added background noises. We prove that CNNs trained by gradient descent can learn the intrinsic dimension of clean images, despite the presence of relatively large background noises. We also conduct experiments on synthetic and real datasets to further validate our claim.
