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

非線形メモリを反復計算で並列化し、学習を速くする手法

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

- **課題** 非線形のTTTメモリは、トークンごとに重みを順に更新する必要があるため、並列に計算できませんでした。既存のTTT-MLPはブロックにまとめて速くしていましたが、精度が落ちていました。
- **手法** ParaTTTは、重みの軌跡ではなく隠れ層の勾配の推定を出発点にします。その推定を、チャンク並列の三つのパスで繰り返し直して、本来の軌跡に近づけます。
- **結果** TTT-MLPのブロック近似と同じ誤差で、軌跡の計算時間を32×少なくしました。340Mモデルの学習も4.9×速くなりました。

![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

[出典](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 · 論文の図を引用 · 元のPDFの34ページ目から図の部分を抽出しています。

## 非線形TTTメモリが並列化しにくい理由

線形再帰のモデルは、系列をチャンクに分け、チャンク内のトークンを密行列積でまとめて計算します。チャンク境界の状態だけを逐次に渡すため、並列性と厳密な評価を両立できます。一方、TTTは再帰状態を小さなモデルの重みとみなし、トークンごとにオンラインの勾配降下で書き換えます。線形メモリの場合は、1ステップの勾配降下が損失関数の二乗再構成誤差に対するデルタ則と一致するため、チャンク並列の形で評価できます。

ところが隠れ層をもつ非線形メモリでは、各トークンの勾配が、それ以前のすべての更新を経た重みで評価されます。この依存関係があるため、線形メモリで使ったチャンク並列の書き換えは適用できません。

そこで既存のTTT-MLPは、b個のトークンを一つのブロックにまとめ、ブロック内のすべての勾配をブロック開始時の重みW\_sで評価します。この近似によりブロック内の計算は並列に行えますが、ブロック内の更新は後続の勾配に反映されず、勾配は古いままになります。そのためブロックはT/b段の逐次ステップとして残り、ブロックを大きくすると逐次段数は減る一方で、トークンごとの学習からは遠ざかります。LaCTやTitansも同じブロック形式を採っており、LaCTは数千トークン単位のブロックを使います。つまり、既存手法では速度と忠実さのトレードオフが生じます。

難しさの中心は重み軌跡そのものを計算することにあり、各トークンの勾配ステップが、それ以前のすべてのステップに依存する点にあります。この軌跡を逐次に辿らずに求める手段が次の節の焦点になります。

## 勾配軌跡を反復で精緻化する仕組み

ParaTTTの核心は、各トークンの重みを直接追うのではなく、隠れ層の事前活性化に対する勾配の推定を出発点とすることです。その推定が決まれば隠れ層の特徴の軌跡が決まるため、推定を作り直すことで軌跡全体に近づけます。勾配は各トークンにつきd次元のベクトルで、重み行列のO(d²)の状態より小さいため、反復の対象として扱いやすくなります。勾配を与えると重みの軌跡は線形再帰になるので、既存のチャンク並列カーネルで、重み軌跡やそのヤコビアンを作らずに評価できます。

一回の反復は三つの並列パスからなり、順伝播、厳密なgated-delta-ruleパス、逆伝播の順に進みます。順伝播では、現在の勾配推定から隠れ層の事前活性化を求め、その活性化と射影で特徴を作ります。次の厳密なgated-delta-ruleパスは、その特徴に対する読み出しの軌跡と、各トークンの特徴勾配を求めます。逆伝播では、その特徴勾配を隠れ層へ伝えて新しい勾配推定を作り、減衰付きの更新で前の推定と混ぜて次の反復の入力にします。

厳密なオンライン勾配降下の再帰は、この反復の不動点になっていることが、本論文の中心的な主張です。二層の変種については、十分な縮約条件のもとで反復が幾何収束することも示されています。学習時にはN回の反復で近似を作りますが、デコードでは反復を行わず、キャッシュした重みから1トークンずつ厳密な再帰を適用します。読み出し層は中心化したパラメータ化を既定とし、学習開始時に出力へ生じるバイアスを取り除きます。

## ブロック近似との誤差と速度の比較：反復回数Nを増やすと厳密な軌跡に近づくのか

ParaTTTの誤差は、反復回数Nを増やすことで小さくなるかを確かめる必要があります。著者らは、一つの固定したランダムな内側MLPを使い、T=4096で出力誤差を厳密な勾配降下と比べました。TTT-MLPの誤差はブロックサイズbで決まり、誤差を小さくするには、より小さいブロックと長い逐次ループが必要です。一方、ParaTTTの誤差はNとともに減少します。T=4096では、N=2のParaTTTがb≈5のTTT-MLPと同じ誤差に届き、その時間は32×少なくなりました。N=8では誤差がbf16のノイズ床に近づきます。

計算時間の測定では、ParaTTTは系列長に対して線形に伸びます。付録の比較では、この差は系列長とともに広がります。TTT-MLPの誤差はブロックサイズで、時間は逐次ブロック数T/bで決まるのに対し、ParaTTTは固定数のチャンク並列スキャンなので、バッチ1ではTにほぼ依存しません。

モデル全体の学習では、8GPU、T=4096でN=2のParaTTTが37.9k tokens/sとなり、TTT-MLPの7.8k tokens/sを上回りました。これらの計測はMI325GPU上のbf16で行われ、TTT-MLPは融合カーネルかコンパイル済みスキャンのうち速い方で計測されています。

学習済みの実モデルでは、厳密なトークン逐次の再帰を基準に、反復回数ごとのtop-1一致率とtotal-variation距離を比べました。つまり、学習済みの実モデルでも、定理1の仮定の外側で少ない反復で厳密な再帰に近づくことが分かります。

## 言語モデリングと想起の結果

340Mと1.3Bのモデルで、ParaTTTはGated DeltaNetやMamba-2より低いperplexityと、SWDEおよびFDAでの高い想起精度を示しました。評価には、WikiText-103のword perplexityやLAMBADAのperplexityに加え、TriviaQAやDROP、RULERのneedle-in-a-haystackが使われました。主な結果では、ParaTTTは両スケールで再帰モデルの中で最も低いperplexityを示し、LAMBADAのperplexityも主要なモデル比較の中で最良でした。SWDEとFDAの想起では、両スケールでGated DeltaNetとMamba-2の両方を上回りました。

ParaTTTは厳密な再帰的な勾配降下でデコードしても想起に強く、反復近似で学習したことが想起の妨げにはならないと著者らは述べています。一方、TTT-MLPはWikiText-103でGated DeltaNetと同程度ですが、LAMBADAでは大きく劣り、想起の改善もわずかでした。

トークン位置別のperplexityでは、ParaTTTは両スケールの全位置で最も低い値を示しました。Gated DeltaNetとの差は4096トークンの窓の終わりまで続き、利得は文書の冒頭だけに由来するものではないと読めます。Attentionは立ち上がりが最も遅く、数百トークン後にようやく再帰モデルに追いつきました。これらの結果から、ParaTTTの利点は系列の先頭だけでなく、系列全体にわたって続くことがわかります。

評価時の反復回数を変えた実験では、340M ParaTTTのモデルを学習時のNとは別の反復回数で評価しました。N=2で学習したモデルは、反復を増やすと性能がゆっくり低下しました。一方、N=5で学習したモデルはほとんど低下しませんでした。著者らは、モデルが学習時に使った有限のNの事前計算に適応していると考えています。

ParaTTTは速度を保ったまま、線形再帰より高い精度を得られることが示されました。そのため、非線形メモリの表現力は、並列評価の効率を犠牲にせずに活かせると読めます。

## 限界と未解決の課題

収束の理論は、二層の変種に対して十分な縮約条件のもとでのみ示されています。本文では、任意の深さのメモリに対して「ParaTTTは収束する」と証明されたわけではなく、証明の対象は二層の変種に限られます。著者らは、実用モデルは定理1の仮定の外にあると述べています。

報告された設定は1隠れ層で、著者らは隠れ層が1つの場合について一般的なメモリを扱っています。ParaTTTのN=2のピークメモリは、1層の場合でGated DeltaNetの2.5倍です。中心化は、慣れた特徴の再計算に加えて約9 GiBのactivationメモリを必要とし、層時間と学習スループットをさらに1から2%下げます。中心化を含めた学習スループットの低下は合計で約11%とされ、この代償は表6の利得と比べて評価されています。一方で、遅延の大きい隠れ層の更新であるデルタルール本体は、層時間の17%と学習スループットの13%を占めると報告されています。

融合カーネルの比較は、TTT-MLPの実装条件に依存しています。TTT-MLPの融合Tritonカーネルはhead dimension 64とblock size 16のみに対応し、それ以外の条件ではtorch.compileされたPyTorchスキャンを使いました。

常識推論のタスクは各行が単一シードで、表のなかの差はノイズの範囲内とされています。反復を伴うprefillと厳密なデコードの組み合わせが想起の結果に影響しない理由は、著者らの観察にとどまっています。つまり、何が確かめられ、何が未確認かは、二層の定理、反復の実測、単一シードの結果の3点を分けて読む必要があります。

## 論文情報

- **著者**: Noel Loo, Neehal Tumma, T. Konstantin Rusch, Mathias Lechner, Alexander Amini, Daniela Rus
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2026年10月28日
- **登録日**: 2026年11月1日
- **更新日**: 2026年10月28日
- **バージョン**: v1
- **arXiv**: 2610.38255
- **カテゴリ**: cs.LG
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2610.38255v1) · [PDF ↗](https://arxiv.org/pdf/2610.38255v1)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

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.

## 論文の図

![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;

[出典](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 · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。

![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.

[出典](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 · 論文の図を引用 · 元のPDFの30ページ目から図の部分を抽出しています。

![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.

[出典](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 · 論文の図を引用 · 元のPDFの30ページ目から図の部分を抽出しています。

## この論文を引用

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}
}
```

## ほかの論文解説

- [Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound](https://refivu.com/ja/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/ja/papers/145cac59-29af-46bd-915b-28b2501ff19d-feature-learning-beyond-the-lazy-rich-dichotomy-insights.md)
- [Geometry-Informed Neural Networks](https://refivu.com/ja/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/ja/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/ja/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/ja/papers/2b11d064-bbbd-40ba-8755-91e0f98fcbf6-muddformer-breaking-residual-bottlenecks-in-transformers-via.md)
- [Estimating Implicit Expected Log Density Ratios](https://refivu.com/ja/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/ja/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/ja/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/ja/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/ja/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/ja/papers/654bb0be-4b89-4d3d-82f8-43407afed1f4-calculation-and-rejection-diverge-in-language-models-tested.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/e3b906b8-d6bc-4a89-8a43-99761b36ba81-parattt-parallelizing-test-time-training-layers-with-deep)
