1University of Wisconsin–Madison 2Georgia Institute of Technology 3Adobe 4Massachusetts Institute of Technology 5University of California, Los Angeles 6University of Illinois at Urbana-Champaign 7Apple 8Meta 9Microsoft
TL;DR
A fast-weight memory compresses the context into a fixed-size state h that is written online as tokens or views arrive. Existing designs such as LaCT read it by deterministic regression, whose squared-loss optimum is the conditional mean: when a query is compatible with several stored values, a point prediction can merge them even if the state still holds the alternatives. TTG keeps LaCT's memory architecture and chunked update operator and changes how the memory is read, not how large it is.
On a write, each observed value is corrupted with sampled noise and the chunk update trains the fast-weight MLP as a key-conditioned denoiser; the slow parameters stay fixed at test time. On a read, each query starts from fresh noise and follows a query-conditioned denoising trajectory with the state frozen. More readout steps add fast-MLP evaluations, not state. In language modeling each chunk reads only the preceding context before its own update, which keeps the model causal; in novel view synthesis the observed posed images update the scene state before target-camera queries read it.
Long-context language modeling, evaluated up to 32K. PTL is the per-token loss at positions 30K–32K of 32K-token Book-3 sequences, as stored by each run's evaluation; RULER is accuracy (%) over 13 tasks, averaged over 4K, 8K, 16K and 32K. TTG uses one write repeat and one trained readout step (r=d=1). Scale labels name model families; TTG's conditioning changes the total parameter count. Bold marks the best value in each column among the bounded-state models; the full-attention Transformer† and YOCO† keep a key–value cache that grows with context and are excluded from that comparison.
| 124M | 760M | 3B | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Model | PTL ↓ | RULER ↑ | 4K | 8K | 16K | 32K | PTL ↓ | RULER ↑ | 4K | 8K | 16K | 32K | PTL ↓ | RULER ↑ | 4K | 8K | 16K | 32K |
| Baselines | ||||||||||||||||||
| Transformer† | 3.0869 | 16.52 | 23.82 | 20.24 | 13.10 | 8.93 | 2.5978 | 34.16 | 41.70 | 37.95 | 33.36 | 23.62 | 2.3881 | 51.87 | 59.10 | 55.71 | 52.20 | 40.48 |
| YOCO† | 3.0661 | 15.14 | 22.70 | 17.95 | 11.40 | 8.53 | 2.5749 | 26.39 | 35.81 | 28.12 | 23.17 | 18.45 | — | — | — | — | — | — |
| Transformer-SWA | 3.1243 | 14.50 | 26.93 | 14.73 | 9.94 | 6.41 | 2.6325 | 22.27 | 45.23 | 22.64 | 12.67 | 8.57 | 2.4544 | 30.73 | 64.11 | 29.48 | 18.11 | 11.22 |
| Gated DeltaNet-SWA | 3.0994 | 12.32 | 23.78 | 12.93 | 8.30 | 4.26 | 2.6075 | 21.48 | 40.40 | 23.12 | 13.66 | 8.76 | 2.3900 | 31.31 | 61.76 | 33.30 | 18.54 | 11.63 |
| DeltaNet-SWA | 3.1336 | 11.69 | 22.52 | 11.23 | 7.63 | 5.36 | 2.6086 | 20.77 | 43.43 | 20.56 | 11.79 | 7.28 | 2.3974 | 25.81 | 51.62 | 26.92 | 15.04 | 9.66 |
| KDA-SWA | 3.0560 | 12.12 | 20.86 | 12.98 | 8.36 | 6.28 | 2.5705 | 22.81 | 43.47 | 24.17 | 14.65 | 8.96 | 2.3625 | 32.31 | 64.71 | 32.53 | 18.77 | 13.24 |
| Mamba-2-SWA | 3.0845 | 12.96 | 24.21 | 13.93 | 8.32 | 5.37 | 2.5862 | 23.54 | 48.42 | 25.49 | 12.60 | 7.65 | 2.3797 | 30.54 | 61.45 | 32.71 | 17.58 | 10.39 |
| Fast-weight family | ||||||||||||||||||
| LaCT | 3.1088 | 12.36 | 24.34 | 14.09 | 6.97 | 4.06 | 2.5722 | 24.88 | 46.67 | 27.55 | 15.85 | 9.45 | 2.4464 | 31.1 | 55.4 | 37.8 | 20.5 | 10.7 |
| TTG (ours) | 3.0985 | 17.38 | 28.36 | 19.80 | 13.50 | 7.84 | 2.5630 | 26.76 | 43.96 | 28.99 | 19.20 | 14.89 | 2.4855 | 34.9 | 59.1 | 38.3 | 25.7 | 16.3 |
TTG adds 5.02, 1.88 and 3.8 mean RULER points over LaCT at 124M, 760M and 3B, and 3.78, 5.44 and 5.6 points at 32K. TTG leads LaCT at every length at 124M and 3B; at 760M it leads at 8K–32K and trails at 4K (43.96 vs 46.67). At 124M it also exceeds full attention on mean RULER (17.38 vs 16.52). Loss does not follow retrieval: at 3B TTG has 0.039 higher PTL than LaCT, and KDA-SWA has the lowest bounded-state PTL at 124M and 3B. One readout step keeps the gain; on a checkpoint trained with one step, extra evaluation steps made PTL worse, not better.
An LVSM-style model with an 8-layer, width-512 backbone writes the observed posed views into the scene memory and generates target-view features from it. Object-level models train on Objaverse and are tested on all 1,019 GSO objects; scene-level models train and test on DL3DV-10K, with 140 test scenes. TTG reaches 24.93 dB on GSO and 16.59 dB on DL3DV, 0.94 dB and 0.45 dB above LaCT, and it also beats DeltaNet and Gated DeltaNet on both sets. The growing-cache Transformer† stays higher, at 25.36 and 17.41 dB. PSNR is an L2 measure and cannot by itself show whether a readout avoids averaging; the retrieval and two-value tests are sharper.
| Model | GSO PSNR ↑ | DL3DV PSNR ↑ |
|---|---|---|
| Transformer† | 25.36 | 17.41 |
| DeltaNet | 23.95 | 15.83 |
| Gated DeltaNet | 24.33 | 16.05 |
| LaCT | 23.99 | 16.14 |
| TTG (ours) | 24.93 | 16.59 |
PSNR in dB, averaged over all test scenes and all 23 next-view positions, with one generated sample. Bold marks the best bounded-state value in each column; † growing-cache reference. TTG, DeltaNet and Gated DeltaNet share seed-0 view sequences; the archived LaCT and Transformer results use seed 9595, so those comparisons are not paired by view sampling.
A controlled probe writes two values per key into the same gated-MLP fast-weight memory, so N keys hold 2N bindings; the values lie on the unit sphere with separation 1.732. Coverage is the fraction of keys for which 32 reads include a sample strictly closer than half the separation to each stored value. TTG reaches 65.9% at N=4 with S=4 readout steps and 34.4% at N=16 with S=8.
The deterministic controls are LaCT, LaCT with four times the fast weights at matched slow-parameter count, and a matched-noise control that keeps TTG's loss, conditioning, widths and denoising loop but replaces the noise with a learned constant. All three have zero two-value coverage by construction, and at N=64 the larger LaCT only moves its output closer to the two-value mean. Freezing the readout noise on trained TTG weights also removes the coverage, while a one-value-per-key control succeeds in both families. The controls show that stochastic reads reach both values; they do not isolate denoising training as the only cause.
Coverage needs only one hit near each value among 32 draws, so it can rise without better average samples: at N=16 it goes from 0 to 34.4% while the mixture NLL barely moves (70.8 to 69.9). At N=64 every arm has zero coverage, and at S=4 TTG's mixture NLL is about 3.5× LaCT's: at the highest tested load, generative reading does not overcome write-side interference.
TTG changes how a fixed-size fast-weight memory is read, not its size. In the reported settings it improves mean RULER over LaCT from 124M to 3B and next-view PSNR over the tested fast-weight baselines, and the two-value probe links competing-value recovery to stochastic reading at low and moderate load. The language-model gain holds with one readout step, so it may come from the learned denoising readout rather than extra iterations; that result does not show recovery of multiple values, and loss and retrieval rank the models differently.
Extra noisy writes and readout steps cost compute and do not help uniformly: r=d=1 is a low-cost default, not a universal optimum, and the depth sweep suggests evaluation depth should match training depth. The LaCT and Transformer comparisons in novel view synthesis are not paired by view sampling; identical NVS reruns differ by a median 0.035 dB and at most 0.165 dB, a spread rather than a confidence interval. At the highest probe load, write-side interference limits every readout.
@misc{cai2026testtimegeneration,
title={Test-Time Generation},
author={Zefan Cai and Qinzhe Hu and Yuchen Zhu and Hao Tan and Tianyuan Zhang and Sai Bi and Haoyi Qiu and Yicong Hong and Haozhe Zhao and Jason Kuen and Haoliang Wang and Ruiyi Zhang and Ryan A. Rossi and Wanrong Zhu and Molei Tao and Wen Xiao and Junjie Hu and Jiuxiang Gu},
year={2026},
url={https://zefan-cai.github.io/TTG.github.io/},
}