EdgeSAM: Prompt-In-the-Loop Distillation for SAM
Not on the map. Why?
Abstract (arXiv)
This paper presents EdgeSAM, an accelerated variant of the Segment Anything Model (SAM), optimized for efficient execution on edge devices with minimal compromise in performance. Our approach involves distilling the original ViT-based SAM image encoder into a purely CNN-based architecture, better suited for edge devices. We carefully benchmark various distillation strategies and demonstrate that task-agnostic encoder distillation fails to capture the full knowledge embodied in SAM. To overcome this bottleneck, we include both the prompt encoder and mask decoder in the distillation process, with box and point prompts in the loop, so that the distilled model can accurately capture the intricate dynamics between user input and mask generation. To mitigate dataset bias issues stemming from point prompt distillation, we incorporate a lightweight module within the encoder. As a result, EdgeSAM achieves a 37-fold speed increase compared to the original SAM, and it also outperforms MobileSAM/EfficientSAM, being over 7 times as fast when deployed on edge devices while enhancing the mIoUs on COCO and LVIS by 2.3/1.5 and 3.1/1.6, respectively. It is also the first SAM variant that can run at over 30 FPS on an iPhone 14. Code and demo are available at https://www.mmlab-ntu.com/project/edgesam.
Key facts. Cited by 41 papers in the map (data through 14 Oct 2026). Builds on 57 of its 77 references that are in the map. First posted on arXiv 11 Dec 2023.
Builds on
57 of 77 references.
References · 57
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2016Feature Pyramid Networks for Object Detectioncited by 5,036
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,845
- 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,200
- 2019Searching for MobileNetV3cited by 1,994
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,385
- 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,311
38 more
- 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,276
- 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,217
- 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,200
- 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,136
- 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,060
- 2019EfficientDet: Scalable and Efficient Object Detectioncited by 1,020
- 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 724
- 2018BiSeNet: Bilateral Segmentation Network for Real-time Semantic Segmentationcited by 645
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 642
- 2017Generalised Dice overlap as a deep learning loss function for highly unbalanced segmentationscited by 620
- 2022Detecting Twenty-thousand Classes using Image-level Supervisioncited by 614
- 2019YOLACT: Real-time Instance Segmentationcited by 443
- 2019GhostNet: More Features from Cheap Operationscited by 410
- 2023Faster Segment Anything: Towards Lightweight SAM for Mobile Applicationscited by 352
- 2020BiSeNet V2: Bilateral Network with Guided Aggregation for Real-time Semantic Segmentationcited by 294
- 2019Structured Knowledge Distillation for Dense Predictioncited by 279
- 2017ICNet for Real-Time Semantic Segmentation on High-Resolution Imagescited by 261
- 2021Mobile-Former: Bridging MobileNet and Transformercited by 235
- 2022TinyViT: Fast Pretraining Distillation for Small Vision Transformerscited by 234
- 2019Distilling Object Detectors with Fine-grained Feature Imitationcited by 189
- 2021Boundary IoU: Improving Object-Centric Image Segmentation Evaluationcited by 188
- 2023EfficientSAM: Leveraged Masked Image Pretraining for Efficient Segment Anythingcited by 188
- 2020Channel-wise Knowledge Distillation for Dense Predictioncited by 163
- 2021Reviving Iterative Training with Mask Guidance for Interactive Segmentationcited by 163
- 2018ESPNet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentationcited by 133
- 2020Semantic Flow for Fast and Accurate Scene Parsingcited by 128
- 2023RepViT: Revisiting Mobile CNN From ViT Perspectivecited by 123
- 2022EdgeNeXt: Efficiently Amalgamated CNN-Transformer Architecture for Mobile Vision Applicationscited by 121
- 2022EdgeViTs: Competing Light-weight CNNs on Mobile Devices with Vision Transformerscited by 116
- 2018ESPNetv2: A Light-weight, Power Efficient, and General Purpose Convolutional Neural Networkcited by 90
- 2021Deep Dual-resolution Networks for Real-time and Accurate Semantic Segmentation of Road Scenescited by 89
- 2022TopFormer: Token Pyramid Transformer for Mobile Semantic Segmentationcited by 82
- 2022Next-ViT: Next Generation Vision Transformer for Efficient Deployment in Realistic Industrial Scenarioscited by 65
- 2021RefineMask: Towards High-Quality Instance Segmentation with Fine-Grained Featurescited by 47
- 2023You Only Segment Once: Towards Real-Time Panoptic Segmentationcited by 40
- 2022DETRDistill: A Universal Knowledge Distillation Framework for DETR-familiescited by 36
- 2023Rethinking Mobile Block for Efficient Attention-based Modelscited by 36
- 2018Improving Fast Segmentation With Teacher-student Learningcited by 34
50 most cited of 57 All 57 (JSON)
Built on by
Citing papers per year: 2023: 1; 2024: 19; 2025: 13; 2026: 8.
41 papers.
Sort:
By area:
- 2023Osprey: Pixel Understanding with Visual Instruction Tuningcited by 159
- 2024Open-Vocabulary SAM: Segment and Recognize Twenty-thousand Classes Interactivelycited by 75
- 2024Towards Language-Driven Video Inpainting via Multimodal Large Language Modelscited by 33
- 2024Hi-SAM: Marrying Segment Anything Model for Hierarchical Text Segmentationcited by 30
- 2025Fast-FoundationStereo: Real-Time Zero-Shot Stereo Matchingcited by 28
- 2025MatAnyone: Stable Video Matting with Consistent Memory Propagationcited by 24
- 2024MG-LLaVA: Towards Multi-Granularity Visual Instruction Tuningcited by 22
- 2025EdgeTAM: On-Device Track Anything Modelcited by 21
- 2024Mamba or RWKV: Exploring High-Quality and High-Efficiency Segment Anything Modelcited by 18
- 2024MedSAM-U: Uncertainty-Guided Auto Multi-Prompt Adaptation for Reliable MedSAMcited by 17
- 2024BA-SAM: Scalable Bias-Mode Attention Mask for Segment Anything Modelcited by 15
- 2024Explore In-Context Segmentation via Latent Diffusion Modelscited by 12
29 more
- 2024De-LightSAM: Modality-Decoupled Lightweight SAM for Generalizable Medical Segmentationcited by 11
- 2024Swiss Army Knife: Synergizing Biases in Knowledge from Vision Foundation Models for Multi-Task Learningcited by 7
- 2024RMP-SAM: Towards Real-Time Multi-Purpose Segment Anythingcited by 6
- 2024Unleashing the Power of Generic Segmentation Models: A Simple Baseline for Infrared Small Target Detectioncited by 6
- 2026DifferSeg: Towards Diverse Multimodal Binary Segmentation via Differential Perception and Frequency Guidancecited by 6
- 2024Lite-SAM Is Actually What You Need for Segment Everythingcited by 5
- 2024EMOv2: Pushing 5M Vision Model Frontiercited by 5
- 2025Segment This Thing: Foveated Tokenization for Efficient Point-Prompted Segmentationcited by 5
- 2025Hierarchical Self-Prompting SAM: A Prompt-Free Medical Image Segmentation Frameworkcited by 4
- 2024EfficientViT-SAM: Accelerated Segment Anything Model Without Accuracy Losscited by 3
- 2025AHCQ-SAM: Toward Accurate and Hardware-Compatible Post-Training Segment Anything Model Quantizationcited by 3
- 2025Agglomerating Large Vision Encoders via Distillation for VFSS Segmentationcited by 3
- 2025Prompt Engineering in Segment Anything Model: Methodologies, Applications, and Emerging Challengescited by 3
- 2024Words to Wheels: Vision-Based Autonomous Driving Understanding Human Language Instructions Using Foundation Modelscited by 2
- 2025Compress Any Segment Anything Model (SAM)cited by 2
- 2025The SAM2-to-SAM3 Gap in the Segment Anything Model Family: Why Prompt-Based Expertise Fails in Concept-Driven Image Segmentationcited by 2
- 2026VCA: Vision-Click-Action Framework for Precise Manipulation of Segmented Objects in Target Ambiguous Environmentscited by 2
- 2026StructSAM: Structure- and Spectrum-Preserving Token Merging for Segment Anything Modelscited by 2
- 2024Segment Anything for comprehensive analysis of grapevine cluster architecture and berry propertiescited by 1
- 2024Annolid: Annotate, Segment, and Track Anything You Needcited by 1
- 2025Efficient Knowledge Distillation of SAM for Medical Image Segmentationcited by 1
- 2025Cues3D: Unleashing the Power of Sole NeRF for Consistent and Unique Instances in Open-Vocabulary 3D Panoptic Segmentationcited by 1
- 2026PaperFit: Vision-in-the-Loop Typesetting Optimization for Scientific Documentscited by 1
- 2026MedCore: Boundary-Preserving Medical Core Pruning for MedSAMcited by 1
- 2026TinySAM 2: Extreme Memory Compression for Efficient Track Anything Modelcited by 1
- 2024Group-Mix SAM: Lightweight Solution for Industrial Assembly Line Applicationscited by 0
- 2025SAM-Guided Robust Representation Learning for One-Shot 3D Medical Image Segmentationcited by 0
- 2026From Boundaries to Semantics: Prompt-Guided Multi-Task Learning for Petrographic Thin-section Segmentationcited by 0
- 2026SPARK-SAM: Learning How to Prompt and Respond for Infrared Small Target Segmentationcited by 0
- 2026SPARK-SAM: Learning How to Prompt and Respond for Infrared Small Target Segmentation21 Aug 2026
- 2026DifferSeg: Towards Diverse Multimodal Binary Segmentation via Differential Perception and Frequency Guidance8 Jun 2026
- 2026TinySAM 2: Extreme Memory Compression for Efficient Track Anything Model18 May 2026
- 2026MedCore: Boundary-Preserving Medical Core Pruning for MedSAM13 May 2026
- 2026PaperFit: Vision-in-the-Loop Typesetting Optimization for Scientific Documents11 May 2026
- 2026From Boundaries to Semantics: Prompt-Guided Multi-Task Learning for Petrographic Thin-section Segmentation16 Apr 2026
- 2026StructSAM: Structure- and Spectrum-Preserving Token Merging for Segment Anything Models7 Mar 2026
- 2026VCA: Vision-Click-Action Framework for Precise Manipulation of Segmented Objects in Target Ambiguous Environments27 Feb 2026
- 2025Fast-FoundationStereo: Real-Time Zero-Shot Stereo Matching11 Dec 2025
- 2025The SAM2-to-SAM3 Gap in the Segment Anything Model Family: Why Prompt-Based Expertise Fails in Concept-Driven Image Segmentation4 Dec 2025
- 2025Prompt Engineering in Segment Anything Model: Methodologies, Applications, and Emerging Challenges13 Jul 2025
- 2025Compress Any Segment Anything Model (SAM)11 Jul 2025
29 more
- 2025Segment This Thing: Foveated Tokenization for Efficient Point-Prompted Segmentation10 Jun 2025
- 2025Hierarchical Self-Prompting SAM: A Prompt-Free Medical Image Segmentation Framework3 Jun 2025
- 2025Cues3D: Unleashing the Power of Sole NeRF for Consistent and Unique Instances in Open-Vocabulary 3D Panoptic Segmentation1 May 2025
- 2025SAM-Guided Robust Representation Learning for One-Shot 3D Medical Image Segmentation29 Apr 2025
- 2025Agglomerating Large Vision Encoders via Distillation for VFSS Segmentation3 Apr 2025
- 2025AHCQ-SAM: Toward Accurate and Hardware-Compatible Post-Training Segment Anything Model Quantization5 Mar 2025
- 2025Efficient Knowledge Distillation of SAM for Medical Image Segmentation28 Jan 2025
- 2025MatAnyone: Stable Video Matting with Consistent Memory Propagation24 Jan 2025
- 2025EdgeTAM: On-Device Track Anything Model13 Jan 2025
- 2024EMOv2: Pushing 5M Vision Model Frontier9 Dec 2024
- 2024Swiss Army Knife: Synergizing Biases in Knowledge from Vision Foundation Models for Multi-Task Learning18 Oct 2024
- 2024Words to Wheels: Vision-Based Autonomous Driving Understanding Human Language Instructions Using Foundation Models14 Oct 2024
- 2024Unleashing the Power of Generic Segmentation Models: A Simple Baseline for Infrared Small Target Detection7 Sep 2024
- 2024MedSAM-U: Uncertainty-Guided Auto Multi-Prompt Adaptation for Reliable MedSAM2 Sep 2024
- 2024De-LightSAM: Modality-Decoupled Lightweight SAM for Generalizable Medical Segmentation19 Jul 2024
- 2024Lite-SAM Is Actually What You Need for Segment Everything12 Jul 2024
- 2024Mamba or RWKV: Exploring High-Quality and High-Efficiency Segment Anything Model27 Jun 2024
- 2024MG-LLaVA: Towards Multi-Granularity Visual Instruction Tuning25 Jun 2024
- 2024Annolid: Annotate, Segment, and Track Anything You Need27 Mar 2024
- 2024Segment Anything for comprehensive analysis of grapevine cluster architecture and berry properties19 Mar 2024
- 2024Group-Mix SAM: Lightweight Solution for Industrial Assembly Line Applications15 Mar 2024
- 2024Explore In-Context Segmentation via Latent Diffusion Models14 Mar 2024
- 2024EfficientViT-SAM: Accelerated Segment Anything Model Without Accuracy Loss7 Feb 2024
- 2024Hi-SAM: Marrying Segment Anything Model for Hierarchical Text Segmentation31 Jan 2024
- 2024RMP-SAM: Towards Real-Time Multi-Purpose Segment Anything18 Jan 2024
- 2024Towards Language-Driven Video Inpainting via Multimodal Large Language Models18 Jan 2024
- 2024Open-Vocabulary SAM: Segment and Recognize Twenty-thousand Classes Interactively5 Jan 2024
- 2024BA-SAM: Scalable Bias-Mode Attention Mask for Segment Anything Model4 Jan 2024
- 2023Osprey: Pixel Understanding with Visual Instruction Tuning15 Dec 2023
- 2024Explore In-Context Segmentation via Latent Diffusion Modelscited by 12
- 2024Explore In-Context Segmentation via Latent Diffusion Models14 Mar 2024
- 2024Open-Vocabulary SAM: Segment and Recognize Twenty-thousand Classes Interactivelycited by 75
- 2024Hi-SAM: Marrying Segment Anything Model for Hierarchical Text Segmentationcited by 30
- 2025MatAnyone: Stable Video Matting with Consistent Memory Propagationcited by 24
- 2025EdgeTAM: On-Device Track Anything Modelcited by 21
- 2024MedSAM-U: Uncertainty-Guided Auto Multi-Prompt Adaptation for Reliable MedSAMcited by 17
- 2024BA-SAM: Scalable Bias-Mode Attention Mask for Segment Anything Modelcited by 15
- 2024De-LightSAM: Modality-Decoupled Lightweight SAM for Generalizable Medical Segmentationcited by 11
- 2024Swiss Army Knife: Synergizing Biases in Knowledge from Vision Foundation Models for Multi-Task Learningcited by 7
- 2024RMP-SAM: Towards Real-Time Multi-Purpose Segment Anythingcited by 6
- 2024Unleashing the Power of Generic Segmentation Models: A Simple Baseline for Infrared Small Target Detectioncited by 6
- 2026DifferSeg: Towards Diverse Multimodal Binary Segmentation via Differential Perception and Frequency Guidancecited by 6
- 2024Lite-SAM Is Actually What You Need for Segment Everythingcited by 5
12 most cited of 31 All 31 (JSON)
- 2026SPARK-SAM: Learning How to Prompt and Respond for Infrared Small Target Segmentation21 Aug 2026
- 2026DifferSeg: Towards Diverse Multimodal Binary Segmentation via Differential Perception and Frequency Guidance8 Jun 2026
- 2026TinySAM 2: Extreme Memory Compression for Efficient Track Anything Model18 May 2026
- 2026MedCore: Boundary-Preserving Medical Core Pruning for MedSAM13 May 2026
- 2026PaperFit: Vision-in-the-Loop Typesetting Optimization for Scientific Documents11 May 2026
- 2026From Boundaries to Semantics: Prompt-Guided Multi-Task Learning for Petrographic Thin-section Segmentation16 Apr 2026
- 2025The SAM2-to-SAM3 Gap in the Segment Anything Model Family: Why Prompt-Based Expertise Fails in Concept-Driven Image Segmentation4 Dec 2025
- 2025Prompt Engineering in Segment Anything Model: Methodologies, Applications, and Emerging Challenges13 Jul 2025
- 2025Compress Any Segment Anything Model (SAM)11 Jul 2025
- 2025Segment This Thing: Foveated Tokenization for Efficient Point-Prompted Segmentation10 Jun 2025
- 2025Hierarchical Self-Prompting SAM: A Prompt-Free Medical Image Segmentation Framework3 Jun 2025
- 2025Cues3D: Unleashing the Power of Sole NeRF for Consistent and Unique Instances in Open-Vocabulary 3D Panoptic Segmentation1 May 2025
12 newest of 31 All 31 (JSON)