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

When do Convolutional Neural Networks Stop Learning?

Sahan Ahmad, Aminul IslamOpenReview 2022 · DOI

Abstract

Determining the optimal point to terminate training in Convolutional Neural Networks (CNNs) remains a challenge, often relying on fixed epoch counts or validation-set-dependent early stopping. This paper proposes a "stability vector" hypothesis that monitors the internal data variation across network layers to identify when a model has reached its near-optimal learning capacity. By tracking the standard deviation of feature maps, the proposed "plug-and-play" method triggers an early exit that saves approximately 58% in computational time while maintaining classification accuracy. Crucially, this approach is unsupervised and does not require a separate validation dataset.

Introduction

In contemporary deep learning, researchers often over-train models using a predefined number of epochs or rely on early stopping based on validation performance. However, validation-dependent methods are problematic in data-scarce domains like medical imaging and often involve noisy "trial-and-error" monitoring of the generalization gap. This research addresses a fundamental question: Can internal network behavior predict when significant learning has concluded?

Methods: The Stability Vector Hypothesis

The authors introduce a parameter-free plugin that monitors the internal "vibrations" of feature maps during training. The core mechanism involves several steps:

  1. Stability Value ($\alpha$): At each iteration, the plugin calculates the standard deviation of data following the convolution operation for every layer.
  2. Stability Vector ($S$): These values are aggregated over an epoch to form a profile of data variation.
  3. Mean Stability ($\mu$): The average variation for each layer is computed at the end of every epoch.
  4. Stopping Criterion: Training terminates when the difference in mean stability (rounded to two decimal places) remains zero across all layers for three consecutive epochs.
Overview of the CNN training phase integrated with the proposed stability check plugin.

This consensus-based approach ensures that deeper layers have finished refining high-level features before the training is halted.

Results and Discussion

The study identifies four distinct phases of CNN learning: an initial unstable phase, a curved phase of filter formation, a dampening phase, and finally, a stable phase where feature extraction reaches a plateau.

Computational Efficiency and Accuracy

Testing across 13 datasets, including CIFAR and MedMNIST-V2, revealed significant efficiency gains. The method saved an average of 58.49% of training time on general image datasets and 44.1% on medical datasets. For instance, a ResNet18 model on CIFAR-100 reached stability at epoch 76, yet achieved accuracy comparable to a 200-epoch benchmark.

Stability mean values and differences ($\delta$) across layers, demonstrating the convergence to zero.

As shown in the table above, the stability mean ($\mu$) becomes constant across multiple epochs, resulting in a delta ($\delta$) of zero, which triggers the termination of training.

Conclusion

The stability vector hypothesis provides a robust, unsupervised metric for early stopping in CNNs. By focusing on internal layer-wise statistics rather than external validation metrics, the method offers a more direct observation of the learning process. Future work will explore the applicability of this hypothesis to non-convolutional architectures such as Vision Transformers.

Summary updated

BibTeX
@misc{ahmad2022when,
  author = {SAHAN AHMAD and Aminul Islam},
  title = {{When do Convolutional Neural Networks Stop Learning?}},
  year = {2022},
  eprint = {2403.02473},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.02473},
}
Figure