Skip to main content
QUICK REVIEW

[Paper Review] Intelligence Beyond the Edge: Inference on Intermittent Embedded Systems

Graham Gobieski, Nathan Beckmann|arXiv (Cornell University)|Sep 28, 2018
Parallel Computing and Optimization TechniquesComputer Science67 references20 citations
TL;DR

This paper presents Sonic, a software system that enables efficient deep neural network (DNN) inference on energy-harvesting, intermittent embedded systems by introducing loop continuation—a technique that reduces overhead in intermittent execution through structured, idempotent loop processing. It achieves up to 12.2× energy reduction over state-of-the-art methods via optimized software and hardware co-design with Tails and Genesis for model compression.

ABSTRACT

Energy-harvesting technology provides a promising platform for future IoT applications. However, since communication is very expensive in these devices, applications will require inference "beyond the edge" to avoid wasting precious energy on pointless communication. We show that application performance is highly sensitive to inference accuracy. Unfortunately, accurate inference requires large amounts of computation and memory, and energy-harvesting systems are severely resource-constrained. Moreover, energy-harvesting systems operate intermittently, suffering frequent power failures that corrupt results and impede forward progress. This paper overcomes these challenges to present the first full-scale demonstration of DNN inference on an energy-harvesting system. We design and implement SONIC, an intermittence-aware software system with specialized support for DNN inference. SONIC introduces loop continuation, a new technique that dramatically reduces the cost of guaranteeing correct intermittent execution for loop-heavy code like DNN inference. To build a complete system, we further present GENESIS, a tool that automatically compresses networks to optimally balance inference accuracy and energy, and TAILS, which exploits SIMD hardware available in some microcontrollers to improve energy efficiency. Both SONIC & TAILS guarantee correct intermittent execution without any hand-tuning or performance loss across different power systems. Across three neural networks on a commercially available microcontroller, SONIC & TAILS reduce inference energy by 6.9x and 12.2x, respectively, over the state-of-the-art.

Motivation & Objective

  • To enable high-accuracy, low-energy DNN inference on energy-harvesting, intermittent embedded systems where communication is costly.
  • To address the challenge of intermittent execution in resource-constrained microcontrollers with limited memory and processing power.
  • To reduce the performance and energy overhead of ensuring correctness in intermittent systems, especially for loop-heavy workloads like DNN inference.
  • To optimize the trade-off between inference accuracy and energy consumption through automated neural network compression.
  • To design a full-stack solution combining software (Sonic), hardware exploitation (Tails), and model compression (Genesis) for end-to-end efficiency.

Proposed method

  • Introduces loop continuation—a novel technique that allows safe, low-overhead execution of DNN inference loops by ensuring idempotency through loop-ordered buffering and sparse undo-logging.
  • Designs Sonic, a software system that guarantees correct intermittent execution by selectively modifying non-volatile memory and avoiding full task-based abstractions.
  • Develops Tails, a system that exploits SIMD hardware on microcontrollers to improve energy efficiency during DNN inference.
  • Creates Genesis, a tool that automatically compresses DNNs to optimally balance inference accuracy and energy consumption for IoT applications.
  • Uses loop-ordered buffering for convolutional layers and sparse undo-logging for fully-connected layers to ensure correctness under power failures.
  • Employs a full-stack approach combining software, hardware-aware compilation, and model compression to minimize energy overhead while maintaining accuracy.

Experimental results

Research questions

  • RQ1How can DNN inference be efficiently executed on intermittent, energy-harvesting embedded systems with severe resource constraints?
  • RQ2What techniques can reduce the overhead of ensuring correct execution in intermittent systems, especially for loop-heavy code like DNN inference?
  • RQ3How can the trade-off between inference accuracy and energy consumption be automatically optimized in resource-constrained IoT devices?
  • RQ4Can hardware features like SIMD be effectively exploited to improve energy efficiency in intermittent DNN inference?
  • RQ5What architectural and software co-design principles enable efficient, correct execution on commodity microcontrollers with intermittent power?

Key findings

  • Sonic reduces inference energy by up to 6.9× compared to the state-of-the-art in intermittent execution systems.
  • Tails achieves a 12.2× reduction in inference energy by leveraging SIMD hardware for efficient computation on microcontrollers.
  • The combination of Sonic and Tails enables full DNN inference on a commercially available microcontroller with intermittent power, demonstrating the first such end-to-end system.
  • Genesis automatically compresses neural networks to maximize application-level performance by balancing accuracy and energy consumption.
  • Loop continuation reduces overhead by exploiting the regular structure of DNN inference, avoiding the high cost of general-purpose intermittent execution mechanisms.
  • The system achieves correct execution across diverse power systems without hand-tuning or performance loss, demonstrating robustness and portability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.