arXiv:2610.24540cs.LGOct 2026

Manuscript Offprint

arXiv:2610.24540

Theory-Guided Instance-Dependent Early Stopping via Second-Order Loss Dynamics

Ahad Bin Islam Shoeb, Jamal Uddin Tanvin, Kamrul Hasan, Alve Reduan, Imtiaz Ahmed

ABSTRACT

Instance-dependent early stopping (IES) reduces training computation by skipping backpropagation for examples whose losses have stabilized, but the second-order loss-difference criterion used by IES lacks a theoretical justification. We develop Theory-Guided Instance-Dependent Early Stopping (TG-IES), which analyzes this criterion under explicit assumptions and derives a noise-calibrated mastery threshold and a conditional stability bound for instance exclusion. We show that second-order differencing has a favorable bias–variance trade-off over first- and third-order differences in a specific signal-to-noise regime, and that its signal contains both gradient-drift and curvature terms. TG-IES derives its stopping threshold and patience from training-run statistics rather than using the manually selected threshold of IES. Across CIFAR-10 and CIFAR-100, TG-IES saves 53–58% of backpropagation instances in its main convolutional settings while keeping accuracy within 0.1–0.9 percentage points of full training; in the primary ResNet-18/CIFAR-10 setting, this corresponds to 35.7% FLOP-normalized savings. The method also transfers to ViT-Tiny, where it achieves smaller savings and incurs a modest accuracy cost. These results provide a theoretical basis for second-order instance-dependent early stopping and show that theory-guided calibration can substantially reduce training computation under the assumptions and experimental settings studied.

1 INTRODUCTION

The computational resources required to train deep learning models have increased substantially (Sevilla et al., 2022). As a result, the energy use and carbon footprint of model training are also closely tied to the amount of computation required (Patterson et al., 2022). Algorithmic methods that reduce unnecessary forward and backward computation can lower this cost without changing the model architecture or hardware (Bartoldson et al., 2023).

Training modern neural networks repeatedly processes the same training instances, even though different instances are learned at different rates. Here, a training instance means one individual training sample, such as an input–label pair in a classification dataset. Studies of training dynamics show that some instances become easy to learn and remain stable, while others continue to be difficult or important for learning (Toneva et al., 2019; Swayamdipta et al., 2020; Paul et al., 2021). This difference in learning behavior suggests that not every instance needs the same amount of computation throughout training.

Several methods use this observation to reduce training cost. One group selects or prunes instances using static, one-shot, or early-estimated measures of importance, difficulty, or diversity (Paul et al., 2021; Sorscher et al., 2022; Zheng et al., 2023; Maharana et al., 2024). Another group makes the decision during training using signals such as loss, gradient information, or other measures of instance importance (Loshchilov & Hutter, 2015; Katharopoulos & Fleuret, 2018; Jiang et al., 2019; Mindermann et al., 2022; Qin et al., 2024; Bankes et al., 2024; Nagaraj et al., 2025; Jin et al., 2026). These methods share the goal of spending more computation on instances that are still useful for learning instead of treating all instances equally at every step. Recent work also shows that an

The code is available at https://github.com/ShoebAhad/theory-guided-ies instance’s loss trajectory, meaning its sequence of loss values over training, can provide information about its learning behavior beyond a single loss value (Nagaraj et al., 2025).

Our work focuses on a more specific question: when does an individual instance no longer need a gradient update? Yuan et al. (2025) introduced Instance-dependent Early Stopping (IES), which stops backpropagation for an instance when its loss becomes sufficiently stable. The IES criterion uses the second-order finite difference of the instance's loss:

∣Δ2Li(θ(t))∣=∣Li(t)−2Li(t−1)+Li(t−2)∣<δ,(1)\left|\Delta^{2}L_{i}(\theta^{(t)})\right|=\left|L_{i}^{(t)}-2L_{i}^{(t-1)}+L_{i}^{(t-2)}\right|<\delta, \tag{1}

Here, Li(t)L_i^{(t)} is the loss of instance ii at epoch tt. The first difference Li(t)−Li(t−1)L_i^{(t)} - L_i^{(t-1)} measures how much the loss moved and Δ2Li\Delta^2 L_i measures how much that move itself changed. So a small ∣Δ2Li∣|\Delta^2 L_i| means the loss trajectory has become locally stable. In IES, an instance is mastered when this value stays below δ\delta for a fixed number of epochs, and its gradient computation is then skipped. “Mastered” is an operational name for a stable loss trajectory. It does not imply zero loss, a zero gradient, or perfect prediction.

IES shows that this simple loss-based signal can reduce training computation, but several questions remain open. The original work does not explain why the second-order difference is a useful mastery signal, how its noise compares with first- and third-order differences, or how it relates to the optimization dynamics. It also does not analyze how excluding instances changes the training trajectory. Finally, the mastery threshold δ\delta and the patience value are manually chosen rather than derived from the training run.

Research question. Can we explain why the second-order loss difference works as a mastery signal, derive its threshold from observable training dynamics, and characterize how excluding instances affects the training trajectory?

Our answer has three parts. First, under a local near-convergence model (Section 4), we analyze the second-order loss difference and explain when it is a useful signal. We show that relative loss changes can remove the effect of an instance's loss scale, that N = 2 has a favorable bias-variance trade-off in a specific signal-to-noise regime and that the second-order difference contains both gradient-drift and curvature terms.

Second, we use these results to develop a practical training procedure called Theory-Guided Instance-Dependent Early Stopping (TG-IES) (Section 5). TG-IES estimates the noise level during training and uses it to set the mastery threshold δ\delta. It also determines the patience value K∗K^{*}, which specifies how many consecutive low-signal epochs an instance must have before it is excluded from training. We initialize K∗K^{*} using a conditional reference horizon KsafeK_{safe}. Finally, we show that excluding these instances is equivalent to using an approximate gradient update. The difference between this update and the full-training update is exactly the combined gradient of the excluded instances. We then bound how much this difference can change the training trajectory.

Third, we evaluate the theory and the method across datasets, architectures, training schedules, and competing methods, measuring both computational savings and accuracy and directly testing the assumptions behind the stability analysis (Sections 7 and 8). Proofs and further results are in the Appendix.

Contributions. We provide a theoretical and empirical analysis of IES and develop Theory-Guided Instance-Dependent Early Stopping (TG-IES). Our contributions are:

• Theory for the second-order loss signal. We study when the second-order loss difference is useful. We analyze its ratio-level scale cancellation, the bias–variance trade-off, and the effects of gradient drift and curvature.

• Theory-guided calibration. We use the noise observed during training to set the mastery threshold δ\delta. We also use a conditional reference horizon to initialize the patience value K∗K^{*}.

• Conditional stability of the selective update. We analyze how excluding instances affects training. We bound the resulting trajectory drift and loss descent using the combined gradient of the excluded instances.

• Empirical evaluation. We evaluate TG-IES across different datasets, model architectures, optimizers, and training settings. We measure computation savings and accuracy, and evaluate the assumptions used in the stability analysis.

next epoch: all losses are re-observed; a passive instance returns once S^i≥δ\hat{S}_i \geq \delta

Figure

Figure 1: TG-IES uses each instance’s loss trajectory to derive a second-order loss signal. Observed noise sets the mastery threshold δ\delta, and a conditional reference horizon KsafeK_{safe} initializes patience K∗K^{*}. The mastery rule decides when an instance becomes passive and when it re-enters training. Skipping passive instances alters updates by the passive-set gradient ωt\omega_t, governing drift and descent (dashed box). Experiments assess compute savings, accuracy, and the method’s assumptions.

References (66)