[논문 리뷰] Adam Improves Muon: Adaptive Moment Estimation with Orthogonalized Momentum
이 논문은 orthogonalized momentum과 adaptive moment estimation을 결합한 새로운 최적화 기법 NAMO와 NAMO-D를 도입하고, 이들에 대한 이론적 수렴성과 GPT-2 사전학습에서 AdamW 및 Muon 기초 baselines 대비 empirically 얻는 이득을 보여준다.
Efficient stochastic optimization typically integrates an update direction that performs well in the deterministic regime with a mechanism adapting to stochastic perturbations. While Adam uses adaptive moment estimates to promote stability, Muon utilizes the weight layers' matrix structure via orthogonalized momentum, showing superior performance in large language model training. We propose a new optimizer and a diagonal extension, NAMO and NAMO-D, providing the first principled integration of orthogonalized momentum with norm-based Adam-type noise adaptation. NAMO scales orthogonalized momentum using a single adaptive stepsize, preserving orthogonality while improving upon Muon at negligible additional cost. NAMO-D instead right-multiplies orthogonalized momentum by a diagonal matrix with clamped entries. This design enables neuron-wise noise adaptation and aligns with the common near block-diagonal Hessian structure. Under standard assumptions, we establish optimal convergence rates for both algorithms in the deterministic setting and show that, in the stochastic setting, their convergence guarantees adapt to the noise level of stochastic gradients. Experiments on pretraining GPT-2 models demonstrate improved performance of both NAMO and NAMO-D compared to the AdamW and Muon baselines, with NAMO-D achieving further gains over NAMO via an additional clamping hyperparameter that balances the competing goals of maintaining a well-conditioned update direction and leveraging fine-grained noise adaptation.
연구 동기 및 목표
- deterministic regime에서의 업데이트 방향이 stochastic gradient noise에 적응하면서 효과적일 필요성에 대한 동기 부여.
- NAMO를 orthogonalized momentum의 norm 기반 적응 스케일링으로 제시하여 안정성과 성능을 개선.
- NAMO-D를 대각 확장으로 도입하여 업데이트 조건성을 유지하면서 뉴런 단위의 노이즈 적응을 가능하게 함.
- 두 알고리즘에 대해 결정론적 및 확률적 설정에서 이론적 수렴 보장을 제공.
- GPT-2 사전학습에서 AdamW 및 Muon 기반선 대비 실험적 개선을 입증합니다.
제안 방법
- NAMO를 업데이트에서 orthogonalized momentum에 노름 기반의 적응 스칼라를 곱하는 방식으로 정의합니다. Θ_t = Θ_{t-1} - η α_t O_t 와 같은 형태에서 α_t = (||M_t|| / (sqrt(v_t) + ε))입니다.
- NAMO-D를 orthogonalized momentum에 우측 곱하기 대각 행렬 D_t를 적용하여 뉴런 단위의 적응하는 스텝 사이즈를 달성합니다.
- 그레이디언트의 편향 보정으로 hat M_t, hat v_t를 얻기 위해 1st 및 2nd 모멘트 추정치(M_t와 v_t)와 그 노름을 계산합니다.
- 업데이트 방향을 얻기 위해 Ortho(M_t)를 통해 모멘텀을 직교화합니다.
- 결정론적 및 확률적 설정에서 표준 매끄러움 가정 및 노이즈의 한계 분산 가정 하에 NAMO와 NAMO-D의 수렴 속도를 확립합니다.
- 실험에서 사용된 직교화의 실용적 근사(예: Newton–Schulz 반복법)를 설명합니다.
실험 결과
연구 질문
- RQ1직교화된 모멘트를 원리적으로 Adam 계열의 분산 적응과 효과적으로 결합할 수 있을까?
- RQ2NAMO와 NAMO-D가 AdamW 및 Muon과 비교해 동일하거나 더 나은 증명 가능한 수렴 보장을 제공하는가?
- RQ3이 방법들이 GPT-2와 같이 대규모 언어 모델 사전학습 작업에서 실용적인 성능 향상을 가져오는가?
- RQ4(NAMO-D)의 뉴런 단위 적응이 근사적 블록 대각 Hessian 구조 하에서 스칼라 적응(NAMO)보다 뚜렷한 이점을 제공하는가?
주요 결과
- NAMO 및 NAMO-D가 GPT-2 사전학습에서 AdamW 및 Muon 기반선 대비 성능 향상을 달성합니다.
- NAMO는 추가 비용 없이 직교화된 모멘텀에 하나의 적응적 스텝사이즈를 제공합니다.
- NAMO-D는 대각 스케일링과 업데이트를 잘 조건화시키는 클램핑 메커니즘을 통해 뉴런 단위의 더 세밀한 노이즈 적응을 제공합니다.
- 두 알고리즘에 대해 결정론적 설정에서 최적의 수렴 속도와 확률적 설정에서 노이즈 적응 보장을 이론적으로 제시합니다.
- NAMO-D는 추가적인 클램핑 하이퍼파라미터로 인해 NAMO보다 조건화와 노이즈 적응 간의 균형에서 추가 이득을 제공합니다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.