Calibrated Target Noise Recovers Curvature from the Gradients
Arash Jamshidi, Katsiaryna Haitsiukevich, Aristides Gionis, Kai Puolamäki
NeurIPS page · Open on the map
Category: Causality, Privacy & Learning Theory › Neural Network Robustness Verification · Type: new method · Keywords: curvature estimation, gradient-based preconditioning, target noise injection, generalized Gauss-Newton, early stopping
Areas: Optimization & Algorithms › Optimization Dynamics › Edge of Stability
Summary
Calibrated Target Noise recovers curvature from gradients by injecting calibrated noise into targets, enabling practical curvature estimation without per-sample gradients.
Explained to a 5-year-old
In machine learning, we sometimes want to know how a function bends, which is called curvature. Usually we need a lot of extra information to find this bending, but we only have the slopes (gradients) from a group of examples. The paper adds a tiny random wiggle to the answers (targets) so that the slopes change a little. By looking at how these slopes wiggle together, we can guess the bending without needing extra calculations. This helps models learn faster and stop at the right time.
Explained to a 5-year-old, longer
Imagine you have a big, smooth hill and you want to know how steep it is at different spots. Usually you can measure the steepness by looking at the slope, which is called a gradient. Sometimes you only have the average slope from a group of points, not the exact slope for each point. The paper comes up with a trick: they add a tiny, random noise to the height values (targets) before measuring the slopes. This noise is carefully chosen so that it matches how curved the hill is locally. Because the noise is random but zero-mean, it does not change the overall direction of learning. When you compute the slopes from these noisy heights, the way they vary tells you something about the hill’s curvature. By looking at the pattern of these slope variations, you can reconstruct a matrix that captures the curvature. This works for many kinds of models, not just simple ones. For certain networks, you can even recover the curvature of each part of the model separately. The result is a simple tool that can be added to existing training processes without much effort. It helps optimisation run faster and lets you decide when to stop training earlier.
For a technical reader
The paper addresses the problem of estimating curvature from only batch gradients, which is needed for tasks like preconditioning and early stopping. It proposes adding calibrated zero-mean noise to the training targets, whose variance reflects the local output curvature. The covariance of the noisy batch gradients then provides an estimator for curvature matrices such as the Generalized Gauss-Newton matrix. This estimator is lightweight, requires no per-sample gradients or second-order derivatives, and can be dropped into existing training pipelines. Experiments confirm accurate curvature recovery, faster optimisation when used for preconditioning, and useful early-stopping signals.
Problem
Estimating curvature information from gradients alone is challenging, especially when only aggregate mini-batch gradients are available, limiting applications such as preconditioning and early stopping.
Method
The approach adds zero-mean noise to the training targets, with variance set according to the local output curvature, and then uses the covariance of the resulting noisy batch gradients to estimate curvature matrices such as the Generalized Gauss-Newton matrix. This estimator works without per-sample gradients or second-order derivatives and can be integrated into existing training pipelines.
Results
The approach yields accurate curvature recovery, accelerates optimisation when used for preconditioning, and provides useful early-stopping signals based on the estimated GGN.
Contributions
It provides a simple, lightweight scheme to recover curvature from aggregate gradients without requiring per-sample gradients or second-order derivatives, and it integrates easily into existing training pipelines.
Practical relevance
It enables practitioners to obtain curvature information for optimisation and early stopping in a scalable, low-overhead manner.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction