arXiv:2610.41074v1 cs.LG

어디서, 언제, 몇 비트인가? 확률적 반올림을 사용한 SGD의 스케일링 법칙

Where, When, and How Many Bits? Scaling Laws for SGD with Stochastic Rounding

Zhichao Wang, Michael W. Mahoney

제출 2026-11-02

한국어 초록

저정밀도 학습은 계산을 줄이지만 추가적인 반올림 오차를 도입한다. 본 논문은 모델 크기, 학습 시간, 정밀도가 변할 때 확률적 반올림(SR)이 예측 위험에 어떤 영향을 미치는지 이론적으로 연구한다. 고정된 무작위 첫 번째 층을 가지며, 멱법칙 스펙트럼을 갖는 새로운 가우시안 데이터에 대해 미니배치 SGD로 학습되는 2층 선형 신경망을 고려한다. 각 SGD 단계에서 순전파와 역전파 계산에 사용되는 특징은 독립적으로 반올림된다. 학습 전에 선택된 일반적인 학습률 및 정밀도 스케줄에 대해, 최종 모델과 균일 매개변수 평균화에 대한 예측 오차의 일치하는 상한과 하한을 증명한다. 고정된 정밀도와 일정한 학습률 및 매개변수 평균화의 경우, 최소 예측 오차가 연산량에 따라 어떻게 감소하는지를 도출하고, 이러한 최적 연산 스케일링을 달성하는 모델 크기와 학습 시간을 규명한다. 순전파 특징만 반올림하면 정확한 산술의 연산 스케일링이 유지되지만, 역전파 특징을 반올림하면 이것이 바뀐다. 매개변수 평균화는 어떤 계산이 더 높은 정밀도를 필요로 하는지와 더 높은 정밀도가 언제 유용한지를 바꿀 수 있다. 또한 본 결과는 주어진 정확도 허용 오차에 필요한 비트 수를 제시하고, 역전파 반올림이 학습률 스케줄 설계를 어떻게 바꿀 수 있는지를 보여 준다. 고정된 연산 예산에서, 더 큰 모델이나 더 긴 학습의 이점이 SR로 인한 추가 오차를 능가할 때에는 낮은 정밀도가 예측을 개선할 수 있다. 모델 시뮬레이션은 이러한 상충 관계를 보여 주며, MLP와 소형 트랜스포머를 이용한 실험은 이론 모델을 넘어선 반올림 선택을 검토한다.

원문 초록

Low-precision training reduces computation but introduces additional rounding error. We theoretically study how stochastic rounding (SR) affects prediction risk as model size, training time, and precision change. We consider a two-layer linear network with a fixed random first layer, trained by mini-batch SGD on fresh Gaussian data with power-law spectra. At each SGD step, the features used in forward and backward computations are rounded independently. We prove matched upper and lower bounds on prediction error for the final model and for uniform parameter averaging, with general learning-rate and precision schedules chosen before training. For fixed precisions and constant learning rates with parameter averaging, we derive how the smallest prediction error decreases with compute, and we identify model sizes and training times that achieve this optimal-compute scaling. Rounding only the forward features preserves the compute scaling of exact arithmetic, while rounding backward features changes it. Averaging parameters can change which computation needs higher precision and when higher precision is useful. Our results also give bit requirements for a given accuracy tolerance and show how backward rounding can change learning-rate schedule design. At a fixed compute budget, lower precision can improve prediction when the benefit of a larger model or longer training outweighs the additional SR-induced error. Model simulations illustrate these tradeoffs, and experiments with an MLP and a small transformer examine rounding choices beyond the theoretical model.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2610.41074v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.