arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.26636cs.CVcs.AI
收藏

JetViT: 高效高分辨率视觉Transformer与训练后注意力搜索

JetViT: Efficient High-Resolution Vision Transformer with Post-Training Attention Search

MIT(麻省理工学院);University of Pennsylvania(宾夕法尼亚大学);NVIDIA(NVIDIA公司);Physical Intelligence(物理智能)

Dongyun Zou, Zhuoyang Zhang, Junyu Chen, Wenkun He, Qinhe Peng, Hanrong Ye, Yao Lu, Hongxu Yin, Yu Wang, Song Han, Han Cai

AI总结:

提出JetViT混合架构视觉Transformer,通过训练后注意力搜索将预训练全注意力ViT转换为高效混合注意力变体,在高分辨率图像上实现更高推理效率且不损失精度。

摘要:

我们介绍了JetViT,一种新颖的混合架构视觉Transformer(ViT)模型系列,它在匹配最先进的全注意力视觉基础模型精度的同时,在高分辨率图像上实现了显著更高的推理效率。我们方法的核心是训练后注意力搜索,这是一种训练后加速框架,通过识别并将冗余的全注意力块替换为线性注意力或窗口注意力块,将预训练的全注意力ViT转换为高效的混合注意力变体。通过继承基础模型的MLP和注意力权重,训练后注意力搜索通过三个关键步骤高效探索架构设计空间:(1)优化线性注意力块设计;(2)找到线性注意力块和窗口注意力块的最佳组合;(3)识别并保留关键的全注意力块。我们在两个代表性的高分辨率视觉基础模型DINOv3和DepthAnythingV2上评估了JetViT。在NVIDIA H100 GPU上,JetViT在不牺牲精度的情况下实现了高达1.79倍的吞吐量提升和高达44.81%的延迟降低。我们将很快发布我们的代码和加速后的ViT模型。

英文摘要:

We introduce JetViT, a novel family of hybrid-architecture Vision Transformer (ViT) models that match the accuracy of state-of-the-art full-attention vision foundation models while achieving substantially higher inference efficiency on high-resolution images. At the core of our approach is Post-Training Attention Search, a post-training acceleration framework that converts pre-trained full-attention ViTs into efficient hybrid-attention variants by identifying and replacing redundant full-attention blocks with linear or window-attention blocks. By inheriting the MLP and attention weights from the base model, Post-Training Attention Search efficiently explores the architectural design space through three key steps: (1) optimizing the linear-attention block design; (2) finding the best combination of linear-attention and window-attention blocks; and (3) identifying and preserving critical full-attention blocks. We evaluate JetViT on two representative high-resolution vision foundation models, DINOv3 and DepthAnythingV2. On the NVIDIA H100 GPU, JetViT achieves up to 1.79x higher throughput and up to 44.81% lower latency without sacrificing accuracy. We will release our code and accelerated ViT models soon.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑