paper-with-me

홈 › Papers

SlimSAM: 0.1% Data Makes Segment Anything Slim

2023-12-08 · Zigeng Chen, Gongfan Fang, Xinyin Ma, Xinchao Wang

Current approaches for compressing the Segment Anything Model (SAM) yield commendable results, yet necessitate extensive data to train a new network from scratch. Employing conventional pruning techniques can remarkably reduce data requirements but would suffer from a degradation in performance. To address this challenging trade-off, we introduce SlimSAM, a novel data-efficient SAM compression method that achieves superior performance with extremely less training data. The essence of SlimSAM is encapsulated in the alternate slimming framework which effectively enhances knowledge inheritance under severely limited training data availability and exceptional pruning ratio. Diverging from prior techniques, our framework progressively compresses the model by alternately pruning and distilling distinct, decoupled sub-structures. Disturbed Taylor pruning is also proposed to address the misalignment between the pruning objective and training target, thereby boosting the post-distillation after pruning. SlimSAM yields significant performance improvements while demanding over 10 times less training data than any other existing compression methods. Even when compared to the original SAM, SlimSAM achieves approaching performance while reducing parameter counts to merely 1.4% (9.1M), MACs to 0.8% (23G), and requiring only 0.1% (10k) of the SAM training data. The code is available at http://github.com/czg1225/SlimSAM.

📄 PDF Abstract BibTeX arXiv:2312.05284

Code (2)

czg1225/slimsam 공식 구현 pytorch
huggingface/transformers pytorch

Methods 이 논문이 사용한 방법론

SAM 설명 없음
Pruning 설명 없음
ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

SLiMe: Segment Like Me

2023-09-06 · Aliasghar Khani, Saeid Asgari Taghanaki, Aditya Sanghi, Ali Mahdavi Amiri 외

Significant strides have been made using large vision-language models, like Stable Diffusion (SD), for a variety of downstream tasks, including image editing, image correspondence, and 3D shape generation. Inspired by th…

3D Shape GenerationSegmentation

SlimSeg: Slimmable Semantic Segmentation with Boundary Supervision

2022-07-13 · Danna Xue, Fei Yang, Pei Wang, Luis Herranz 외

Accurate semantic segmentation models typically require significant computational resources, inhibiting their use in practical applications. Recent works rely on well-crafted lightweight models to achieve fast inference.…

Knowledge DistillationSegmentationSemantic Segmentation

Segment anything model (SAM) for brain extraction in fMRI studies

2024-01-09 · Dwith Chenna, Suyash Bhogawar

Brain extraction and removal of skull artifacts from magnetic resonance images (MRI) is an important preprocessing step in neuroimaging analysis. There are many tools developed to handle human fMRI images, which could in…

Brain SegmentationSegmentation

Slim-CNN: A Light-Weight CNN for Face Attribute Prediction

2019-07-03 · Ankit Sharma, Hassan Foroosh

We introduce a computationally-efficient CNN micro-architecture Slim Module to design a lightweight deep neural network Slim-Net for face attribute prediction. Slim Modules are constructed by assembling depthwise separab…

Attribute

Segment Anything Model for Grain Characterization in Hard Drive Design

2024-08-22 · Kai Nichols, Matthew Hauwiller, Nicholas Propes, Shaowei Wu 외

Development of new materials in hard drive designs requires characterization of nanoscale materials through grain segmentation. The high-throughput quickly changing research environment makes zero-shot generalization an …

Zero-shot Generalization