Elastoformer: Enabling Dynamic Adaptivity via Elastic Model Transformation
Abstract
EdgeAI systems are increasingly employing computer vision applications to enable intelligent, on-device decision-making in real-time. However, these deployments face highly dynamic operational conditions, with fluctuating constraints on latency, power availability, and memory resources. Deep Neural Networks (DNN), which follow fixed computational execution flows, lack the flexibility to adapt to such variability, resulting in inefficient and suboptimal performance in edge scenarios. This underscores the need for architectures that are not only efficient but also dynamically scalable at runtime. In this paper, we propose Elastoformer: A framework that transforms conventional neural networks (NN) into Elastic NN capable of real-time elastic inference. Unlike the conventional bag-of-models approach, which requires maintaining multiple independent models for different operating conditions, Elastoformer offers a single, modular solution that dynamically switches between multiple modes of operation at runtime, adapting efficiently to the changing computational budgets of edge devices without the overhead of managing separate models. Experiments reveal that our framework achieves up to 85% reduction in computation FLOPs, 50% reduction in latency and 76% reduction in memory overhead, while showcasing the architecture agnostic nature of the framework across both Vision Transformers and CNNs. Our code is available at https://github.com/sudaksh14/Elastoformer.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI, cs.PF, cs.SY, eess.SY
- Journal
- SEC 2025: Proceedings of the Tenth ACM/IEEE Symposium on Edge Computing Article No.: 10, Pages 1 - 14
- Comments
- Published at SEC'25
Related papers
CEM-TUDASR: Computationally efficient multi-modality transformer based unsupervised domain adaptive super-resolution approach
Shared title terminologycs.CVAnjali Sarvaiya, Jay Kadel, Kishor Upla et al.
High-Fidelity Image Matting with Pixel-Space Diffusion Transformers
Shared title terminologycs.CVBaihan Yang, Xin Lin, Yufan Wei et al.
Focus Only on What's Important: Training-Free Focus Maps for Frozen Vision Transformers in Long-Video Object Segmentation
Shared title terminologycs.CVHarsha Karipineni, Rajesh Reddy Chintha
Diffusion Steering via Adaptive Reward Estimation and Resampling
Shared title terminologycs.CVAbinitha Gourabathina, Sana Tonekaboni, Marzyeh Ghassemi et al.
Reading, Not Adapting: Unlocking Frozen Visual Knowledge for AI-Generated Image Detection
Shared title terminologycs.CVYuncheng Guo, Ying Dong, Xiaodong Gu
Motion Beyond Pixels: Learning Future Visual Representations for Object-Centric Dynamics
Shared title terminologycs.CVChengzhi Zhao, Juelin Li, Zhennan Wang et al.