Abstract
This paper introduces "intermittent learning," a framework that enables batteryless, energy-harvesting devices to perform on-device training and adaptation. By decomposing machine learning tasks into atomic actions and employing a dynamic action planner with lightweight data selection heuristics, the system achieves significant energy efficiency gains and reduces training data requirements by up to 50% compared to traditional intermittent computing approaches.
Introduction
The Internet of Things (IoT) is increasingly moving toward batteryless devices that harvest ambient energy from sources like solar, RF, or kinetic motion. These devices operate under an "intermittent computing" paradigm: they wake up to compute when energy is available and save their state to non-volatile memory before power fails. While running pre-trained machine learning (ML) inference on such devices has become possible, a significant gap remains: these devices cannot learn or adapt to new environments post-deployment.
Training a model on-device is energy-intensive. Blindly updating a model with every incoming data point quickly exhausts limited energy reserves on redundant information. This paper tackles the challenge of enabling lifelong, on-device training under extreme and unpredictable energy constraints.
System Architecture and Methods
The proposed framework introduces several key innovations to make on-device learning feasible for energy-starved edge devices.
Action-Based Programming Model
ML tasks are broken down into atomic "actions" (e.g., sense, extract features, learn, infer). If power fails during an action, the system rolls back; if it completes, the state is saved to non-volatile memory. This ensures progress is maintained across power cycles without the overhead of full-system checkpoints.
Dynamic Action Planner
Instead of a fixed schedule, a runtime scheduler looks at the current energy level and the model's performance to decide the next best action. If the model is performing poorly, it prioritizes learning; if it is highly accurate, it prioritizes inference to maximize utility.
Example Selection Heuristics
To save energy, the system doesn't train on every data point. The authors implemented three lightweight heuristics—Round-Robin, k-Last Lists, and Randomized Choice—to filter out redundant data. This ensures the model only spends energy training on data that is diverse or highly uncertain, allowing the system to discard up to 56% of incoming data without sacrificing accuracy.
Energy Pre-inspection Tool
A developer tool profiles C code and warns if a specific ML action requires more energy than the device's capacitor can hold, prompting the developer to split the code into smaller, energy-safe chunks.
Evaluation and Key Results
The authors deployed three real-world intermittent learning systems to evaluate the framework: solar-powered air quality monitoring, RF-powered human presence detection, and piezoelectric-powered vibration classification.
- Accuracy: The intermittent learners achieved ~80% average accuracy across applications, comparable to heavy, offline anomaly detectors.
- Energy Efficiency: The system consumed up to 37% less energy than state-of-the-art intermittent baselines (like Alpaca) while maintaining accuracy.
- Data Reduction: The framework reached target accuracies by executing 50% fewer learn actions compared to baseline systems that lack data selection heuristics.
- Low Overhead: The dynamic action planner is incredibly lightweight, adding less than 3.5% energy and time overhead to the processing of a single data example.
Limitations and Future Work
High-resolution data or large Deep Neural Networks (DNNs) remain a challenge if a single atomic action requires more energy than the device's capacitor can hold. Furthermore, the framework is currently limited to unsupervised or semi-supervised learning. Future work may explore reinforcement learning or low-power communication with an external "Oracle" to fetch ground-truth labels for supervised tasks.
Conclusion
Intermittent learning demonstrates that lifelong edge learning is feasible on batteryless sensors. By focusing on "quality over quantity" in data selection and employing dynamic task scheduling, these systems can autonomously adapt to new environments without needing a cloud connection or battery replacements.
Summary updated