CVAILGFeb 7, 2024

EfficientViT-SAM: Accelerated Segment Anything Model Without Accuracy Loss

arXiv:2402.05008v29 citationsh-index: 22Has Code
Originality Incremental advance
AI Analysis

This work addresses the high computational cost of SAM for users in computer vision, though it is incremental as it focuses on acceleration rather than new capabilities.

The paper tackles the computational inefficiency of the Segment Anything Model (SAM) by replacing its heavy image encoder with EfficientViT, achieving a 48.9x speedup on A100 GPU without accuracy loss.

We present EfficientViT-SAM, a new family of accelerated segment anything models. We retain SAM's lightweight prompt encoder and mask decoder while replacing the heavy image encoder with EfficientViT. For the training, we begin with the knowledge distillation from the SAM-ViT-H image encoder to EfficientViT. Subsequently, we conduct end-to-end training on the SA-1B dataset. Benefiting from EfficientViT's efficiency and capacity, EfficientViT-SAM delivers 48.9x measured TensorRT speedup on A100 GPU over SAM-ViT-H without sacrificing performance. Our code and pre-trained models are released at https://github.com/mit-han-lab/efficientvit.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes