DopQ-ViT: Towards Distribution-Friendly and Outlier-Aware Post-Training Quantization for Vision Transformers
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Department of Computer Science, City University of Hong Kong(香港城市大学计算机科学系)
Vision Transformers (ViTs) have gained significant attention, but their high computing cost limits the practical applications. While post-training quantization (PTQ) reduces model size and speeds up inference, it often degrades performance, especially in low-bit settings. We identify two key reasons for the performance degradation: 1) existing quantization methods fail to align with the power-law distribution of post-Softmax activations, and 2) reparameterizing post-LayerNorm activations leads to a performance drop due to the significant influence of outliers in the scaling factors. To address these challenges, we propose DopQ-ViT, a Distribution-friendly and Outlier-aware Post-training Quantization method for ViTs. First, DopQ-ViT introduces the Tan Quantizer (TanQ), which better preserves the power-law distribution of post-Softmax activations by focusing more on values near 1. Second, DopQ-ViT presents the MAD-guided Optimal Scaling Factor (MOSF), which selects the optimal scaling factor without introducing additional calculations. Extensive experiments across various ViT models and quantization settings demonstrate that DopQ-ViT, with the help of TanQ and MOSF, outperforms previous PTQ methods on both classification and detection tasks.
Boost Vision Transformer with GPU-Friendly Sparsity and Quantization
Academy for Engineering and Technology, Fudan University(复旦大学工程与应用技术研究院);NVIDIA Corporation(英伟达公司);School for Information Science and Technology, Fudan University(复旦大学信息科学与工程学院)
RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformers
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
TFormer: A Transmission-Friendly ViT Model for IoT Devices
Sun Yat-sen University(中山大学);Beijing Jiaotong University(北京交通大学);Meta AI;New York University(纽约大学);Michigan State University(密歇根州立大学);Beijing University of Posts and Telecommunications(北京邮电大学);Swinburne University of Technology(斯威本科技大学)
MobilePlantViT: A Mobile-friendly Hybrid ViT for Generalized Plant Disease Image Classification
University of Asia Pacific(亚太大学);Bangladesh University of Business and Technology(孟加拉国商业与技术大学);Techno International New Town(科技国际新城大学);American International University-Bangladesh(孟加拉国美国国际大学)
AFFMAE: Scalable Vision Pre-Training for High-Resolution Microscopy Segmentation on Desktop Hardware
Department of Laboratory Medicine & Pathology, University of Washington(华盛顿大学检验医学与病理学系);Paul G. Allen School of Computer Science & Engineering, University of Washington(华盛顿大学保罗·G·艾伦计算机科学与工程学院);Electrical Engineering & Computer Science, Oregon State University(俄勒冈州立大学电气工程与计算机科学系)
MicroViTv2: Beyond the FLOPS for Edge Energy-Friendly Vision Transformers
Department of Electro-Optics, National Formosa University(国立.formosa大学电光学系);Department of Electrical Engineering, National Taipei University(台北国立大学电气工程系);College of Artificial Intelligence and Green Energy, National Yang Ming Chiao Tung University(阳明交通大学人工智能与再生能源学院)
TWEO: Transformers Without Extreme Outliers Enables FP8 Training And Quantization For Dummies
Nationa Key Laboratory for Novel Software Technology(新型软件技术国家实验室);School of Artificial Intelligence(人工智能学院);Zhongguancun Academy(中关村学院);University of Science and Technology of China(中国科学技术大学)
University of Macau(澳门大学);Nanjing University of Science and Technology(南京理工大学);Singapore Management University(新加坡管理大学);Shanghai Jiaotong University(上海交通大学)
AdaLog: Post-Training Quantization for Vision Transformers with Adaptive Logarithm Quantizer
State Key Laboratory of Virtual Reality Technology and Systems, Beihang University(北京航空航天大学虚拟现实技术与系统国家重点实验室);School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院)
Rethinking Local Perception in Lightweight Vision Transformer
Tsinghua University(清华大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
TransGAN: Two Pure Transformers Can Make One Strong GAN, and That Can Scale Up
University of Texas at Austin(德克萨斯大学奥斯汀分校);UC Santa Barbara(加州大学圣塔芭芭拉分校);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室)
最近对Transformers的爆炸性兴趣表明它们有潜力成为计算机视觉任务的强大“通用”模型,例如分类,检测和分割。虽然这些尝试主要研究判别模型,但我们在一些更困难的视觉任务上探索了Transformers,例如,生成对抗网络(GANs)。我们的目标是进行第一个试点研究,建立一个完全没有卷积的GAN,只使用纯粹的基于transformer的架构。我们的香草GAN架构,被称为transGAN,由一个内存友好的基于transformer的生成器,逐步增加特征分辨率,并相应地多尺度的搜索,以同时捕获语义上下文和低级别的纹理。在此基础上,我们引入了网格自关注的新模块,以进一步缓解内存瓶颈,从而将TransGAN扩展到高分辨率生成。我们还开发了一个独特的训练配方,包括一系列技术,可以减轻transGAN的训练不稳定性问题,如数据增强,修改归一化和相对位置编码。与当前使用卷积主干的最先进的GANs相比,我们最好的架构实现了极具竞争力的性能。具体来说,TransGAN在STL-10上设置了10.43的最新初始得分和18.28的FID,优于StyleGAN-V2。当涉及到更高分辨率(例如256 x 256)的生成任务时,例如在CelebA-HQ和LSUN-Church上,TransGAN继续生成具有高保真度和令人印象深刻的纹理细节的各种视觉示例。此外,我们深入研究基于transformer的生成模…