paper-with-me

홈 › Papers

GRADSTOP: Early Stopping of Gradient Descent via Posterior Sampling

2025-08-26 · Arash Jamshidi, Lauri Seppäläinen, Katsiaryna Haitsiukevich, Hoang Phuc Hau Luu, Anton Björklund, Kai Puolamäki arxiv

Machine learning models are often learned by minimising a loss function on the training data using a gradient descent algorithm. These models often suffer from overfitting, leading to a decline in predictive performance on unseen data. A standard solution is early stopping using a hold-out validation set, which halts the minimisation when the validation loss stops decreasing. However, this hold-out set reduces the data available for training. This paper presents GRADSTOP, a novel stochastic early stopping method that only uses information in the gradients, which are produced by the gradient descent algorithm ``for free.'' Our main contributions are that we estimate the Bayesian posterior by the gradient information, define the early stopping problem as drawing sample from this posterior, and use the approximated posterior to obtain a stopping criterion. Our empirical evaluation shows that GRADSTOP achieves a small loss on test data and compares favourably to a validation-set-based stopping criterion. By leveraging the entire dataset for training, our method is particularly advantageous in data-limited settings, such as transfer learning. It can be incorporated as an optional feature in gradient descent libraries with only a small computational overhead. The source code is available at https://github.com/edahelsinki/gradstop.

📄 PDF Abstract BibTeX arXiv:2508.19028

Code (0)

등록된 구현이 없습니다.

Tasks

Transfer Learning

Similar Papers 제목 키워드 기반

GradStop: Exploring Training Dynamics in Unsupervised Outlier Detection through Gradient

2024-12-11 · Yuang Zhang, Liping Wang, Yihong Huang, Yuanxing Zheng 외

Unsupervised Outlier Detection (UOD) is a critical task in data mining and machine learning, aiming to identify instances that significantly deviate from the majority. Without any label, deep UOD methods struggle with th…

Anomaly DetectionOutlier Detection

Implicit Sparse Regularization: The Impact of Depth and Early Stopping

2021-08-12 · NeurIPS 2021 12 · Jiangyuan Li, Thanh V. Nguyen, Chinmay Hegde, Raymond K. W. Wong

In this paper, we study the implicit bias of gradient descent for sparse regression. We extend results on regression with quadratic parametrization, which amounts to depth-2 diagonal linear networks, to more general dept…

regression

Adaptive Stopping Rule for Kernel-based Gradient Descent Algorithms

2020-01-09 · Xiangyu Chang, Shao-Bo Lin

In this paper, we propose an adaptive stopping rule for kernel-based gradient descent (KGD) algorithms. We introduce the empirical effective dimension to quantify the increments of iterations in KGD and derive an impleme…

Learning Theory

EarlyStopping: Implicit Regularization for Iterative Learning Procedures in Python

2025-03-20 · Eric Ziebell, Ratmir Miftachov, Bernhard Stankewitz, Laura Hucker

Iterative learning procedures are ubiquitous in machine learning and modern statistics. Regularision is typically required to prevent inflating the expected loss of a procedure in later iterations via the propagation of …

Early Stopping is Nonparametric Variational Inference

2015-04-06 · Dougal Maclaurin, David Duvenaud, Ryan P. Adams

We show that unconverged stochastic gradient descent can be interpreted as a procedure that samples from a nonparametric variational approximate posterior distribution. This distribution is implicitly defined as the tran…

Variational Inference