Legilimens: Performant Video Analytics on the System-on-Chip Edge

Murali Ramanujam, Yinwei Dai, Kyle Jamieson, Ravi Netravali
4/29/2025
cs.CVcs.LG

No confident code implementation found for this paper.

Abstract

Continually retraining models has emerged as a primary technique to enable high-accuracy video analytics on edge devices. Yet, existing systems employ such adaptation by relying on the spare compute resources that traditional (memory-constrained) edge servers afford. In contrast, mobile edge devices such as drones and dashcams offer a fundamentally different resource profile: weak(er) compute with abundant unified memory pools. We present Legilimens, a continuous learning system for the mobile edge's System-on-Chip GPUs. Our driving insight is that visually distinct scenes that require retraining exhibit substantial overlap in model embeddings; if captured into a base model on device memory, specializing to each new scene can become lightweight, requiring very few samples. To practically realize this approach, Legilimens presents new, compute-efficient techniques to (1) select high-utility data samples for retraining specialized models, (2) update the base model without complete retraining, and (3) time-share compute resources between retraining and live inference for maximal accuracy. Across diverse workloads, Legilimens lowers retraining costs by 2.8-10x compared to existing systems, resulting in 18-45% higher accuracies.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ramanujam2025legilimens,
  title  = {Legilimens: Performant Video Analytics on the System-on-Chip Edge},
  author = {Murali Ramanujam and Yinwei Dai and Kyle Jamieson and Ravi Netravali},
  year   = {2025},
  eprint = {2504.21136},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.21136v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.21136.svg)](https://codeofpaper.com/paper/2504.21136)

Discussion