논문 해설
Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization
반지름이 아닌 손실을 고정하라: Sharpness-Aware Minimization의 적대적 섭동 재고
- 연구 문제 SAM은 고정된 파라미터 반경 안의 최악 손실을 줄이지만, 그 적대적 섭동은 1차 선형화에 기대어 기울기 노름이 학습 신호를 지배합니다.
- 연구 방법 LE-SAM은 반경을 고정하는 대신 손실 공간의 예산 σ를 고정하고, 그 예산에 맞는 섭동 반경을 역산하여 일차 항을 상수로 만듭니다.
- 주요 결과 CIFAR-100과 ImageNet 분류 정확도에서 LE-SAM은 SAM보다 높은 값을 보고하며, Hessian 기반 지표에서도 더 낮은 곡률 신호를 보고합니다.
고정 반경 SAM의 질문
Sharpness-Aware Minimization(SAM)은 파라미터 공간에서 고정된 반경 ρ 안의 최악 손실을 줄이도록 설계된 방법입니다. 최악점은 일차 선형화된 대리 함수로 구하므로, 실제 학습 신호는 기울기 노름의 영향을 강하게 받습니다. 반면 평탄한 극소점은 극소점 주변의 이차 항, 즉 Hessian으로 기술되는 곡률의 개념입니다. 두 개념이 어긋난다는 것이 이 논문의 출발점입니다.
이 불일치는 근사 전개에서 드러납니다. 섭동 후 손실은 \(L_N(w)\approx L_S(w)+\rho\|\nabla L_S(w)\|_2+\tfrac12\hat\epsilon^\top H(w)\hat\epsilon\)으로 전개되며, 학습의 대부분은 첫째 항 \(\rho\|\nabla L_S(w)\|_2\)에 지배됩니다. 저자들은 곡률 항이 기울기가 작아지는 학습 후반부에서야 비교 가능해진다는 관찰을 인용하며, 고정 반경을 유지하는 기존 변형들도 이 구조를 대부분 공유한다고 설명합니다.
손실 예산으로 반경을 역산하는 LE-SAM
LE-SAM은 반경을 먼저 고정하는 대신 손실 공간의 예산 σ를 고정하고, 그 예산을 맞추는 섭동 반경을 역산합니다. 기울기 g에 대해 일차 손실 변화 \(g^\top\dot\epsilon_t\)가 σ와 같아지도록 두면 \(\rho_t=\sigma/(\|g\|_2+\varrho)\)가 되고, 섭동은 \(\dot\epsilon_t=\rho_t\,g/\|g\|_2\)로 주어집니다. 여기서 ϱ는 분모의 수치 안정화 상수입니다. 논문은 이 역산을 Polyak step-size가 목표 감소량을 고정하고 기울기 노름으로 나누어 스텝 크기를 정하는 발상에서 가져왔다고 설명합니다.

Figure 2 .Mechanism illustration of SAM vs. LE-SAM. Standard SAM fixes a perturbation radius in the parameter space and directly maps it to a loss increase dominated by the gradient norm. In contrast, LE-SAM fixes a budget in the loss space and back-solves the perturbation radius in the parameter space. Mapping back to the loss space removes the first-order gradient-dominated term and yields a second-order, curvature-dominated over-budget region. This mechanism-level redesign shifts the sharpness-aware objective from gradient magnitude dominated to more curvature information, matching the notion of flat minima.
원문 · CC BY 4.0 · Jinping Wang, Qinhan Liu, Zhiwu Xie, Zhiqiang Gao · Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.이렇게 만든 섭동 손실에서 일차 항은 \(L_S(w)+\sigma\)로 바뀌어 σ는 파라미터에 대해 상수가 됩니다. 저자들은 내부 최대화에서 얻은 섭동을 외부 최소화 단계에서 상수로 취급하여, 곡률 항 \(\tfrac12\dot\epsilon_t^\top H\dot\epsilon_t\)만 학습 신호로 남는다고 설명합니다. 실제 알고리즘은 학습 중 ρ_t를 ρ_max로 클리핑하고, σ를 마지막 n 에폭 동안 코사인 방식으로 0까지 어닐링합니다. CIFAR-10과 CIFAR-100의 ResNet-18 설정에서는 σ=0.35와 ρ_max=0.4를 사용했고, WideResNet-28-10과 PyramidNet-110 설정에서는 ρ_max 없이 σ=0.3을 사용했습니다.

Figure 1 .Illustration of loss-equated adversarial perturbation. LE-SAM fixes a budget in loss space and back-solves the corre- sponding adversarial perturbation radius in parameter space. This mechanism removes gradient norm dominated effects and shifts the optimization signal toward curvature-dominated (second-order) information. The shaded region indicates the excess loss beyond the budget due to the curvature term.
원문 · CC BY 4.0 · Jinping Wang, Qinhan Liu, Zhiwu Xie, Zhiqiang Gao · Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.
Table 8 .Training hyperparameters for CIFAR-10 and CIFAR-100 using LE-SAM.
원문 · CC BY 4.0 · Jinping Wang, Qinhan Liu, Zhiwu Xie, Zhiqiang Gao · Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.CIFAR와 ImageNet 분류 결과
CIFAR-100에서 LE-SAM은 세 백본 모두에서 SAM보다 높은 정확도를 보고합니다. ResNet-18에서는 81.51로 SAM의 80.17보다 1.34 높고, WideResNet-28-10에서는 84.91로 83.42보다 1.49 높으며, PyramidNet-110에서는 85.91로 84.46보다 1.45 높습니다. 이 값들은 각 방법을 세 개의 random seed로 평가한 평균이며, 같은 표의 Eigen-SAM, ASAM, ESAM, F-SAM과 비교해서도 가장 높은 값으로 보고됩니다.

Table 1 .Classification accuracies on the CIFAR-10 and CIFAR-100 datasets.
원문 · CC BY 4.0 · Jinping Wang, Qinhan Liu, Zhiwu Xie, Zhiqiang Gao · Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 4 .Test accuracy (%) comparison on CIFAR-100.
원문 · CC BY 4.0 · Jinping Wang, Qinhan Liu, Zhiwu Xie, Zhiqiang Gao · Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.ImageNet에서는 ResNet-50을 처음부터 학습했을 때 LE-SAM이 77.41로 SAM의 76.70보다 0.71 높고, ResNet-101에서는 79.31로 SAM의 78.54보다 0.77 높습니다. CIFAR-10에서도 LE-SAM이 표의 최고 값을 보이지만, 차이는 대부분 0.1에서 0.2 수준입니다. 따라서 CIFAR-100과 ImageNet의 개선폭과 CIFAR-10의 개선폭은 구분해서 읽어야 합니다.

Table 2 .Classification accuracies (%) on ImageNet
원문 · CC BY 4.0 · Jinping Wang, Qinhan Liu, Zhiwu Xie, Zhiqiang Gao · Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.Hessian 지표로 본 평탄성 분석
논문은 정확도 비교에 더해 평탄성을 직접 살핍니다. CIFAR-100에서 ResNet-18을 200 에폭 학습한 뒤 SGD, SAM, LE-SAM의 Hessian을 분석했으며, 상위 Hessian 고유값은 power iteration으로, Hessian trace는 Hutchinson 방법으로 계산했습니다. 이 분석에서 LE-SAM으로 학습한 모델은 가장 낮은 최대 Hessian 고유값과 Hessian trace를 보였다고 보고됩니다.

Figure 3 .(a) shows the distribution of top eigenvalues and the trace of Hessian at epoch 100 and 200 on CIFAR-100 with SAM, and our LE-SAM. (b) track the LPF value for both SAM and LE-SAM across 200 epochs
원문 · CC BY 4.0 · Jinping Wang, Qinhan Liu, Zhiwu Xie, Zhiqiang Gao · Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.같은 학습 과정에서 LPF 값도 추적되었으며, LE-SAM의 LPF 값이 학습 중 더 낮게 나타났다고 보고됩니다. 저자들은 이를 LE-SAM이 더 평탄한 해로 유도한다는 해석의 근거로 사용합니다. 다만 이 분석은 하나의 백본과 데이터셋에서 얻은 관찰이므로, 평탄성 지표의 낮은 값이 모든 설정에서 일반화 성능의 향상을 보장한다고 읽지는 않습니다.
적대적 공격 강건성
강건성 평가에서는 CIFAR-10과 CIFAR-100에 대해 L2와 L∞ PGD 공격을 적용하고 SAM과 비교했습니다. SAM은 ρ=0.4로 두었고, LE-SAM은 σ를 0.2와 0.4로 설정했습니다. CIFAR-10의 L∞ PGD 결과에서 LE-SAM은 57.91로 SAM의 55.47보다 높았고, L2 PGD 결과에서는 65.12로 64.33보다 높았습니다.

Table 5 .Robust accuracy evaluation on CIFAR-10/100 dataset.
원문 · CC BY 4.0 · Jinping Wang, Qinhan Liu, Zhiwu Xie, Zhiqiang Gao · Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.이 결과는 SAM 대비 강건성 비교이며, 공격 단계 크기 선택은 원문이 참조한 저장소의 평가 스크립트를 따랐다고 밝혀져 있습니다. 따라서 이 결과를 임의의 공격 설정으로 일반화하지 않습니다.
적용 범위와 남은 질문
이 방법의 실질적 부담은 반경이 기울기 노름이 작을 때 과도하게 커질 수 있다는 점입니다. 그래서 논문은 반경 클리핑과 손실 예산 어닐링을 안정화 장치로 채택했으며, 이 장치들이 학습 안정성을 위해 필요하다고 설명합니다. 또한 σ의 민감도는 CIFAR-100과 ResNet-18에서 0.3에서 0.5 범위로 살핀 부록 분석에서 다루어졌습니다.

Figure 7 .Sensitivity analysis of loss budgetσ
원문 · CC BY 4.0 · Jinping Wang, Qinhan Liu, Zhiwu Xie, Zhiqiang Gao · Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.계산 비용은 같은 원본 학습 루프를 재사용한 측정에서 ResNet-18의 에폭당 시간이 SAM의 9.06초에서 LE-SAM의 9.32초로, PyramidNet에서는 88.82초에서 89.72초로 늘어난 것으로 보고됩니다. 이는 저자들의 하드웨어 측정이며, 다른 환경의 비용과 직접 비교하지 않아야 합니다.

Table 6 .Training time per epoch of SAM and LE-SAM measured by directly reusing their original two-pass CIFAR-100 training loops. For each architecture, we run 5 epochs in total, and report the average time.
원문 · CC BY 4.0 · Jinping Wang, Qinhan Liu, Zhiwu Xie, Zhiqiang Gao · Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.논문 정보
- 저자
- Jinping Wang, Qinhan Liu, Zhiwu Xie, Zhiqiang Gao
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2026년 5월 11일
- 등록일
- 2026년 10월 29일
- 수정일
- 2026년 5월 11일
- 버전
- v1
- arXiv
- 2605.10183
- 분류
- cs.LG
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
Sharpness-Aware Minimization (SAM) improves generalization by minimizing the worst-case loss within a fixed parameter-space radius neighborhood. SAM and its variants mainly rely on a first-order linearized surrogate, while flat minima are inherently a second-order (curvature) notion.We revisit this mismatch and propose Loss-Equated SAM (LE-SAM), which inverts the traditional SAM mechanism that fixed perturbation radius with a fixed loss-space budget,effectively removing gradient-norm-dominated learning signals and shifting optimization toward curvature-dominated terms. Extensive experiments across diverse benchmarks and tasks demonstrate the strong generalization ability of LESAM that consistently outperforms SAM and even its variants, achieving the state-of-the-art performance.
원문 인용
Jinping Wang, Qinhan Liu, Zhiwu Xie, Zhiqiang Gao (2026). Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization. arXiv:2605.10183v1. https://arxiv.org/abs/2605.10183v1
BibTeX
@misc{wang2026loss,
title = {{Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization}},
author = {Jinping Wang and Qinhan Liu and Zhiwu Xie and Zhiqiang Gao},
year = {2026},
eprint = {2605.10183},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2605.10183v1}
}