Inferensys

Glossary

Energy Disaggregation Accuracy Metrics

Quantitative measures such as F1-score, Mean Absolute Error (MAE), and Total Energy Correctly Assigned (TECA) used to evaluate the performance of load monitoring algorithms.
Analytics team reviewing AI metrics dashboard on large monitor, KPIs visible, modern data-driven office setup.
Performance Evaluation

What is Energy Disaggregation Accuracy Metrics?

Energy disaggregation accuracy metrics are quantitative standards used to evaluate how precisely a non-intrusive load monitoring (NILM) algorithm decomposes a building's total energy signal into individual appliance loads.

Energy disaggregation accuracy metrics quantify the fidelity of a Non-Intrusive Load Monitoring (NILM) algorithm's output against ground-truth data. These metrics, including F1-score, Mean Absolute Error (MAE), and Total Energy Correctly Assigned (TECA), measure an algorithm's ability to correctly identify an appliance's operational state and precisely estimate its power consumption from an aggregate signal.

Selecting the appropriate metric requires balancing event detection accuracy with energy estimation precision. While the F1-score evaluates the classification of on/off state transitions, MAE measures the absolute deviation in assigned wattage. TECA provides a holistic view by calculating the percentage of total aggregate energy that the algorithm correctly attributed to specific end-uses, penalizing both missed loads and phantom consumption.

QUANTITATIVE EVALUATION

Core Accuracy Metrics for Load Disaggregation

The definitive set of quantitative measures used to evaluate how precisely a non-intrusive load monitoring (NILM) algorithm decomposes an aggregate energy signal into its constituent appliance loads. These metrics assess both state detection and energy estimation performance.

01

F1-Score

The harmonic mean of precision and recall, providing a balanced measure of an algorithm's ability to correctly identify when an appliance is active while minimizing false positives and false negatives.

  • Precision: Of all the times the model predicted the appliance was ON, what fraction was actually ON?
  • Recall: Of all the times the appliance was actually ON, what fraction did the model correctly detect?
  • F1 Formula: 2 * (Precision * Recall) / (Precision + Recall)
  • Use Case: Best for evaluating state detection accuracy, especially on imbalanced datasets where appliances are OFF most of the time.
0.0–1.0
Score Range
02

Mean Absolute Error (MAE)

The average absolute difference between the predicted power consumption and the ground truth power consumption for a specific appliance, measured in watts.

  • Interpretation: An MAE of 50W means the model's power estimate is, on average, off by 50 watts at each time step.
  • Sensitivity: Penalizes large errors linearly, making it robust to outliers compared to RMSE.
  • Granularity: Typically calculated at the same sampling rate as the input data (e.g., 1-second or 1-minute intervals).
  • Limitation: Does not distinguish between always-predicting-zero and genuine state confusion.
Watts
Unit of Measurement
03

Total Energy Correctly Assigned (TECA)

The fraction of total aggregate energy consumption that is correctly attributed to the correct appliance over a defined period, typically expressed as a percentage.

  • Formula: 1 - (Sum of Absolute Attribution Errors) / (2 * Total Aggregate Energy)
  • Interpretation: A TECA of 85% means 85% of the total energy consumed was assigned to the right device; the remaining 15% was either unassigned or misassigned.
  • Strength: Provides a single, intuitive number for overall disaggregation quality across all appliances.
  • Weakness: Can mask poor performance on low-power devices if high-power appliances dominate the aggregate signal.
0–100%
Typical Range
04

Normalized Disaggregation Error (NDE)

The ratio of the mean squared error of the disaggregated signal to the mean squared error of a naive baseline that always predicts the mean power of the appliance.

  • Formula: NDE = Sum((y_true - y_pred)^2) / Sum((y_true - y_mean)^2)
  • Interpretation: An NDE of 0 indicates perfect disaggregation; an NDE of 1 means the model performs no better than always guessing the average load.
  • Benchmarking: The standard metric used in academic literature to compare models against the REDD and UK-DALE datasets.
  • Advantage: Normalizes for appliance power magnitude, enabling fair comparison between high-power and low-power devices.
< 1.0
Acceptable Threshold
05

Matthews Correlation Coefficient (MCC)

A balanced classification metric that accounts for all four confusion matrix categories—true positives, true negatives, false positives, and false negatives—producing a score between -1 and +1.

  • +1: Perfect prediction.
  • 0: No better than random guessing.
  • -1: Total disagreement between prediction and observation.
  • Why NILM Uses It: Unlike F1-score, MCC only produces a high score if the model performs well on both the majority class (OFF) and the minority class (ON), making it the most reliable single metric for imbalanced appliance state data.
-1 to +1
Score Range
06

Event Detection Accuracy

A set of metrics specifically evaluating the algorithm's ability to correctly identify state transitions—the exact moment an appliance turns ON or OFF—rather than steady-state consumption.

  • True Positive Event: Detected within a tolerance window (e.g., ±5 seconds) of the actual transition.
  • False Positive Event: A transition detected where none occurred.
  • False Negative Event: A real transition that the model missed entirely.
  • Metrics: Precision, Recall, and F1 calculated on event instances, not time samples.
  • Critical For: Real-time feedback applications where users expect immediate notification of appliance state changes.
ACCURACY BENCHMARKING

Frequently Asked Questions

Quantitative evaluation is critical for validating non-intrusive load monitoring (NILM) algorithms. These metrics bridge the gap between raw signal processing and actionable energy insights by measuring how precisely a model assigns power consumption to individual appliances.

The F1-score is the harmonic mean of precision and recall, providing a balanced measure of an algorithm's ability to correctly identify appliance activation events while minimizing false positives. In energy disaggregation, accuracy is often misleading due to severe class imbalance—appliances like water heaters or refrigerators may be 'off' for the vast majority of time steps, inflating simple accuracy metrics. The F1-score penalizes both missed detections (a heater turning on but not being flagged) and false alarms (incorrectly reporting a dishwasher as active). It is typically computed per-appliance and then macro-averaged across all devices in a household. A high F1-score indicates that the model reliably distinguishes true state transitions from background noise and overlapping loads, making it the standard metric in benchmarks like REDD and UK-DALE.

ACCURACY EVALUATION PARADIGMS

Event-Based vs. Energy-Based Metrics

Comparison of two fundamental approaches to quantifying NILM algorithm performance: evaluating the correctness of state transitions versus the accuracy of total energy assignment.

FeatureEvent-Based MetricsEnergy-Based Metrics

Primary Evaluation Focus

Correct detection of appliance state transitions (on/off edges)

Accurate assignment of total energy consumption over time windows

Core Metrics

Precision, Recall, F1-Score

Mean Absolute Error (MAE), Total Energy Correctly Assigned (TECA)

Temporal Granularity

Instantaneous (sample-level)

Aggregated (window-level)

Penalizes False Positives

Penalizes Magnitude Errors

Sensitive to Time-Shifted Detections

Best Suited For

Identifying specific appliance usage patterns

Evaluating overall energy savings estimates

Typical Tolerance Window

±30 seconds to ±5 minutes

Not applicable

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.