mlsanityData to 7 Oct 2026

AHCQ-SAM: Toward Accurate and Hardware-Compatible Post-Training Segment Anything Model Quantization

arXiv 2503.03088 ↗First posted 5 Mar 2025cs.CV cs.AR cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

The Segment Anything Model (SAM) has revolutionized image and video segmentation with its powerful zero-shot capabilities. However, its massive parameter scale and high computational demands hinder efficient deployment on resource-constrained edge devices. While Post-Training Quantization (PTQ) offers a practical solution, existing methods still fail to handle four critical quantization challenges: (1) ill-conditioned weights; (2) skewed and long-tailed post-GELU activations; (3) pronounced inter-channel variance in linear projections; and (4) exponentially scaled and heterogeneous attention scores. To mitigate these bottlenecks, we propose AHCQ-SAM, an accurate and hardware-compatible PTQ framework featuring four synergistic components: (1) Activation-aware Condition Number Reduction (ACNR), which regularizes weight matrices via a proximal point algorithm to suppress ill-conditioning; (2) Hybrid Log-Uniform Quantization (HLUQ), which combines power-of-two and uniform quantizers to capture skewed post-GELU activations; (3) Channel-Aware Grouping (CAG), which clusters channels with homogeneous statistics to achieve high accuracy with minimal hardware overhead; and (4) Logarithmic Nonlinear Quantization (LNQ), which utilizes logarithmic transformations to adaptively adjust quantization resolution for exponential and heterogeneous attention scores. Experimental results demonstrate that AHCQ-SAM outperforms current methods on SAM. Compared with the SOTA method, it achieves a 15.2% improvement in mAP for 4-bit SAM-B with Faster R-CNN on the COCO dataset. Furthermore, we establish a PTQ benchmark for SAM2, where AHCQ-SAM yields a 14.01% improvement in J&F for 4-bit SAM2-Tiny on the SA-V Test dataset. Finally, FPGA-based implementation validates the practical utility of AHCQ-SAM, delivering a 7.12x speedup and a 6.62x power efficiency improvement over the floating-point baseline.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 49 of its 70 references that are in the map. First posted on arXiv 5 Mar 2025.

Builds on

49 of 70 references.

References · 49

  1. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  2. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
  3. 2023Segment Anythingcited by 8,158
  4. 2024SAM 2: Segment Anything in Images and Videoscited by 2,784
  5. 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,306
  6. 2021YOLOX: Exceeding YOLO Series in 2021cited by 1,064
  7. 2017The 2017 DAVIS Challenge on Video Object Segmentationcited by 942
  8. 2019Learned Step Size Quantizationcited by 604
  9. 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
  10. 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 507
  11. 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 464
  12. 2023Segment Anything in High Qualitycited by 373
37 more
  1. 2023Faster Segment Anything: Towards Lightweight SAM for Mobile Applicationscited by 345
  2. 2021Post-Training Quantization for Vision Transformercited by 274
  3. 2023Personalize Segment Anything Model with One Shotcited by 250
  4. 2019Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networkscited by 234
  5. 2022QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantizationcited by 175
  6. 2021PTQ4ViT: Post-training quantization for vision transformers with twin uniform quantizationcited by 173
  7. 2022DETRs with Hybrid Matchingcited by 149
  8. 2021FQ-ViT: Post-Training Quantization for Fully Quantized Vision Transformercited by 148
  9. 2019Additive Powers-of-Two Quantization: An Efficient Non-uniform Discretization for Neural Networkscited by 143
  10. 2022RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformerscited by 134
  11. 2023SAM-Med2Dcited by 123
  12. 2023RPTQ: Reorder-based Post-training Quantization for Large Language Modelscited by 112
  13. 2022Q-ViT: Accurate and Fully Quantized Low-bit Vision Transformercited by 106
  14. 2019The 2019 DAVIS Challenge on VOS: Unsupervised Multi-Object Segmentationcited by 95
  15. 2022I-ViT: Integer-only Quantization for Efficient Vision Transformer Inferencecited by 93
  16. 2023Anything-3D: Towards Single-view Anything Reconstruction in the Wildcited by 91
  17. 2023Towards Accurate Post-Training Quantization for Vision Transformercited by 70
  18. 2022NoisyQuant: Noisy Bias-Enhanced Post-Training Activation Quantization for Vision Transformerscited by 59
  19. 2022Patch Similarity Aware Data-Free Quantization for Vision Transformerscited by 55
  20. 2023Oscillation-free Quantization for Low-bit Vision Transformerscited by 55
  21. 2023EdgeSAM: Prompt-In-the-Loop Distillation for SAMcited by 40
  22. 2023Less is More: Focus Attention for Efficient DETRcited by 38
  23. 2023TinySAM: Pushing the Envelope for Efficient Segment Anything Modelcited by 33
  24. 2024PTQ4SAM: Post-Training Quantization for Segment Anythingcited by 32
  25. 2023Follow Anything: Open-set detection, tracking, and following in real-timecited by 28
  26. 2024Instance-Aware Group Quantization for Vision Transformerscited by 23
  27. 2024Towards Accurate Post-Training Quantization of Vision Transformers via Error Reductioncited by 23
  28. 2022Dynamic Dual Trainable Bounds for Ultra-low Precision Super-Resolution Networkscited by 20
  29. 2023SlimSAM: 0.1% Data Makes Segment Anything Slimcited by 20
  30. 2023I&S-ViT: An Inclusive & Stable Method for Pushing the Limit of Post-Training ViTs Quantizationcited by 19
  31. 2024DopQ-ViT: Towards Distribution-Friendly and Outlier-Aware Post-Training Quantization for Vision Transformerscited by 19
  32. 2023Jumping through Local Minima: Quantization in the Loss Landscape of Vision Transformerscited by 18
  33. 2023Detect Any Shadow: Segment Anything for Video Shadow Detectioncited by 16
  34. 2024On Efficient Variants of Segment Anything Model: A Surveycited by 16
  35. 2024Trio-ViT: Post-Training Quantization and Acceleration for Softmax-Free Efficient Vision Transformercited by 3
  36. 2025SuperSAM: Crafting a SAM Supernetwork via Structured Pruning and Unstructured Parameter Prioritizationcited by 3
  37. 2025CondiQuant: Condition Number Based Low-Bit Quantization for Image Super-Resolutioncited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.