Skip to main navigation Skip to search Skip to main content

ECSAM: An Edge-cloud Video Analytics Architecture for the Segment Anything Model

Rui Lu, Siping Shi, Dan Wang

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

As artificial intelligence continues to evolve, it is increasingly capable of handling a wide range of video analytics tasks with a single large model. One of the key foundation technologies is the Segment Anything Model (SAM), which enables video analytics tasks to be determined on the fly based on user input prompts. However, achieving real-time response in video analytics applications is crucial for user experiences due to the limited communication and computation resources on the edge, especially with SAM, where users may continuously interact by adding or adjusting prompts. In this paper, we propose ECSAM, an edge-cloud computing architecture designed to support SAM for users on the edge. ECSAM integrates new modules on the edge and the cloud to maximize analytics accuracy under both visual and image prompts, while also considering latency constraints. It addresses resource challenges by offering a visual prompt transformation algorithm for visual prompts and efficient workload partitioning for image encoding. ECSAM is implemented on top of the open-source Meta SAM project and develops a case study on a Visual Tour Guide application. Our evaluation indicates that ECSAM significantly enhances the analytics accuracy across various network bandwidths.

Original languageEnglish
Title of host publicationECCAI 2025 - Proceedings of the ACM Conext 2025 Workshop on the Edge-Cloud Collaboration for AI, Co-Located with CONEXT 2025
PublisherAssociation for Computing Machinery, Inc
Pages17-23
Number of pages7
ISBN (Electronic)9798400722424
DOIs
Publication statusPublished - 8 Dec 2025
Externally publishedYes
Event2025 ACM Workshop on Edge-Cloud Collaboration for Artificial Intelligence - Hong Kong, Hong Kong
Duration: 1 Dec 2025 → 4 Dec 2025
https://dl.acm.org/doi/proceedings/10.1145/3769696 (Link to proceedings)

Workshop

Workshop2025 ACM Workshop on Edge-Cloud Collaboration for Artificial Intelligence
Abbreviated titleECCAI 2025
Country/TerritoryHong Kong
CityHong Kong
Period1/12/25 → 4/12/25
Internet address

Fingerprint

Dive into the research topics of 'ECSAM: An Edge-cloud Video Analytics Architecture for the Segment Anything Model'. Together they form a unique fingerprint.

Cite this