Downsampling leads to Image Memorization in Convolutional Autoencoders

Adityanarayanan Radhakrishnan, Mikhail Belkin, Caroline Uhler

Introduction

In the landscape of modern deep learning, overparameterized models—those with significantly more parameters than training data points—have become the standard. While classical statistical theory suggests such models should suffer from severe overfitting, they often exhibit remarkable generalization. This discrepancy is largely attributed to the inductive bias of the learning process, which steers the optimization toward specific types of solutions. This paper explores the inductive bias of autoencoders, uncovering a phenomenon termed memorization, where the network learns to map inputs toward the training examples.

Theoretical Framework: Autoencoders as Dynamical Systems

The authors characterize autoencoders as discrete dynamical systems defined by the function $x_{t+1} = f(x_t)$. By analyzing the Jacobian of the learned function, they determine the stability of training points. In overparameterized regimes, training examples act as "attractors." This means that if an image is repeatedly passed through the network, it will eventually contract into one of the original training images.

Linear and Nonlinear Analysis

The research proves that single-layer autoencoders project inputs onto the span of the training data. For nonlinear architectures, training examples become $\phi$-eigenvectors with an eigenvalue of 1. As network depth and width increase, these attractors become "superattractors," where the contraction happens almost instantaneously.

Interpolation behaviors across different network architectures, showing how depth leads to sharper transitions toward training points.

Empirical Observations of Memorization

The study validates these theoretical findings across multiple datasets, including MNIST, CIFAR-10, and synthetic 3D manifolds like the Swiss Roll. A key insight is that memorization does not necessarily equate to overfitting in the traditional sense; a model can maintain low reconstruction error on novel test data while remaining locally contractive at training points.

The "Attractor" Phenomenon in CNNs

In complex architectures like U-Nets, the memorization bias is particularly strong. When fed random Gaussian noise or unrelated images, the network's output gravitates toward a specific training sample. This behavior demonstrates that the network has not just learned a general identity mapping, but has specifically "memorized" the training distribution as a set of stable fixed points.

A U-Net autoencoder demonstrating the attractor phenomenon: diverse test inputs (squares, noise, unrelated images) are all mapped to a single training image.

Structural Requirements for Memorization

A significant portion of the paper is dedicated to the unique constraints of Convolutional Neural Networks (CNNs). Unlike fully connected networks, the sparse weight matrices of CNNs impose structural limits on memorization.

  • Depth Bounds: The authors establish a theoretical lower bound for memorization in linear CNNs, proving that a network needs a depth proportional to the image size (specifically $s-1$ layers for $s \times s$ images) to sufficiently "smear" information across the field.
  • The Role of Downsampling: Strided convolutions and downsampling layers act as a shortcut to memorization. By reducing the spatial dimensions, these layers allow the convolutional filters to behave more like fully connected layers, enabling memorization with significantly fewer total layers.

Conclusion and Future Directions

This research provides a rigorous look at how architecture and optimization choices—such as depth, downsampling, and near-zero initialization—induce a memorization bias in autoencoders. While the implications for supervised learning tasks remain an open question, the study suggests that this bias likely influences how CNNs are initialized and how they represent data manifolds. Future work may explore the impact of different optimizers and initialization schemes on the strength of these learned attractors.

Summary updated

BibTeX
@misc{radhakrishnan2018downsampling,
  author = {Adityanarayanan Radhakrishnan and Mikhail Belkin and Caroline Uhler},
  title = {{Downsampling leads to Image Memorization in Convolutional Autoencoders}},
  year = {2018},
  eprint = {1810.10333},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1810.10333},
}
Figure