基于Mamba的超分辨率模型是基于Transformer的恢复骨干网络的高效替代方案,但其低比特后训练量化仍存在挑战,因为Mamba的输入依赖型状态空间算子选择性扫描会在空间令牌间诱导出不同的激活范围,因此单一的层级裁剪范围无法适配所有令牌。我们提出令牌组量化(Token-Group Quantization),这是一种硬件友好型激活后训练量化(PTQ)框架,可静态近似硬件不友好的扫描后分组最优方案,将具有相似偏好裁剪范围的令牌分配至同一组。为避免静态低比特推理时的运行时扫描后分组,我们采用轻量级预测器从量化扫描路径前可用的扫描前特征中推断分组。在校准阶段,我们通过聚类捕获相似舍入-裁剪行为的扫描后激活描述符来形成伪标签;推理时,冻结的预测器将扫描前特征映射至分组,并从离线校准的组级裁剪边界表中选择条目,无需运行时统计收集、动态裁剪更新或扫描后分组分配。为解决低比特恢复性能下降问题,我们进一步引入频率保留细化(Frequency-Preserving Refinement, FPR)目标用于裁剪边界校准,该目标对齐全精度教师模型与量化学生模型输出的傅里叶振幅和相位,以保留高频结构。在各类PTQ协议、比特宽度、骨干网络及任务中,我们的方法始终优于现有Mamba和超分辨率(SR)PTQ基线,可迁移至Transformer超分辨率和视觉Mamba分类,与基于旋转的量化兼容,并在Jetson Orin Nano上实现了比FP16高2.23倍的加速。代码可在此处获取。
英文摘要:
Mamba-based super-resolution models are efficient alternatives to Transformer-based restoration backbones, but their low-bit post-training quantization remains challenging because selective scan, Mamba's input-dependent state-space operator, induces different activation ranges across spatial tokens. Thus, a single layer-wise clipping range poorly matches all tokens. We propose Token-Group Quantization, a hardware-friendly activation PTQ framework that statically approximates a hardware-unfriendly post-scan grouping oracle, where tokens with similar preferred clipping ranges are assigned to the same group. To avoid runtime post-scan grouping in static low-bit inference, a lightweight predictor infers the groups from pre-scan features available before the quantized scan path. During calibration, we form pseudo-labels by clustering post-scan activation descriptors that capture similar rounding--clipping behavior. At inference, the frozen predictor maps pre-scan features to groups and selects entries from offline-calibrated group-wise clipping-bound tables, without runtime statistics collection, dynamic clipping updates, or post-scan group assignment. To address low-bit restoration degradation, we further introduce a Frequency-Preserving Refinement (FPR) objective for clipping-bound calibration. FPR aligns Fourier amplitude and phase between full-precision teacher and quantized student outputs to preserve high-frequency structures. Across PTQ protocols, bit-widths, backbones, and tasks, our method consistently outperforms prior Mamba and SR PTQ baselines, transfers to Transformer SR and Vision Mamba classification, composes with rotation-based quantization, and achieves 2.23x speedup on Jetson Orin Nano over FP16. Code is available here.
Doctoral School of Applied Informatics and Applied Mathematics, Obuda University(应用信息与应用数学博士学院,奥布达大学);John von Neumann Faculty of Informatics, Obuda University(约翰·冯·诺伊曼信息学院,奥布达大学)
SmoothRot: Combining Channel-Wise Scaling and Rotation for Quantization-Friendly LLMs
Doctoral School of Applied Informatics and Applied Mathematics, Obuda University(应用信息学与应用数学博士学院,奥布达大学);John von Neumann Faculty of Informatics, Obuda 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(中国科学院大学人工智能学院)
MODE: Efficient Time Series Prediction with Mamba Enhanced by Low-Rank Neural ODEs
School of Computing and Data Science, The University of Hong Kong(计算与数据科学学院,香港大学);Department of Computing and Data Science, Nanyang Technological University(计算与数据科学系,南洋理工大学);School of Information Engineering, Beijing Institute of Graphic Communication(信息工程学院,北京印刷学院);Department of Computing and Data Science, The University of Hong Kong(计算与数据科学系,香港大学);Yale university(耶鲁大学);University of Cambridge(剑桥大学);Nanyang technological university(南洋理工大学);University of Hong Kong(香港大学)
RepQuant: Towards Accurate Post-Training Quantization of Large Transformer Models via Scale Reparameterization
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
InfoQuant: Shaping Activation Distributions for Low-Bit LLM Quantization
School of Software Technology, Zhejiang University(浙江大学软件学院);Ant Group(蚂蚁集团);College of Computer Science and Technology, Zhejiang University of Technology(浙江工业大学计算机科学与技术学院);China Mobile (Zhejiang) Research & Innovation Institute(中国移动(浙江)研究院);Alibaba Cloud Computing(阿里云计算);State Key Lab of CAD&CG, Zhejiang University(浙江大学CAD&CG国家重点实验室)
Astro: Activation-guided Structured Regularization for Outlier-Robust LLM Post-Training Quantization
Beijing Institute of Technology(北京理工大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Hebei Province Key Laboratory of Big Data Science and Intelligent Technology(河北省大数据科学与智能技术重点实验室)
Hardware-Friendly Static Quantization Method for Video Diffusion Transformers
Division of the Humanities and Social Sciences(人文与社会科学系);California Institute of Technology(加州理工学院);Device Solutions Research America(设备解决方案研究美国);Samsung Semiconductor Inc.(三星半导体公司)
Motivating Next-Gen Accelerators with Flexible (N:M) Activation Sparsity via Benchmarking Lightweight Post-Training Sparsification Approaches
Applied AI(应用人工智能);Artificial Intelligence Research Institute(人工智能研究所);HSE University(俄罗斯高等经济大学);Sb AI Lab(Sb人工智能实验室);MWS AI(MWS人工智能);Yandex;Independent Researcher(独立研究者)
OffQ: Taming Structured Outliers in LLM Quantization by Offsetting
School of Computer and Communication Sciences, EPFL, Switzerland(瑞士联邦理工学院计算机与通信科学学院);Huawei, Switzerland(华为公司);Swiss Data Science Center, ETHZ & EPFL, Switzerland(瑞士数据科学中心,苏黎世联邦理工学院与联邦理工学院)
SparseSAM: Structured Sparsification of Activations in Segment Anything Models
University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);College of Engineering & Computer Science, VinUniversity(Vin大学工程与计算机科学学院);VinUni-Illinois Smart Health Center, VinUniversity(Vin大学-伊利诺伊智能健康中心);DFKI;Max Planck Research School for Intelligent Systems (IMPRS-IS)(马克斯·普朗克智能系统研究学校);University of Stuttgart(斯图加特大学)
Quantization of Generative Adversarial Networks for Efficient Inference: a Methodological Study
Higher School of Economics(高等经济学院);Skolkovo Institute of Science and Technology(斯科尔科沃科学技术学院);Samsung AI Center Moscow(三星莫斯科人工智能中心);Yandex;Samsung-HSE Laboratory(三星-高等经济学院实验室)