Unveiling Lookahead’s Potential in Sharpness-Aware Minimization: Convergence and Generalization Revisited
Anonymous authors
ICLR 2027
Abstract. Deep learning models have achieved remarkable success across various applications, but over-parameterized networks often suffer from overfitting and limited generalization, limiting their real-world performance. Sharpness-Aware Lookahead (SALA), which integrates Sharpness-Aware Minimization (SAM) with the lookahead mechanism, has been proposed to improve generalization, training stability, and convergence. However, recent theoretical studies suggest that lookahead may delay convergence, which appears to contradict empirical observations. This discrepancy raises a fundamental question: how does lookahead affect the generalization and optimization behavior of SAM? To answer this question, we develop a systematic theoretical framework to derive tighter generalization and excess risk bounds for SALA under relaxed assumptions. Our results show that the lookahead parameter affects optimization and generalization in opposite directions:
- the optimization bound $ O(\frac{1}{(Tk+1)^{2\alpha}}+\frac{k}{(Tk+1)^{2\alpha-1}}) $decays faster as increases, while
- the generalization bound $ O(\frac{ T^{\alpha}\log T}{n}) $ increases with through both the leading factor and the power-law term . We present detailed comparisons with prior theoretical studies and empirical observations to support the validity of our findings. Furthermore, the analysis extended to the stochastic gradient descent-based lookahead algorithm uncovers a similar impact of lookahead on generalization and optimization behaviors from both theoretical and empirical perspectives.
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 paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 25 Nov 2026, 10:37 UTC.
- Rating
- 4/4(+1)
- Confidence
- 4/4
- Soundness
- 3/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
This paper theoretically studies how Lookahead affects SAM when they are tied together. Detailedly, it analyzes the generalization and optimization bounds of SALA and investigates the different roles of the Lookahead hyperparameters. The theorerical findings are also validated with empirical results.
Strengths
This paper is well-motivated and easy to follow. It theoretically reveals that the optimization bound negatively correlates with the lookahead parameter, while the generalization bound positively correlates with . This finding suggests a tradeoff, which may be useful in tuning hyperparameters. Moreover, different from previous studies, the authors present the first generalization guarantee for SALA in the non-smooth setting.
Weaknesses
None
Questions for the authors
-
I noticed most experiments are run with SGD, but I am not sure if the mometum has ever been used. If not, please run such a comparision and report whether the findings are universal.
-
In Section 4.1, the perturbation radiu is set to 0.0005, which is relatively small to the popular choice of 0.05. Please justify.
-
Given the theoretical implications, is there any practical advice on the choice of and to balance the generalization and generalization?
3 comments
Many thanks for the detailed response. I would like to raise my score.
Thank you for taking the time to carefully consider our response. We sincerely appreciate your positive reassessment and support.
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
This paper studies the optimization and generalization behavior of Sharpness-Aware Lookahead (SALA), which performs several inner SAM updates followed by an interpolation between the slow weights and the final fast weights. Its central objective is to characterize how the interpolation parameter affects optimization error, generalization error, and excess risk.
The research question is relevant, but the current version has substantial issues in its assumptions, the compatibility of its optimization and stability guarantees, and the claimed sharpness of the analysis.
Strengths
-
Understanding how the Lookahead interpolation affects optimization, stability, and predictive performance is useful. Studying these quantities together through an excess-risk decomposition is an appropriate direction.
-
The algorithm retains the normalized perturbation used in SAM, and the manuscript explicitly defines the perturbation to be zero when the gradient vanishes. This provides a clear algorithmic object for the analysis.
-
The paper includes multiple architectures and datasets, reports training loss, generalization gap, and validation loss, and describes three-seed experiments with standard-deviation shading. These choices make the qualitative behavior easier to assess.
Weaknesses
-
Theorems 3.3 and 3.9 do not explicitly invoke the PL condition introduced in Assumption 2.5, although their proofs use it in Appendix B.3 and B.5. Without PL, the stated smoothness and boundedness assumptions are insufficient. If global PL is intended as a standing assumption, a more fundamental issue remains. As currently stated on , global upper boundedness, global smoothness, and global PL exclude any nonconstant empirical objective.
-
The claimed removal of bounded-gradient assumptions is not supported by the smooth main results. Theorems 3.1, 3.3, 3.7, and 3.9 assume that each loss is nonnegative, globally -smooth, and bounded by one. Lemma B.2 immediately implies $$ Consequently, these assumptions already imply a uniform gradient bound and global Lipschitz continuity of the loss. The repeated description of these results as covering “gradient-unbounded” settings is therefore inaccurate.
-
An elementary stability argument appears to provide a better dependence on under the same assumptions and schedule. The preceding bounded-gradient implication also raises a concrete concern about the necessity and sharpness of the proposed framework. Let and write the SAM gradient as For two runs on neighboring datasets with shared initialization and sampling indices, a direct first-moment distance argument gives Here, the same-sample event contributes at most , while the replaced-sample event has probability and contributes at most . No Lipschitz assumption on the normalized gradient direction is needed. Set and . The outer interpolation yields Under the same condition as Theorem 3.1, . Using gives . Lipschitz continuity of the loss then implies $|\epsilon_{\mathrm{gen}}| \le GD_T=O!\left((\rho+1/n)T^{\alpha/4}\right).$ With the paper's choice , this becomes , with a better asymptotic dependence on for fixed , without an additional low-training-risk assumption or a restriction on . The authors should compare against this direct argument under identical assumptions and schedules.
In addition, the -dependent optimization–generalization trade-off was already a central result of Zhou et al. (2021).
Questions for the authors
- Is PL intended globally on or only on a restricted region? How do the authors avoid the constant-objective implication of global boundedness, smoothness, and PL? If a local formulation is intended, what guarantees that all relevant iterates and perturbations remain in the region?
- In what precise sense do the smooth nonconvex results allow unbounded gradients, given that Lemma B.2 and already imply a uniform gradient bound? How should Table 1 be revised?
- What settings differ between Figure 1 and Figure 2(d–f), and why do their final validation-loss rankings differ for the same reported architecture and dataset?
- Which experiments satisfy the assumptions and parameter conditions of the corrected theorems? Can the authors provide a controlled stability experiment that examines the claimed dependence on , , and ?
5 comments
Q1: Theorems 3.3 and 3.9 do not explicitly invoke the PL condition introduced in Assumption 2.5, although their proofs use it in Appendix B.3 and B.5. Without PL, the stated smoothness and boundedness assumptions are insufficient. If global PL is intended as a standing assumption, a more fundamental issue remains. As currently stated on , global upper boundedness, global smoothness, and global PL exclude any nonconstant empirical objective.
A1: Thank you for carefully examining our assumptions. We have revised Theorems 3.3 and 3.9 to explicitly require the PL condition and highlighted these changes in blue. We have also checked the main text and the appendix to ensure that the theorem statements are consistent with the assumptions used in their proofs.
To address the incompatibility identified by the reviewer, we have revised the proof framework and removed the global boundedness assumption . The revised optimization analysis uses the PL condition, smoothness, and the curvature lower bound . These conditions admit nonconstant objectives; an example is , [1].
[1] Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak–Łojasiewicz Condition.
Q2: The claimed removal of bounded-gradient assumptions is not supported by the smooth main results. Theorems 3.1, 3.3, 3.7, and 3.9 assume that each loss is nonnegative, globally -smooth, and bounded by one . Lemma B.2 immediately implies
Consequently, these assumptions already imply a uniform gradient bound and global Lipschitz continuity of the loss. The repeated description of these results as covering “gradient-unbounded” settings is therefore inaccurate.
A2: Thank you for pointing this out. We have revised the proof framework and removed the assumption . We have also revised the corresponding descriptions in the main text to state more precisely that our analysis removes the uniform bounded-gradient assumption.
Specifically, we use the self-bounding property of nonnegative smooth functions, , to control the gradient norm through the loss value. This allows us to derive stability bounds under smoothness, nonnegativity, and a finite initial empirical risk, , without requiring a uniform bound on the gradients. The latter requirement, imposed in previous analyses, can exclude even simple least-squares regression.
With the revised proof framework, we obtain the tighter stability bound , compared with the previous bound , where . Since controls only the magnitude of negative curvature, it can be substantially smaller than [2,3]. When , the exponent is much smaller than , yielding substantially slower growth with and thus a tighter asymptotic stability bound.
[2] Empirical Analysis of the Hessian of Over-Parametrized Neural Networks.
[3] An Investigation into Neural Net Optimization via Hessian Eigenvalue Density.
Q3: Under the same assumptions and step-size schedule, treating the SAM gradient as the original gradient plus a perturbation bounded by yields a direct first-moment stability bound: $ \epsilon_{ {gen}} =O\left((\rho+1/n)T^{\alpha/4}\right) $.
A3: Thank you for providing this direct argument. Under the original bounded-loss assumptions, it yields the stated bound . In the revised manuscript, we have removed the bounded-loss assumption and adjusted the proof framework accordingly.
Specifically, we use the Hessian lower bound to obtain
This replaces the expansion factor obtained from smoothness alone with . When , the resulting expansion factor is smaller.
To compare directly with your argument, we additionally impose the same bounded-gradient assumption and use the same schedule .
For , our argument yields the generalization bound , compared with from smoothness alone.
Thus, the exponent is reduced by a factor of . This refinement is relevant when the magnitude of the most negative Hessian eigenvalue is small relative to the smoothness constant, as suggested by empirical studies of neural-network Hessians [2, 3].
The derivation is as follows. Combining the two sampling cases gives
Iterating the inner-loop recursion and applying the Lookahead update yield
Since and , we obtain
The second inequality uses for .
By the -Lipschitz continuity of the loss,
In particular, setting gives .
Q4: Is PL intended globally on or only on a restricted region? How do the authors avoid the constant-objective implication of global boundedness, smoothness, and PL? If a local formulation is intended, what guarantees that all relevant iterates and perturbations remain in the region?
A4: The PL condition is intended to hold globally on . To address the issue raised by the reviewer, we have removed the global boundedness assumption on the loss. The revised assumptions require the loss to be smooth, nonnegative, and to satisfy the PL condition. Nonnegativity imposes only a lower bound, so these assumptions do not force the objective to be constant. A simple example is the least-squares loss. Since our formulation is global, no additional argument is needed to ensure that the iterates and perturbations remain within a restricted region.
Q5: In what precise sense do the smooth nonconvex results allow unbounded gradients, given that Lemma B.2 and already imply a uniform gradient bound? How should Table 1 be revised?
A5: We have removed the assumption from the revised analysis. The self-bounding inequality still holds, but without a uniform upper bound on , it no longer implies a uniform gradient bound. Thus, the revised results allow gradients that are not uniformly bounded, rather than requiring gradients to be unbounded.
We have also updated the stability bounds reported in Table 1 and highlighted the changes in blue.
Q6: What settings differ between Figure 1 and Figure 2(d–f), and why do their final validation-loss rankings differ for the same reported architecture and dataset?
A6: Thank you for pointing this out. This was a labeling error, which we have corrected in the revised manuscript. Specifically, Fig. 2(d–f) reports results for VGG-11 on CIFAR-100, whereas Fig. 1 reports results for ResNet-18 on CIFAR-100. The validation-loss rankings therefore correspond to different architectures. We have corrected the experimental description and provided more details of the VGG-11 experimental settings in Appendix A.2.
Q7: Which experiments satisfy the assumptions and parameter conditions of the corrected theorems?
A7: Our experiments primarily examine how affects optimization and generalization. The ResNet-18/SALA experiments on CIFAR-100 use cross-entropy loss, which is nonnegative and globally smooth with respect to the logits. Appendix A.5, “Additional Results under Convex Hölder-Continuous Gradients,” further considers a loss with Hölder-continuous gradients under the corresponding assumptions on the score functions. These experiments provide empirical support for the effects of on optimization and generalization.
Q8: Can the authors provide a controlled stability experiment that examines the claimed dependence on , , and ?
A8: Figures 1–5 illustrate the effect of training duration: as training progresses, the training loss decreases, consistent with the tighter optimization bound for larger , while the empirical generalization gap, measured as test loss minus training loss, tends to increase. These observations concern optimization and generalization rather than a direct measurement of stability.
We have also added experiments examining the effect of on generalization. And details are provided in Appendix A.5: “Additional Results on the Effect of Training Sample Size”. Specifically, we train ResNet-18 on CIFAR-10 using SALA and vary while fixing the number of inner updates at .
In practice, is typically set to a small constant and is not the primary focus of our analysis. We leave a controlled investigation of its effect to future work.
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 1/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
The paper uses stability and optimization bounds to study how the interpolation coefficient affects SALA and SGD-based Lookahead, with experiments illustrating the proposed trade-off.
Strengths
The unified treatment of the two optimizers is worthwhile, and the Hölder extension adds scope. The three-seed interpolation sweeps provide useful empirical motivation.
Weaknesses
-
The central excess-risk rates are not established as stated. Theorems 3.1/3.7 retain an empirical-risk term that disappears in Theorem 4.1/Corollary 4.3; optimization convergence does not justify removing it. Even granting Remark 3.2's risk assumption, the SALA bound retains a contribution. The advertised rate therefore needs an explicit joint growth regime. This directly affects the paper's main trade-off claim.
-
The learning-rate statement also needs correction: Theorems 3.3/3.9 allow any sufficiently small step size, whereas the proofs use a specific reciprocal schedule. The displayed residual does not vanish at .
-
Figures 1 and 2(d–f) are both labeled ResNet-18/SALA on CIFAR-100, yet give different validation-loss rankings. For , the final loss is approximately 2.3 in Fig. 1 and 1.7–1.8 in Fig. 2. Section 4.1 does not explain a protocol difference. Until reconciled, these figures cannot reliably support the empirical interpretation.
-
The “gradient-unbounded” description is misleading for the smooth results: global smoothness and already imply .
Questions for the authors
Under what explicit risk and growth assumptions do the full bounds yield Theorem 4.1 and Corollary 4.3?
4 comments
Q1: The central excess-risk rates are not established as stated. Theorems 3.1/3.7 retain an empirical-risk term that disappears in Theorem 4.1/Corollary 4.3; optimization convergence does not justify removing it. Even granting Remark 3.2's risk assumption, the SALA bound retains a contribution. The advertised rate therefore needs an explicit joint growth regime. This directly affects the paper's main trade-off claim.
A1: Thank you for this comment. We have revised Theorem 4.1 and Corollary 4.3 and re-examined the contribution of the empirical-risk term to the excess-risk bounds. Specifically, we show that the excess risk can be controlled by the optimization error and the average model stability: . The derivation is provided in Lemma B.7.
For SALA, we obtain the excess-risk bound , where captures the additional contribution of the empirical-risk term. When $ E[F_{S}(w(S))]=0$, the bound becomes . When $ E[F_{S}(w(S))]=O(1)$, it becomes . Both cases illustrate how controls the trade-off between optimization and generalization.
Regarding the contribution , our previous presentation did not make the joint growth assumption sufficiently explicit. We assume , under which the stability bound simplifies to . Thus, under this assumption, our discussion of the trade-off governed by remains valid. We have now explicitly stated this assumption in the text introducing Theorem 4.1 and Corollary 4.3.
Q2: The learning-rate statement also needs correction: Theorems 3.3/3.9 allow any sufficiently small step size, whereas the proofs use a specific reciprocal schedule. The displayed residual does not vanish at .
A2: Thank you for pointing this out. We have revised Theorems 3.3 and 3.9 to consistently specify the learning-rate schedule and have made this explicit in both the main text and the appendix. Since is typically a small positive constant, with in our experiments, this corresponds to an decay schedule, which is commonly used in both theory and practice.
In the revised manuscript, we have also relaxed the assumptions in the optimization analysis by removing the bounded-loss assumption . The resulting convergence bound is , which vanishes for every , including . This also broadens the range of covered by our analysis.
Q3: Figures 1 and 2(d–f) are both labeled ResNet-18/SALA on CIFAR-100, yet give different validation-loss rankings. For$\alpha=0.1$, the final loss is approximately 2.3 in Fig. 1 and 1.7–1.8 in Fig. 2. Section 4.1 does not explain a protocol difference. Until reconciled, these figures cannot reliably support the empirical interpretation.
A3: Thank you for pointing out this inconsistency. We have corrected it in the revised manuscript. Specifically, panels (d–f) of Fig. 2 show results for VGG-11 on CIFAR-100, whereas Fig. 1 shows results for ResNet-18 on CIFAR-100. The curves therefore correspond to different architectures, explaining the difference in validation losses. We have corrected the experimental description and provided further details of the VGG-11 experimental settings in Appendix A.2.
Q4: The “gradient-unbounded” description is misleading for the smooth results: global smoothness and already imply .
A4: Thank you for this clarification. We have revised the proof framework to remove the assumption . We have also replaced “gradient-unbounded” in the main text with more precise wording, such as “removing the bounded-gradient assumptions used in existing analyses.” Specifically, we use the self-bounding property of nonnegative smooth functions, , to control the gradient norm through the loss value, without imposing a uniform bounded-gradient assumption.
The revised analysis also yields a tighter stability bound, , compared with the previous bound , where .
Since controls only the magnitude of negative curvature, it can be substantially smaller than [1,2]. When , the exponent is much smaller than , yielding substantially slower growth with and thus a tighter asymptotic stability bound.
[1] Empirical Analysis of the Hessian of Over-Parametrized Neural Networks.
[2] An Investigation into Neural Net Optimization via Hessian Eigenvalue Density.
Q5: Under what explicit risk and growth assumptions do the full bounds yield Theorem 4.1 and Corollary 4.3?
A5: Thank you for this question. Our original statement omitted some assumptions. We have revised Theorem 4.1 and Corollary 4.3 accordingly and highlighted the changes in blue.
Specifically, we assume that satisfies -smooth, nonnegative, the PL condition, and . With the learning-rate schedule , perturbation radius , and assumptions and , the full bounds yield the revised results in Theorem 4.1 and Corollary 4.3.
Thank you again for your time and feedback. We would be grateful to hear whether our response and revisions have fully addressed your concerns. If any questions remain or any points need further clarification, we would welcome the opportunity to discuss them with you and provide additional explanations.
Thanks for the rebuttal and correcting the figure labeling mistake. Although the authors revised the theorems, added the missing assumptions, and reworked the proofs to remove the bounded-loss issue, these are major changes to the core theoretical results that need a full re-verification beyond the rebuttal period. So I keep my rating at 2.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Q1: I noticed most experiments are run with SGD, but I am not sure if the momentum has ever been used. If not, please run such a comparison and report whether the findings are universal.
A1: Thank you for this suggestion. We have added a comparison between SGD and SGD with momentum in Appendix A.3. Figure 3 shows consistent trends across both optimizer settings: increasing α accelerates optimization convergence, whereas decreasing α reduces the empirical generalization gap. Moreover, the observed dependence on α is consistent with the exponential dependence predicted by our theoretical bounds. These results support the optimization and generalization trade-off and indicate that our findings are universal across the SGD and momentum-SGD settings evaluated here.
Q2: In Section 4.1, the perturbation radii ρ is set to 0.0005, which is relatively small to the popular choice of 0.05. Please justify.
A2: Thank you for this comment. We have added experiments with ρ=0.05 using SALA and ResNet-18 on CIFAR-10 in Appendix A.4: “Additional Results with a Larger Perturbation Radius”. The observed trends remain consistent: increasing α accelerates optimization convergence, whereas decreasing α reduces the empirical generalization gap. The results are also consistent with the exponential dependence on α predicted by our theoretical bounds, supporting our findings at a larger perturbation radius.
Our original choice of ρ=0.0005 was motivated by the small-perturbation regime considered in our excess-risk analysis, where we set ρ=1/n. Although this fixed value does not equal 1/n for every dataset, it is closer to the theoretical scale than ρ=0.05 for the sample sizes considered. Moreover, comparable perturbation radii have also been used in prior work. For instance, Wang et al. [1] used ρ=0.0001 for their LookSAM baseline when training molecular graph transformer models, providing precedent for considering small perturbation radii in SAM-based methods.
[1] Efficient Sharpness-Aware Minimization for Molecular Graph Transformer Models.
Q3: Given the theoretical implications, is there any practical advice on the choice of α and k to balance the generalization and generalization?
A3: Our theoretical results suggest that the choice of α depends on several factors. Theorem 4.1 gives the excess-risk bound
If E[FS(w(S))]=0, balancing the optimization and generalization terms yields the heuristic choice
If E[FS(w(S))]>0 is fixed, the square-root generalization term nkT8L3ακ dominates the other generalization term. Balancing it with the optimization term yields
These estimates offer additional insight into the trade-off of α established above. Within the corresponding interior regime and with n and k fixed, shorter training horizons favor a larger α to accelerate optimization, whereas longer training horizons favor a smaller α to control the growing generalization contribution. See Theorem 4.1 and Remark 4.2 for details.
Our current analysis does not provide a principled rule for selecting the number of inner updates k. We acknowledge this limitation and leave a more detailed investigation of its selection to future work.