mlsanityData to 7 Oct 2026

Linearizing Vision Transformer with Test-Time Training

arXiv 2605.02772 ↗First posted 4 May 2026cs.CVcited by 2

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

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  5. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  6. 2022Scalable Diffusion Models with Transformerscited by 5,931
  7. 2016Layer Normalizationcited by 5,579
  8. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  9. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  10. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
  11. 2016Improved Techniques for Training GANscited by 2,938
  12. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
36 more
  1. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  2. 2019Root Mean Square Layer Normalizationcited by 1,425
  3. 2016Instance Normalization: The Missing Ingredient for Fast Stylizationcited by 1,187
  4. 2021Cascaded Diffusion Models for High Fidelity Image Generationcited by 1,155
  5. 2022MaskGIT: Masked Generative Image Transformercited by 1,082
  6. 2024VMamba: Visual State Space Modelcited by 955
  7. 2023GenEval: An Object-Focused Framework for Evaluating Text-to-Image Alignmentcited by 946
  8. 2021Going deeper with Image Transformerscited by 759
  9. 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
  10. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  11. 2024ELLA: Equip Diffusion Models with LLM for Enhanced Semantic Alignmentcited by 455
  12. 2023Simple diffusion: End-to-end diffusion for high resolution imagescited by 413
  13. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
  14. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 329
  15. 2022Vision Transformer with Deformable Attentioncited by 293
  16. 2022Neighborhood Attention Transformercited by 235
  17. 2022Scalable Adaptive Computation for Iterative Generationcited by 190
  18. 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 170
  19. 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 150
  20. 2025TTT3R: 3D Reconstruction as Test-Time Trainingcited by 122
  21. 2025Test-Time Training Done Rightcited by 121
  22. 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 120
  23. 2024The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicrycited by 119
  24. 2025One-Minute Video Generation with Test-Time Trainingcited by 100
  25. 2023Diffusion Models Without Attentioncited by 75
  26. 2024DiM: Diffusion Mamba for Efficient High-Resolution Image Synthesiscited by 72
  27. 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Modelscited by 66
  28. 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 57
  29. 2024Bridging the Divide: Reconsidering Softmax and Linear Attentioncited by 48
  30. 2024CLEAR: Conv-Like Linearization Revs Pre-Trained Diffusion Transformers Upcited by 26
  31. 2024LoLCATs: On Low-Rank Linearizing of Large Language Modelscited by 25
  32. 2025ViT3: Unlocking Test-Time Training in Visioncited by 15
  33. 2025Exploring Diffusion Transformer Designs via Graftingcited by 12
  34. 2025LiT: Delving into a Simple Linear Diffusion Transformer for Image Generationcited by 9
  35. 2025Data Efficient Any Transformer-to-Mamba Distillation via Attention Bridgecited by 4
  36. 2025Vision Transformers are Circulant Attention Learnerscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025ViT-Linearizer: Distilling Quadratic Knowledge into Linear-Time Vision Models
  2. 2025HEART-VIT: Hessian-Guided Efficient Dynamic Attention and Token Pruning in Vision Transformer
  3. 2025Rethinking Vision Transformer Depth via Structural Reparameterization
  4. 2026TuringViT: Making SOTA Vision Transformers Accessible to All
  5. 2021Less is More: Pay Less Attention in Vision Transformers
  6. 2026Representation Alignment for Just Image Transformers is not Easier than You Think
  7. 2026ViT-5: Vision Transformers for The Mid-2020s
  8. 2026ToaSt: Token Channel Selection and Structured Pruning for Efficient ViT