potentialpaper

Characterizing the Edge of Stability in Variational Training Without Priors

Juraj Marusic, Jonathan Wenger, Beau Coker, John Patrick Cunningham

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Fewer Monte Carlo samples push prior-free variational training to a modified edge of stability that finds flatter minima.

Abstract. Variational approaches in deep learning promise to deliver improved uncertainty quantification and out-of-distribution generalization by inferring a distribution over weights, regularized by a divergence to a chosen prior. However, prior elicitation presents a significant challenge in deep learning, resulting in the common practice of significantly downweighting the regularization term in the variational objective. Recently, it was proposed to train solely via the expected loss by relying on implicit regularization from the optimizer, rather than explicit regularization from the divergence to the prior. While this approach largely sidesteps the issue of prior elicitation, current theory lacks an understanding of how key optimization hyperparameters impact the implicit regularization. Here, we theoretically and empirically demonstrate that larger learning rates and fewer parameter samples lead to flatter minima of the loss landscape, which are known to generalize better. We show that training on the expected loss operates at a modified edge of stability, characterized by the signal-to-noise ratio of the gradient estimates and the number of Monte Carlo samples. Experiments on out-of-distribution benchmark datasets confirm the practical significance of the theoretical results.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper studies how Monte Carlo sampling affects the edge of stability in variational training without priors. The theoretical contribution is interesting and the paper is clearly presented. The main concerns were an error in the proof and the limited empirical evaluation. The authors corrected the proof and addressed the main theoretical questions during the rebuttal, leading all reviewers to positive scores. The limited range of datasets, optimisers and comparisons remains a weakness, but does not outweigh the contribution.

Final justification

The rebuttal resolved the main theoretical concerns, including the proof correction, and all reviewers are now positive and leaning acceptance. The AC agrees with this consensus.

Area Chair BQYb · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper studies how Monte Carlo sampling affects the edge of stability in variational training without priors. The theoretical contribution is interesting and the paper is clearly presented. The main concerns were an error in the proof and the limited empirical evaluation. The authors corrected the proof and addressed the main theoretical questions during the rebuttal, leading all reviewers to positive scores. The limited range of datasets, optimisers and comparisons remains a weakness, but does not outweigh the contribution.

Final justification

The rebuttal resolved the main theoretical concerns, including the proof correction, and all reviewers are now positive and leaning acceptance. The AC agrees with this consensus.

Reviewer Jm7KOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper characterizes the implicit regularization properties of variational training via the expected loss. More specifically, the authors provide theoretical and empirical evidence that combining larger learning rates with fewer parameter samples yields flatter minima in the loss landscape, thereby improving generalization. The theoreticaly results are backed up with simple experiments on CIFAR10 and CIFAR100.

Strengths and weaknesses

Strength

    1. The paper is easy to follow with insightful visualization of simple cases.
    1. The theoretical results is mostly solid (I only have one question later) and provides interesting insights of balancing learning rate and sample size in SGD.
    1. The main inequality of max learning rate in Theorem 2 provides a guidance in setting learning rate in deep neural network practice.

Weakness

    1. Some notations need to be clarified. For example, what's the definition of P,R in line 112? what's the definition of l0l_{0} in line 115?
    1. The experiment evidence is limited. Only two simple datasets CIFAR10 and CIFAR100 are considered. Also, how the error bars in Fig3(b) are constructed is not clear.
    1. The theoretical results and empirical experiments are mainly for SGD type of optimizer. However, ADAM and ADAMW are more common nowadays. The paper sheds little light on the potential generalization of the main observation of learning rate and sample size to more advanced optimizer.
Questions
    1. How the error bars in Fig3(b) are constructed? And did you conduct any statistical signifance analysis comparing standard sharpness and variational sharpness. And, what's your definition of shapness?
    1. In the proof of Theorem 2, could the authors elaborate how the first identity in eq (11) (below line 856) holds? I think this is most critical step in your proof.
    1. Could you try more datasets? Like TinyImageNet and ImageNet? By the way, in your anonymous github, it seems that the model architectures are mainly ViT, which doesn't align with the model choice (ResNet) in your manusrcipt? And what's the connection between your paper and the title "The Benefits of Sampling in Unregularized Variational Training of Deep Neural Networks" listed in README file?

I may consider raising my score if the authors could somehow address my theoretical and empirical concerns.

Limitations

Few suggestions:

  1. More model architectures could be tried to solidate the conclusion of this paper
  2. Extend analysis to ADAM or other modern optimizer could improve the impact of the paper.
Final justification

Overall, the theoretical contribution of this paper is interesting. Since my theoretical concerns have been addressed and my beginning selection of the contribution type is theory paper, I am willing to increase the significance score to 3 and the overall rating of the paper to 4.

Formatting concerns

I am comfortable with the paper format.

3 comments
Authors · CommentOpenReview ↗

Rebuttal to jm7K (Part 2 of 2)

Response to Limitations / Suggestions

[L2] Extend analysis to ADAM or other modern optimizers could improve the impact of the paper.

  • We agree this would broaden the impact. Adaptive methods exhibit their own edge-of-stability behavior governed by a preconditioned sharpness [34], and extending our sampled-gradient analysis to that setting is non-trivial. The stability threshold would depend on the interaction between the preconditioner and the Monte Carlo noise. We flag this as an important direction in the revised limitations.
Authors · CommentOpenReview ↗

Rebuttal to jm7K (Part 1 of 2)

Summary

We thank the reviewer for their thoughtful review and constructive feedback. Please find responses to your questions below. I hope we could address your concerns and would appreciate if you would consider raising your score.

Response to Weaknesses

[W1] Some notations need to be clarified. For example, what's the definition of P, R in line 112? What's the definition of l_0 in line 115?

  • PP is the number of model parameters and R≤PR \leq P the rank of the covariance factor S∈RP×RS \in \mathbb{R}^{P \times R}. The pointwise loss ℓ0\ell_0 is defined in line 79. We will clarify both.

Response to Questions

[Q1] How are the error bars in Fig3(b) constructed?

  • Each point in Fig. 3(b) aggregates 5 independent runs, each summarized by its maximum epoch-wise sharpness after warmup. Error bars show bootstrapped 95% confidence intervals of the mean across runs. We will clarify this in the caption.

And did you conduct any statistical significance analysis comparing standard sharpness and variational sharpness?

  • We did not conduct a formal hypothesis test. The mean sharpness increases monotonically with MM and closely tracks the theoretical prediction; we will add a statistical significance analysis for the camera-ready version.

And, what's your definition of sharpness?

  • As stated in line 88, we define sharpness as the largest eigenvalue of the Hessian of the training loss with respect to the model parameters (as is common in the literature). Importantly, the same quantity is computed for standard and variational models: for the variational model, the Hessian is evaluated at the mean weights, so the two are directly comparable.

[Q2] In the proof of Theorem 2, could the authors elaborate how the first identity in eq (11) (below line 856) holds? I think this is the most critical step in your proof.

  • The first identity is the standard reparametrization of the Gaussian: if z∼N(0,IR)z \sim N(0, I_R), then μ+Sz\mu + Sz has distribution N(μ,SS⊤)N(\mu, SS^\top). Hence Eω∼N(μ,SS⊤)[l(ω)]=Ez[l(μ+Sz)]\mathbb{E}{\omega \sim N(\mu,SS^\top)}[l(\omega)] = \mathbb{E}{z}[l(\mu+Sz)] holds identically in (μ,S)(\mu,S), and both sides may be differentiated in μ\mu. The purpose of this rewriting is that μ\mu now enters the integrand rather than the measure: the expectation is over a fixed distribution, so the Hessian can be exchanged with it by differentiation under the integral sign, as justified in the second identity.

[Q3] Could you try more datasets? Like TinyImageNet and ImageNet?

  • We will add TinyImageNet results for the camera-ready version.

  • ImageNet is beyond our computational budget: the bottleneck is the sharpness computation, which we perform over the full training set via batched Hessian-vector products.

    Please note that sharpness computation becomes extremely costly for larger datasets, models or number of classes (both in terms of memory and compute) even if implemented with efficient Hessian-vector products (HVPs; we follow https://iclr-blogposts.github.io/2024/blog/bench-hvp/). The memory overhead of a HVP is about 2-3 times that of a gradient and a single hessian-vector product costs about 2-4 times as much as a gradient computation. The estimation of the sharpness requires about 20-30 HVPs. This means training overhead is approximately 50-100x and memory overhead about 2-3x.

    This is why comparable works only operate on a small subset of the training data with fewer classes (e.g. the central flows paper uses CIFAR-10 with 1000 datapoints and 4 classes, see Appendix B.3 of http://arxiv.org/abs/2410.24206). We instead compute batched sharpness during training on the full dataset, to make sharpness computation feasible for ResNets on CIFAR-10 and 100.

By the way, in your anonymous github, it seems that the model architectures are mainly ViT, which doesn't align with the model choice (ResNet) in your manuscript?

  • The codebase implements MLPs, ResNets, and ViTs. We did not include ViT results in the paper since their sharpness computation over the full training set exceeded the compute resources realistically available to us (see response above).

And what's the connection between your paper and the title "The Benefits of Sampling in Unregularized Variational Training of Deep Neural Networks" listed in README file?

  • This was the working title of the paper at some point in time. We accidentally omitted to update the README file when we updated the paper title. We will change this for the code release alongside the paper.
Reviewer Jm7K · CommentOpenReview ↗

Thank you for the response.

My theoretical concerns of are addressed. However, the empirical concerns remain. Without the performance on high resolution datasets, it's hard to evaluate the generalization/real impact of the proposed methods. I will keep my significance score. Therefore, my rating for the paper is unchanged.

Reviewer cT3tOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper extends work on implicit regularization [Wenger et al., ICLR 2026]. They prove bounds on the maximum learning rates for the mean and covariance that guarantee descent are both modified by the signal-to-noise ratio of the gradient estimates and the number of Monte Carlo (MC) samples. They extend these results to β\beta-smooth loss landscape with Gaussian approximate posteriors. And they show that using a single sample to approximate the expected log likelihood leads to better in- and out-of-distribution generalization.

Strengths and weaknesses

Strengths:

  • This paper is very well written. The theoretical and empirical demonstration that larger learning rates and fewer MC samples lead to flatter minima is very interesting (see concerns about significance in weaknesses).
  • Theorem 1 and 2 are clear and Figure 2 does a great job of connecting the bounds from Theorem 1 and Lemma 2 with real examples.
  • The paper focuses on a linear regression model to establish Theorem 1 and 2 which provides insight into the deep learning experiments.

Weaknesses:

  • The choice to train Bayesian neural networks without a prior contradicts past work in deep learning, especially in settings transfer learning where techniques that regularize the change in weights from the pre-trained weights have a natural Bayesian interpretation. I disagree with the statement “Implicit regularization has been identified as a key explanation for the generalization performance of modern deep learning models” (L27-L28). The authors should support this statement with relevant works. However, this statement contradicts works like elastic weight consolidation (EWC) or L2 starting point (L2-SP) where explicit inductive bias improves the generalization of deep learning models. Both these methods can be interpreted as a prior over parameters.
  • The results that show using a larger learning rate (Fig. 3 (a)) and fewer samples (Fig. 3 (b)) reduces sharpness have very large standard deviations. Any discussion of significance here?
  • There is no comparison to tempered variational inference [Zhang et al., ICML 2018; Osawa et al., NeurIPS 2019; Aitchison, ICLR 2021; Harvey et al., AISTATS 2026]. Harvey et al. [AISTATS 2026] use a single MC sample to approximate the expected log likelihood in a tempered evidence lower bound and learn both parameters and prior hyperaparameters. Odgers et al. [ICML 2026] makes the claim that the temperature should emphasize the prior more for out-of-distribution generalization, which contradicts this work.

Zhang et al. Noisy Natural Gradient as Variational Inference. In ICML, 2018

Osawa et al. Practical Deep Learning with Bayesian Principles. In NeurIPS, 2019.

Aitchison. A statistical theory of cold posteriors in deep neural networks. In ICLR, 2021.

Harvey et al. Learning Hyperparameters via a Data-Emphasized Variational Objective. In AISTATS, 2026.

Odgers et al. Gaussian Mean Field Variational Inference can Overestimate Predictive Variance. In ICML, 2026.

Questions
  • How do these results extend when there is a prior? The marginal likelihood of this linear model is equivalent to a Gaussian process with a linear kernel when there is a zero mean unit covariance Gaussian prior.
Limitations

Yes, the author have adequately addressed the limitations and implications of their work.

Final justification

Given the thorough response from the authors and positivity from other reviewers, I have increased my score to a 4. The paper is very well written and uses theorems for a linear regression model to provide insight into deep learning. The authors did not discuss the importance explicit regularization has played in deep learning but agreed to add a paragraph discussing this.

Formatting concerns

No concerns

5 comments
Authors · CommentOpenReview ↗

Rebuttal to cT3t (Part 2 of 2)

[W2] The results that show using a larger learning rate (Fig. 3 (a)) and fewer samples (Fig. 3 (b)) reduces sharpness have very large standard deviations. Any discussion of significance here?

Our main interest is in the conclusion that variational training reduces sharpness. This is well-supported by the results as the 95% bootstrap confidence intervals for sharpness are well below 2/η2/\eta for small MM (Fig. 3(b), left) and have only small overlap with the analogous confidence intervals under standard training across learning rates (Fig. 3(a)). The trend also agrees closely with our theoretical results. Relating sharpness to accuracy is more difficult. The accuracy confidence intervals are somewhat overlapping in many cases as you rightly point out, making statistical significance hard to conclude, but we find the trend compelling. Note that the difference in accuracy compared to standard training (see Fig. 4) is clearly statistically significant. We will run additional seeds of these experiments for the camera-ready version, to obtain a more clear trend not just for sharpness and the improvements over standard training, but also between different number of parameter samples MM.

[W3] There is no comparison to tempered variational inference [Zhang et al., ICML 2018; Osawa et al., NeurIPS 2019; Aitchison, ICLR 2021; Harvey et al., AISTATS 2026]. Harvey et al. [AISTATS 2026] use a single MC sample to approximate the expected log likelihood in a tempered evidence lower bound and learn both parameters and prior hyperparameters. Odgers et al. [ICML 2026] makes the claim that the temperature should emphasize the prior more for out-of-distribution generalization, which contradicts this work.

Tempering is generally important to the empirical success of Bayesian deep learning methods, and has an impact on the ID and OOD uncertainty quantification (Odgers et al., 2026, for example), but because the method we study has no explicit regularization, tempering the objective does not have the same effect of sharpening the posterior (it would only rescale the learning rate). Here the loss term is driven to zero on the training data while the implicit regularization, which is impacted by the initialization and not temperature, handles the uncertainty quantification outside of the training data. Therefore we did not include a careful discussion of tempering / cold posteriors in this paper.

The results of Odgers et al., 2026, (which we note were posted to Arxiv in June 2026, after the submission of this paper) are specific to mean-field variational inference. For the mean-field linear model they study, training without a KL would collapse the uncertainty everywhere, which is why we study a low-rank covariance.

Response to Questions

[Q1] How do these results extend when there is a prior? The marginal likelihood of this linear model is equivalent to a Gaussian process with a linear kernel when there is a zero mean unit covariance Gaussian prior.

For non-negligible regularization strength, standard variational inference theory applies, and the implicit regularization effects are typically dominated by the prior. In the linear model example, if we regularize by the KL divergence to a Gaussian prior, then we recover Bayesian linear regression (equivalently, a Gaussian process with linear kernel). The objective is minimized at the conjugate Bayesian posterior, which is in the full-rank multivariate Gaussian variational family in this case. Instead, our work considers the regime where implicit regularization effects dominate since they are present in most deep learning models and play a clear empirical role, given that most minima do not generalize well beyond the training data.

Authors · CommentOpenReview ↗

Rebuttal to cT3t (Part 1 of 2)

Summary

We thank the reviewer for their thoughtful review and constructive feedback. Below we address each of the raised weaknesses and questions in turn. Please let us know if there are any remaining questions or concerns.

Response to Weaknesses

[W1] The choice to train Bayesian neural networks without a prior contradicts past work in deep learning, especially in settings transfer learning where techniques that regularize the change in weights from the pre-trained weights have a natural Bayesian interpretation. I disagree with the statement "Implicit regularization has been identified as a key explanation for the generalization performance of modern deep learning models" (L27-L28). The authors should support this statement with relevant works. However, this statement contradicts works like elastic weight consolidation (EWC) or L2 starting point (L2-SP) where explicit inductive bias improves the generalization of deep learning models. Both these methods can be interpreted as a prior over parameters.

Section 3.3 (Related Work) includes many citations to works studying the implicit regularization properties of optimization in deep learning. As mentioned in this section, the claim that flatter minima correlate with better generalization is well-supported by theoretical and empirical research.

Identifying implicit regularization as "a key explanation" goes a step further, though we feel it is a reasonable summary of the current consensus. Supporting this claim, Vardi, 2022, provides a review of implicit regularization in deep learning, writing in the conclusion that "it is believed that implicit bias is a main ingredient in the ability of deep learning algorithms to generalize." Neyshabur, 2017, claims "implicit regularization induced by the optimization method is playing a key role in generalization and success of deep learning models". A recent paper by a number of authors (Simon et al., 2026) identifies implicit regularization combined with overparameterization as the statistical perspective on deep learning generalization, calling those two explanations "basically correct" and adding that "the challenge is now to make them precise", a goal we hope this paper furthers. Nonetheless, we propose to rewrite the sentence to read "Implicit regularization has been proposed as one of the key explanations for the generalization performance of modern deep learning models" and to add the Related Work citations to the Introduction.

Regarding the importance of explicit regularization in deep learning, we agree that it can be very useful in many settings, for example in sequential or transfer learning, as in EWC or L2-SP. However, we take the perspective that the impact of implicit regularization has been understudied in variational deep learning, where so much effort has instead been placed on designing more flexible variational families or better priors. We expect that the best performance could be obtained with a combination of implicit and careful explicit regularization. Supporting this expectation is Table 1 of Zhang et al., 2021, which finds that regularization (weight decay and data augmentation) improve generalization performance using various architectures, but "even with all of the regularizers turned off, all of the models still generalize very well". We will update the discussion to reflect the role that explicit regularization has played in deep learning.

Authors · CommentOpenReview ↗

As the discussion period draws to a close, we would be glad to clarify any remaining concerns. If there are none, we would be grateful if you would potentially consider updating your assessment. Thank you again for your review!

Reviewer AVfvOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies the edge-of-stability (EoS) phenomenon in variational training, making a timely and relevant contribution to the literature. Variational training (and inference) are important across machine learning and computational science, particularly for scalable Bayesian inference and variational training of neural networks where suitable priors over model weights may be unclear. This paper deals with variational training and ignores variational inference/autoencoders but it has potential applications to both of these topics. In practice, poorly chosen priors can introduce undesirable inductive biases through prior regularisation. This is often mitigated by downweighting the prior term or omitting it altogether. The paper theoretically and empirically demonstrates that larger learning rates and fewer parameter samples can lead to flatter loss minima, which previous work has associated with better generalisation. The empirical results support this claim in the setting of variational training. Overall, I found the paper enjoyable to read and believe it explores a worthwhile research direction.

Strengths and weaknesses

This paper is presented very well: it is clear, high quality, significant, and original. I like the structure of it, the examples used, the figures, and the results overall. My main concerns are an error in the proof of Theorem 1 and lack of diversity in the deep learning loss functions. I think further results on regression-based losses beyond the single-layer Silu network would be nice to see. I think that the authors could add this very easily given that they have done the experiment to an extent on the SiLU network problem, but further results would be nicer here.

In what follows, I present the review of the paper discussing its minor weaknesses, including two relatively large weaknesses that I think are easy to address.

Abstract.

The abstract clearly motivates the problem, summarises the theoretical analysis, and states that the empirical results support the theory.

Introduction. Strength: Overall very nice and clear, with a good exposition of the problem. I think the introduction is highly accessible and makes this paper easy to pick up for those who are familiar with the field and those who are not.

Weakness: I would welcome a clearer statement near the end of the introduction regarding how predictive accuracy varies with the number of variational samples for ID and OOD. The results are positive in the results section, and I think can be stated here to advertise the results better.

Background. Strength: Again, this is a great introduction to the background. It is clear and well-written. It nicely balances simplicity and detail. This was very easy to read.

Weakness: For notational consistency, I suggest writing (f_\omega(X)) in bold, while retaining (f_\omega(x)) for an individual input.

Weakness: In the unregularised variational training discussion, the final sentence needs further explanation. In particular, (q_{\theta_0}) is not defined, and its role is unclear.

Section 3. Strength: Nice exposition, interesting theorems, and good explanations relative to the SNR of the gradient. Easy to follow.

Weakness: The equation following Equation 4 could be numbered for ease of reference. I am also unsure why the approximation sign is coloured red. If this is a stylistic choice, it is of course at the authors’ discretion; otherwise, it should be corrected.

Suggestion: The analysis considers relatively restrictive variational families. It would be helpful to discuss whether the conclusions may extend to more expressive distributions, such as those used in VAEs or normalising flows.

Suggestion: In the statement of Theorem 1, I would appreciate clarification regarding the expectation on line 135. Since the second term does not appear to depend on the noise variables, should the expectation apply only to the first term? In the proof, the brackets appear to cover both terms.

MAIN WEAKNESS: There also appears to be an error involving a factor of two in Equations 8 and 9. This should be propagated through the proof to verify that the inequality in Theorem 1 remains unchanged in form. The definition of (g) used later in Section 3.1 appears consistent, but the derivation should be carefully checked. I expect that the consequences may only be multiplicative constants, but this is important for mathematical correctness.

Weakness: Figure 2(a) should include a y-axis label.

Suggestion: As mentioned before, for Equation 7, I would appreciate either a citation to a proof of the oscillation argument here in the EoS literature or a clearer explanation. I am primarily familiar with variational inference rather than EoS analyses. If this is primarily an experimentally observed phenomenon rather than a formally established result, that distinction should be made explicit. Again I think there will be readers similar to my background.

Weakness: There also appears to be a spelling error around line 208. “Somewhat”

Section 4.

Weakness: Is cross-entropy the only loss function considered? It would be useful to discuss the expected applicability of the conclusions to other losses. Euclidean losses using DNN?

Suggestion: A major implication of the work is that reducing the number of samples may improve generalisation. However, the paper does not discuss how this affects the reliability or quality of posterior inference. This is understandable given that the paper is primarily focused on variational training rather than variational inference, but the impact on the learned variational distribution would nevertheless be interesting to investigate. I think future work could investigate EoS on variational inference. It is harder in this problem as we have no ground truth, and in some sense the posterior predictive quantifies this to a degree.

Conclusion.

The conclusion is clear and effective. It would be useful to acknowledge explicitly that a limitation of the work is the use of a relatively simple variational family. I would expect related effects to arise for more expressive approaches such as normalising flows, but this remains to be tested. More broadly, a stronger connection to variational inference and autoencoder-style objectives would be valuable. These settings involve similar trade-offs: reducing the number of samples may improve optimisation or reconstruction-related terms, but it may also affect posterior quality. This would be a promising direction for future work.

I think this paper is interesting, and worth of publication after a few changes have been made.

Questions

I think it's necessary to adjust some of the minor errors mentioned in the review, and at least think of the suggestions I make. However, the only area that is stopping me from giving this a 5 are the following two points:

  1. There also appears to be an error involving a factor of two in Equations 8 and 9. This should be propagated through the proof to verify that the inequality in Theorem 1 remains unchanged in form. The definition of (g) used later in Section 3.1 appears consistent, but the derivation should be carefully checked. I expect that the consequences may only be multiplicative constants, but this is important for mathematical correctness.

  2. Addressing another loss function briefly.

Limitations

Mostly, I would mention other variational distributions and the consequences for VAE and VI.

Final justification

The authors addressed all of my issues in the rebuttal

Formatting concerns

None

9 comments
Authors · CommentOpenReview ↗

Rebuttal (Part 1 of 2)

Summary

Thank you very much for your careful and constructive review; below we address your questions, clarifications, and main weaknesses point-by-point, and we hope these revisions support a reconsideration and possible increase of the score.

Response to Main Weaknesses

[W1 — MAIN WEAKNESS] There also appears to be an error involving a factor of two in Equations 8 and 9. This should be propagated through the proof to verify that the inequality in Theorem 1 remains unchanged in form. The definition of (g) used later in Section 3.1 appears consistent, but the derivation should be carefully checked. I expect that the consequences may only be multiplicative constants, but this is important for mathematical correctness.

  • Thank you for the careful reading! You are correct: with ℓˉ\bar\ell as in Eq. (5), the gradients are ∇μℓˉ=2X⊤(Xμ−y)\nabla_\mu\bar\ell = 2X^\top(X\mu-y) and ∇Sℓˉ=2X⊤XS\nabla_S\bar\ell = 2X^\top XS; the same omission affects ∇μ2ℓˉ\nabla^2_\mu\bar\ell (which should read 2X⊤X2X^\top X) and footnote 3. This inconsistency arose when we dropped the customary 12\tfrac{1}{2} factor from the loss at some point during writing, without updating the stated gradients in the proof.

    As the reviewer anticipated, Theorem 1 is unchanged, not only in form but in its constants. The derivation following Eqs. (8)–(9) is already carried out in the convention of Eq. (5) (the factor 44 in 4Mtr((X⊤X)3SS⊤)\tfrac{4}{M}\text{tr}((X^\top X)^3 SS^\top) and the passage to Eq. (10) both presuppose the correct gradients), so only the intermediate definitions were misstated. Moreover, the SNR correction factor is a ratio of trCov(g^)\text{tr}\text{Cov}(\hat{g}) to ∥Eg^∥22\Vert \mathbb{E} \hat{g} \Vert_2^2 and is therefore invariant to rescaling the loss; only the prefactor carries the convention, via β=2λmax(X⊤X)\beta = 2\lambda_{\text{max}}(X^\top X), giving 2/β=1/λmax(X⊤X)2/\beta = 1/\lambda_{\text{max}}(X^\top X) as stated.

    We have updated the paper accordingly; no theorem, lemma, or figure is affected.

[W2] Is cross-entropy the only loss function considered? It would be useful to discuss the expected applicability of the conclusions to other losses. Euclidean losses using DNN? (Reviewer: "I think further results on regression-based losses beyond the single-layer SiLU network would be nice to see. I think that the authors could add this very easily given that they have done the experiment to an extent on the SiLU network problem.")

  • Thank you for this suggestion. The edge-of-stability phenomenon has been observed across loss functions, and it is in fact easier to observe under the squared loss: since the loss has attainable minima (as opposed to the cross-entropy loss with a softmax non-linearity which only achieves loss$=0$ if the logit of the predicted class =∞= \infty), the sharpness stabilizes at the threshold rather than decaying late in training; the decay under cross-entropy (Remark 2) being a consequence of diverging parameter norms. For this reason, parts of the EoS literature deliberately use the squared loss even for classification tasks [e.g., Cohen et al., 2021]. Our regression-based results--the toy example (Figures 1a, 2c, 5)--already exhibit the modified threshold under the squared loss, and we expect this behavior to transfer directly to deeper models.

    We agree that a deep-network experiment with a Euclidean loss would round out the empirical picture, and--as the reviewer notes--it slots directly into our existing setup. We will add an MSE-loss experiment (same protocol as Section 4, varying MM) together with a discussion of applicability across losses to the revision.
Authors · CommentOpenReview ↗

Rebuttal (Part 2 of 2)

Response to Minor Weaknesses

  • Thank you for your suggestions of improvement of the writing of our paper! We really appreciate the feedback. We have included all the points you raised (framing of results in introduction, notation in background, minor points in main text) in the camera-ready version of the paper.

Response to Suggestions

[S1] The analysis considers relatively restrictive variational families. It would be helpful to discuss whether the conclusions may extend to more expressive distributions, such as those used in VAEs or normalising flows.

  • We note that our analysis already goes beyond the commonly used mean-field family by allowing full low-rank covariance structure; extending it to more expressive families is an interesting direction, which we now mention in the revision.

[S2] In the statement of Theorem 1, I would appreciate clarification regarding the expectation on line 135. Since the second term does not appear to depend on the noise variables, should the expectation apply only to the first term? In the proof, the brackets appear to cover both terms.

  • You are correct. ℓˉ(θt)\bar\ell(\theta_t) is deterministic, so the expectation only acts on the first term; since the two writings coincide by linearity, this plays no role, but we have made the notation consistent in the revision.

[S3] For Equation 7, I would appreciate either a citation to a proof of the oscillation argument here in the EoS literature or a clearer explanation. I am primarily familiar with variational inference rather than EoS analyses. If this is primarily an experimentally observed phenomenon rather than a formally established result, that distinction should be made explicit.

  • The oscillation around the stability threshold is primarily an empirically established phenomenon [18], with formal results only in restricted settings [e.g., 35]; Eq. (7) is thus a prediction combining our descent threshold with this empirical mechanism, and we now state this distinction explicitly in the revision.

[S4] A major implication of the work is that reducing the number of samples may improve generalisation. However, the paper does not discuss how this affects the reliability or quality of posterior inference. The impact on the learned variational distribution would nevertheless be interesting to investigate. I think future work could investigate EoS on variational inference.

  • On the predictive side, our NLL and ECE results (Figures 4, 6) show that smaller MM does not degrade uncertainty quantification; a systematic study of the learned variational distribution itself is an interesting direction that we now highlight as future work.

[S5] (Conclusion) It would be useful to acknowledge explicitly that a limitation of the work is the use of a relatively simple variational family. I would expect related effects to arise for more expressive approaches such as normalising flows, but this remains to be tested. More broadly, a stronger connection to variational inference and autoencoder-style objectives would be valuable.

  • Agreed; the revised conclusion now explicitly acknowledges the variational family as a limitation and mentions the connection to VI and autoencoder-style objectives as future work.
Reviewer AVfv · CommentOpenReview ↗

Thanks for addressing my concerns.

We note that our analysis already goes beyond the commonly used mean-field family by allowing full low-rank covariance structure; extending it to more expressive families is an interesting direction, which we now mention in the revision.

Is this analysis already in the paper maybe I missed something, otherwise could you let me know what the results look like.

Reviewer Y6nSOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
2/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies unregularized variational training, where the variational distribution is trained only through the expected loss without a KL term to a prior. The main claim is that Monte Carlo sampling of parameters during training induces implicit regularization by modifying the edge-of-stability threshold. The authors theoretically analyze this phenomenon for variational linear regression and smooth losses, showing that the maximal stable learning rate depends on the SNR of sampled gradients and the number of Monte Carlo samples. Empirically, they show that using fewer samples leads to flatter minima and better in- and out-of-distribution performance on CIFAR 10/100 benchmarks.

Strengths and weaknesses

Strengths:

  1. The main claims of the paper are interesting and mostly supported by a clean theoretical analysis and consistent experiments.
  2. The connection between parameter-sampling noise and the edge of stability is novel and conceptually appealing.

Weaknesses:

  1. The theoretical analysis is limited to linear models and smooth losses, while the main empirical claims concern deep networks trained with cross-entropy and SDG.
  2. It is unclear how the learned covariance evolves during training. Since unregularized variational training may collapse predictive uncertainty on training data, it would be useful to show this evolving process.
  3. The paper focuses heavily on sharpness, but sharpness alone is not always a complete explanation of generalization. Additional functional or PAC-Bayesian/generalization measures would make the argument stronger.
Questions
  1. Can you report how the learned covariance evolves during training for different M? Does the variational distribution collapse, and if so, when?
  2. What is the specific definition of qθ0q_{\theta_{0}} in line 107? Does it refer to the initial variational distribution? The explanation regarding implicit regularization needs to be clearer.
  3. How sensitive are the results to the initialization and parameterization of the covariance?
  4. Do the conclusions still hold when all layers, rather than only selected layers, are treated variationally?
  5. Can you test additional architectures or datasets beyond ResNet34 on CIFAR benchmarks?
  6. How does the proposed explanation compare empirically with other sources of noise, such as minibatch size or dropout?
  7. Typo in line 103: maximizing the expected loss →\rightarrow minimizing the expected loss.
Limitations

The authors acknowledge that the theory does not cover non-smooth losses. I would also encourage discussing the limited architectural scope and the dependence on the specific variational estimator.

Final justification

The rebuttal of the authors has addressed most of my concerns about the paper, including the theoretical analysis, covariance evolution, and additional network architecture. So, I have decided to raise my score to 4.

Formatting concerns

No major formatting concerns noticed.

3 comments
Authors · CommentOpenReview ↗

Rebuttal to Y6nS (Part 2 of 2)

[Q4] Do the conclusions still hold when all layers, rather than only selected layers, are treated variationally?

  • We expect so; treating all layers variationally increases the sampling noise, which should strengthen rather than weaken the effect. We will add an ablation to the revision to confirm this.

[Q5] Can you test additional architectures or datasets beyond ResNet34 on CIFAR benchmarks?

  • We will add experimental results for TinyImageNet to the final version of the paper.
  • We attempted to run experiments for ViTs, but sharpness computation becomes extremely costly at that scale (both in terms of memory and compute) for the full training dataset of CIFAR / TinyImageNet even if implemented with efficient Hessian-vector products (HVP; we follow https://iclr-blogposts.github.io/2024/blog/bench-hvp/). The memory overhead of a single HVP is about 2-3 times that of a gradient and a single hessian-vector product costs about 2-4 times as much as a gradient computation. The estimation of the sharpness requires about 20-30 HVPs. This means training overhead is approximately 50-100x and memory overhead about 2-3x. This is why comparable works only operate on a small subset of the training data with fewer classes (e.g. the central flows paper uses cifar-10 with 1000 datapoints and 4 classes, see Appendix B.3 of http://arxiv.org/abs/2410.24206). We instead compute batched sharpness during training on the full dataset, to make sharpness computation feasible.

[Q6] How does the proposed explanation compare empirically with other sources of noise, such as minibatch size or dropout?

  • The key difference is that parameter-sampling noise is structurally distinct from these other sources. Minibatch noise arises from subsampling the data, and its covariance is dictated by the data distribution and current parameters; dropout injects noise with a fixed, prescribed structure. In variational training, the noise covariance is itself a learned parameter, optimized jointly with the mean: it is adaptive, and it enters the stability threshold explicitly through the number of samples MM and the SNR of the gradients (Theorems 1–2), a dependence with no direct analogue for minibatching or dropout. Empirically, we keep the batch size fixed across all experiments, so the observed effects of MM are isolated from minibatch noise; a systematic empirical comparison of the different noise sources is an interesting direction, which we will note in the discussion.

Response to Limitations

The authors acknowledge that the theory does not cover non-smooth losses. I would also encourage discussing the limited architectural scope and the dependence on the specific variational estimator.

  • Thank you; we have expanded the limitations paragraph to also acknowledge the restricted architectural scope and the dependence of the empirical results on the specific variational estimator.
Authors · CommentOpenReview ↗

Rebuttal to Y6nS (Part 1 of 2)

Summary

Thank you for your thoughtful review. We appreciate your detailed feedback and constructive questions. Below, we respond point-by-point to the weaknesses, questions, and limitations you raised.

Response to Weaknesses

[W1] The theoretical analysis is limited to linear models and smooth losses, while the main empirical claims concern deep networks trained with cross-entropy and SGD.

  • This gap is shared with the edge-of-stability literature more broadly, where stability analyses are carried out for quadratic or smooth objectives and then verified empirically on deep networks [e.g., 16, 18, 22]; the reason this remains informative is that the analysis characterizes the local stability of the dynamics, governed near a minimum by the leading curvature. Our experiments (Figures 2c, 3b) confirm that the predicted modified threshold quantitatively describes deep-network behavior, and we discuss closing this gap formally as future work.

Response to Questions

[Q1] Can you report how the learned covariance evolves during training for different M? Does the variational distribution collapse, and if so, when?

  • We ran this analysis on the synthetic experiment (single-hidden-layer SiLU network with a variational output layer), tracking the covariance Σ=SS⊤\Sigma = SS^\top of the variational layer during training for M∈1,2,4,8,16M \in {1, 2, 4, 8, 16}. Across all values of MM, the variational distribution collapses in the directions spanned by the learned representation of the training data (equivalently, the predictive variance on the training inputs vanishes), as suggested by the analysis of Wenger et al. (2026), while the variance in the orthogonal directions is retained--so the distribution never collapses fully. The final magnitude of the retained covariance depends largely on the learning rate, as it guides the learned representation and thereby which directions collapse. We will include these covariance-evolution plots in the revised version. (Please note that the rebuttal rules this year do not allow us to post links to plots, which is why we can only describe the results here.)

[Q2] What is the specific definition of q_{θ_0} in line 107? Does it refer to the initial variational distribution? The explanation regarding implicit regularization needs to be clearer.

  • Yes; qθ0q_{\theta_0} is the variational distribution at initialization. We have clarified this in the revision.

[Q3] How sensitive are the results to the initialization and parameterization of the covariance?

  • These act through different mechanisms: initialization determines which minimum is selected (Wasserstein-type regularization towards qθ0q_{\theta_0}, see [Wenger et al. (2026)]), while the learning rate determines the sharpness at which training stabilizes (Theorems 1–2); the scale of the learning rate can determine which bias dominates [arXiv:2505.21423]. The results are invariant to reparameterizations S↦SQS \mapsto SQ with QQ orthogonal, but a restricted variational family (e.g., diagonal) will generally change the inductive bias, as parameterization does for standard networks. We have added a remark on this in the revision.
Authors · CommentOpenReview ↗

We appreciate your helpful comments, which have already improved our work. Given the fast-approaching end of the discussion period, we would like to encourage you to raise any remaining open questions. If we have addressed your points satisfactorily, we would greatly appreciate it if you would reconsider your initial evaluation of our work. Thank you!

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…