# ParaTTT: Parallelizing Test-Time Training Layers with Deep Memories

Parallel refinement lets nonlinear test-time training layers run much faster

Noel Loo, Neehal Tumma, T. Konstantin Rusch, Mathias Lechner, Alexander Amini, Daniela Rus · arXiv · 2026-10-28

- **Problem** Nonlinear test-time training memories must update one token at a time, so they run slowly. Existing code such as TTT-MLP uses block approximations that run several times slower than linear recurrences.
- **Method** ParaTTT parallelizes deep nonlinear memories by refining a guess of the hidden-layer gradients. Each round runs three chunkwise-parallel passes instead of a token-by-token loop.
- **Results** With two refinement steps at 4K context, ParaTTT evaluates the inner loop 32× faster than TTT-MLP at matched error.

![Figure 7: Relative error against exact online GD versus the time to compute the forward recurrence of one 340M layer (batch 1), at five sequence lengths; same…](https://refivu.com/papers/e3b906b8-d6bc-4a89-8a43-99761b36ba81/figures/figure-d0e3aba6e19b7bc56d474b1514ad04da.png?thumb=512)

**Figure 7** : Relative error against exact online GD versus the time to compute the forward recurrence of one 340M layer (batch 1), at five sequence lengths; same setting and legend as

[Original paper](https://arxiv.org/abs/2610.38255v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Noel Loo, Neehal Tumma, T. Konstantin Rusch, Mathias Lechner, Alexander Amini, Daniela Rus · ParaTTT: Parallelizing Test-Time Training Layers with Deep Memories · Original paper figure · Extracted the figure area from page 34 of the original PDF.

## Where nonlinear memories stall

A test-time training layer keeps its memory inside a small network's weights, and each token nudges them by online gradient descent. A linear update stays linear in the recurrent state, so it keeps the exact chunkwise-parallel form. A nonlinear memory can also adapt its features, not only its readout, and that added expressivity is the reason for deep memories.

Each token's gradient in that case is evaluated at weights produced by all preceding updates. This dependency blocks the chunkwise rearrangement, so the exact recurrence has to be stepped through one token at a time.

Existing code such as TTT-MLP gets parallelism by evaluating every gradient in a block at the weights that entered the block. Blocks still run sequentially, taking T/b steps, so larger blocks cut sequential depth but coarsen the approximation. Smaller blocks are more faithful but need more sequential steps, so speed and fidelity trade against each other.

Titans and LaCT follow the same block form, with momentum and weight decay for Titans and very large blocks for LaCT. The authors set out to close this gap, and their route is to refine the gradient trajectory rather than to block it.

## Refining a guess of the gradient trajectory

ParaTTT changes the inner loop from a sequential walk over tokens into a loop over whole-sequence guesses. Each round runs three passes that are all parallel over tokens.

The forward pass builds the features that the current gradient guess implies. The readout pass computes each token's loss gradient with respect to its features. The backward pass carries these gradients through the hidden layers to form the next estimate. Each round is built from modified versions of existing parallel recurrences, such as Gated DeltaNet, Mamba-2, and gated linear attention.

The authors expected this to work because the gradients are small objects compared with the memory state. Each gradient is a d-dimensional vector, while the fast-weight state has O(d^2) entries. Once the gradients are fixed, the fast-weight trajectory becomes a linear recurrence. That linear recurrence runs on chunkwise linear recurrent kernels, so the full weight trajectory and its transition Jacobian never need to be formed.

ParaTTT therefore iterates on the pre-activation gradient at each token and hidden layer.

The exact online gradient descent recurrence is a fixed point of this iteration. In practice, two iterations suffice for the reported models. Decoding requires no refinement iterations, since the loop only computes the prefill.

## One refinement round, pass by pass

A round starts from the current guess of the hidden-layer gradients and runs a forward pass that builds the features implied by that guess. Each refinement consists of three parallel passes, and the forward pass constructs the features from the current gradient estimate. The forward pass evaluates the resulting feature trajectory, so the features it produces feed the next stage directly.

The readout pass takes those features and computes each token's loss gradient with respect to its features. That readout pass is the gated-delta-rule kernel with its final read transposed, which the authors call DELTARULEGRAD. DELTARULEGRAD returns the feature gradient for each token, which the backward epilogue then consumes.

The backward pass converts those feature gradients into a new hidden value for the next iteration. It passes the gradients through the transposed Jacobian of the projection, and then through the transposed Jacobian of SiLU. The projection's transposed Jacobian is the identity inside the unit ball and the normalizing term outside it. A damped Picard step mixes this new value with the previous iterate, so each update moves only a fraction λ of the way.

Decoding skips refinement entirely, because a new token needs only the exact recurrence. The number of rounds N therefore shapes only the prefill, which is where the authors set the trade-off. They train at N equal to 2 by default, and the ParaTTT models evaluate at their training N with the chunkwise prefill.

## Does iteration beat the block approximation on speed

TTT-MLP's block form fixes its error by block size, so its error can only drop with smaller blocks and a longer sequential loop. ParaTTT's error instead falls as the iteration count N rises, so the two methods can be compared at matched error. The comparison uses one random inner MLP at T = 4096, with the output error measured against exact gradient descent.

Each configuration is plotted as output error against the time needed to compute the recurrence.

At T = 4096, two ParaTTT iterations match the error of TTT-MLP at block size about 5, in 32× less time. The figure marks this equal-error point with an arrow, and the N = 8 setting approaches the bf16 noise floor. At T = 16,384 that gap grows to 8.5×.

That is the 4.9× training speedup reported in the abstract. ParaTTT still retains roughly one-third the throughput of the linear baselines. Real text tells a similar story, with the trained models converging in few iterations.

## What the speedup does to language modeling and recall

Position-wise perplexity shows where ParaTTT's gain appears along the sequence.

On the zero-shot benchmarks, ParaTTT has the best perplexity among the recurrent models at both scales. ParaTTT also shows stronger recall than Gated DeltaNet and Mamba-2 on SWDE and FDA at both 340M and 1.3B. The authors read this as the nonlinear memory improving over the evaluated linear baselines, a claim limited to those baselines.

TTT-MLP runs its nonlinear memory in blocks, and it costs much more to train. It matches Gated DeltaNet on WikiText-103 but is far behind on LAMBADA. It provides little improvement on recall, so the block-based nonlinear memory doesn't close the gap on this task.

ParaTTT does well on recall even though decoding uses the exact recurrent gradient-descent update. Training, however, used the iterated approximation, so the prefill and decode paths differ. The authors conclude that this prefill–decode discrepancy doesn't prevent strong recall.

## Centering and the iteration count

The authors compare three readouts: zero-initialized, learned but uncentered, and centered. The learned uncentered readout gives the hidden layers a gradient from the first token, but its output carries the bias before any test-time learning. The centered readout applies the fast readout to the features and the slow readout to how far those features drift from the slow features.

Because of this, the readout is zero at the start of a sequence while its Jacobian is not.

Relative to Gated DeltaNet, the zero-init readout moves LAMBADA perplexity from 29.66 to 32.62 while improving recall. The largest NIAH gain from centering appears at 32K.

The authors take the zero-init ablation as evidence that centering is needed to unlock the gains of refinement. Over-iterating the model trained at N=2 degrades performance slowly, while the model trained at N=5 exhibits little degradation.

So the iteration count N is a training-time choice that trades LAMBADA perplexity against recall.

## What the design choices cost

The authors timed one token-mixing layer on MI325X GPUs in bf16, with batch 8 and 20 iterations after 3 warm-up runs. The fused TTT-MLP kernel supports only head dimension 64 and block size 16, so the authors used a compiled PyTorch scan elsewhere.

The uncentered learned readout adds its offset to the final read of DELTARULEGRAD. Relative to the zero-initialized readout, that offset costs 12% of layer time at 4K and 9% of training throughput. Centering also needs 9 GiB of activation memory, so it costs about 11% of training throughput in total.

In the reference implementation, this body costs 17% of layer time at every length, 35.6 ms against 30.4 ms at 4K. The authors call it the more cost-effective choice, because SWDE rose from 28.4 to 41.9 and NIAH at 4K rose from 7.2 to 32.6.

Peak memory at N=2 is 2.5 times that of Gated DeltaNet, both for one layer and for the full 340M model in training. For one layer at batch 8 and T=4096, ParaTTT needs 6.5 GiB, against 2.6 GiB for Gated DeltaNet.

## Where the evidence stops

The convergence result covers only a two-layer variant, while the authors state the method for arbitrarily deep memories. For deeper memories, the paper's support is empirical, since its proof of geometric convergence applies to the two-layer variant. The proof holds only under sufficient contraction conditions, and the authors note that practical models lie outside the assumptions of Theorem 1.

For practical models, the authors rely on the observation that two iterations suffice.

Over-iterating the N=2 model degrades it slowly, so the iteration count at evaluation should match the count used in training. The model trained at N=5 shows little degradation, which the authors read as adaptation to the finite-N prefill used during training. The paper reports speed only on MI325X GPUs in bf16, so the speedups are measured on that one setup.

The fused TTT-MLP kernel supports only head dimension 64, so larger head dimensions fall back to a compiled scan.

The per-iteration error comparison instead uses one random inner MLP at T=4096. So the error-versus-compute curves and the trained-model agreement numbers come from different setups.

## Paper info

- **Authors**: Noel Loo, Neehal Tumma, T. Konstantin Rusch, Mathias Lechner, Alexander Amini, Daniela Rus
- **Venue**: arXiv · Preprint
- **First published**: 2026-10-28
- **Added**: 2026-11-1
- **Updated**: 2026-10-28
- **Version**: v1
- **arXiv**: 2610.38255
- **Category**: cs.LG
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2610.38255v1) · [PDF ↗](https://arxiv.org/pdf/2610.38255v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

Test-time training (TTT) layers replace the linear fast-weight memory of modern recurrent architectures with a small neural network trained online by gradient descent. This nonlinear memory is more expressive than the linear memories of Gated DeltaNet and Mamba-2, but is difficult to parallelize: existing implementations such as TTT-MLP rely on sequential, block-wise weight updates that run several times slower than chunkwise-parallel linear recurrences. Moreover, their block-wise execution only approximates the token-by-token online recurrence, whereas linear recurrences admit an exact chunkwise-parallel evaluation. We introduce ParaTTT (PTTT), an algorithm for parallelizing arbitrarily deep nonlinear memories by iteratively refining estimates of the inner-loop gradient trajectory. Starting from a guess of the hidden-layer gradients, each refinement consists of three chunkwise-parallel passes: a forward pass that evaluates the resulting feature trajectory, an exact gated-delta-rule pass that computes the readout trajectory and its feature gradients, and a backward pass that propagates these gradients into a new estimate. The exact online gradient descent recurrence is a fixed point of the iteration, while decoding requires no refinement iterations. We prove geometric convergence for a two-layer variant under sufficient contraction conditions. In practice, two iterations suffice. With two refinement steps at 4K context, PTTT evaluates the inner-loop trajectory $32\\times$ faster than TTT-MLP with the block approximation at matched error, while the full 340M model trains $4.9\\times$ faster. Models trained at 340M and 1.3B parameters match or exceed Gated DeltaNet and Mamba-2 and remain competitive with same-size Transformers on language-modeling perplexity and zero-shot accuracy, with better recall than the linear recurrences.

## Figures from the paper

![Table 1: Main results at 340M and 1.3B. Recall follows the generation protocol of Arora et al. (2024a); NIAH is the RULER needle average at the given length. B…](https://refivu.com/papers/e3b906b8-d6bc-4a89-8a43-99761b36ba81/figures/figure-8ba5e5aa6faa9133537b55d231ee8fe8.png?thumb=512)

**Table 1** : Main results at 340M and 1.3B. Recall follows the generation protocol of Arora et al. (2024a); NIAH is the RULER needle average at the given length. Best per column and size in bold, second best underlined. A couple of notes: (1) LaCT fast-weight branch only is an ablation of the published hybrid. (2) The zero-init readout removes both centering and the learned initialization;

[Original paper](https://arxiv.org/abs/2610.38255v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

![Figure 6: Synthetic nonlinear-state tasks (two layers, width 256 except width 512 for MQAR with 64 pairs; mean over three seeds at the best learning rate). (a)…](https://refivu.com/papers/e3b906b8-d6bc-4a89-8a43-99761b36ba81/figures/figure-4976e0cb16a332ce92daa41d8e162d66.png?thumb=512)

**Figure 6** : Synthetic nonlinear-state tasks (two layers, width 256 except width 512 for MQAR with 64 pairs; mean over three seeds at the best learning rate). (a) Cumulative parity against sequence length; the dotted line is chance. (b)k-hop pointer following atT= 256. (c) Multi-query associative recall for increasing sequence length and number of key-value pairs.

[Original paper](https://arxiv.org/abs/2610.38255v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

![Table 3: Perplexity (WikiText-103, LAMBADA) and SWDE accuracy of the ParaTTT models as a function of the number of iterations at evaluation. Bold: bestNfor the…](https://refivu.com/papers/e3b906b8-d6bc-4a89-8a43-99761b36ba81/figures/figure-b37af0d485ea15ddd5af6de9278e45f2.png?thumb=512)

**Table 3** : Perplexity (WikiText-103, LAMBADA) and SWDE accuracy of the ParaTTT models as a function of the number of iterations at evaluation. Bold: bestNfor the centered models.

[Original paper](https://arxiv.org/abs/2610.38255v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

## Quote from the paper

Noel Loo, Neehal Tumma, T. Konstantin Rusch, Mathias Lechner, Alexander Amini, Daniela Rus (2026). ParaTTT: Parallelizing Test-Time Training Layers with Deep Memories. arXiv:2610.38255v1. https://arxiv.org/abs/2610.38255v1

**BibTeX**

```
@misc{loo2026parattt,
  title = {{ParaTTT: Parallelizing Test-Time Training Layers with Deep Memories}},
  author = {Noel Loo and Neehal Tumma and T. Konstantin Rusch and Mathias Lechner and Alexander Amini and Daniela Rus},
  year = {2026},
  eprint = {2610.38255},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.38255v1}
}
```

## Related papers

- [Who Asks, Who Answers: Linear Attention Builds the Query in Hybrid Language Models](https://refivu.com/en/papers/9550022a-ad1c-4740-b9d0-0f19e5a9c614-who-asks-who-answers-linear-attention-builds-the.md)
- [TTB: Test-time Baking for Efficient Rendering of Decoder-only View Synthesis Models](https://refivu.com/en/papers/f34fe5c7-9006-4cfd-9121-be1fdd53118f-ttb-test-time-baking-for-efficient-rendering-of.md)
- [Coarse Semantic Blocks for Efficient Training-Free Sparse Attention](https://refivu.com/en/papers/52935b53-62a3-4266-90b0-b3631ba9ddcc-coarse-semantic-blocks-for-efficient-training-free-sparse.md)
- [A Fine-Grained Hierarchy and Benchmark for State Tracking in Language Models](https://refivu.com/en/papers/cd3daf60-866c-48b4-9114-bda9fdde8e0c-a-fine-grained-hierarchy-and-benchmark-for-state.md)
- [Only Accepted Tokens Count: An Energy Accounting of Speculative Decoding Under Latency Targets](https://refivu.com/en/papers/85d77e47-8039-4550-ab10-cf964e096268-only-accepted-tokens-count-an-energy-accounting-of.md)
- [Emerging Properties in Self-Supervised Vision Transformers](https://refivu.com/en/papers/d2f53db5-080e-4342-beab-1de92f307256-emerging-properties-in-self-supervised-vision-transformers.md)

## Other paper commentary

- [Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound](https://refivu.com/en/papers/bb7ed38f-7636-44c4-921c-7a661fe6cf0f-solving-probabilistic-verification-problems-of-neural.md)
- [Feature Learning beyond the Lazy-Rich Dichotomy: Insights from Representational Geometry](https://refivu.com/en/papers/145cac59-29af-46bd-915b-28b2501ff19d-feature-learning-beyond-the-lazy-rich-dichotomy-insights.md)
- [Geometry-Informed Neural Networks](https://refivu.com/en/papers/da0a16b6-9d7a-4d46-a972-fe3929ea063a-geometry-informed-neural-networks.md)
- [Learning to (Learn at Test Time): RNNs with Expressive Hidden States](https://refivu.com/en/papers/6a02f8bd-d757-4f00-9d97-6829bf6db29f-learning-to-learn-at-test-time-rnns-with.md)
- [Transformers Provably Learn Algorithmic Solutions for Graph Connectivity, But Only with the Right Data](https://refivu.com/en/papers/b23c33ef-4b87-4e29-a0da-332c5c52f7a4-transformers-provably-learn-algorithmic-solutions-for-graph.md)
- [MUDDFormer: Breaking Residual Bottlenecks in Transformers via Multiway Dynamic Dense Connections](https://refivu.com/en/papers/2b11d064-bbbd-40ba-8755-91e0f98fcbf6-muddformer-breaking-residual-bottlenecks-in-transformers-via.md)
- [Estimating Implicit Expected Log Density Ratios](https://refivu.com/en/papers/693f7640-e03d-4760-8a55-b5c703e2432d-estimating-implicit-expected-log-density-ratios.md)
- [Beauty Is Human: When People Love AI-Generated Art, They Think a Human Made It](https://refivu.com/en/papers/7a4e73a8-f1ea-4c10-bcdb-ff9152798bfc-beauty-is-human-when-people-love-ai-generated.md)
- [Who Called? V33DA: A Physically Verified Multimodal Benchmark for Vocal Attribution in Zebra Finch Groups](https://refivu.com/en/papers/1b9ce2f5-2b21-4578-94f5-eed116c95a64-who-called-v33da-a-physically-verified-multimodal-benchmark.md)
- [SpaceAct: Benchmarking 3D Spatial and Temporal Reasoning via Closed-Loop Action and Active Perception](https://refivu.com/en/papers/aa953c61-2662-482f-a579-0904dd3b3c17-spaceact-benchmarking-3d-spatial-and-temporal-reasoning-via.md)
- [Predict the Reward, Not the World: World Reward Models for ML Agents](https://refivu.com/en/papers/54fc4635-ca71-44c9-8962-e2d2ba876c01-predict-the-reward-not-the-world-world-reward.md)
- [Calculation and rejection diverge in language models tested at known mechanical limits](https://refivu.com/en/papers/654bb0be-4b89-4d3d-82f8-43407afed1f4-calculation-and-rejection-diverge-in-language-models-tested.md)

## Terms in this paper

- [LAMBADA](https://refivu.com/en/terms/b86e10054a54-lambada)
- [Gated DeltaNet](https://refivu.com/en/terms/867332aa385b-gated-deltanet)
- [linear attention](https://refivu.com/en/terms/102ebaed8489-linear-attention)
- [RULER](https://refivu.com/en/terms/5b6224fe4e4c-ruler)
- [Softmax attention](https://refivu.com/en/terms/140344948263-softmax-attention)
- [Mamba-2](https://refivu.com/en/terms/caf9f0e79adb-mamba-2)
- [Test-Time Training](https://refivu.com/en/terms/a740f645f3da-test-time-training)
- [LaCT](https://refivu.com/en/terms/3d5d364b90b7-lact)
- [FDA](https://refivu.com/en/terms/02c33f701b1c-fda)
- [fixed point](https://refivu.com/en/terms/5db7a9d93e9f-fixed-point)
- [TTT-MLP](https://refivu.com/en/terms/826160d92a73-ttt-mlp)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/e3b906b8-d6bc-4a89-8a43-99761b36ba81-parattt-parallelizing-test-time-training-layers-with-deep)
