Skip to main content
QUICK REVIEW

[Paper Review] Statistically Significant Stopping of Neural Network Training

Justin K. Terry, Mario Jayakumar|arXiv (Cornell University)|Mar 1, 2021
Machine Learning and Data ClassificationComputer Science14 references4 citations
TL;DR

This paper proposes a statistically motivated early stopping criterion, Augmented Shapiro-Wilk Stopping (ASWS), to automatically halt neural network training when performance gains become insignificant. By testing for normality in validation accuracy changes, ASWS achieves comparable final accuracy to top-performing methods while stopping 77% or fewer epochs, reducing training time and computational cost without significant accuracy loss.

ABSTRACT

The general approach taken when training deep learning classifiers is to save the parameters after every few iterations, train until either a human observer or a simple metric-based heuristic decides the network isn't learning anymore, and then backtrack and pick the saved parameters with the best validation accuracy. Simple methods are used to determine if a neural network isn't learning anymore because, as long as it's well after the optimal values are found, the condition doesn't impact the final accuracy of the model. However from a runtime perspective, this is of great significance to the many cases where numerous neural networks are trained simultaneously (e.g. hyper-parameter tuning). Motivated by this, we introduce a statistical significance test to determine if a neural network has stopped learning. This stopping criterion appears to represent a happy medium compared to other popular stopping criterions, achieving comparable accuracy to the criterions that achieve the highest final accuracies in 77% or fewer epochs, while the criterions which stop sooner do so with an appreciable loss to final accuracy. Additionally, we use this as the basis of a new learning rate scheduler, removing the need to manually choose learning rate schedules and acting as a quasi-line search, achieving superior or comparable empirical performance to existing methods.

Motivation & Objective

  • To develop a principled, automated method for stopping neural network training that avoids overfitting and reduces computational waste.
  • To address the inefficiency of heuristic-based early stopping in large-scale hyperparameter searches and AutoML pipelines.
  • To create a learning rate scheduler based on the stopping criterion that eliminates manual hyperparameter tuning.
  • To provide a reusable dataset of 100 neural network training runs for future research on training dynamics and stopping criteria.

Proposed method

  • Proposes the Augmented Shapiro-Wilk Stopping (ASWS) criterion, which tests for normality in the distribution of validation accuracy differences over consecutive epochs.
  • Uses statistical hypothesis testing to determine if further training is likely to yield meaningful performance improvements.
  • Applies a modified Shapiro-Wilk test with a slack parameter to account for noise and variability in early training phases.
  • Introduces a novel learning rate scheduler that dynamically adjusts based on the ASWS stopping signal, acting as a quasi-line search.
  • Employs a sliding window of recent validation accuracy values to compute test statistics, enabling real-time decision-making.
  • Tunes the slackProp hyperparameter to balance sensitivity and robustness in detecting the optimal stopping point.

Experimental results

Research questions

  • RQ1Can a statistical significance test on validation accuracy changes reliably identify the optimal stopping point in neural network training?
  • RQ2How does ASWS compare to heuristic-based early stopping methods in terms of final accuracy and training duration?
  • RQ3Can the ASWS stopping signal be effectively used to guide a learning rate scheduler without manual tuning?
  • RQ4To what extent does the proposed method reduce computational cost in hyperparameter search and AutoML workflows?
  • RQ5Is the assumption of normality in validation accuracy differences valid during the later stages of training?

Key findings

  • ASWS stops training in 77% or fewer epochs compared to the best-performing stopping criteria, with minimal loss in final accuracy.
  • The method achieves comparable final accuracy to state-of-the-art stopping criteria while reducing training time by up to 23%.
  • The ASWS-based learning rate scheduler outperforms or matches conventional schedulers like CyclicLR and StepLR in convergence speed and final accuracy on ResNet101 and GoogLeNet.
  • The proposed dataset of 100 training sessions (10 models on CIFAR10, 10 on ImageNet) provides a valuable benchmark for future research on training dynamics.
  • Despite theoretical limitations in normality testing, the empirical performance of ASWS suggests strong practical utility for automated training termination.
  • The slackProp hyperparameter significantly influences performance, indicating that tuning this parameter is critical for optimal results.

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.