[논문 리뷰] Deriving Neural Scaling Laws from the statistics of natural language
본 논문은 매개변수 없이 데이터로 제한된 신경망 스케일링 지수를 두 가지 언어 통계(조건 엔트로피의 감소와 토큰 간 상관)의 감소와 연결하는 이론을 도출하고, TinyStories 및 WikiText에서 GPT-2/LLaMA 모델로 이를 검증한다.
Despite the fact that experimental neural scaling laws have substantially guided empirical progress in large-scale machine learning, no existing theory can quantitatively predict the exponents of these important laws for any modern LLM trained on any natural language dataset. We provide the first such theory in the case of data-limited scaling laws. We isolate two key statistical properties of language that alone can predict neural scaling exponents: (i) the decay of pairwise token correlations with time separation between token pairs, and (ii) the decay of the next-token conditional entropy with the length of the conditioning context. We further derive a simple formula in terms of these statistics that predicts data-limited neural scaling exponents from first principles without any free parameters or synthetic data models. Our theory exhibits a remarkable match with experimentally measured neural scaling laws obtained from training GPT-2 and LLaMA style models from scratch on two qualitatively different benchmarks, TinyStories and WikiText.
연구 동기 및 목표
- 데이터-제한 신경망 스케일링 지수를 결정하는 언어 통계를 식별한다.
- 언어 통사카로부터 데이터 크기가 손실 스케일링에 미치는 영향을 나타내는 매개변수 없는 공식을 도출한다.
- 다양한 모델 구조 및 데이터셋에 대한 실험으로 이론적 예측을 검증한다.
- 재스케일링 하에 n-그램 손실의 데이터 붕괴를 보여주고 데이터-제한 지수를 정량화한다.
제안 방법
- 손실을 horizon 기반 오차와 horizon 이내 오차로 분해한다.
- 두 가지 언어 통계: 맥락 길이 n에 따른 다음 토큰 엔트로피 H_n의 감소와 지연 n에 따른 토큰 간 상관 C(n)의 감소를 도입한다.
- 가정: H_n - H_infty ~ n^{-gamma} 및 ||C(n)||_op ~ n^{-beta}의 멱법칙 감소를 가정한다.
- n*(P) ~ P^{1/(2 beta)} 및 L_AR(P) - H_infty ~ P^{-gamma/(2 beta)}를 도출한다.
- 데이터-제한 지수 alpha_D = gamma/(2 beta)를 예측하고 L_n(P) ~ n^{-gamma} ell(P/n^{2 beta})의 스케일링 붕괴를 통해 검증한다.
- TinyStories와 WikiText에서 감마와 베타를 실험적으로 측정한 뒤, 예측된 alpha_D와 관찰된 스케일링을 비교한다.

실험 결과
연구 질문
- RQ1언어 모델에서 데이터-제한 신경망 스케일링 지수를 결정하는 두 가지 언어 통계는 무엇인가?
- RQ2측정된 언어 통계로부터 매개변수 없는 이론이 데이터-제한 손실 스케일링 지수 alpha_D를 예측할 수 있는가?
- RQ3gamma와 beta로 재스케일링할 때 n-그램 손실이 마스터 커브로 수렴하는가?
- RQ4예측된 alpha_D가 서로 다른 모델 아키텍처와 데이터셋에서 일관되는가?
주요 결과
- 감마 값: TinyStories γ ≈ 0.34; WikiText γ ≈ 0.27.
- 베타 값: TinyStories β ≈ 0.88; WikiText β ≈ 0.94.
- 예상 데이터-제한 지수 α_D ≈ 0.19로 TinyStories, ≈ 0.14로 WikiText이며 관찰된 손실과 일치한다.
- 재스케일링 하여 n-그램 손실은 단일 커브로 수렴한다 L_n(P) ≈ n^{-gamma} ell(P/n^{2 beta}).
- 자기회귀 손실은 서로 다른 컨텍스트 길이 T에 걸쳐 L_AR(P) - H_infty ~ P^{-gamma/(2 beta)}로 스케일링된다.
- 이 이론은 APE/RoPE가 적용된 GPT-2 스타일 및 LLaMA 아키텍처에서 두 데이터셋에 걸쳐 성립한다.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.