- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 2
- Quality
- 2
- Significance
- 2
Read review
Summary
The paper proposes Calibrated Noisy Gradient Covariance (CNGC), a method for estimating GGN-type curvature from aggregate mini-batch gradients.
The main idea is to perturb the targets with zero-mean noise whose variance is calibrated by the output-space curvature
The covariance of the resulting noisy gradient perturbations then recovers the batch GGN in expectation.
The paper studies both centered and swamping versions of the estimator, extends the argument to blockwise Hessian recovery for ReLU networks, proves an optimality property of scaled Rademacher perturbations, and evaluates the method for curvature recovery, preconditioning, and early stopping.
Strengths and weaknesses
Strengths
-
The main estimator is simple and easy to implement. The centered estimator has a clean unbiasedness identity for the batch GGN. The swamping estimator is analyzed with an explicit bias term.
-
The paper justifies the practical choices for the noise. The scaled Rademacher perturbation result is a nice design principle: among noises with the required variance, it reduces noise-induced estimator variance.
Weaknesses
-
The motivation for targeting the GGN could be made more convincing. The paper does demonstrate two downstream uses of the recovered GGN, namely preconditioning and early stopping. However, the introduction sometimes frames the problem broadly as curvature recovery, while the main recovered object is the GGN rather than the full Hessian except in special cases. It would be helpful to explain more clearly why the GGN is the most appropriate curvature surrogate for these applications, and whether recovering it offers benefits beyond the two uses explored in the experiments.
-
The novelty appears somewhat incremental. Prior work already showed that target noise can reveal curvature in linear regression. The main extension here seems to be replacing the constant noise variance by the output-space curvature , which is natural once the GLM/exponential-family loss structure is introduced.
-
The method applies to a somewhat restricted loss structure. The main theory relies on losses of the form , with a corresponding extension to multi-class cross entropy. It is not clear how broadly the approach applies beyond these GLM-like settings.
-
The practical benefits are demonstrated but not yet fully established. The paper does include experiments using the estimator for preconditioning and early stopping, which are useful and relevant. However, the evidence mainly shows that the method is promising rather than clearly cost-effective. In particular, a full wall-clock comparison for the optimization pipeline would be helpful, since the method may require an extra clean backward pass, curvature accumulation, blockwise storage, and matrix inversion.
-
The ReLU blockwise Hessian result has unclear practical impact. The result is mathematically reasonable due to blockwise local linearity, but it is not clear whether recovering these diagonal Hessian blocks provides a substantial advantage beyond simply using the estimator as a GGN approximation.
Questions
Questions
-
Could the authors further clarify the practical value of recovering the GGN beyond the preconditioning and early-stopping applications explored in the experiments? The current experiments provide useful evidence that the estimator can be used in these two settings, but it would be helpful to better understand whether GGN recovery offers additional benefits for optimization diagnostics, uncertainty estimation, sampling, or other downstream tasks, and why this curvature target is preferable to other cheaper or more standard surrogates in those settings.
-
What is the main novelty beyond prior target-noise curvature recovery results for linear regression? My current understanding is that the main extension is to replace the constant noise variance by under a GLM/exponential-family loss structure. Could the authors clarify whether there is a deeper principle or technical contribution beyond this calibration?
-
How broadly does the method apply beyond losses of the form and standard multi-class cross entropy? Are there important modern training losses where the proposed target-noise construction would not apply or would require substantial modification?
-
Could the authors provide more complete wall-clock comparisons for the optimization experiments? In particular, it would be useful to include the cost of the additional clean backward pass, curvature accumulation, blockwise storage, and matrix inversion, so that the practical benefit of the preconditioner can be evaluated under a fair computational budget.
-
What practical advantage is provided by the ReLU blockwise Hessian recovery result? The local-linearity argument is mathematically reasonable, but it is not clear whether recovering diagonal Hessian blocks leads to better optimization or diagnostics compared with simply treating the estimator as a GGN approximation.
-
The connection between curvature-estimation accuracy and downstream test performance is not fully explained. The experiments show that CNGC can be used for preconditioning and early stopping, but it is not clear whether the observed test-loss improvements come from better curvature recovery, better optimization, implicit regularization from injected noise, or other implementation details. Since the injected noise is primarily used as a curvature probe rather than as a training regularizer, it would be helpful to disentangle estimation accuracy, optimization speed, and generalization performance.
-
The early-stopping experiment uses a GradStop-type statistic, but this criterion does not seem to be a standard early-stopping baseline. Moreover, the paper uses a scalable approximation rather than the original GradStop construction. Could the authors clarify how sensitive the results are to this approximation and compare with standard validation-loss-based early stopping?
Limitations
The authors include a limitations section and acknowledge several important points, including that the method generally recovers the GGN rather than the full Hessian, that the centered estimator requires an additional clean backward pass, and that practical implementations rely on diagonal or block-diagonal approximations.
However, I think the discussion could be improved by more explicitly addressing: (i) the dependence on GLM/exponential-family-style loss structures, (ii) the requirement of per-example output curvature , and (iii) the full computational overhead of the additional backward pass, curvature accumulation, blockwise storage, and matrix inversion in optimization applications.
Paper formatting concerns
I did not notice any major formatting, anonymity, or policy concerns.
Final justification
After considering the rebuttal, I raise my score from 2 to 4. The authors have addressed my main concerns, particularly through the exact-GGN ablation, the end-to-end wall-clock comparisons, and the additional early-stopping evaluation.
My remaining concerns are twofold:
- (1) the core calibration idea still appears somewhat incremental relative to prior target-noise curvature recovery, despite the useful theoretical and algorithmic extensions; and
- (2) the experiments remain limited to relatively small models and datasets, so scalability and effectiveness in realistic large-scale settings are not yet empirically established.
These concerns are now marginal rather than blocking. However, they prevent me from assigning a 5, which would require either stronger conceptual novelty or convincing validation at a substantially larger scale.
We thank the reviewer for their review and comments. In this reply, we also answer to the AC comments.
Q1: Practical value of the GGN
The GGN is a well-known positive-semidefinite approximation to the Hessian and widely used for second-order optimisation in deep learning. For motivation, we refer to the standard references [1,2].
Positive semidefiniteness is particularly valuable because the GGN has no negative-curvature directions and, after damping, can be stably inverted or approximated for preconditioning.
Beyond preconditioning and early stopping, the GGN can support several downstream tasks. Its trace, spectrum, and condition number provide diagnostics of curvature, sharp directions, and ill-conditioning. In Laplace approximations, a prior-regularised GGN can be used as an approximate posterior precision, enabling predictive uncertainty estimation and approximate posterior sampling [3]. It can also be used in marginal-likelihood methods for hyperparameter and model selection [4].
GGN is an interesting and theoretically motivated tool, and a simple and easy method to estimate it is generally useful. In practical tasks, the selection of the surrogate depends on the task and its requirements such as computational limitations, desired accuracy, and characteristics of the data sets.
We will add this broader discussion to the final version.
[1] Martens. "Deep learning via hessian-free optimization." ICML. 2010.
[2] Botev et al. "Practical Gauss-Newton optimisation for deep learning." ICML. 2017.
[3] Daxberger et al. "Laplace redux-effortless bayesian deep learning."NeurIPS (2021)
[4] Immer et al. "Scalable marginal likelihood estimation for model selection in deep learning."ICML, 2021.
Q2: Novelty beyond linear regression (Novelty comment by AC)
The reviewer is correct that the noise calibration is the main underlying idea of the paper, utilising the geometric properties of the typical loss functions used in machine learning tasks. The contribution is novel. Furthermore, the paper presents a detailed study of the application of these calibration properties. More specifically:
First, prior work provides a useful theoretical observation for one specific linear model and loss function. In contrast, our results show that target-noise injection can recover curvature for a wide variety of loss functions and models, including nonlinear neural networks and vector-output models. The underlying principle is to match the noise covariance to the output curvature so that the covariance of the resulting gradient changes equals the GGN.
Second, we design the optimal noise distribution. Under our assumptions, scaled Rademacher noise minimizes both Frobenius risk and directional error. This gives a more accurate approximation of the GGN, which can benefit downstream tasks that rely on reliable curvature estimates, such as preconditioning, uncertainty estimation, and optimization diagnostics.
Third, we introduce the centered estimator. When clean gradients are available, they can be used for the optimization update and subtracted from noisy gradients to remove the estimator’s bias. This gives exact recovery for every fixed batch without requiring i.i.d. sampling, large batches, or proximity to an optimum. We also analyze the swamping estimator when clean-gradient centering is unavailable and characterize its residual error.
Finally, we show for specific architectures, our method recovers additional curvature information. For example, for feed-forward ReLU neural networks, it recovers the diagonal Hessian blocks.
Q3: Scope of the loss family (Q2 of the AC)
Our loss definition covers the most generally used losses in machine learning and deep learning, including MSE, logistic (softmax) loss, and multiclass loss, such as multiclass classification loss in LLM training and vector-output MSE used in training of diffusion models. Some losses not covered by our definition include the Dice loss used for image segmentation (Milletari et al 2016) and PDE losses used to train physics-informed neural networks (Raissi et al 2017).
In more detail, our method applies to vector-output losses of the form $ l(f_w(x),y) = A(f_w(x))-y^\top f_w(x) + const $ , ∇f2A(f)⪰0, where y may be vector-valued. This includes squared regression; binary and multiclass cross-entropy; Poisson and other canonical exponential-family losses; next-token prediction, masked-language modeling, and supervised instruction tuning for LLMs; and squared objectives for diffusion models, denoising score matching, and flow matching. We include discussion of these applications in the final version.
Naturally, some loss functions are not represented by this formulation, but in some cases, we can make it work with some modifications. For example, Adding L2 regularization does not create a significant limitation. For a regularizer 2λ∥w∥2, we recover the CNGC and add its known curvature, λI. Some losses are not covered by our definition, such as Dice loss used for image segmentation (Milletari et al 2016) and PDE losses used to train physics-informed neural networks (Raissi et al 2017).
Raissi et al. (2017). "Physics Informed Deep Learning (Part I): Data-driven Solutions of Nonlinear Partial Differential Equations".
Milletari et al. "V-net: Fully convolutional neural networks for volumetric medical image segmentation." 2016 fourth international conference on 3D vision (3DV). Ieee, 2016.
Q4: Computational overhead (Q3 of AC)
Figure 2 of the manuscript contains a run-time experiment for GGN estimation, and Figure 3 shows the number of epochs needed for convergence for various methods.
Scalability to large models: The most scalable version uses the diagonal of the preconditioner (Sophia C method in our tables), so our computational complexity integrated into Sophia is identical to the original version; for in-depth computational complexity analysis on larger models against Adam, we refer to the Sophia paper (Liu et al. 2024). Sophia had a different noise imputation scheme. Compared to the original Sophia, which addressed only classification, we defined the model for regression problems, defined a target noise imputation scheme, and proved that our noise design is optimal.
Here we provide the full breakdown and computational cost for experiments shown in the paper.
Table R1 (below) shows wall-clock time for each method per training epoch. Based on Figure 3 in the paper, our methods with preconditioning need fewer epochs to reach a given accuracy (Table R2 below, to be added). The presented results are averaged across 10 random seeds (the same as in the Fig. 3) with std.
Table R1: the average wall-clock time per epoch.
To clarify, for the optimization experiment, the breakdown of the computational complexity is the following:
Second backprob introduces additional computational costs compared to Adam and GD baselines, however, the computational graph is reused for the second backprop, lowering the overhead.
Matrix inversion: we invert each block separately and only once per epoch which significantly reduces the number of inversions. The cost of one inversion for each of nb blocks of size k is O(k3).
Memory overhead: since we invert the preconditioner only once per epoch, it increases the memory usage. We store two copies of the preconditioner: the inverted matrix and the current preconditioner accumulated over the epoch. Storing an additional matrix for each nb blocks of size k introduces O(k2) costs, which for float32 precision is about 4k2 bytes. Overall it results in about 2×4k2nb bytes of the overhead, where nb is the number of blocks (equal to the number of layers in the network) and k is the size of the largest block.
Liu et al. Sophia: A scalable stochastic second-order optimizer for language model pre-training. ICLR 2024.
Q5: ReLU blockwise Hessian recovery
For ReLU networks, we show the diagonal blocks of GGN and the true Hessian are the same, so there is no difference in the implementation.
The reason for using blocks is computational efficiency: this avoids storing and inverting the full Hessian.
Q6: Curvature accuracy and downstream performance (Q1 of AC)
Our theoretical claim is that we can estimate the curvature (GGN matrix, see Figure 2). We show experimentally (e.g., Figure 3) that our curvature estimation improves convergence and performance on the training and test sets . For example, in Fig. 3 (CNN and transformer models on air dataset) we beat Sophia by correctly approximating the curvature in the regression task.
We will post an additional ablation study on this in the following days.
Q7: Early stopping (Q4 of AC)
We compare against GradStop because it uses approximate Hessian information and does not require a validation set. Since the original method requires the full dataset Jacobian, we use a scalable approximation for datasets about 20 times larger than those studied by Jamshidi et al. (2025). Our theoretically grounded curvature estimate produces better stopping decisions than this GradStop baseline; comparisons with other early-stopping methods are available in the original GradStop paper.