Lune

ICCV2025顶会

AHCPTQ: Accurate and Hardware-Compatible Post-Training Quantization for Segment Anything Model

Wenlun Zhang, Yunshan Zhong, Shimpei Ando, Kentaro Yoshioka

摘要

The Segment Anything Model (SAM) has demonstrated strong versatility across various visual tasks. However, its large storage requirements and high computational cost pose challenges for practical deployment. Post-training quantization (PTQ) has emerged as an effective strategy for efficient deployment, but we identify two key challenges in SAM that hinder the effectiveness of existing PTQ methods: the heavy-tailed and skewed distribution of post-GELU activations, and significant inter-channel variation in linear projection activations. To address these challenges, we propose AHCPTQ, an accurate and hardware-efficient PTQ method for SAM. AHCPTQ introduces hardwarecompatible Hybrid Log-Uniform Quantization (HLUQ) to manage post-GELU activations, employing log2 quantization for dense small values and uniform quantization for sparse large values to enhance quantization resolution. Additionally, AHCPTQ incorporates Channel-Aware Grouping (CAG) to mitigate inter-channel variation by progressively clustering activation channels with similar distributions, enabling them to share quantization parameters and improving hardware efficiency. The combination of HLUQ and CAG not only enhances quantization effectiveness but also ensures compatibility with efficient hardware execution. For instance, under the W4A4 configuration on the SAM-L model, AHCPTQ achieves 36.6% mAP on instance segmentation with the DINO detector, while achieving a 7.89× speedup and 8.64× energy efficiency over its floating-point counterpart in FPGA implementation. Code

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • SegQuant: A Semantics-Aware and Generalizable Quantization Framework for Diffusion Models 引用了 BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction
  • SegQuant: A Semantics-Aware and Generalizable Quantization Framework for Diffusion Models 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
  • BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction 引用了 Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networks
  • BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction 引用了 Learned Step Size quantization
  • BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
  • Up or Down? Adaptive Rounding for Post-Training Quantization 引用了 Learned Step Size quantization
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper1

  1. SegQuant: A Semantics-Aware and Generalizable Quantization Framework for Diffusion ModelsJiaji Zhang, Ruichao Sun, Hailiang Zhao, Jiaju Wu 等CVPR 2026

它引用的 Paper25

  1. Learned Step Size quantizationSteven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy 等ICLR 2020 · 1,037 次引用
  2. Up or Down? Adaptive Rounding for Post-Training QuantizationMarkus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos 等ICML 2020 · 816 次引用
  3. DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object DetectionHao Zhang, Feng Li, Shilong Liu, Lei Zhang 等ICLR 2023 · 753 次引用
  4. BRECQ: Pushing the Limit of Post-Training Quantization by Block ReconstructionYuhang Li, Ruihao Gong, Xu Tan, Yang Yang 等ICLR 2021 · 619 次引用
  5. Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural NetworksRuihao Gong, Xianglong Liu, Shenghu Jiang, Tianxiang Li 等ICCV 2019 · 540 次引用

相关 Paper

  1. PTQ4SAM: Post-Training Quantization for Segment AnythingChengtao Lv, Hong Chen, Jinyang Guo, Yifu Ding 等CVPR 2024 · 22 次引用
  2. CAR-SAM: Cross-Attention Reconstruction for Post-Training Quantization of the Segment Anything ModelHouji Wen, Jiangyong Yu, Dawei Yang, Jun LiCVPR 2026 · 2 次引用
  3. SAQ-SAM: Semantically-Aligned Quantization for Segment Anything ModelJing Zhang, Zhikai Li, Chengzhi Hu, Xuewen Liu 等AAAI 2026 · 3 次引用
  4. UQ-ViT: Harmonizing Extreme Activations with Hardware-Friendly Uniform Quantization in Vision TransformersTao Jiang, Yucheng Jiang, Xiwen Yao, Gong Cheng 等AAAI 2026
  5. Instance-Aware Group Quantization for Vision TransformersJaehyeon Moon, Dohyung Kim, Junyong Cheon, Bumsub HamCVPR 2024 · 11 次引用
黄昏的海面,两侧是细线勾勒的悬崖