PRISM · Statistical-Mechanics PlaygroundPRISM · 통계역학 놀이터
Loss curves look smooth from far away, but up close learning often happens in sudden steps. A deep network descending its loss lands on saddle points, sits nearly still, then abruptly slides off as it discovers the next feature — a staircase of transitions. Grokking is the dramatic version: training accuracy is solved early, yet generalization arrives much later as a sharp phase transition. Here a deep linear network learns a task one mode at a time — watch the plateaus and the jumps.손실 곡선은 멀리서 보면 매끄럽지만, 가까이서 보면 학습은 흔히 갑작스러운 단계로 일어난다. 손실을 내려가는 심층 신경망은 안장점에 내려앉아 거의 멈춰 있다가, 다음 특징을 발견하는 순간 급격히 미끄러진다 — 전이의 계단이다. 그로킹은 그 극적인 형태다: 훈련 정확도는 일찍 해결되지만 일반화는 훨씬 뒤에 날카로운 상전이로 도착한다. 여기서 심층 선형 신경망이 한 번에 한 모드씩 과제를 배운다 — 정체와 도약을 지켜보라.
Task spectrum과제 스펙트럼
From small initialization, gradient descent visits a sequence of saddle points of the loss. Near each, the gradient is tiny — a plateau — until one direction grows exponentially and the network snaps to the next saddle. Each snap is a feature (a singular mode) being learned, in order of its strength.작은 초기값에서 시작하면 경사 하강은 손실의 안장점들을 차례로 방문한다. 각 안장점 근처에서는 기울기가 아주 작아 정체가 생기고, 어느 한 방향이 지수적으로 자라나면 신경망이 다음 안장점으로 튕겨 간다. 각 튕김은 강도 순서대로 하나의 특징(특이 모드)이 학습되는 것이다.
In grokking, the network first memorizes — training loss is solved fast — but keeps evolving under weight decay until its weight norm crosses into a region where a simple, generalizing solution takes over, and test accuracy jumps long afterward. Same idea as here, but the delayed transition is in generalization, not just the fit.그로킹에서는 신경망이 먼저 암기해 훈련 손실을 빠르게 해결하지만, 가중치 감쇠 아래 계속 변화하다가 가중치 크기가 단순하고 일반화되는 해가 우세해지는 영역으로 넘어가면 한참 뒤에 테스트 정확도가 도약한다. 여기와 같은 원리지만, 지연된 전이가 단순한 적합이 아니라 일반화에서 일어난다.
Sudden transitions mean a flat validation curve doesn't prove a model is done learning — capabilities can emerge abruptly with more training or scale. For biomedical models trained on scarce data, knowing that generalization can arrive late argues for patience, weight decay, and watching more than just the training loss.갑작스러운 전이는 검증 곡선이 평평하다고 학습이 끝났다는 뜻이 아님을 의미한다 — 능력은 더 많은 학습이나 규모와 함께 급작스레 나타날 수 있다. 희소한 데이터로 학습하는 biomedical 모델에서는, 일반화가 늦게 도착할 수 있음을 아는 것이 인내·가중치 감쇠·훈련 손실만이 아닌 관찰의 필요성을 뒷받침한다.