Compress Any Segment Anything Model (SAM)
Not on the map. Why?
Abstract (arXiv)
Due to the excellent performance in yielding high-quality, zero-shot segmentation, Segment Anything Model (SAM) and its variants have been widely applied in diverse scenarios such as healthcare and intelligent manufacturing. Therefore, effectively compressing SAMs has become an increasingly pressing practical need. In this study, we propose Birkhoff, a novel data-free compression algorithm for SAM and its variants. Unlike quantization, pruning, distillation, and other compression methods, Birkhoff embodies versatility across model types, agility in deployment, faithfulness to the original model, and compactness in model size. Specifically, Birkhoff introduces a novel compression algorithm: Hyper-Compression, whose core principle is to find a dense trajectory to turn a high-dimensional parameter vector into a low-dimensional scalar. Furthermore, Birkhoff designs a dedicated linear layer operator, HyperLinear, to fuse decompression and matrix multiplication to significantly accelerate inference of the compressed SAMs. Extensive experiments on 18 SAMs in the COCO, LVIS, and SA-1B datasets show that Birkhoff performs consistently and competitively in compression time, compression ratio, post-compression performance, and inference speed. For example, Birkhoff can achieve a compression ratio of 5.17x on SAM2-B, with less than 1% performance drop without using any fine-tuning data. Moreover, the compression is finished within 60 seconds for all models.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 32 of its 36 references that are in the map. First posted on arXiv 11 Jul 2025.
Builds on
32 of 36 references.
References · 32
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2023Segment Anythingcited by 8,158
- 2024SAM 2: Segment Anything in Images and Videoscited by 2,784
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,215
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
- 2021YOLOX: Exceeding YOLO Series in 2021cited by 1,064
- 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 723
- 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 622
- 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
20 more
- 2020Pruning neural networks without any data by iteratively conserving synaptic flowcited by 475
- 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 464
- 2023Segment Anything in High Qualitycited by 373
- 2023Faster Segment Anything: Towards Lightweight SAM for Mobile Applicationscited by 345
- 2020ZeroQ: A Novel Zero Shot Quantization Frameworkcited by 265
- 2023A Survey on Model Compression for Large Language Modelscited by 263
- 2023EfficientSAM: Leveraged Masked Image Pretraining for Efficient Segment Anythingcited by 187
- 2019Low-bit Quantization of Neural Networks for Efficient Inferencecited by 185
- 2020Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluationcited by 183
- 2022QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantizationcited by 175
- 2024BiLLM: Pushing the Limit of Post-Training Quantization for LLMscited by 137
- 2016Tensor Ring Decompositioncited by 125
- 2023MobileSAMv2: Faster Segment Anything to Everythingcited by 41
- 2023EdgeSAM: Prompt-In-the-Loop Distillation for SAMcited by 40
- 2023TinySAM: Pushing the Envelope for Efficient Segment Anything Modelcited by 33
- 2024PTQ4SAM: Post-Training Quantization for Segment Anythingcited by 32
- 2024MedSAM-U: Uncertainty-Guided Auto Multi-Prompt Adaptation for Reliable MedSAMcited by 17
- 2024Data-free Weight Compress and Denoise for Large Language Modelscited by 3
- 2024Hyper-Compression: Model Compression via Hyperfunctioncited by 3
- 2024AutoDFP: Automatic Data-Free Pruning via Channel Similarity Reconstructioncited by 1
Built on by
Citing papers per year: 2026: 2.
2 papers.