PTQ4SAM3: Semantics-Preserving Post-Training Quantization for Segment Anything Model 3
Xi Xiao, Yunbei Zhang, Lin Zhao, Janet Wang, Xinru Jiang, Yanshu Li, Chenrui Ma, Pan Wang, Tianyang Wang, Xiao Wang
Abstract
Segment Anything Model 3 (SAM 3) can segment objects from text prompts and track them across video, but its memory and computation costs make deployment difficult. Post-training quantization (PTQ) reduces these costs by using fewer bits. However, a quantized model can select the wrong object or lose track of its target across frames. We call this prompt-alignment drift. Controlled tests show that perturbing low-variance feature directions strongly affects target selection. We propose Semantics-Preserving Quantization (SPQ), which gives more calibration weight to concept-sensitive parameters, preserves residual features, and corrects the mean error in video memory. Fixed text concepts guide calibration without task annotations. All three components operate offline and add no inference operators. With a W4A8 image encoder, SPQ improves RefCOCO Pr@0.5 from 42.1 to 72.5 over PTQ4SAM while retaining 54.8 COCO mask AP. Experiments on LVIS, RefCOCO variants, and SA-V show consistent gains. A CLIP study also shows improved image-text retrieval.
Create a lesson
Metadata
- Comments
- 15 pages, 4 figures. Accepted to WACV 2027. Includes supplementary material
Related papers
Rotation Is Token-Blind: A Structural Criterion for Post-Training Quantization of Feed-Forward Geometry Transformers
Shared title terminologycs.CVHuanfei He, Bohao Zhang, Jiaxin Zhang et al.
Foundation Model and Radiomics Distance Scores for Post-Hoc Segmentation Failure Detection
Shared title terminologycs.CVSimon Johannes Joham, Gianluca Guglielmo, Mateusz Kozinski et al.
MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement
Shared title terminologycs.CVTianyu Zou, Shengwu Xiong, Rui Wu et al.
ProQuant: Progressive Quantization-aware Training for Edge MLLMs
Shared title terminologycs.CVYufei Xue, Yushi Huang, Jiawei Shao et al.
Semantic Residual Vector Quantization for Sign Language Generation
Shared title terminologycs.CVChang Liu, Ke Han, Niccolò Biondi et al.
FedXCrop: Privacy-Preserving Crop Disease Detection via Federated Learning with Post-Aggregation Explainability under Non-IID Farm Distributions
Shared title terminologycs.CVKriti Saini, Manikandan P