Abstract
The advent of tiny artificial intelligence (AI) accelerators enables AI to run at the extreme edge, offering reduced latency, lower power cost, and improved privacy. When integrated into wearable devices, these accelerators open exciting opportunities, allowing various AI apps to run directly on the body. We present Synergy that provides AI apps with best-effort performance via system-driven holistic collaboration over AI accelerator-equipped wearables. To achieve this, Synergy provides device-agnostic programming interfaces to AI apps, giving the system visibility and controllability over the app's resource use. Then, Synergy maximizes the inference throughput of concurrent AI models by creating various execution plans for each app considering AI accelerator availability and intelligently selecting the best set of execution plans. Synergy further improves throughput by leveraging parallelization opportunities over multiple computation units. Our evaluations with 7 baselines and 8 models demonstrate that, on average, Synergy achieves a 23.0 times improvement in throughput, while reducing latency by 73.9% and power consumption by 15.8%, compared to the baselines.
Introduction
The "on-body" computing environment is becoming increasingly crowded with AI-capable wearables. While specialized chips like the Analog MAX78000 allow AI to run locally on a smartwatch or earbud, these devices remain extremely resource-constrained. Current deployment approaches often rely on static task assignments or inefficient offloading to a smartphone "hub," which can lead to high energy costs and slow performance due to wireless communication overhead.
Synergy is a novel runtime system that orchestrates multiple AI applications across a network of wearable devices. By treating the distributed on-body network as a single collaborative unit, Synergy overcomes the limitations of resource contention and out-of-resource (OOR) failures common in multi-app scenarios.
Methodology
Synergy introduces a system-driven approach to manage on-body resources through several key innovations:
- Device-Agnostic Programming: Developers define AI pipelines as Directed Acyclic Graphs (Sensing $\rightarrow$ Model $ ightarrow$ Interaction) without specifying target hardware. This allows the runtime to make dynamic placement and splitting decisions.
- Holistic Collaboration Planning: Instead of optimizing one app at a time, Synergy considers all concurrent apps and available devices. It determines where to split models and execute tasks to maximize system-wide throughput.
- Progressive Search Space Reduction: To handle the complexity of finding optimal splits across multiple devices, Synergy uses a data intensity-aware heuristic, prioritizing the placement of pipelines with the largest data transfer requirements to prune the search space efficiently.
- Clock-Cycle-Based Latency Modeling: Traditional parameter-based models are inaccurate for specialized tiny AI accelerators. Synergy uses a model based on hardware clock cycles to capture the internal parallel operation of convolution engines.
- Adaptive Task Parallelization: Synergy breaks sequential execution by overlapping sensing, inference, and communication across different devices and consecutive runs.
Evaluation and Key Results
The system was evaluated using 8 different AI models (e.g., MobileNetV2, Keyword Spotting) across 4 workloads on a prototype network of MAX78000 and MAX78002 accelerators.
- Throughput: Synergy achieved an average 23.0× improvement in throughput compared to baseline methods.
- Latency: End-to-end latency was reduced by 73.9%.
- Power Efficiency: Power consumption decreased by 15.8%, primarily by minimizing the use of power-hungry wireless radios through smarter placement decisions.
Key Insights
A critical finding is that in the world of Tiny AI, wireless communication is often the primary bottleneck. Synergy improves performance by minimizing data-heavy wireless links rather than just seeking the fastest processor. Furthermore, it demonstrates that large models traditionally considered too big for microcontrollers can be successfully run by "sharding" them across a network of smaller devices.
Limitations and Future Work
Currently, orchestration is handled by an external "moderator" like a smartphone. Future work aims to decentralize this for self-organizing wearables. Additionally, the team plans to explore "horizontal" (channel-wise) model splitting and improve robustness against rapid fluctuations in wireless channel quality.
Summary updated