Skip to content
项目

关于

[CVPR 2026] [最佳论文决选] [口头报告] Vision Test-Time Training 官方代码仓库。

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
+5
15天
+8
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

$\text{ViT}^3$: Unlocking Test-Time Training in Vision

This repo contains the official PyTorch code and pre-trained models for Vision Test-Time Training ($\text{ViT}^3$).

News

  • June 16, 2026: Code for generation is released.

  • June 05, 2026: Selected as a Best Paper Finalist (15 out of 16,092 submissions).

  • May 28, 2026: Code for detection and segmentation is released.

  • April 09, 2026: Selected as an oral.

  • February 21, 2026: Accepted to CVPR 2026. Final ratings: 6, 6, 5 (min: 1 Reject, max: 6 Accept).

Abstract

Test-Time Training (TTT) has recently emerged as a promising direction for efficient sequence modeling. TTT reformulates attention operation as an online learning problem, constructing a compact inner model from key-value pairs at test time. This reformulation opens a rich and flexible design space while achieving linear computational complexity. However, crafting a powerful visual TTT design remains challenging: fundamental choices for the inner module and inner training lack comprehensive understanding and practical guidelines. To bridge this critical gap, in this paper, we present a systematic empirical study of TTT designs for visual sequence modeling. From a series of experiments and analyses, we distill six practical insights that establish design principles for effective visual TTT and illuminate paths for future improvement. These findings culminate in the Vision Test-Time Training ($\text{ViT}^3$) model, a pure TTT architecture that achieves linear complexity and parallelizable computation. We evaluate $\text{ViT}^3$ across diverse visual tasks, including image classification, image generation, object detection, and semantic segmentation. Results show that $\text{ViT}^3$ consistently matches or outperforms advanced linear-complexity models (e.g., Mamba and linear attention variants) and effectively narrows the gap to highly optimized vision Transformers. We hope this study and the $\text{ViT}^3$ baseline can facilitate future work on visual TTT models.

Usage

We provide a minimal implementation of $\text{ViT}^3$ block in ttt_block.py, which can act as a plug-in module in various vision tasks.

  • Example:
from ttt_block import TTT
block = TTT(dim=512, num_heads=16)
x = torch.rand(1, 256, 512)
x = block(x, h=16, w=16)

Results

Please go to the folders vittt, dittt, detection, and segmentation for specific documents.

Acknowledgements

This code is developed on the top of Swin Transformer, MILA, DiT and mmcv.

Citation

If you find this repo helpful, please consider citing us.

@inproceedings{han2025vit,
  title={ViT$^3$: Unlocking Test-Time Training in Vision},
  author={Han, Dongchen and Li, Yining and Li, Tianyu and Cao, Zixuan and Wang, Ziming and Song, Jun and Cheng, Yu and Zheng, Bo and Huang, Gao},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year={2026}
}

Contact

If you have any questions, please feel free to contact the authors.

Dongchen Han: [email protected]

探索相关项目

加载中…