ETOC
A metric proposed based on ideas from correlation functions in quantum many-body physics, used to detect and predict in real time the onset of grokking during Transformer training by measuring the evolution of statistical correlation strength among key vectors and between query and key vectors in attention matrices.
Timeline (last 90 days)
The paper introduces the equal-time ordered correlation function (ETOC) to detect grokking in real time.
ETOC captures changes in key-key correlations before grokking occurs and observes changes in query-key correlations after grokking occurs.
ETOC's computation relies on precise tracking of the attention matrix, and its overhead on large-scale models may be relatively high.
The current experiments are limited to modular arithmetic tasks, and generalization to practical scenarios such as natural language processing remains unclear.
All Facts (4)
The paper introduces the equal-time ordered correlation function (ETOC) to detect grokking in real time.
50%UnverifiedETOC captures changes in key-key correlations before grokking occurs and observes changes in query-key correlations after grokking occurs.
50%UnverifiedETOC's computation relies on precise tracking of the attention matrix, and its overhead on large-scale models may be relatively high.
50%UnverifiedThe current experiments are limited to modular arithmetic tasks, and generalization to practical scenarios such as natural language processing remains unclear.
50%