[Paper Review] Intermittent Inference with Nonuniformly Compressed Multi-Exit Neural Network for Energy Harvesting Powered Devices
This paper proposes a power trace-aware, exit-guided compression and runtime adaptation framework for deploying multi-exit neural networks on energy-harvesting microcontrollers. By jointly optimizing pruning and quantization for all exits and using lightweight Q-learning for dynamic exit selection, it achieves 10.2% higher average accuracy and 23.2x lower latency than state-of-the-art baselines.
This work aims to enable persistent, event-driven sensing and decision capabilities for energy-harvesting (EH)-powered devices by deploying lightweight DNNs onto EH-powered devices. However, harvested energy is usually weak and unpredictable and even lightweight DNNs take multiple power cycles to finish one inference. To eliminate the indefinite long wait to accumulate energy for one inference and to optimize the accuracy, we developed a power trace-aware and exit-guided network compression algorithm to compress and deploy multi-exit neural networks to EH-powered microcontrollers (MCUs) and select exits during execution according to available energy. The experimental results show superior accuracy and latency compared with state-of-the-art techniques.
Motivation & Objective
- Enable persistent, event-driven inference on energy-harvesting microcontrollers (MCUs) with limited storage and intermittent power.
- Address the challenge of low accuracy in early exits caused by conventional compression that only optimizes final-layer performance.
- Maximize long-term average inference accuracy under unpredictable, dynamic energy harvesting by jointly considering energy availability and exit-specific accuracy/cost.
- Develop a runtime adaptation mechanism that learns optimal exit selection based on real-time energy and input difficulty.
Proposed method
- Design a power trace-aware, exit-guided network compression algorithm that jointly optimizes pruning and quantization across all exits to preserve accuracy at every level.
- Use FLOPs and model size as constraints to fit the compressed multi-exit network into MCU memory (e.g., 64KB Flash).
- Introduce a runtime exit selection strategy based on lightweight Q-learning that balances immediate accuracy with future energy availability.
- Incorporate input difficulty estimation via confidence entropy at each exit to decide whether to proceed to deeper exits for higher accuracy.
- Use a lookup table (LUT) for static exit selection as a baseline and compare against the learned Q-table policy.
- Evaluate the system under real-world solar power traces and event distributions to simulate realistic energy harvesting conditions.
Experimental results
Research questions
- RQ1How can multi-exit neural networks be compressed to maintain high accuracy at all exits while fitting within the limited memory of energy-harvesting MCUs?
- RQ2What compression strategy maximizes the long-term average inference accuracy under dynamic and unpredictable energy availability?
- RQ3How does dynamic runtime exit selection based on energy availability and input difficulty improve average accuracy compared to static selection?
- RQ4To what extent can lightweight reinforcement learning (Q-learning) adapt to varying energy traces and event distributions to optimize exit decisions?
Key findings
- The proposed compression method improves average inference accuracy by 10.2% over a static lookup table (LUT) baseline under real solar power traces.
- Runtime Q-learning adaptation increases the number of processed events by 11.2% compared to the static LUT, due to better energy conservation and exit selection.
- The system reduces average per-inference latency by 4.1x to 23.2x compared to state-of-the-art baselines, depending on the configuration.
- The lightweight Q-learning policy achieves high accuracy improvement with negligible computational overhead, updating its Q-table efficiently during operation.
- The power trace-aware compression ensures that exits with higher selection probability (based on energy availability) are prioritized during optimization.
- The method enables persistent, event-driven inference on MCUs with only 64KB of Flash, making it feasible to deploy DNNs on battery-less, energy-harvesting devices.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.