Modular TTT: Rethinking Test-Time Training as Composable Modules
Anonymous authors
ICLR 2027
TL;DR. Modular TTT represents test-time training as composable graph modules, enabling automatic update derivation, systematic ablations, and efficient variants competitive with Gated DeltaNet.
Abstract. Test-time training (TTT) views sequence modeling as an online learning problem in which fast weights are updated by an internal learning rule. Despite the growing number of TTT variants, existing approaches typically hard-code each variant separately, which makes it difficult to design new TTT methods and to isolate the role of each component. To address this, we propose Modular TTT, a framework that represents the inner learner as a directed acyclic graph and exposes the fast-weight network, loss function, learning rate, weight decay, and normalization as explicit design dimensions. Once the forward pass of each fast-weight primitive is specified, Modular TTT automatically composes the corresponding backward and query-view computations over the graph. Using Modular TTT, we systematically ablate the components of TTT and find that the learning rate, weight decay, a single-layer nonlinearity, and a dot-product loss improve performance. By contrast, deeper fast-weight networks and normalization tend to hurt performance because they induce excessively large activations, while residual connections, gating, and MSE loss provide little measurable benefit. Guided by these findings, we train the best resulting variant as 410M- and 1.45B-parameter models on 100B tokens, and observe training loss and benchmark performance comparable to Gated DeltaNet.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 24 Nov 2026, 16:57 UTC.
- Rating
- 2/4
- Confidence
- 4/4
- Soundness
- 1/3
- Presentation
- 2/3
- Informativeness
- 1/3
Read review
Summary
This paper presents Modular TTT, a framework for expressing and systematically studying test-time training architectures through composable modules. The framework represents the inner learner as a directed acyclic graph and assembles primitive-level train-view forward, train-view backward, and causal query-view rules into the complete computation, including fast-weight state updates. This formulation enables controlled comparisons of learner architectures, inner objectives, learning-rate initialization, decay mechanisms, and normalization. Through language-modeling ablations at 160M and 410M parameters, the authors find that small initial inner learning rates, weight decay, and simple pointwise nonlinearities improve performance under the evaluated settings, while MSE and inner-product objectives perform similarly. Deeper learners, normalization, and residual or gated extensions do not consistently improve upon the shallow configurations. The paper also analyzes update stability and factor-dependent dynamics to help explain these observations. The implementation achieves approximately 2.2–3.3× higher training throughput than the official TTT implementation in two evaluated configurations. Finally, selected variants trained on 100B tokens at 410M and 1.45B parameters achieve competitive language-modeling and multiple-choice benchmark results relative to Gated DeltaNet, while precise long-context retrieval remains a limitation.
Strengths
- The paper provides substantial ablation coverage, including losses, learning-rate initialization, decay, nonlinearities, normalization, and deeper learners. The additional stabilization and initialization sweeps strengthen the empirical observation that the tested deeper configurations underperform the shallow alternatives. This provides actionable design guidance for TTT.(But, to mention, similar systematic studies of design choices have already been conducted in vision (see ViT³)).
- The scale-up experiments demonstrate that the selected configurations achieve competitive results on several language-modeling and downstream metrics. The paper also acknowledges limitations in precise retrieval, which I consider a strength.
Weaknesses
- How does Modular TTT differ from prior TTT methods? Do prior methods not already involve primitive-level forward, backward, and causal query computations? What does modularization actually add? For an entirely new inner network, would the update rules not still need to be implemented manually? Is deriving and implementing these rules after modifying the inner network particularly difficult? It remains unclear what practical benefits modularization brings to TTT implementation, especially compared with existing approaches (such as Learning to (Learn at Test Time): RNNs with Expressive Hidden States).
- Limitations of the empirical and theoretical evidence. First, Modular TTT shows no clear overall empirical advantage and underperforms GDN in some settings, including certain needle-in-a-haystack retrieval evaluations. Second, the factor-scaling analysis in Section 4.1 establishes that equivalent factorizations can induce different updates depending on the scaling coefficient . However, sensitivity to parameterization does not by itself establish greater optimization difficulty; a more direct connection to the observed failures of deeper learners is needed. Finally, the large speed gap between LaCT and Modular TTT warrants further explanation. More details on the benchmark configurations and implementations are needed to assess the fairness of this comparison.
Questions for the authors
- What implementation effort does Modular TTT eliminate over prior TTT, and what still requires manual implementation?
- In which settings does Modular TTT offer a clear empirical benefit over GDN? How do the authors explain its weaker performance in some needle-in-a-haystack retrieval settings?
- How does factor-scaling sensitivity imply greater optimization difficulty? Could the authors provide direct experimental evidence linking this mechanism to the observed failures of deeper TTT memories?
- What explains the large speed gap with LaCT, and how is comparison fairness ensured?
3 comments
3. How factor-scaling sensitivity creates optimization difficulty and links to deep-memory failures.
In a factorized fast learner, the outer optimizer cannot merely learn an effective product ; it must simultaneously keep factor scales balanced across chunks so that coupled one-step updates neither vanish nor overshoot.
- Parameterization sensitivity turns a simple linear write into a coupled conditioning problem. A single fast matrix takes an uncoupled step . Rescaling the factors to and preserves the forward output, but their first-order contributions to the update of the product matrix scale by and , respectively (Equation 13). Poorly balanced factor scales therefore distort the effective update even when the forward function is identical.
- Targeted interventions link factor coupling and normalization conditioning directly to observed deep failures. First, Proposition 5 predicts that all-zero factors trap coupled gradients at zero while leaving a single matrix unaffected; Table 25 confirms that zero initialization works for shallow learners but fails on every multi-factor learner until Gaussian initialization is used. Second, even with Gaussian initialization, two-layer learners fail or degrade at the shallow baseline's and require smaller , while
Norm-containing graphs suffer additional gradient amplification in Equation 9 unless or mean scaling is raised. Below,Faileddenotes divergence toNaNor stalled high loss with gradient norms above . Even after stabilizing and tuning each family, every deep learner still trails shallowLinear-SiLU, and we will present factor coupling alongside normalization conditioning rather than as the sole cause.
| Topology at 160M | Failure Mechanism & Targeted Fix | Before After Loss |
|---|---|---|
| Linear-SiLU, shallow baseline | Zero init Gaussian init at | |
| Linear-Linear | Coupled zero-gradient trap: Zero init Gaussian init | |
| Linear-SiLU-Linear-SiLU | Coupled step scale: Zero or Gaussian, | |
| Linear-SiLU-Linear-Norm | Norm amplification: at | |
| Linear-Norm-Linear | Coupled step + residual scale: with inner loss | |
| Residual SiLU | Branch scale amplification: no mean scaling mean scaling at |
4. The speed gap with LaCT and comparison fairness.
Table 27 reports end-to-end inference throughput under an identical workload: during decoding, Modular TTT reuses its fast-weight state and processes one new token per step, whereas the evaluated LaCT implementation recomputes the full prefix.
- We matched the prompt length, decode length, and batch size across models at each scale. We used a single A100 with BF16 and per-layer
torch.compile, a 2,048-token prompt, and 128 decode steps. The batch size was 32 at 160M and 16 at 410M. For LaCT, we used our default training configuration. - At
410M,M-SiLU, MSEand LaCT reach the same final loss of2.5582, while Modular TTT trains nearly3×faster with35%lower peak memory. Both were trained for100,000steps at sequence length4,096under the same effective batch of16per device across micro-batch settings, as shown below.
| Model at 410M, 100B Tokens | Final Loss | Training Throughput tok/s | Peak Memory GiB |
|---|---|---|---|
| LaCT | 2.5582 | 7,447.2 | 62.95 |
| M-SiLU, MSE | 2.5582 | 21,438.7 | 40.94 |
| M-SiLU, Inner | 2.5569 | 21,569.7 | 40.97 |
| M, MSE | 2.5648 | 24,101.0 | 36.28 |
| M, Inner | 2.5621 | 24,310.8 | 34.76 |
- In two controlled training comparisons, enabling Muon alone reduces LaCT's throughput by
31%and40%. We varied only Muon within each pair. Enabling it reduced throughput from 108,020 to 74,235 tokens/s in the smaller model and from 17,912 to 10,751 tokens/s in the larger model.
Dear Reviewer vK2x,
Thank you very much for your insightful questions regarding DAG modularization, GDN retrieval comparisons, deep-memory failure mechanisms, and LaCT benchmark fairness, which have allowed us to provide much stronger support for Modular TTT. We have addressed all your points with targeted comparative experiments and detailed clarifications. We would truly welcome your feedback on our responses and additional results before the discussion window ends. Thank you very much again for your time and thoughtful review.
- Rating
- 2/4
- Confidence
- 2/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
The paper proposes Modular TTT, a framework that represents the test-time-training inner learner as a DAG of primitives. Each primitive defines train-view forward, train-view backward, and causal query-view rules, which compose automatically into the full chunkwise TTT computation. Experiments find that small learning-rate initialization, weight decay, and shallow nonlinear learners improve language modeling, while deeper or gated learners generally underperform. Selected variants scale to 1.45B-parameter and achieve benchmark results comparable to Gated DeltaNet. The implementation accelerates training relative to official TTT implementations, although inference remains slower than Gated DeltaNet and precise long-context retrieval remains limited.
Strengths
- The Modular TTT framework provides an empirical research instrument to systematically explore the design space of TTT. The three-pass DAG formulation separates train-view computation, backward signals, and causal query updates, enabling changes to learner topology without manually deriving the entire TTT computation for every variant. This is important for TTT practitioners
- Ablations provide useful insights and also justify the framework's value. The experiments isolate learning-rate initialization, decay, loss, and learner structure under shared training conditions. Scaling selected variants to 1.45B parameters and approximately 100B tokens establishes that the resulting recipe remains competitive with GDN on multiple-choice benchmarks.
Weaknesses
- The selected models do not establish a compelling quality–efficiency advantage over the strongest baseline. At 1.45B, all Modular TTT variants have higher language-modeling loss and lower inference speedup than GDN. This limits the demonstrated payoff of TTT architecture search: comparable benchmark accuracy alone does not show a better practical trade-off.
- There is no equivalence check against the official TTT code. Official TTT-Linear reaches 3.395 versus about 3.038 for Modular TTT at 160M (Table 26). The gap is attributed to “recipe mismatch,” but the fidelity of the framework can be better established with more detailed analysis.
Questions for the authors
- When Modular TTT is configured to match official TTT-Linear and TTT-MLP exactly, does it reproduce the official forward outputs and validation loss to numerical tolerance? Is the 2.2–3.3× speedup measured under that exactly matched configuration?
- I am curious, did the fast-weight factors share the shallow model’s learning rate and initialization in the deep-memory experiments? If so, the deep models may simply have written much smaller updates. Did you match effective update sizes across depths (e.g., per-factor learning rates or larger init), or log factor and update norms during training? The factor-coupling argument (Equations 10–13) shows the effect is possible, not that it occurred. This would materially affect how strongly I interpret the negative depth results; it is not a request for an unrestricted future architecture search.
4 comments
Thank you for reading our paper carefully and for your questions about our baselines and inner-loop updates.
1. Goal of Modular TTT and comparison with GDN.
Our goal is not to build a SOTA TTT architecture, but to provide a unified DAG framework and controlled experiments testing which TTT designs actually work. Methodological contributions are not limited to new models: lowering the barrier to reproducible comparison helps prevent unverified claims about complex fast learners from spreading. Adding SiLU to our linear learner lowered validation loss for every paired seed at both model sizes (Table 15). At 1.45B, our linear learner with the inner-product loss also achieved slightly higher average multiple-choice accuracy than GDN (Table 7). In our inference benchmarks, GDN was faster, while every Modular TTT variant used less peak memory at both tested sizes (Table 27).
2. Equivalence check, the 3.395 versus 3.038 loss gap, and the speedup.
We verified numerical equivalence with Official TTT when matching its operator and update configuration; the 3.3951 versus 3.0380 gap in Table 26 arises because unmodified Official TTT bundles several weaker recipe choices that our single-factor ablations quantify directly.
- Tables 13 and 18 isolate the main factors behind Official TTT-Linear's
3.3951loss. Table 26 runs the unmodified public Official TTT module, which combines no weight decay, a head-scaled learning-rate gate, fast-weight LayerNorm, and a residual target. In Modular TTT at160M, removing scalar decay alone raises MSE loss from3.0380to3.2005in Table 13, using standard near-unit learning-rate initialization raises loss to3.3035with decay and3.6012without decay, and updating normalization scale as a fast weight degrades loss to3.1831–3.2719in Table 18. Together with the target, these factors explain the3.3951result without any fidelity discrepancy. - Table 32 measures the speedup on topology-matched
160Mnorm learners rather than Official TTT's recipe, while togglingTTT_KERNEL_BACKENDinside Modular TTT isolates the exact kernel gain. Analytic primitive backward rules run and faster thanautograd.gradin Table 31 and enabletorch.compile, giving pure PyTorch Modular TTT a gain over Official TTT, while Triton adds a strictly matched speedup and lower peak memory.
| Topology at 160M | Official tok/s | Modular PyTorch tok/s / GiB | Modular Triton tok/s / GiB | PyTorch / Official | Triton / PyTorch |
|---|---|---|---|---|---|
| Linear + Norm | 43,397.5 | 86,716.1 / 38.94 | 93,366.9 / 32.15 | ||
| Linear + GELU + Linear + Norm | 21,336.9 | 66,961.6 / 55.55 | 71,101.1 / 46.56 |
3. Effective update sizes and the interpretation of factor coupling.
We raised the initial inner learning rate in the deep models to match the rate we used in the shallow model. Some deep models then had higher validation loss, and others failed to train.
- Fast-weight nodes share initial and Gaussian
std=0.02initialization while predicting node-specific tokenwise ; we swept , hidden width, , mean scaling, and inner loss rather than setting separate per-factor or logging update norms. ForLinear-SiLU-Linear-SiLU, validation loss fell as we increased the learning rate up to half the shallow model's rate. At the shallow rate, training failed. ForLinear-SiLU-Linear-Norm, using the shallow rate increased validation loss even after we stabilized training by adjusting the normalization parameter. In the table,Failedmeans that training producedNaNor that loss stayed abnormally high. The shallowLinear-SiLUreached a validation loss of 3.0205. Neither a wider hidden layer norResidual Normclosed that gap.
| Two-Layer Topology at 160M | MSE, | MSE, | Inner, |
|---|---|---|---|
| Linear-SiLU-Linear-SiLU | 3.1221 | Failed | 3.1297 |
| Linear-Linear-SiLU | 3.1223 | 3.1304 | 3.1247 |
| Linear-SiLU-Linear | 3.1240 | 3.1372 | 3.1213 |
| Linear-Norm-Linear | 3.1594 | Failed | 3.0542 |
- We agree that Equations 10–13 describe a structural optimization mechanism rather than proving small updates occurred under Gaussian initialization. With all fast weights initialized to zero, the two-factor learners failed to train, while the shallow
Linear-SiLUtrained successfully (Table 25). With Gaussian initialization,Linear-SiLU-Linear-SiLUtrained at a lower learning rate but failed when we raised it to the rate used by the shallow baseline. Across our sweeps of learning rate, normalization, and inner loss, even the best deep learner had higher validation loss than the shallow baseline.
Thank you for the detailed response. The reported numerical equivalence with Official TTT helps address my concern about implementation fidelity. The additional learning-rate sweeps provide more empirical evidence that deeper learners underperform under the tested settings. Although a unified framework has value for TTT practitioners, I still view the contribution as primarily an assessment of existing designs, without opening up promising new directions for TTT architectures. More fundamentally, it remains unclear whether the TTT formalization itself exposes an effective design space. Therefore, I will keep my score.
Thank you very much for confirming that our numerical equivalence check addresses implementation fidelity, that our learning-rate sweeps strengthen the evidence on deeper learners, and that our unified framework is valuable for TTT practitioners. We offer a brief perspective on your concerns regarding TTT's design space and future directions, and respectfully ask if you might reconsider our contribution in this light.
1. Rigorously determining where the TTT formalization exposes an effective design space is itself a central scientific contribution. Recent works (TTT-MLP [1], Titans [2], ATLAS [3], Nested Learning [4], and LaCT [5]) widely assume that deeper, more expressive inner learners unlock a superior sequence-modeling space, yet bundle multiple changes or omit reproducible inner-learner code. Testing this assumption under controlled single-factor conditions is essential: we show that TTT does expose effective design axes, specifically initial update-spectrum control (Proposition 2), scalar and vector forget-decay (Table 4), and bounded coordinatewise write-gating (Table 5), whereas naive product-form depth, fast-weight normalization, residuals, and gating fail under one-step chunkwise learning. Clarifying which axes genuinely drive gains and which fail under controlled scrutiny prevents costly community-wide detours; revealing a sharper, accurate effective frontier is a core empirical contribution rather than a limitation of the study itself.
2. Beyond assessing prior designs, modularly decomposing TTT fills a gap with no prior counterpart in language-modeling TTT, uncovering stronger recipes and concrete new directions. Prior TTT studies hard-coded bundled variants individually without a unified framework for component-level attribution or mechanistic diagnosis.
- Stronger, simpler TTT recipes: Isolating Official TTT's [1] bundled choices yielded
Linear-SiLU(scalar decay, small-LR init, and bounded post-linear activation without fast-weight LayerNorm or targets), lowering 160M loss from Official TTT-Linear's3.3951(Table 26) to3.0205(Table 5), winning 10/10 paired seeds overLinearat 160M and 410M (Table 15), beating GDN [6] on all five 160M seeds, and matching LaCT's [5] 410M 100B-token loss (2.5582) at throughput and 35% lower memory. - Concrete new directions from mechanistic diagnosis (Section 4.1):
- Scale-invariant or preconditioned multi-factor inner updates: Equation 13 and Proposition 4 show that one-step SGD on suffers and update distortion under forward-equivalent rescalings , pointing toward factor-balanced, orthogonalized, or preconditioned inner updates rather than naive multi-layer SGD.
- Richer write- and forget-modulation on uncoupled states: Equation 8 () and Table 4 (where vector decay further lowers loss to
3.0038at 160M and2.7821at 410M) show that TTT's productive frontier lies in expressive coordinatewise write-gating and selective decay on well-conditioned uncoupled states rather than stacking forward depth. - Composable prototyping for multi-step and hybrid memories: Because Modular TTT composes , , and causal rules with
torch.compile( to faster than Official TTT [1]), practitioners can prototype new update rules, multi-step schedules, and hybrid exact-recall plus fast-weight blocks without re-deriving chunkwise dual kernels by hand.
Since our experiments and analyses have addressed your technical questions on implementation fidelity and deep-learner fairness, we sincerely hope you might weigh the value of providing an open, high-throughput composable framework together with a rigorous mechanistic map of where TTT works, why naive depth fails, and where future TTT designs should focus. We would be truly grateful if you could kindly reconsider your assessment before the discussion window closes. Thank you so much again for your time and thoughtful engagement.
[1] Yu Sun et al. Learning to (Learn at Test Time): RNNs with Expressive Hidden States. ICML, 2024.
[2] Ali Behrouz et al. Titans: Learning to Memorize at Test Time. arXiv, 2025.
[3] Ali Behrouz et al. ATLAS: Learning to Optimally Memorize the Context at Test Time. arXiv, 2025.
[4] Ali Behrouz et al. Nested Learning: The Illusion of Deep Learning Architectures. arXiv, 2025.
[5] Tianyuan Zhang et al. Test-Time Training Done Right. arXiv, 2025.
[6] Songlin Yang et al. Gated Delta Networks: Improving Mamba2 with Delta Rule. ICLR, 2025.
- Rating
- 2/4
- Confidence
- 2/4
- Soundness
- 3/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
the paper proposes an analysis suit for TTT ingredients. Their modular API allows to easily modify depth, replace nonlinearities, normalization, loss functions, etc to more easily measure their effect. The analyses show some design principles including MSE/inner-product losses being preferable to L1 or RMSE; low LR init. Scaling experiment show competitive performance to a strong linear recurrent method GDN .
Strengths
(+) the key benefit of this work is a convenient sandbox to test TTT modules. I can see the codebase being useful to the community, especially given it is twice as fast as the TTT implementation. (+) I appreciate the analyses runs that change one factor at a time which helps identify key ingredients importance
Weaknesses
(-) there's no real methodological contribution here. While indeed this is an analysis tool that can be useful for discovering key architectural ingredients, most of the results reported are negative -- what doiesn't help. some results confirm what was already found in current TTT papers like low learning rate. Eventually, performance do not win over existing solutions. In particle, could the GDN be seen as a chunk-of-size-1 TTT variant? If so would the sweep have found it due to increaed performance? (-) increased inner loop depth is found to harm performance. but i'm not convinced due to thee setup. TTT is meant to help with long sequences. In the paper, the expriment runs with a context length is 2K. Given the large chunk size there are only a handful of updates per sequence. I would really like to see this expriment re-run with much longer sequences.
Questions for the authors
(-) Is W0 learned in the outer loop?
4 comments
Thank you for your thoughtful evaluation and constructive questions.
1. Methodological contribution, negative results, and GDN at chunk size 1.
We believe that methodological contributions are not limited to proposing new methods: providing a reproducible framework, conducting controlled single-factor ablations, and showing which complex designs fail to help are equally important research contributions.
- Controlled negative results directly test complexity claims that lacked isolated verification. Titans, ATLAS, and Nested Learning claimed deeper or more complex fast learners beat DeltaNet-style models without releasing reproducible inner-learner code, while LaCT jointly altered the learner, attention branch, update rule, and kernels, preventing component-level attribution. Once an incorrect scientific narrative becomes widespread, correcting it becomes increasingly costly; one purpose of Modular TTT is precisely to lower the barrier to community reproduction and controlled comparison by automatically composing , , and into causal DAG execution with open-source code.
- Prior use of individual components is distinct from a matched ablation under a shared backbone, data, budget, codebase, and protocol. Beyond small-learning-rate initialization, Tables 13–16 show that weight decay substantially improves training, MSE and inner-product losses outperform L1 and RMSE, and
Linear-SiLUbeatsLinearacross all paired seeds at160Mand410M, with smaller, higher-variance gains at410M. Equation 8, , attributes this gain to bounded elementwise write-gating , whereas depth, normalization, residuals, and gating do not surpass this shallow frontier. - Our objective is neither a global optimum nor a SOTA architecture; "best" means best among the evaluated configurations, and being "close to GDN" is not itself our contribution. At , a scalar-decay
Linearlearner recovers GDN's inner gated delta-rule update, whereas full GDN also adds outer modules such as short convolutions and key-query/output normalizations outside the inner DAG. Because our chunk sweep in Table 23 uses the same outer backbone for chunk sizes of 128, 256, and 512 tokens, an inner-DAG sweep alone would not introduce those outer modules; Table 7 therefore compares against full GDN directly as an external baseline at410Mand1.45B, where our shallow configuration remains competitive.
2. Do the negative depth results extend to much longer training sequences?
In our one-step, 2K setting, shallow Linear-SiLU reaches 3.0205 and outperforms every deeper learner we tested, both when increasing updates per sequence and after stabilizing and tuning deep variants, where the best loss is 3.0542.
- Reducing the chunk size from to increases cross-chunk updates from to per
2Ksequence, yet the deep learner slightly degrades rather than closing the gap. In addition, queries within each chunk already incorporate token-level prefix updates through in Table 23.
| Learner | 160M | 410M | ||||
|---|---|---|---|---|---|---|
| Linear-GELU | 3.0247 | 3.0232 | 3.0224 | 2.7838 | 2.7844 | 2.7834 |
| Linear-SiLU | 3.0217 | 3.0205 | 3.0210 | 2.7845 | 2.7849 | 2.7833 |
| Linear-Norm | 3.0285 | 3.0300 | 3.0375 | 2.8066 | 2.8192 | 2.7961 |
| Linear-SiLU-Linear-Norm | 3.1132 | 3.1144 | 3.1373 | 2.9128 | 2.9258 | 2.9295 |
- Fixing initialization and normalization instabilities makes failed deep learners trainable, but every tuned deep variant still trails
Linear-SiLU. HereFaileddenotes runs that diverge toNaNor stall with abnormally high loss and gradient norms exceeding ; following Equations 10–13, using Gaussian initialization and tuningNorm, mean scaling, , and the inner loss at160Mrestores stable training, and we will clarify this2Kscope in the paper.
Topology (160M, scalar decay) |
Stabilization & Tuning Applied | Default Best Loss |
|---|---|---|
| Linear-SiLU (shallow baseline) | Zero init Gaussian init (, MSE) | |
| Linear-Norm-Linear | Gaussian init (), MSE Inner product | |
| Linear-SiLU-Linear-Norm | Gaussian init, , | |
| Linear-SiLU-Linear-SiLU | Zero init Gaussian init, | |
| Linear-Linear | Zero init Gaussian init (, MSE) | |
| SwiGLU-Norm | Zero / no-mean Gaussian init + mean scaling | |
| Residual SiLU | Gaussian init (), no-mean mean scaling |
3. Is learned in the outer loop?
Yes, is a trainable outer-loop parameter optimized end-to-end across training sequences. Outer-loop gradients backpropagate directly into through the inner-loop updates. Each sequence initializes its fast weights from without detaching the computation graph, so outer language-modeling gradients update alongside all other backbone parameters.
i thank the authors for their detailed response, upon reading the discussions i maintain my original score. The main remaining weaknesses presist: the paper offers a tool than confirms known results and allow to search new methods but did not lead to new finding or even the re-discovery of GDN. second, the token sequences are short for the memory size tested. experiments with longer seuquences are cruical.
Thank you very much for reading the discussions and clarifying your concerns. Below we provide direct evidence on both points and respectfully ask if you might reconsider our work.
1. Re-discovering the DeltaNet/GDN limit and new findings beyond known results.
- Empirical convergence and why search selects
Linear-SiLU(): For ourLinearMSE learner (no decay, mean scaling,2K,10B), shrinking monotonically approaches DeltaNet [4] (and GDN's [5] inner rule under scalar decay) at both scales, while generic-DAG speed (tgs, tok/s) drops to without a hardcoded scan kernel:
Metric (2K, 10B) |
DeltaNet [4] () | |||||
|---|---|---|---|---|---|---|
| 160M Loss | 3.1964 | 3.1911 | 3.1729 | 3.1532 | 3.1349 | 3.0833 |
160M tgs |
108,911 | 82,579 | 53,468 | 31,743 | 17,324 | 174,340 |
| 410M Loss | 2.9219 | 2.9107 | 2.8974 | 2.8824 | 2.8660 | 2.8396 |
410M tgs |
37,168 | 26,723 | 17,215 | 9,843 | 5,301 | 61,740 |
With scalar decay, small-LR init, and our post-linear SiLU write-gate at , Linear-SiLU reaches 3.0205 at 160M (beating GDN's [5] 3.0301 across 5/5 seeds, Table 15) and 2.5569 at 410M/4K/100B (vs. GDN's 2.5559, Table 7, with better WikiText PPL 20.98 vs. 21.00 and accuracy 50.59% vs. 50.45%), matching or beating GDN without the to speed loss.
- New findings (no prior modular decomposition existed in language-modeling TTT): Prior TTT works bundled changes without component attribution; beyond small-LR init (Prop. 2), we show: (i) Why deep memory fails: contrary to TTT-MLP [1], Titans [2], and LaCT [3], Eq. 13 and Prop. 4 prove multi-factor SGD suffers and distortion under , explaining why stabilized deep learners trail shallow ones; (ii) Bounded write-gating: isolating
Linear-SiLU(, Eq. 8) without LayerNorm amplification (Eq. 9) or targets cuts160Mloss from Official TTT's [1]3.3951(Table 26) to3.0205(Table 5), winning10/10paired seeds overLinear(Table 15); and (iii) Selective decay: vector decay lowers loss to3.0038(160M) and2.7821(410M, Table 4).
2. State-rank saturation at 2K and longer-sequence (4K, 100B-token; 8K) results.
2,048tokens exceed state rank by : Per head, (Table 9) has max rank128. By (Eqs. A.12 to A.14), every token writes (not one write per chunk), so2,048tokens execute2,048writes ( rank capacity; the -token horizon under ), and4,096tokens execute rank capacity.- Longer-sequence (
4,096tokens,100Btokens) comparison at410M:
Method (410M, 4K, 100B) |
Topology | Loss | tgs |
Mem (GB) |
|---|---|---|---|---|
| Official TTT-MLP [1] | 2-matrix MLP + Norm | 3.2725 | 7,286 | 36.90 |
| Official TTT-Linear [1] | 1-matrix Linear + Norm | 2.9051 | 12,357 | 37.21 |
| LaCT [3] | 3-matrix SwiGLU + Muon | 2.5582 | 7,447 | 62.95 |
Modular M (Inner) |
1-matrix Linear | 2.5621 | 24,311 | 34.76 |
Modular M-SiLU (MSE) |
1-matrix Linear + SiLU | 2.5582 | 21,439 | 40.94 |
Modular M-SiLU (Inner) |
1-matrix Linear + SiLU | 2.5569 | 21,570 | 40.97 |
Doubling context to 4,096 ( rank) and tokens to 100B widens deep deficits: TTT-MLP's gap behind TTT-Linear grows (+0.0110 at 2K/10B, Table 26, to +0.3674 at 4K/100B), and 3-matrix LaCT [3] fails to beat M-SiLU at lower speed and +22 GB memory; Figure 4 confirms stable loss to 8,192 tokens ( rank).
As these , new-finding, state-rank, and 4K/100B results address both concerns, we would be truly grateful if you could kindly reconsider your score before the window closes. Thank you very much again for your time and feedback.
[1] Yu Sun et al. Learning to (Learn at Test Time): RNNs with Expressive Hidden States. ICML, 2024.
[2] Ali Behrouz et al. Titans: Learning to Memorize at Test Time. arXiv, 2025.
[3] Tianyuan Zhang et al. Test-Time Training Done Right. arXiv, 2025.
[4] Songlin Yang et al. Parallelizing Linear Transformers with the Delta Rule over Sequence Length. NeurIPS, 2024.
[5] Songlin Yang et al. Gated Delta Networks: Improving Mamba2 with Delta Rule. ICLR, 2025.
Comments on the paper
1 comment
Summary of Additional Results and Clarifications
Dear Area Chair and Reviewers,
We sincerely thank the reviewers and Area Chair for their time and constructive feedback. For ease of reference, we summarize the main conclusions from the additional experiments and clarifications provided across our rebuttal and follow-up responses:
- Framework value, numerical equivalence, and speedup [Reviewers oiNx, vK2x]. Modular TTT separates the learner graph from primitive-level forward, analytic backward, and causal query-view rules. This automatically composes chunkwise causal readouts and fast-weight state transitions that PyTorch autodiff cannot generate, while enabling
torch.compile. Under matched settings, Modular TTT matches Official TTT numerically, isolates why unmodified Official TTT has higher loss, and decomposes our to training speedup into pure PyTorch compilation gains and matched Triton kernel gains. - Design-space findings and convergence to DeltaNet/GDN [Reviewers Cwah, oiNx, vK2x]. As the first modular decomposition for controlled component attribution in language-modeling TTT, our study shows that small learning-rate initialization, weight decay, and a single-layer
SiLUnonlinearity consistently improve performance, while pointing to future directions such as scale-balanced multi-layer updates and selective decay. Shrinking chunk size from to monotonically approaches the DeltaNet limit at both 160M and 410M, but slows general-DAG training by to . By contrast, chunkwiseLinear-SiLUat beats matched GDN across all 160M seeds and matches full GDN at 410M and 100B tokens without this speed penalty. - Deep-learner stabilization and longer-sequence evidence [Reviewers Cwah, oiNx, vK2x]. Sweeping inner learning rates, initialization, normalization, and mean scaling across deeper, residual, and gated learners rules out under-sized updates. Deeper learners exhibit an interior learning-rate optimum, directly link zero-gradient trapping and normalization amplification to observed failures, and still trail shallow
Linear-SiLUafter stabilization. Moreover, every token applies a rank-1 update to the per-head fast weight, so 2K sequences already exceed state rank by and 4K sequences by . In matched 410M, 4K-context, 100B-token runs, Official TTT-MLP falls even further behind Official TTT-Linear, 3-matrix LaCT still does not beat shallowLinear-SiLU, and per-token loss stays stable out to 8K. - Matched comparisons with LaCT and GDN [Reviewers vK2x, oiNx]. Under identical A100 training and inference setups, shallow
Linear-SiLUmatches or slightly improves upon LaCT's 410M 100B-token loss while training nearly faster with 35% lower peak memory. Controlled ablations further show that enabling Muon alone slows LaCT training by over 30%. We also clarify where Modular TTT improves over GDN, including inference memory, 160M validation loss, 410M WikiText perplexity, multiple-choice accuracy, and several NIAH tasks, while clearly scoping the exact-retrieval limits shared by fixed-state models.
Detailed tables and derivations are provided in our reviewer-specific responses and follow-ups. We remain available to clarify any remaining questions. Thank you very much again for your time and thoughtful engagement.
Best regards,
The Authors of Submission 39209
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Thank you for your detailed questions about our framework and our comparison with LaCT.
1. Modular TTT is a unified framework rather than a new TTT method.
Modular TTT is not a new TTT method, but a unified execution framework for constructing and comparing TTT variants by automatically composing primitive-level rules ϕtrain, ϕtrain-bwd, and ϕquery over any valid learner DAG.
TTT-LinearandTTT-MLPmaintain separate hand-derived dual-form updates, normalization placements, and state layouts, so modifying the inner network requires rewriting global update and cache code. Modular TTT instead defines local rules once forLinear,Act,Norm,Add,Mul, andGatein Table 1; recombining them into any new learner topology requires only changing the declarative forward graph, while manual implementation is needed only when adding a brand-new primitive type:torch.compile-compatible execution. Autodiff can compute train-view gradients dV^, but it generates neither chunkwise causal query readout over s≤t without materializing per-token weight copies nor the fast-weight state transition:TTT-E2E uses the same fast weights throughout each mini-batch and updates them at the batch boundary. In Modular TTT, each query incorporates the causal prefix of fast-weight updates within the current chunk. Its analytic backward rules avoid inner-loop
autograd.gradso the graph compiles undertorch.compile, running 2.00× and 3.14× faster than Official TTT in pure PyTorch and 2.2×–3.3× faster with Triton in Table 32.2. Empirical benefit over GDN and weaker retrieval results.
Our goal is not a SOTA model that beats specialized GDN everywhere, as our main contribution is enabling reproducible single-factor TTT comparisons; still, Modular TTT outperforms GDN across several concrete settings while sharing the exact-retrieval limits of fixed-state models.
160Mvalidation loss, multiple-choice accuracy, and several NIAH settings. Beyond supporting general learner DAGs rather than one hardcoded recurrence, Modular TTT uses lower peak allocated inference memory than GDN across every variant at both evaluated scales in Table 27. On quality and retrieval,Linear-SiLUachieves lower160Mvalidation loss than GDN across all five seeds in Table 15, while in100B-token evaluations Modular TTT reaches lower410MWikiText perplexity and slightly higher410Mand1.45Bmultiple-choice accuracy in Table 7, beats GDN on1.45Bniah_singleacross all four variants at4Kin Table 29, and leads410Mniah_multiqueryandniah_multivalueacross1Kto8Kin Table 30.4K-only pretraining without long-context continual training, and fixed-state compression rather than a uniform deficit against GDN. Relative to GDN, NIAH ordering varies by scale and task: Modular TTT trails on410Mniah_singleunder general language-modeling selection without retrieval-specific tuning, yet scaling model capacity to1.45Breverses this at2Kand4Kin Table 29. Meanwhile, at8Kand on harder multi-key tasks in Tables 29 and 30, all models were trained only at4Kcontext without long-context continual pretraining. Like GDN and LaCT, Modular TTT compresses history into a fixed-size fast state without a per-token KV cache, leaving exact long-context recall an open limitation as noted in Appendix E.