Tsetlin Machine Enables Real-Time NILM on Microcontrollers

Tianhang Tan, Han Wu, Tousif Rahman, Shengyu Duan, Alex Yakovlev, Rishad Shafik· August 20, 2026 View original

Key takeaways

  • Tsetlin Machines enable efficient, real-time NILM on resource-constrained microcontrollers.
  • The system offers high precision and recall for appliance classification with minimal memory footprint.
  • On-device processing enhances privacy by keeping sensitive household data local.
  • This approach opens new possibilities for energy monitoring in edge computing environments.

Who benefits

Smart HomeEnergy ManagementIoTBuilding AutomationUtilities

Summary

This paper proposes a Tsetlin Machine-based Non-Intrusive Load Monitoring (NILM) system designed for real-time, privacy-preserving deployment on resource-constrained microcontrollers (MCUs). The system accurately estimates individual appliance energy consumption from a single meter, achieving high precision and recall with minimal memory footprint and low inference latency.

Non-Intrusive Load Monitoring (NILM) systems are valuable for disaggregating total household energy consumption into individual appliance usage, requiring only a single aggregate meter. However, traditional NILM approaches often rely on computationally intensive optimization algorithms that process data offline, making them unsuitable for on-device deployment where privacy concerns mandate local data processing on resource-constrained hardware. This research introduces a novel NILM framework built upon the Tsetlin Machine (TM), specifically tailored for real-time applications on microcontrollers (MCUs). By reformulating the NILM problem as a classification task, the Tsetlin Machine can efficiently determine the active status of each appliance. The proposed system demonstrates impressive performance, achieving an average precision of 90% and recall of 96% for two-appliance classification, and 77% precision and 80% recall for four appliances on the REDD dataset. Crucially, the trained model requires only 18 KB of flash memory and exhibits an inference latency of 0.43 ms on an ESP32, proving its viability for privacy-preserving, embedded NILM applications on edge devices.

Why it matters

For professionals in smart home technology, energy management, or IoT device development, this research offers a practical, privacy-preserving solution for real-time appliance monitoring on low-cost, resource-constrained hardware, enabling new applications in energy efficiency and predictive maintenance.

How to implement this in your domain

  1. 1Investigate Tsetlin Machines as an alternative to traditional deep learning for edge AI applications requiring low resource consumption.
  2. 2Develop a prototype NILM system using Tsetlin Machines on target microcontrollers like ESP32 for real-time appliance monitoring.
  3. 3Integrate the TM-based NILM framework into smart home or industrial IoT devices for energy disaggregation.
  4. 4Evaluate the privacy implications and performance of on-device data processing for sensitive household energy data.

Original post by Tianhang Tan, Han Wu, Tousif Rahman, Shengyu Duan, Alex Yakovlev, Rishad Shafik

"arXiv:2608.18780v1 Announce Type: new Abstract: Non-Intrusive Load Monitoring (NILM) systems estimate individual appliance energy consumption from a single aggregate meter, without requiring separate sensors for each device. By installing a single meter that measures a building's…"

View on X

Originally posted by Tianhang Tan, Han Wu, Tousif Rahman, Shengyu Duan, Alex Yakovlev, Rishad Shafik on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses