학술

Grokking as a Subspace Search: Computing the Destination Before Training

arXiv CS.AI
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

Abstract

Grokking is the phenomenon in which a neural network generalizes long after it has memorized its training data, and no explanation of the delay has determined before training where the network is heading.

We show that on group tasks this destination can be computed from the task itself.

The symmetry of the task fixes one family of candidate subspaces, and two requirements of the task select from it the subspace that we call the target subspace.

This lets us test the hypothesis that the delay is a search for the target subspace, and that the progress of this search sets when the network generalizes.

Restricted to the target subspace, the network generalizes in $150$ steps instead of $64{,}050$, before it has even fit its training set.

With the target subspace ablated, it stops at an accuracy ceiling that we compute before training and that no trained network exceeds.

In vanilla training, the network moves toward the target subspace during the delay, and moving it there during training brings generalization earlier.

On every group task that we tested, grokking is a search for the target subspace, and the delay is the time that this search takes.

관련 뉴스