English

EfficientViT-SAM: Accelerated Segment Anything Model Without Accuracy Loss

Computer Vision and Pattern Recognition 2024-05-20 v2 Artificial Intelligence Machine Learning

Abstract

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.

Keywords

Cite

@article{arxiv.2402.05008,
  title  = {EfficientViT-SAM: Accelerated Segment Anything Model Without Accuracy Loss},
  author = {Zhuoyang Zhang and Han Cai and Song Han},
  journal= {arXiv preprint arXiv:2402.05008},
  year   = {2024}
}

Comments

CVPR 2024 Workshop (Efficient Large Vision Models)

R2 v1 2026-06-28T14:41:49.301Z