Decision Titan: Test-Time Training for Long-Term Memory in Offline Reinforcement Learning

cs.AI cs.LG Jude Waide, Robert Lieck · Oct 1, 2026
Local to this browser
What it does
Long-term dependencies pose a fundamental challenge for sequential decision making because Transformers suffer quadratic attention scaling and RNNs lack expressive hidden states. This paper proposes Decision Titan (DTi), which grafts...
Why it matters
The authors introduce X-Maze, a controlled extension of T-Maze, and show that DTi can learn dependencies 20× longer than its context window and extrapolate to unseen episode lengths, while visualizing gate dynamics to explain how momentum...
Main concern
The paper presents a conceptually sound and timely adaptation of the Test-Time Training (TTT) framework to offline reinforcement learning. By merging Titans with Decision Transformer, the authors demonstrate that fast-weight memory can...
Community signal
0
0 up · 0 down
Sign in to vote with arrows
AI Review AI reviewed
Plain-language introduction

Long-term dependencies pose a fundamental challenge for sequential decision making because Transformers suffer quadratic attention scaling and RNNs lack expressive hidden states. This paper proposes Decision Titan (DTi), which grafts Titans-style Test-Time Training layers onto Decision Transformer to store episodic memories in fast weights updated by gradient descent at both train and test time. The authors introduce X-Maze, a controlled extension of T-Maze, and show that DTi can learn dependencies 20× longer than its context window and extrapolate to unseen episode lengths, while visualizing gate dynamics to explain how momentum propagates long-range information. Although the experiments are limited to synthetic memory tasks, the mechanistic ablations and honest characterization of catastrophic forgetting provide a valuable foundation for future research.

Critical review
Verdict
Bottom line

The paper presents a conceptually sound and timely adaptation of the Test-Time Training (TTT) framework to offline reinforcement learning. By merging Titans with Decision Transformer, the authors demonstrate that fast-weight memory can learn long-term dependencies well beyond the attention window in a synthetic setting, and their mechanistic visualizations offer genuine insight into how this memory operates.

However, the empirical contribution is narrow: evaluations are restricted to the proposed X-Maze and standard MuJoCo controls without long-term dependencies, and the headline generalization to 1.7× training lengths pales next to competing architectures such as ELMUR, which scales to millions of steps. Overall, Decision Titan is a useful proof-of-concept with strong ablation design, but it remains unclear whether the approach is practically competitive against existing RL-specific long-term memory methods.

“Decision Titan can learn long-term dependencies with ranges 20x longer than the context window”
Paper · Abstract
“ELMUR has been shown to generalise to T-Maze corridor lengths of at least 1,000,000 steps ... whilst DTi falls off at 200 steps in X-Maze”
Paper · Section 5
What holds up

The strongest aspects of the paper are its careful ablation studies and mechanistic analysis. The authors visualize the learned forgetting gate $\alpha_t$, momentum $s_t$, and write gate $\eta_t$ over time, convincingly showing that successful runs rely on exactly one head maintaining high momentum decay $\gamma \approx 0.95$ to propagate gradient signals across chunks. They also honestly report that increasing the number of MLP heads improves success not by adding capacity but by increasing the probability that random initialization produces a usable pattern, which is a nuanced and useful observation. Additionally, the introduction of X-Maze as a controllable testbed for ordered sequential memory is a solid methodological contribution.

“In all cases using momentum where the model successfully learns the task, exactly one head learns to maintain a high value of $\gamma$ across the episode—around 0.95”
Paper · Section 4.4.2
“heads provide more chances for long-term dependencies to be propagated far enough to be learnt”
Paper · Section 4.4.2
Main concerns

The paper suffers from a significant empirical gap: there is no direct comparison against contemporary RL long-term memory baselines such as RATE or ELMUR on shared tasks, making it impossible to assess whether DTi represents practical progress. The authors acknowledge that the architecture learns dependencies through chance patterns in the memory module, and the training curves show binary all-or-nothing behaviour where runs either rapidly converge or remain at random-chance levels; this brittleness raises serious questions about reliability in stochastic environments.

Moreover, the training protocol requires processing entire padded episodes, which the authors admit is unsustainable for longer environments and already constrains batch size, yet no remedy is offered. Catastrophic forgetting is identified as the most likely limiting factor, but it is neither quantified nor mitigated, leaving the approach vulnerable to corruption from every chunk-level gradient update.

“learns dependencies through chance patterns in $M$ caused by the required observations earlier in the sequence”
Paper · Section 4.2.2
“The strategy of training on entire episodes constrains the batch size, is unsustainable for longer environments, and slows down training compared to DT”
Paper · Section 5
Evidence and comparison

Within the constrained scope of X-Maze, the evidence supports the specific claims about context-window multiples and embedding effects: the authors show that chunked embeddings generalize better than global ones because they avoid out-of-distribution positional indices, and the one-hot-repeat encoding yields perfect recall because queries reliably match keys. However, comparisons to related work are almost entirely theoretical. The complexity analysis correctly notes that DTi operates in $O(k^2 + p)$ versus ELMUR's $O(k^2 + km)$ and RATE's $O((k+m)^2)$, but without matching experiments these asymptotic arguments are speculative. The authors fairly note that ELMUR achieves 100% success on T-Maze corridors up to 1,000,000 steps while DTi fails at 200 steps, a gap they attribute to catastrophic forgetting; this honesty is commendable but also highlights that the empirical head-to-head comparison is missing and that the theoretical advantage in memory scaling does not yet translate to better extrapolation.

“chunked embeddings generalise the best, followed by axial embeddings, with global embeddings generalising the least”
Paper · Section 4.3.2
“ELMUR has been shown to generalise to T-Maze corridor lengths of at least 1,000,000 steps ... whilst DTi falls off at 200 steps in X-Maze”
Paper · Section 5
Reproducibility

Appendix B documents hyperparameters clearly, and the training procedure—processing chunks in order without backpropagation through time—is described with sufficient detail to allow replication. The authors state they build on an unofficial Titans implementation by Wang (2025), which introduces an external dependency that may drift or become unsupported; they do not indicate whether their own code or the X-Maze environment will be publicly released. The experiments use a small model (32 dimensions, 3 layers) and a modest compute budget (1/8th of an Nvidia A100), making reproduction accessible, but exact replication of the chance learning dynamics and gate visualizations likely depends on the specific random seeds and the unofficial codebase. Reproducibility would be substantially improved by releasing code, environment source, and random seeds.

“there is no backpropagation through time, i.e. there is no flow of gradients between chunks”
Paper · Section 3.1.2
“Default hyperparameters for all of our experiments can be found in Appendix B”
Paper · Section 4
Abstract

Long-term dependencies remain a major challenge for sequential decision-making in the field of AI: RNNs suffer from vanishing gradients and the limited expressivity of vector-based hidden states, whilst Transformer-based models are limited by the quadratic scaling of attention. Recent work has proposed tackling this problem with the Test-Time Training (TTT) framework, which stores episodic memories in the parameters of a neural network through gradient descent at both train and test-time. This approach has seen success in the domain of Natural Language Processing, however, to the best of our knowledge it has not yet been applied to the domain of Reinforcement Learning (RL), nor has there been a study analysing how this memory practically functions. In this paper, we study the potential of the TTT framework for offline RL by augmenting a Decision Transformer with TTT layers, dubbed the Decision Titan. We analyse performance and properties of the model in the X-Maze environment, an extension of T-Maze designed to test sequential memory, and investigate how the memory mechanism learns by visualising gate values over time. Our key findings are that Decision Titan can learn long-term dependencies with ranges 20x longer than the context window, generalises to lengths 1.7x the training data, but crucially temporal generalisation depends on the time embeddings used, and the ability to learn long-term dependencies depends on how the relevant information is encoded.

Challenge the Review

Pick a starting point or write your own. Challenges run in the background, so you can keep reading while the AI investigates.

No challenges yet. Disagree with the review? Ask the AI to revisit a specific claim.