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

DevFeed: [ParaTTT: Parallelizing Test-Time Training Layers with Deep Memories](<https://devfeed.tech/articles/parattt-parallelizing-test-time-training-layers-with-deep-memories-108674.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.38255>)

Author: Noel Loo, Neehal Tumma, T. Konstantin Rusch, Mathias Lechner, Alexander Amini, Daniela Rus

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [model architecture](<https://devfeed.tech/topics/model-architecture.md>), [Deep neural networks](<https://devfeed.tech/topics/deep-neural-networks.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [Mamba](<https://devfeed.tech/topics/mamba.md>), [mlp](<https://devfeed.tech/topics/mlp.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [4k](<https://devfeed.tech/tags/4k.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [approximation](<https://devfeed.tech/tags/approximation.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [better](<https://devfeed.tech/tags/better.md>), [block](<https://devfeed.tech/tags/block.md>), [context](<https://devfeed.tech/tags/context.md>), [convergence](<https://devfeed.tech/tags/convergence.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [deep](<https://devfeed.tech/tags/deep.md>), [delta](<https://devfeed.tech/tags/delta.md>), [error](<https://devfeed.tech/tags/error.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [execution](<https://devfeed.tech/tags/execution.md>), [layers](<https://devfeed.tech/tags/layers.md>), [test](<https://devfeed.tech/tags/test.md>), [time](<https://devfeed.tech/tags/time.md>), [training](<https://devfeed.tech/tags/training.md>)

## AI overview

ParaTTT parallelizes nonlinear test-time training memories by iteratively refining estimates of hidden-layer gradient trajectories. Each refinement uses chunkwise-parallel forward, gated-delta-rule readout-gradient, and backward passes; the exact online gradient-descent recurrence is a fixed point, and decoding needs no refinement. The authors prove geometric convergence for a two-layer variant under sufficient contraction conditions and report that two iterations suffice in practice. At 4K context, two refinement steps evaluate the inner-loop trajectory 32x faster than block-approximation TTT-MLP at matched error; a 340M model trains 4.9x faster. At 340M and 1.3B parameters, models match or exceed Gated DeltaNet and Mamba-2 and remain competitive with same-size Transformers on perplexity and zero-shot accuracy, with better recall than the linear recurrences.

## Source excerpt

arXiv:2610.38255v1 Announce Type: new 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.