TL;DR
Looped Transformers give language models extra "thinking time" by passing representations through the same shared layers repeatedly, but they force the hidden state to juggle both retrieved content and instructions on where to look next. This paper introduces Moment-Tilted Attention (MoTA), a mechanism where each attention read leaves behind an explicit, two-number "sticky note" telling the next loop what kind of information to seek out. By mathematically steering future attention toward this target based on what is actually available in the context, MoTA boosts general language understanding, math problem-solving, and scientific reasoning across model scales—adding barely a rounding error in parameter count.
What Problem Does This Paper Address?
Standard Transformers have a fixed computational depth: one forward pass, one set of layers, done. Looped Transformers break this constraint by taking a core block of layers and cycling data through them multiple times—gaining recurrent reasoning depth without ballooning the parameter count.
Here is the catch: when a model reads information in Loop 1, what it discovers should naturally change where it looks in Loop 2. In standard looped architectures, this guidance is completely implicit. Attention aggregates values into a hidden state, and that single hidden state has to carry both the payload (what was just learned) and the navigation plan (how to form queries and keys for the next loop). The authors ask a clean architectural question: instead of cramming everything into the hidden state, what if one attention read could explicitly write a retrieval target to guide the next loop?
Methods
MoTA replaces just the first attention layer inside the shared recurrent core (leaving standard prelude, coda, and remaining core layers intact).
Instead of treating token values ($v$) solely as content, MoTA maps normalized values through two tiny learned projections to create low-dimensional source coordinates (just $r=2$ numbers per head in the main setup):
- Read coordinates ($n$): Describe the properties of a source token for selection.
- Write coordinates ($w$): Describe what properties should be requested in the next loop.
On Loop 1, standard query-key attention ($p$) runs as usual, outputting content and taking the attention-weighted average of $w$ to create a compact target $m$ for Loop 2.
On subsequent loops, MoTA adjusts ("tilts") the base attention distribution $p$ using soft moment matching. It tries to make the attention-weighted mean of the read coordinates $n$ match the incoming target $m$, while a Kullback-Leibler (KL) divergence penalty keeps the new distribution from straying too far from standard query-key relevance.
Crucially, you cannot steer an average in a direction where all tokens look identical. So MoTA computes the mean ($\mu$) and covariance ($\Sigma$) of $n$ under base attention $p$. Using the inverse covariance (like a natural gradient or Newton step), it translates the unmet goal ($m - \mu$) into an optimal score-correction direction $d$. It then checks the actual max-to-min range ($\rho$) of projected scores across the context to set an exact, closed-form step size—guaranteeing mathematical descent on the dual objective without any numerical line search. In practice, this requires one extra fused attention pass on that first core block to gather statistics, adding just 3,072 to 6,144 parameters total across 140M–1.3B models.
Datasets
No new benchmarks are introduced; the authors evaluate across three training stages:
- Training: General pretraining uses FineWeb-Edu (11.2B to 104B tokens across scales). Lightweight math adaptation (0.54B–1.07B tokens) and deeper math midtraining (3B–10.85B cumulative tokens) use FineMath4+.
- Evaluation: General language and commonsense benchmarks include Parcae's aggregate CORE and CORE-Extended suites, LAMBADA, HellaSwag, PIQA, BoolQ, WinoGrande, and ARC (Easy/Challenge). Math and analytical reasoning are tested via MATH, GSM8K, MathQA, BIG-Bench Elementary Math QA, Arithmetic, MMLU (College Math, Abstract Algebra, High School Math), PubMedQA (biomedical), and LSAT-AR (analytical reasoning).
Key Insights and Ideas
- Tiny steering wheels work best: Ablating the target size $r \in \{1, 2, 4, 8\}$ shows $r=2$ hits the sweet spot. Because the original high-dimensional values ($v$) still carry the heavy content payload, the target state only needs enough capacity to steer which sources get mixed.
- Correlations matter when reasoning gets hard: Simplifying the full $2 \times 2$ covariance matrix $\Sigma$ to diagonal or isotropic approximations barely hurts general pretraining—actually scoring higher on College Math before math training—but falls flat once math adaptation begins (dropping from 32.00 to 21.00 on MMLU College Math). Accounting for how source features correlate becomes vital when chaining mathematical relations.
- Steer early, digest later: Putting MoTA on all four core blocks maximizes general pretraining scores, but putting it only on the first block wins on math and science reasoning. Selecting sources at the entrance of the loop gives the remaining shared blocks room to process the retrieved content before the next cycle.
- Source-difference invariance: Because step sizes depend on the range of projected scores rather than raw vector norms, asking for a feature that doesn't vary across the context adds a uniform constant to all logits—which softmax ignores without shrinking useful updates in other directions.
Key Results
Tested across four Parcae looped Transformer scales (140M, 370M, 770M, and 1.3B parameters evaluated at 8 loops):
- General Pretraining: MoTA beats standard looped Transformers on CORE and CORE-Extended across every model size. At 1.3B, CORE jumps +3.56 points (28.44 to 32.00) and LAMBADA jumps +5.80 points.
- Lightweight Math Adaptation: At 770M, MMLU College Math and Abstract Algebra both surge by +10.00 points; at 1.3B, Abstract Algebra jumps +13.00 points and WinoGrande gains +4.81 points.
- Math Midtraining: At 1.3B, MoTA outperforms the looped baseline by +1.40 points on MATH (14.46 vs. 13.06) and +3.11 points on GSM8K (6.75 vs. 3.64). Out-of-domain scientific and analytical transfer also shines at 1.3B, including a +10.10 point leap on PubMedQA (43.70 vs. 33.60) and +2.82 / +2.99 points on ARC-Easy/Challenge.
Limitations and Future Work
- Scale sensitivity on specialized math: At the smallest scale (140M), math adaptation and midtraining results are mixed—MoTA trails the looped baseline slightly on generative math tasks like GSM8K (-0.91) and MATH (-0.90), suggesting smaller backbones struggle to capitalize on explicit retrieval targets for multi-step generation.
- Extra attention overhead: Computing source moments requires an extra attention read in the first core block, increasing attention calls per loop by a ratio of $(K+1)/K$ for a $K$-block core (e.g., $5/4$ for a 4-block core).
- Design trade-offs: Different configurations (like loop count at inference or replacing all blocks vs. one) trade off general pretraining metrics against downstream math accuracy. The authors point to explicitly connecting successive attention reads as a fertile architectural direction for future recurrent-depth models.
Summary updated