Daily Tech Briefing
AI 科技速览
每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。
arXiv Machine Learning · 2026/7/30 17:43:36
MixFrag: Fragility-Guided Mixed-Precision Post-Training Quantization for Vision Transformers
AI 中文解读
核心亮点:这项技术能让视觉AI模型在压缩体积后依然保持高精度,相当于给模型“量身定制”一套省资源的减负方案。
通俗解读:视觉Transformer是AI看懂图片的重要模型,但体积大、耗资源,难以装进手机等小设备。以前压缩模型时,所有部分都用同一标准处理,浪费了不少算力。MixFrag像给模型做体检,先找出哪些部分对精度“敏感”、容易出错,对它们保留更多细节,对不敏感的部分则大胆精简,再在有限的计算空间里做出最优分配。
实际影响:这意味着以后手机拍照识别、智能监控、自动驾驶等图像AI应用运行时,速度更快、耗电更少,同时识别准确率不打折扣。开发者部署AI的成本也会降低,普通用户能体验到更流畅、更省电的智能功能,比如实时翻译路牌、快速识别物体等,甚至一些老设备也能跑起新AI。
Post-training quantization (PTQ) has emerged as an effective solution for deploying Vision Transformers (ViTs) on resource-constrained devices. However, existing PTQ methods typically employ uniform bit-widths across transformer components, overlooking their heterogeneous sensitivity to quantization and leading to inefficient precision allocation. In this paper, we propose {MixFrag, a fragility-guided mixed-precision PTQ framework for Vision Transformers. MixFrag first estimates component-level quantization fragility by measuring the Kullback--Leibler (KL) divergence between full-precision and isolated quantized output distributions using a small calibration set. It then formulates bit allocation as a Multiple-Choice Knapsack Problem (MCKP), enabling adaptive layer-wise precision assignment under a target bit budget. Extensive experiments on ImageNet-1K across multiple Vision Transformer architectures demonstrate that MixFrag achieves competitive classification performance under practical mixed-precision settings. Furthermore, evaluations on COCO object detection and instance segmentation show that MixFrag achieves state-of-the-art performance among existing mixed-precision PTQ methods, improving the previous best method by up to 9.6 AP under the challenging MP3/MP3 setting. Additional analyses validate the proposed fragility metric and demonstrate its strong correlation with the learned bit allocation. These results establish MixFrag as an effective framework for mixed-precision post-training quantization of Vision Transformers.
分享
阅读原文 ↗