CASAM: Consistency-Anchored Sharpness-Aware Minimization for Improved Model Generalization
Update NeurIPS 2026 submission WABAB6cGkw: 10 notes
@openreview[bot] · 2026-11-24 15:52 UTC · 4714e1169023 ·
reviews/openreview/wabab6cgkw/notes/dlcuoty3at.json added
+++ b/reviews/openreview/wabab6cgkw/notes/dlcuoty3at.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "DlCuotY3aT",+ "replyTo": "2ntNqV5WI3",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer QmMX",+ "content": {+ "comment": "Thank you for the detailed response and the substantial additional results. The new ablations, broader evaluations, and scheduling experiment have addressed several of my concerns and strengthened the empirical support for the work. Some limitations remain in the generality of the theoretical analysis and hyperparameter selection, so I will maintain my score of 4."+ },+ "createdAt": "2026-08-03T15:17:54.822Z",+ "modifiedAt": "2026-11-19T17:00:17.716Z",+ "url": "https://openreview.net/forum?id=WABAB6cGkw¬eId=DlCuotY3aT",+ "license": "CC-BY-4.0"+}
reviews/openreview/wabab6cgkw/notes/fn2a6wufn2.json modified
+++ b/reviews/openreview/wabab6cgkw/notes/fn2a6wufn2.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair UBim","content": {- "metareview": "This paper revisits why SAM improves generalization, arguing that existing flatness/gradient norm/Hessian based explanations are incomplete. It introduces gradient consistency which is the alignment between per example gradients and the mini batch gradient, and theoretically decompose empirical sharpness into a gradient norm term and a KL-divergence term between predictions before/after perturbation. Motivated by this, it proposes CASAM, which reweights training examples by gradient consistency in the SAM descent step. The anti-overfitting/gradient consistency lens on SAM is an interesting and underexplored angle, and that CASAM is simple and cheap to integrate. However there are concerns regarding this work such as: \n\n1. Marginal/unclear empirical gains at scale: CASAM's improvements over SAM and other variants are small and it is not clear whether these differences are statistically meaningful. It would be helpful to add confidence interval to the reporting results and also comparision agains other baselines. \n\n2. Lack of principled selection guidance: CASAM introduces a hyperparameter and a squeezing function choice without a clear rule for setting them across tasks, noise levels, or training stages. \n\n3. Theoretical assumptions may not hold in realistic training regimes. It would be beneficial for the paper to disscuss more about their assumptions. Also the theoretial contribution or novelty of the work seems incremental. \n\n4. Incomplete Related work coverage: a bunch of related works are not covered by the paper. \n\n5. Justification for the main idea: the main idea of the paper i.e. increased angular separation between per-example and mini batch gradients should reduce overfitting needs more clarification and justification."+ "metareview": "This paper revisits why SAM improves generalization, arguing that existing flatness/gradient norm/Hessian based explanations are incomplete. It introduces gradient consistency which is the alignment between per example gradients and the mini batch gradient, and theoretically decompose empirical sharpness into a gradient norm term and a KL-divergence term between predictions before/after perturbation. Motivated by this, it proposes CASAM, which reweights training examples by gradient consistency in the SAM descent step. The anti-overfitting/gradient consistency lens on SAM is an interesting and underexplored angle, and that CASAM is simple and cheap to integrate. However there are concerns regarding this work such as: \n\n1. Marginal/unclear empirical gains at scale: CASAM's improvements over SAM and other variants are small and it is not clear whether these differences are statistically meaningful. It would be helpful to add confidence interval to the reporting results and also comparision agains other baselines. \n\n2. Lack of principled selection guidance: CASAM introduces a hyperparameter and a squeezing function choice without a clear rule for setting them across tasks, noise levels, or training stages. \n\n3. Theoretical assumptions may not hold in realistic training regimes. It would be beneficial for the paper to disscuss more about their assumptions. Also the theoretial contribution or novelty of the work seems incremental. \n\n4. Incomplete Related work coverage: a bunch of related works are not covered by the paper. \n\n5. Justification for the main idea: the main idea of the paper i.e. increased angular separation between per-example and mini batch gradients should reduce overfitting needs more clarification and justification.",+ "final_justification": "Most reviewers agreed that the paper deserves acceptance. After carefully reading the rebuttal and subsequent discussion, I also share this view. However, I recommend that the authors address the reviewers’ feedback in the final version of the paper, with particular emphasis on:\n\n\n1- Additional experiments demonstrating the significance and consistency of the gains achieved by the proposed method should be included.\n\n2- The paper should provide a clearer discussion of the novelty of the proposed approach and its differences from existing methods.\n\n3- The authors should incorporate the missing related work and provide a more comprehensive discussion of how the proposed method relates to and differs from prior approaches.\n\n4- Additional experiments and discussion evaluating the robustness of the proposed method with respect to different hyperparameter choices should be included."},"createdAt": "2026-07-22T19:09:26.442Z",- "modifiedAt": "2026-11-18T15:23:26.681Z",+ "modifiedAt": "2026-11-19T05:02:09.397Z","url": "https://openreview.net/forum?id=WABAB6cGkw¬eId=FN2A6wufN2","license": "CC-BY-4.0"}
reviews/openreview/wabab6cgkw/notes/grarciikfx.json added
+++ b/reviews/openreview/wabab6cgkw/notes/grarciikfx.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "GRArCiiKFx",+ "replyTo": "onOt3z1XLe",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Dear reviewer,\n\nWe are glad to hear that most of your concerns are addressed. Many thanks for your time and effort!\n\nBest wishes"+ },+ "createdAt": "2026-08-02T02:53:08.854Z",+ "modifiedAt": "2026-11-19T17:00:17.768Z",+ "url": "https://openreview.net/forum?id=WABAB6cGkw¬eId=GRArCiiKFx",+ "license": "CC-BY-4.0"+}
reviews/openreview/wabab6cgkw/notes/hswr5pob3u.json added
+++ b/reviews/openreview/wabab6cgkw/notes/hswr5pob3u.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "hswR5PoB3U",+ "replyTo": "ISGmQjeMw9",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer Y9Wo",+ "content": {+ "title": "Thank you for the rebuttal",+ "comment": "Dear Authors,\n\nThank you for the detailed rebuttal. I am happy with the justifications and willing to vote for acceptance. \n\nJust one further question: can the proposed framework be adapted across architectures such as language models and scaled to LLMs?\n\nBest,\nReviewer."+ },+ "createdAt": "2026-07-30T07:23:10.738Z",+ "modifiedAt": "2026-11-19T17:00:17.859Z",+ "url": "https://openreview.net/forum?id=WABAB6cGkw¬eId=hswR5PoB3U",+ "license": "CC-BY-4.0"+}
reviews/openreview/wabab6cgkw/notes/htnhil1nbm.json added
+++ b/reviews/openreview/wabab6cgkw/notes/htnhil1nbm.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "htnHiL1NBM",+ "replyTo": "SZnw5vIe3q",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We are glad to hear that all concerns are addressed. Many thanks for your time and effort!"+ },+ "createdAt": "2026-07-29T08:50:45.509Z",+ "modifiedAt": "2026-11-19T17:00:17.993Z",+ "url": "https://openreview.net/forum?id=WABAB6cGkw¬eId=htnHiL1NBM",+ "license": "CC-BY-4.0"+}
reviews/openreview/wabab6cgkw/notes/mvkjalbymu.json added
+++ b/reviews/openreview/wabab6cgkw/notes/mvkjalbymu.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "MVkJAlBYMU",+ "replyTo": "FN2A6wufN2",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Dear AC, \n\nMany thanks for handling our paper. In the rebuttal, we have responded to the raising concerns point-by-point, which can be summarized as follows.\n\n**(Q1)**: Marginal/unclear empirical gains at scale....It would be helpful to add confidence interval to the reporting results and also comparision agains other baselines.\n\n**(R1)**: We agree that random seed indeed affects the final accuracy. Our results are actually repeated with three different random seeds, and the gains are thus statistically reliable. Most results are already reported with confidence interval. **In the revision, we have added the missing error bar to Figure 5a**. \nMoreover, the improvement of CASAM over other SAM variants is also substantial. For example, compared to the recent VASSO optimizer, CASAM improves the ImageNet accuracy by ~0.5% and the noisy cifar10 accuracy by ~2%. Particularly, when integrating CASAM with other SAM variants, a preliminary experiment on CIFAR-100 shows that CASAM can further improve the accuracy by up to ~0.8%. This suggests that **CASAM is not a replacement but a complement to other SAM variants**.\n\n**(Q2)**: Lack of principled selection guidance...\n\n**(R2)**: We understand the concern regarding the introduction of new hyperparameters. Apart from the reported results on vision datasets, we also investigated the robustness of $\\gamma$ and the squeezing functions for LSTM on Penn Treebank. The results suggest that CASAM is robust to the choices of the hyperparameters. That is, **without extensive dataset-specific tuning, a principled and safe selection strategy is to select $\\gamma$ from {-2, -1}, and use arctan as the default squeezing function**.\n\n**(Q3)**: Theoretical assumptions may not hold in realistic training regimes. It would be beneficial for the paper to disscuss more about their assumptions. Also the theoretial contribution or novelty of the work seems incremental.\n\n**(R3)**: In standard SAM applications, the perturbation radius $\\rho$ is kept deliberately small because SAM with a large $\\rho$ performs even worse than SGD. **Under these small-perturbation regimes and particularly in the late training stages**, second-order approximations remain a standard, reliable proxy for local landscape geometry. \n\nMoreover, the novelty of our work are two-fold: **on one hand, we build a quantitative relation between the sharpness and the first- and second-order information of the loss function**. This is dramatically different from previous works that model SAM as an SDE, where the first- and second-order information (e.g. Hessian and covariance) are encoded in the drift and diffusion terms. In contrast, our work can quantify them and distinguish which one is dominating over another during training. **On the other hand, $\\mathcal{C}(z)$ further quantifies to what extent each example contributes to the mini-batch gradient, which is quite useful for data reweighting**. This decomposition paves the way to analyze dynamic gradient consistency at the instance level, rather than analyzing the average loss landscape flatness. \n\n**(Q4)**: Incomplete Related work coverage...\n\n**(R4)**: We agree that the related work appears incomplete as the SAM literature is quickly evolving. In the revision, we have included and discussed these papers. Particularly, we have included two out of them (namely, $\\delta$-SAM and SANER ) as new baselines.\n\n**(Q5)**: Justification for the main idea: the main idea of the paper i.e. increased angular separation between per-example and mini batch gradients should reduce overfitting needs more clarification and justification.\n\n**(R5)**: To clarify, we can assume that the per-example gradient is composed of two parts: **features shared across the mini-batch examples and features specific only to itself**. Now we observe that SAM increases the angular separation. This indicates that SAM encourages the mini-batch gradient to be represented by the shared features and to eliminate those features that are sample-specific. As a result, it steers the updates to be less optimized for any individual example. This is particularly useful during late training, where clean examples tend to have small gradients and noisy or atypical examples often produce large, distinctive gradients. If those large or distinctive gradients remain highly aligned with the mini-batch update, the optimizer continues to adjust parameters to fit them. Increasing angular separation means those distinctive gradients contribute less to the update direction, slowing memorization of outliers or mislabeled samples. **This aligns well with the idea that overfitting arises from fitting idiosyncratic patterns that do not generalize**.\n\nAt last, we want to thank you once again for your time and effort. And, please let us know if you have further questions."+ },+ "createdAt": "2026-07-29T06:21:54.510Z",+ "modifiedAt": "2026-11-19T17:00:18.032Z",+ "url": "https://openreview.net/forum?id=WABAB6cGkw¬eId=MVkJAlBYMU",+ "license": "CC-BY-4.0"+}
reviews/openreview/wabab6cgkw/notes/niznwthc4r.json added
+++ b/reviews/openreview/wabab6cgkw/notes/niznwthc4r.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "NIZnWThC4r",+ "replyTo": "hswR5PoB3U",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Dear reviewer,\n\nMany thanks for the positive reply and we are glad to hear that your conerns are addressed. Regarding to your question, we believe the answer is yes. In Appendix A, we have trained a LSTM network on Penn Treebank and a T5 network on BoolQ datasets. Tables A.1 and A.2 indicate that CASAM outperms SAM, for exmple, by reducing the PPL from **67.31 to 65.66** for Adam and from **67.35 to 64.91** for AdaBelief. Moreover, for the popular transformer-based model, NanoGPT-124M (block_size is truncated to 256 for a quick run), the best validation losses of AdamW, SAM, and CASAM are 3.6232, 3.6199, **3.6095**. This implies that CASAM remains to be effective in LLM training. But, it is worth noting that SAM and CASAM both need to backpropagate the gradient twice for each parameter update, which poses a great challenge for practical LLM training. \n\nBest wishes"+ },+ "createdAt": "2026-07-30T09:16:55.583Z",+ "modifiedAt": "2026-11-19T17:00:18.057Z",+ "url": "https://openreview.net/forum?id=WABAB6cGkw¬eId=NIZnWThC4r",+ "license": "CC-BY-4.0"+}
reviews/openreview/wabab6cgkw/notes/onot3z1xle.json added
+++ b/reviews/openreview/wabab6cgkw/notes/onot3z1xle.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "onOt3z1XLe",+ "replyTo": "kvBwp8PCPf",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer tkKp",+ "content": {+ "comment": "I would like to thank the author for the detailed rebuttal. They have addressed most of my concerns, making the core inutition behind their contribution much clearer. Moreover, the extended experimental analysis and the proof they provided on the computational complexity of CASAM are fundamentally improving the contribution. Therefore, I will raise my score and argue for paper acceptance."+ },+ "createdAt": "2026-08-01T15:02:17.855Z",+ "modifiedAt": "2026-11-19T17:00:18.013Z",+ "url": "https://openreview.net/forum?id=WABAB6cGkw¬eId=onOt3z1XLe",+ "license": "CC-BY-4.0"+}
reviews/openreview/wabab6cgkw/notes/skaiec12h3.json added
+++ b/reviews/openreview/wabab6cgkw/notes/skaiec12h3.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "skAieC12h3",+ "replyTo": "DlCuotY3aT",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Dear reviewer,\n\nWe are glad to hear that most of your concerns are addressed. In the revision, we will give more clarifications on the remaining aspects.\nMany thanks for your time and effort!\n\nBest wishes"+ },+ "createdAt": "2026-08-03T23:53:26.173Z",+ "modifiedAt": "2026-11-19T17:00:17.863Z",+ "url": "https://openreview.net/forum?id=WABAB6cGkw¬eId=skAieC12h3",+ "license": "CC-BY-4.0"+}
reviews/openreview/wabab6cgkw/notes/sznw5vie3q.json added
+++ b/reviews/openreview/wabab6cgkw/notes/sznw5vie3q.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "SZnw5vIe3q",+ "replyTo": "wiIeoBVMWX",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer papn",+ "content": {+ "title": "Response to the rebuttal",+ "comment": "I checked the rebuttal. I have no further concerns."+ },+ "createdAt": "2026-07-29T07:26:48.156Z",+ "modifiedAt": "2026-11-19T17:00:18.019Z",+ "url": "https://openreview.net/forum?id=WABAB6cGkw¬eId=SZnw5vIe3q",+ "license": "CC-BY-4.0"+}