Synergy: Towards On-Body AI via Tiny AI Accelerator Collaboration on Wearables

Taesik Gong, Si Young Jang, Utku Günay Acer, Fahim Kawsar, Chulhong Min

TL;DR

Synergy is a first-of-its-kind runtime system that allows a network of wearable devices to pool their "tiny AI accelerators," enabling complex on-body applications to run faster and more efficiently. By holistically orchestrating tasks across multiple devices, it achieves a massive 23x boost in throughput and a 74% reduction in latency compared to traditional methods.

What Problem Does This Paper Address?

We are entering an era where our glasses, watches, earbuds, and even shoes are becoming "AI-capable" thanks to specialized tiny AI accelerators (like the Analog MAX78000). However, these chips are extremely resource-constrained, often having less than 1MB of memory.

Currently, developers face a dilemma: run a small, less capable model on one device, or offload the work to a smartphone. Offloading is a battery killer and adds significant lag because raw sensor data has to travel back and forth. Furthermore, if you try to run multiple AI apps at once, devices quickly run out of memory (Out-of-Resource errors). The challenge is how to treat all these separate on-body accelerators as a single, collaborative resource that can handle complex, concurrent AI tasks without needing a smartphone middleman.

Fig. 1: Wearable computing powered by tiny AI accelerators, simultaneously running on-body AI apps.

Methods

Synergy introduces a system-driven approach to manage this "on-body" network:

  • Device-Agnostic Programming: Developers define AI pipelines as Directed Acyclic Graphs (DAGs) of sensing, model, and interaction tasks. They don't need to hard-code which device does what; Synergy decides that at runtime.
  • Holistic Collaboration Planning: Unlike existing methods that optimize one app at a time, Synergy looks at every running app and every available device. It strategically splits AI models across different accelerators to prevent resource conflicts.
  • Progressive Search Space Reduction: Finding the perfect way to split models across multiple devices is a mathematically "exploding" problem. Synergy uses a "data intensity-aware" heuristic to prune the search space, making it fast enough to run on low-power microcontrollers.
  • Clock-Cycle-Based Latency Modeling: Traditional speed estimates based on model parameters don't work well for these specialized accelerators. Synergy models the actual hardware clock cycles to predict performance with less than 1% error.
  • Adaptive Task Parallelization: To keep the hardware busy, Synergy overlaps tasks across different apps (inter-pipeline) and consecutive execution runs (inter-run), significantly reducing idle time.
Fig. 6: An illustration of Synergy’s operational flow.

Datasets

The authors evaluated Synergy using four complex workloads composed of eight diverse AI models:

  • Vision: UNet (image segmentation), MobileNetV2, EfficientNetV2, ConvNet5, and WideNet.
  • Audio/Sensing: Keyword Spotting (KWS), SimpleNet, and ResSimpleNet.

These models were tested on a hardware setup consisting of four MAX78000 devices (representing an earbud, glasses, watch, and ring) and the more powerful MAX78002.

Key Insights and Ideas

  • Communication is the Real Bottleneck: In tiny AI systems, moving data between devices is often far more expensive (in time and energy) than the actual computation. Synergy’s "aha moment" is prioritizing the optimization of data-intensive pipelines to minimize these costly links.
  • Throughput and Power aren't a Zero-Sum Game: By streamlining pipelines and reducing unnecessary data transmissions, Synergy actually lowers total power consumption by 15.8% while simultaneously boosting performance.
  • Holistic Beats Independent: As shown in the comparison of decision approaches, independent app-level decisions often lead to "Out-of-Resource" failures. Synergy’s global view allows it to fit larger models and more apps than any single device could handle.
Fig. 5: Comparison of decision approaches.

Key Results

  • 23.0x Throughput Gain: On average, Synergy processes 23 times more inferences per second than baseline methods.
  • 73.9% Latency Reduction: End-to-end response times are slashed, making real-time apps like "attention alerts" much more viable.
  • Superiority over Phone Offloading: By eliminating the "communication tax" of sending raw data to a phone, Synergy improves throughput by up to 57.7x compared to traditional offloading.
Fig. 4: Comparison of Synergy and phone offloading.

Limitations and Future Work

While impressive, the authors acknowledge a few areas for growth:

  • Centralized Orchestration: Currently, a "moderator" (like a smartphone) is needed for the initial setup of collaboration plans. The team envisions a future decentralized approach where the wearables manage themselves.
  • Splitting Granularity: The system currently uses layer-wise model splitting. Future work will explore "channel-wise" splitting to handle even larger input data.
  • Complex Architectures: The team plans to extend support to more complex AI structures, such as sensor fusion and conditional model chaining, to meet the demands of sophisticated real-world applications.

Summary updated

BibTeX
@article{gong2023synergy,
  author = {Taesik Gong and Si Young Jang and Utku Günay Acer and Fahim Kawsar and Chulhong Min},
  title = {{Synergy: Towards On-Body AI via Tiny AI Accelerator Collaboration on Wearables}},
  journal = {IEEE Trans. Mobile Computing},
  year = {2023},
}
Figure