Two Training Clocks in Machine Learning
- Two Training Clocks are a framework that decomposes learning into two distinct phases—fast behavioral adaptation (e.g., classifier or rule clocks) and slower structural or representational refinement.
- The approach is exemplified in grokking, generative modeling, and reinforcement learning, where metrics like cross-entropy loss, stable rank, and state-specific step sizes reveal asymmetrical training dynamics.
- Beyond ML, similar dual-clock concepts appear in high-precision metrology and Mars timekeeping, highlighting the broad applicability of using separate temporal measures to capture complex system behaviors.
“Two Training Clocks” denotes a family of research formulations in which learning or inference is decomposed into two distinct temporal indices or stopping times. In contemporary machine learning, the phrase has been formalized most explicitly for grokking as a fast classifier clock and a slow representation clock, separating label fitting from structural simplification of the learned map (Tan et al., 4 Jun 2026). Closely related formulations appear in generative modeling as a rule-learning clock and a memorization clock , whose separation defines an innovation window (Wang et al., 11 May 2026), and in reinforcement learning as a distinction between global and local clocks for step-size indexing in differential temporal-difference learning (Antrobius et al., 7 May 2026). Outside machine learning, the same phrase also appears in unrelated domains, including two Earth-orbiting atomic clocks for tests of the Einstein Equivalence Principle (Litvinov et al., 2021) and Earth-day training clocks for public Mars timekeeping (Flesch et al., 11 Jul 2025). The unifying motif is temporal duality: two clocks are introduced because a single time parameter does not adequately capture the relevant dynamics, whether those dynamics concern optimization, stochastic approximation, relativistic metrology, or pedagogy.
1. Conceptual scope and formal meanings
In the grokking literature, two training clocks are stopping times attached to two distinct objectives: fitting and simplification. The classifier clock is defined by
while the representation clock is
where is the empirical cross-entropy and is a nonnegative structural gap such as a spectral penalty gap, a trailing singular-value tail, or a stable-rank proxy (Tan et al., 4 Jun 2026). In this usage, grokking is interpreted as a temporal mismatch: the classifier clock completes early, whereas the representation clock completes much later.
In generative modeling, the same basic separation is expressed with different observables. The rule-learning clock is “the first training step at which model generations (after discretization) become reliably rule-valid,” and the memorization clock is “the first training step at which models begin to reproduce training samples exactly” (Wang et al., 11 May 2026). Their gap defines the innovation window , during which generations are rule-valid yet novel.
In average-reward reinforcement learning, the phrase refers not to stopping times but to indexing schemes for step sizes. A global clock uses a step-size sequence that depends only on the global time index 0, whereas a local clock uses 1, where
2
so each state receives the base sequence indexed by its own visit count (Antrobius et al., 7 May 2026). Here the distinction is not between two phases of training but between two update clocks that induce different limiting ODEs.
These meanings are not interchangeable. A plausible implication is that “two training clocks” is best understood as an umbrella phrase for settings in which two temporally distinct processes are materially relevant, rather than as a single fixed technical definition across fields.
2. Grokking: fast fitting and slow representation simplification
The most formalized use of the term occurs in “Deciphering Two Training Clocks in Grokking via Deep Linear Network Theory with Conditional ReLU Reduction” (Tan et al., 4 Jun 2026). The paper studies a 3-class training set 4 with effective linear classifier 5, row vectors 6, and incorrect-class logit gap
7
The sample loss and empirical cross-entropy admit the pure-gap form
8
Because the softmax tail is controlled by the margins, the paper associates the fast clock with gap growth. If all incorrect gaps are at least 9, then
0
hence 1.
The representation clock is tied to structural energy. For the deep linear surrogate, the regularized end-to-end energy is
2
where the Schatten quasi-norm is
3
The paper also tracks effective dimension by stable rank,
4
which is presented as a robust proxy for low-rank structure. A natural structural gap is 5 or a normalized singular-value tail.
The central theoretical separation is rate-theoretic. Under post-margin gap growth,
6
or under one-step tail contraction,
7
the classifier clock satisfies a logarithmic bound:
8
By contrast, under a sharp late-time Kurdyka–Łojasiewicz tail near 9,
0
with 1, the structural energy decays polynomially:
2
and if 3 is comparable to 4, then
5
The paper’s comparison theorem makes the mismatch explicit: if 6 for some 7, then
8
while 9 (Tan et al., 4 Jun 2026).
This establishes an asymptotic distinction between “fitting” and “simplification.” In this framework, late generalization is not attributed merely to delayed optimization of the empirical objective, but to the slower decay of a structural energy associated with rule-aligned geometry.
3. Spectral regularization, deep linear networks, and conditional ReLU transfer
The deep linear core of the grokking theory derives its slow clock from the interaction between layerwise weight decay and end-to-end spectral bias. For a depth-0 deep linear network with
1
trained with cross-entropy loss and layerwise 2 weight decay, the paper uses the equivalence
3
Thus layerwise decay becomes an end-to-end Schatten-4 quasi-norm penalty (Tan et al., 4 Jun 2026). For deeper 5, the induced exponent satisfies 6, which intensifies shrinkage of small singular values.
On a smooth spectral stratum where 7 is simple, the local singular-value dynamics obey
8
For 9, the factor 0 diverges as 1, so weak singular directions experience stronger shrinkage. The paper presents this as the mechanism by which the spectrum concentrates and effective dimension falls, with the limiting stable rank satisfying
2
where 3 is the number of nonzero singular values of the limit (Tan et al., 4 Jun 2026).
The same paper then provides a conditional transfer of this mechanism to ReLU multilayer perceptrons. If the activation masks on the training set remain fixed over an interval 4, with
5
then for each training sample 6,
7
In a fixed-activation region, the nonlinear model therefore reduces to an active linear subsystem on the training set.
For a two-layer ReLU embedding model
8
the sample-wise gradients are
9
with bounds
0
while
1
Under controlled downstream norms and nonvanishing hidden features, this supports a head-first training regime in which the classifier head moves faster than the embedding block (Tan et al., 4 Jun 2026). The paper states this only conditionally and does not claim a global proof for nonlinear training dynamics. That caveat is important: the two-stage ReLU story is framed as an explanatory reduction compatible with observed behavior, not as a universal theorem.
4. Generative models: rule clock, memorization clock, and the innovation window
A second machine-learning use of two training clocks appears in “The two clocks and the innovation window: When and how generative models learn rules” (Wang et al., 11 May 2026). The paper studies synthetic rule-governed distributions and distinguishes a rule-learning clock 2 from a memorization clock 3. The first is operationally defined as the first training step at which sample-level rule accuracy exceeds 4, sustained beyond transient spikes; the second is the first training step at which the sample-level memorization ratio exceeds 5, with an adaptive threshold 6 used in scaling fits.
The main testbed is group parity in a 7 dimensional Boolean space reshaped to 8 images. The image is partitioned into 9 groups of size 0, each of which must have even parity. Samples are generated in 1, then assessed for closeness to the Boolean cube via
2
with invalid samples declared by thresholding at 3. After binarization to 4, parity accuracy is measured at group and sample levels. Sample-level chance is 5.
Memorization is defined by exact equality to a training sample after binarization. To separate genuine novelty from trivial overlap, the paper compares against the expected sample-level memorization ratio under uniform sampling from the parity-constrained support and under uniform sampling from the full Boolean cube, and constructs held-out valid-novel sets disjoint from the training set by Hamming distance at least 6 (Wang et al., 11 May 2026).
The empirical scaling laws define the two-clock structure sharply. For DiT-mini, the memorization clock satisfies
7
and for GPT-mini,
8
while GPT-B yields
9
These fits are described as near-linear in dataset size 0 with architecture-dependent prefactors. Memorization trajectories collapse when plotted against steps-per-sample, with onset around 1 steps-per-example.
The rule clock depends instead on rule complexity and capacity. For DiT-mini, parity with 2 is learned at approximately 3 steps, 4 at approximately 5, and 6 at approximately 7; for 8, the transition becomes unreliable or collides with memorization within 9 steps. Increasing model capacity moves 0 earlier, but the paper notes that even the largest 1-layer DiT fails to learn 2 within 3 steps (Wang et al., 11 May 2026).
The interval
4
is called the innovation window. It widens with increasing 5, narrows with rule complexity 6, and may vanish when 7. This formulation parallels the grokking account: a fast phase associated with acquiring a coarse rule-compatible behavior is followed by a slower phase associated with training-set attraction and exact memorization. The paper also reports the same two-clock structure beyond parity, including exact-8, row-9, Latin squares, and 00 Sudoku.
5. Clocks as update indices in differential temporal-difference learning
In reinforcement learning, “two training clocks” designates a different but structurally analogous distinction. “On the Divergence of Differential Temporal Difference Learning without Local Clocks” separates a global clock from a local clock in the step-size schedule of temporal-difference updates (Antrobius et al., 7 May 2026). The global clock uses 01; the local clock uses 02, where the per-state visit count 03 indexes the base sequence separately for each state.
The paper emphasizes that the correspondence between local and global clocks depends on the problem class. In discounted policy evaluation, for fixed target policy 04 and discount 05, the tabular off-policy TD(0) error is
06
with importance ratio
07
The associated ODEs are
08
and
09
Because 10 is a nonsingular 11-matrix and left multiplication by a positive diagonal matrix preserves positive stability, both systems are globally asymptotically stable.
The average-reward setting is different. Let 12 be the average reward and 13 the bias function satisfying
14
Differential TD evaluates 15 and 16 simultaneously using
17
With global clock,
18
and with local clock,
19
After eliminating the fast component of 20, the limiting ODEs are
21
and
22
The matrix 23 is positive stable for all 24, but 25 need not be (Antrobius et al., 7 May 2026).
The paper’s counterexample demonstrates that global-clock DTD may diverge in average-reward RL even though the local-clock version converges for all 26. For a family of MDPs indexed by integer 27, it constructs a positive stationary distribution with
28
and derives the exact stability region
29
where
30
For 31, 32, so any 33 makes the global-clock ODE unstable. The underlying 34-dimensional block is governed by the Hurwitz polynomial
35
which is Hurwitz iff 36 (Antrobius et al., 7 May 2026).
This usage of two clocks is conceptually distinct from the grokking and generative-model formulations, yet the shared theme remains temporal asymmetry. A plausible implication is that local clocks act as a normalization of update speed across states, whereas global clocks encode visitation frequencies directly into the mean dynamics.
6. Experimental observables, diagnostics, and recurring motifs
Across the machine-learning usages, two-clock formulations are empirically tied to measurable observables rather than to latent phases inferred post hoc. In grokking experiments on modular addition modulo prime 37, with main figures using 38, the classifier clock is tracked by the training loss 39 and the representation clock by stable rank 40 or spectral tail statistics of the learned map (Tan et al., 4 Jun 2026). The observed pattern is that training loss drops early across weight-decay settings, test loss improves much later, and stable rank decreases late in step with test-loss improvement. The architecture used is a symmetric ReLU MLP with trainable token embeddings of dimension 41, trained with Adam at learning rate 42, betas 43, full-batch training for 44 epochs, and weight decay swept over 45.
In the generative-model setting, the observables are sample-level rule accuracy, sample-level memorization ratio, invalid fraction measured via 46, and auxiliary diagnostics such as nearest-neighbor Hamming distance to the training set and DSM loss by noise scale (Wang et al., 11 May 2026). The paper reports that DSM loss splits precede the sample-level transitions and are concentrated at intermediate scales. For DiT, the critical ranges first appear near 47 and propagate to adjacent scales; for GPT, per-position cross-entropy collapses first at positions 48, reflecting the deterministic last bit of each parity group once the rule is learned.
A notable shared motif is that the fast clock is associated with coarse compatibility with the task objective, while the slow clock is associated with geometry. In the grokking theory, geometry is spectral and low-rank, expressed via singular-value shrinkage and stable rank. In the generative-model study, geometry is basin structure in the denoising vector field: around 49, basins of rule-valid vertices expand, whereas around 50, basins of training samples begin to dominate (Wang et al., 11 May 2026). In both cases, the later clock marks a refinement of the learned representation or energy landscape after an earlier behavioral transition has already occurred.
Another recurring motif is that optimization hyperparameters modulate the gap between clocks. In grokking, layerwise 51 decay induces the Schatten-52 penalty and thus drives late simplification (Tan et al., 4 Jun 2026). In generative models, increasing dataset size pushes memorization later approximately linearly in 53, while GPT weight decay in the explored sweep “substantially delays 54” and moderate learning rates are most favorable for DiT (Wang et al., 11 May 2026). These observations suggest that two-clock formulations provide not merely descriptive diagnostics but also levers for intervention.
7. Other uses of the phrase and limits of unification
Outside machine learning, “Two Training Clocks” has appeared in two unrelated senses. In gravitational redshift metrology, it denotes a test of Local Position Invariance using two Earth-orbiting stable atomic clocks on synchronized eccentric orbits, 55 out of phase, linked by a coherent space-to-space link with Doppler compensation (Litvinov et al., 2021). The signal model is
56
with residual fit
57
The optimal configuration has perigee altitude approximately 58 and orbital period 59--60. Reported accuracies after 61 years are 62 for the VCH-1010 hydrogen maser, 63 for the PHARAO cesium fountain, and 64 for a future optical clock (Litvinov et al., 2021). Here the clocks are physical instruments, not phases of training.
In Mars horology, the phrase refers to Earth-day “training clocks” that teach the use of public Mars clocks while preserving the SI second (Flesch et al., 11 Jul 2025). The paper identifies two such clocks: a 65-hour clock with standard analog motion and a 66-hour “Martian” clock with convergent hand motion. The operational Mars day is taken as
67
while the true sol is
68
For the 69-hour design, the Earth training version uses 70 and the Mars version uses 71. For the 72-hour Martian design, the hand ratios are 73 in the 74-minute variant or 75 in the relaxed 76-minute variant, with the defining property that at each exact hour all three hands converge on the hour mark (Flesch et al., 11 Jul 2025). This usage is pedagogical and mechanical rather than algorithmic.
These non-ML usages place a limit on any attempt to unify the phrase too strongly. The common wording does not imply a common theory. What is shared is only the structural decision to introduce two clocks because a single temporal description is insufficient for the problem at hand. In machine learning, this insufficiency concerns distinct rates of optimization, generalization, or memorization. In relativistic metrology and Mars timekeeping, it concerns measurement geometry and human training, respectively.