Linearizing Vision Transformer with Test-Time Training
Not on the map. Why?
Abstract (arXiv)
While linear-complexity attention mechanisms offer a promising alternative to Softmax attention for overcoming the quadratic bottleneck, training such models from scratch remains prohibitively expensive. Inheriting weights from pretrained Transformers provides an appealing shortcut, yet the fundamental representational gap between Softmax and linear attention prevents effective weight transfer. In this work, we address this conversion challenge from two perspectives: architectural alignment and representational alignment. We identify Test-Time Training (TTT) as a linear-complexity architecture whose two-layer dynamic formulation is structurally aligned with Softmax attention, enabling direct inheritance of pretrained attention weights. To further align representational properties, including key shift-invariance and locality, we introduce key instance normalization and a lightweight locality enhancement module. We validate our approach by linearizing Stable Diffusion 3.5 and introduce SD3.5-T5 (Transformer To Test Time Training). With only 1 hour of fine-tuning on 4×H20 GPUs, SD3.5-T5 achieves comparable text-to-image quality to the fine-tuned Softmax model, while accelerating inference by 1.32× and 1.47× at 1K and 2K resolutions. Code is available at https://github.com/LeapLabTHU/Transformer-to-TTT.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 48 of its 50 references that are in the map. First posted on arXiv 4 May 2026.
Builds on
48 of 50 references.
References · 48
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
- 2022Scalable Diffusion Models with Transformerscited by 5,931
- 2016Layer Normalizationcited by 5,579
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
- 2016Improved Techniques for Training GANscited by 2,938
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
36 more
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2016Instance Normalization: The Missing Ingredient for Fast Stylizationcited by 1,187
- 2021Cascaded Diffusion Models for High Fidelity Image Generationcited by 1,155
- 2022MaskGIT: Masked Generative Image Transformercited by 1,082
- 2024VMamba: Visual State Space Modelcited by 955
- 2023GenEval: An Object-Focused Framework for Evaluating Text-to-Image Alignmentcited by 946
- 2021Going deeper with Image Transformerscited by 759
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024ELLA: Equip Diffusion Models with LLM for Enhanced Semantic Alignmentcited by 455
- 2023Simple diffusion: End-to-end diffusion for high resolution imagescited by 413
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 329
- 2022Vision Transformer with Deformable Attentioncited by 293
- 2022Neighborhood Attention Transformercited by 235
- 2022Scalable Adaptive Computation for Iterative Generationcited by 190
- 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 170
- 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 150
- 2025TTT3R: 3D Reconstruction as Test-Time Trainingcited by 122
- 2025Test-Time Training Done Rightcited by 121
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 120
- 2024The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicrycited by 119
- 2025One-Minute Video Generation with Test-Time Trainingcited by 100
- 2023Diffusion Models Without Attentioncited by 75
- 2024DiM: Diffusion Mamba for Efficient High-Resolution Image Synthesiscited by 72
- 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Modelscited by 66
- 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 57
- 2024Bridging the Divide: Reconsidering Softmax and Linear Attentioncited by 48
- 2024CLEAR: Conv-Like Linearization Revs Pre-Trained Diffusion Transformers Upcited by 26
- 2024LoLCATs: On Low-Rank Linearizing of Large Language Modelscited by 25
- 2025ViT3: Unlocking Test-Time Training in Visioncited by 15
- 2025Exploring Diffusion Transformer Designs via Graftingcited by 12
- 2025LiT: Delving into a Simple Linear Diffusion Transformer for Image Generationcited by 9
- 2025Data Efficient Any Transformer-to-Mamba Distillation via Attention Bridgecited by 4
- 2025Vision Transformers are Circulant Attention Learnerscited by 4
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025ViT-Linearizer: Distilling Quadratic Knowledge into Linear-Time Vision Models
- 2025HEART-VIT: Hessian-Guided Efficient Dynamic Attention and Token Pruning in Vision Transformer
- 2025Rethinking Vision Transformer Depth via Structural Reparameterization
- 2026TuringViT: Making SOTA Vision Transformers Accessible to All
- 2021Less is More: Pay Less Attention in Vision Transformers
- 2026Representation Alignment for Just Image Transformers is not Easier than You Think
- 2026ViT-5: Vision Transformers for The Mid-2020s
- 2026ToaSt: Token Channel Selection and Structured Pruning for Efficient ViT