NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Early Stopping of Untrained Convolutional Neural Networks

Tim Jahn, Bangti Jin

Abstract

This paper provides the first rigorous theoretical justification for the "discrepancy principle" as an early stopping rule for untrained convolutional neural networks (CNNs) applied to linear inverse problems. By analyzing a two-layer untrained CNN, the authors demonstrate that stopping gradient descent when the residual matches the noise level achieves minimax optimal convergence rates. This result effectively characterizes the network's architecture as a powerful regularization tool that prioritizes signal recovery over noise memorization.

Introduction

In imaging science, recovering a clean image $x$ from noisy measurements $y$—such as in deblurring or MRI reconstruction—is a fundamental challenge known as an inverse problem. A prominent modern approach to these problems is the Deep Image Prior (DIP), which utilizes an untrained CNN as a generative model. Unlike traditional deep learning, DIP does not require a large training dataset; instead, it fits a single network to a single noisy observation.

Because these networks are highly over-parameterized, they possess the capacity to eventually "memorize" the noise if training continues indefinitely. To prevent this, practitioners rely on early stopping. While early stopping has been a successful empirical heuristic, there has been a significant gap in the mathematical understanding of why it works and how to determine the optimal stopping point. This research bridges that gap by providing a formal proof of optimality for a classical stopping rule.

Methodology and Theoretical Framework

The authors focus their analysis on a two-layer untrained CNN optimized via standard gradient descent. Their theoretical framework incorporates three key elements:

  1. The Discrepancy Principle: This classical rule suggests that iterations should cease as soon as the difference between the model's output and the noisy data is approximately equal to the noise level ($\epsilon$).
  2. Linearization Analysis: To manage the non-linearity of neural networks, the authors utilize techniques from "Neural Tangent Kernel" (NTK) literature. They prove that in the regime of sufficient network width, the training dynamics remain close to a simpler, linearized model.
  3. Spectral Alignment: The study analyzes the alignment between the forward operator (the physics of the imaging system) and the network's Jacobian. This alignment is crucial for deriving explicit error bounds and convergence rates.

Experimental Validation

The theoretical findings were validated through two primary evaluation methods:

  • Synthetic Model Problems: The authors constructed matrices with specific spectral properties (both aligned and non-aligned) to test theoretical convergence rates across various Signal-to-Noise Ratios (SNR).
  • Image Deblurring: A practical simulation was conducted using a $128 \times 128$ "clover" image blurred by a Gaussian kernel. This experiment utilized the Deep Decoder architecture—a more realistic variant of an untrained network—to demonstrate the feasibility of the discrepancy principle in practical imaging scenarios.

Key Insights

  • Architecture as Regularization: The research reinforces the concept that CNN architectures act as a natural filter, preferring to reconstruct smooth, natural structures before fitting high-frequency noise.
  • Optimality of the Discrepancy Principle: The paper proves that this decades-old rule for linear models is the optimal way to stop complex, non-linear DIP networks, yielding minimax optimal convergence rates under standard H¨older-type source conditions.
  • The Role of Over-parameterization: The mathematical proof relies on the network being sufficiently wide. In this regime, the non-convex loss landscape becomes locally well-behaved, allowing gradient descent to find solutions that generalize well before overfitting occurs.

Limitations and Future Directions

Despite the breakthrough, the authors acknowledge several limitations. The current theoretical width requirement ($k$) is astronomically large (involving constants like $2^{35}$), whereas DIP works in practice with much smaller networks. Furthermore, the rigorous proof is currently limited to two-layer networks and assumes a specific "spectral alignment" between the imaging system and the network structure. Extending these proofs to deeper architectures and more general, non-aligned imaging systems remains a priority for future research.

Summary updated

BibTeX
@article{jahn2024early,
  author = {Tim Jahn and Bangti Jin},
  title = {{Early Stopping of Untrained Convolutional Neural Networks}},
  journal = {SIAM J. Imaging Sci.},
  year = {2024},
  url = {https://openreview.net/forum?id=eGhGZ62cJ5},
}
Figure