Skip to main content
QUICK REVIEW

[Paper Review] Early Stopping without a Validation Set

Maren Mahsereci, Lukas Balles|arXiv (Cornell University)|Mar 28, 2017
Neural Networks and ApplicationsComputer Science15 references27 citations
TL;DR

This paper proposes the eb-criterion, a novel early stopping method that eliminates the need for a validation set by using fast-to-compute local gradient statistics to detect when gradients become noisy, signaling overfitting. The method enables full utilization of training data and achieves competitive generalization performance across linear models, logistic regression, and deep neural networks, with empirical results showing it outperforms validation-based early stopping in data-scarce settings.

ABSTRACT

Early stopping is a widely used technique to prevent poor generalization performance when training an over-expressive model by means of gradient-based optimization. To find a good point to halt the optimizer, a common practice is to split the dataset into a training and a smaller validation set to obtain an ongoing estimate of the generalization performance. We propose a novel early stopping criterion based on fast-to-compute local statistics of the computed gradients and entirely removes the need for a held-out validation set. Our experiments show that this is a viable approach in the setting of least-squares and logistic regression, as well as neural networks.

Motivation & Objective

  • To address the limitation of standard early stopping, which requires a held-out validation set and thus reduces training data availability.
  • To develop a criterion that detects overfitting without relying on external data splits, enabling full use of training data.
  • To leverage local gradient statistics as a proxy for generalization performance during optimization.
  • To evaluate the method across diverse models, including linear regression, logistic regression, and deep neural networks.
  • To explore element-wise stopping for fine-grained control over model complexity during training.

Proposed method

  • The eb-criterion computes a signal-to-noise ratio for each gradient component using the squared gradient and its empirical variance: $ f_k = m \cdot (\nabla L_\mathcal{B}^k)^2 / \hat{\Sigma}_k $, where $ \hat{\Sigma}_k $ is the estimated variance of gradient component $ k $.
  • The overall stopping signal is the mean of $ f_k $ across all parameters, which increases when gradients are informative and decreases when they become noisy.
  • The method uses exponential moving averages to smooth gradient statistics over time, enabling a warm-up phase where all parameters are active.
  • Stopping is triggered when the average $ f_k $ falls below a threshold, indicating that further optimization risks overfitting.
  • The approach is compatible with both full-batch and stochastic gradient descent, with minimal computational overhead.
  • An extension applies the criterion element-wise, allowing individual parameters to be 'frozen' once their gradient signal-to-noise ratio drops.

Experimental results

Research questions

  • RQ1Can early stopping be effectively performed without a validation set by relying solely on training data gradients?
  • RQ2Can local gradient statistics reliably signal the onset of overfitting during optimization?
  • RQ3Does a validation-set-free early stopping criterion achieve better generalization than standard validation-based methods?
  • RQ4Can the method be extended to element-wise parameter control, enabling dynamic model complexity reduction?
  • RQ5How does the method perform on models with limited data, where validation set size is constrained?

Key findings

  • The eb-criterion outperforms validation-based early stopping on the SECTOR dataset, where the small validation set leads to high variance in performance estimates.
  • On the SECTOR dataset, the eb-criterion achieved lower test loss than validation-based stopping despite using all training data, due to reduced variance in generalization estimates.
  • In experiments with logistic regression and a shallow neural network on SECTOR, the eb-criterion prevented overfitting and matched or exceeded the performance of validation-based methods.
  • For the MNIST dataset, the element-wise eb-criterion stopped up to 80% of parameters in a single layer and around 50% across the full network by the end of training, indicating significant reduction in effective model complexity.
  • Despite freezing a large fraction of parameters, the model achieved test losses comparable to those of models trained without element-wise stopping, demonstrating effective generalization control.
  • The method incurs negligible computational overhead and is compatible with standard stochastic gradient descent, making it practical for real-world deep learning applications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.