NVIDIA's TTB Renders 3D Scenes 23x Faster by Baking Attention Into Fast Weights
NVIDIA's Test-time Baking compresses cross-view attention into tiny MLPs, holding render speed constant at 23 fps no matter how many input photos.
Takeaways
- NVIDIA Research's Test-time Baking renders novel views at a constant 23 fps regardless of input photo count.
- Up to 23x faster rendering than the KV-cache DVSM baseline, within 1 dB PSNR across DL3DV benchmarks.
- Scene state is 85x smaller at 64 views because fast-weight MLPs replace growing key-value caches.
- Local-duplicate TTB beats the KV-cache model: 31.33 vs 31.11 PSNR at 64 views on DL3DV.
- Zero-shot transfer to Mip-NeRF 360, Free, and Hike scenes despite training only on DL3DV.
- Code, weights, and a live Hugging Face demo are available; NeurIPS 2026 spotlight.
Novel-view synthesis models reconstruct a 3D scene from photos and render it from unseen camera positions. Leading decoder-only systems can rival per-scene methods such as 3D Gaussian Splatting, but they retain every input token’s keys and values in a KV cache. Each generated frame attends to that growing cache, so additional photos improve reconstruction while increasing render latency, memory use, and storage.
NVIDIA Research’s TTB project, a NeurIPS 2026 spotlight, compresses those attention results into fixed-size multilayer perceptrons, or MLPs, during scene reconstruction. Once this “baking” finishes, the renderer discards the KV cache and queries the fitted MLPs. The paper reports 23 frames per second across tested view counts, up to 23 times the speed of its KV-cache baseline and 2.3 times the speed of LaCT. At 64 input views, standard TTB stays within 0.91 dB of the baseline while storing a scene representation roughly 85 times smaller.
Why every photo taxes every frame
A KV-cache view-synthesis model performs two stages. It first encodes the input photos and camera poses into cached keys and values. Every novel frame then uses cross-view attention to search that entire cache. More input views supply richer scene evidence, but each frame must process more tokens.
The quality can exceed per-scene optimization under the same time budget. In the paper’s one-minute, 64-view DL3DV comparison, the KV-cache model DVSM reaches 31.1 dB of peak signal-to-noise ratio, or PSNR. 3D Gaussian Splatting reaches 27.3 dB from the same 64 photos and 30.5 dB when given about 300. DVSM’s rendering rate falls to roughly one frame per second at 64 views, limiting its use in interactive applications.
Test-Time Training, or TTT, lowers rendering cost by fitting a small MLP to each scene. Its training objective maps every token’s key to that token’s value. The fixed-size MLP provides constant-time rendering, but its target contains none of the cross-view aggregation performed by attention, which reduces reconstruction quality.
Attention becomes the training target
TTB retains cross-view attention during reconstruction and uses its output as the MLP’s supervision. The fitted MLP learns to reproduce features that attention has already assembled from all input photos. After fitting, its scene-specific parameters, known as fast weights, replace the cache during rendering.
A mismatch between reconstruction and rendering inputs requires a second change. Context tokens contain image features and camera pose during reconstruction, while a new viewpoint supplies only pose because its image does not yet exist. TTB creates two tokens for each context view: a pose-only rendering token sent to the MLP and a ground-truth token containing image features for the attention branch. The MLP therefore receives the same input modality while baking and rendering.
Three updates, then discard the cache
Each transformer block contains intra-view attention, a feed-forward layer, the TTB layer, and a second feed-forward layer. An inner optimization loop updates the block’s fast-weight MLP with mean squared error against the cross-view attention output. The outer rendering loss backpropagates through those updates, allowing the complete model to train end to end. The paper uses three inner-loop updates per layer; its ablation attributes roughly 0.4 dB each to residual learning and a feedback path.
- Reconstruct: Cross-view attention processes context tokens containing image features and camera poses.
- Create targets: The resulting attention outputs become supervision for the scene-specific MLPs.
- Bake: Each MLP receives pose-only context tokens and takes three mean squared error updates.
- Discard the cache: The fitted fast weights become the stored scene representation.
- Render: Novel camera poses query the baked MLPs without attending to the original input tokens.
23 fps across view counts
The evaluation covers 140 held-out DL3DV scenes at 960p using 16, 32, and 64 input views. Reported TTB rendering runs on one NVIDIA A100 and remains at 23 fps across those settings.
| Method | Input views | PSNR | Render rate |
|---|---|---|---|
| DVSM | 32 | 29.13 dB | 2 fps |
| TTB, local duplicate | 32 | 29.26 dB | 23 fps |
| DVSM | 64 | 31.11 dB | 1 fps |
| Standard TTB | 64 | 30.20 dB | 23 fps |
| TTB, local duplicate | 64 | 31.33 dB | 23 fps |
PSNR measures pixel-level fidelity on a logarithmic scale. With the pixel range held constant, an increase of about 3.01 dB corresponds to halving mean squared error. Standard TTB’s 30.20 dB result at 64 views is 0.91 dB below DVSM, while rendering 23 times faster.
The local-duplicate variant maintains one set of fast weights for each group of 16 input views. It raises 64-view quality to 31.33 dB, slightly above DVSM, while retaining the reported 23 fps throughput. This variant trades additional fast-weight copies for higher fidelity.
A smaller variant named TTB-- uses a linear-projection target in place of attention. Its reconstruction cost scales linearly with the number of views, and it matches LaCT’s quality with fewer parameters. At 64 views, supervising with full attention contributes roughly 1 to 2 dB over this reduced target.
Zero-shot scenes and runnable code
A model trained only on DL3DV was also evaluated zero-shot with 64 views from Mip-NeRF 360, Free, and Hike. The local-duplicate variant records 25.05 dB on Mip-NeRF 360, 26.82 dB on Free, and 25.37 dB on Hike. The paper reports that it ties or slightly exceeds DVSM on Mip-NeRF 360 and leads on the other two datasets, while rendering at 23 fps compared with DVSM’s 1 fps.
NVIDIA provides the paper, GitHub code, model weights, and a live demo. The demo accepts 16 to 128 photos or a short video and runs the pipeline on one GPU. The π³ camera-pose estimator recovers the viewpoints, TTB bakes the scene, and an interactive viewer renders new camera positions.
When the bake pays back
Full TTB still runs cross-view attention while building the scene, so reconstruction compute and memory continue to grow with the input set. At 64 views, standard TTB takes 65 seconds to bake, compared with 60 seconds for DVSM. Its fixed-size representation removes view-count scaling from subsequent renders rather than from the initial reconstruction.
Using the reported 64-view timings, TTB recovers its extra five seconds of setup after roughly six rendered frames, before accounting for loading and other system overhead. DVSM needs about one second per frame, while TTB needs about 0.043 seconds. The operating point therefore favors fixed scenes queried many times, including interactive viewers, VR walkthroughs, and video flythroughs.
TTB-- reduces the 64-view bake to 7.5 seconds at lower quality, placing it closer to LaCT’s speed-quality trade-off. The zero-shot evidence also covers only three external datasets at one input-view count, leaving broader domain transfer, other resolutions, and different hardware configurations for further evaluation.
A pattern for reusable context
By supervising a per-scene MLP with attention outputs, TTB preserves cross-token information in a compact representation that can be queried repeatedly. The same design could apply to transformer systems that construct a stable context once and reuse it many times, including decoder-only video models and retrieval-augmented systems with a fixed corpus for each session. Those applications would still need task-specific methods for choosing MLP inputs, generating attention targets, and controlling test-time optimization cost.