TrustEnergy: A Unified Framework for Accurate and Reliable User-level Energy Usage Prediction

Dahai Yu, Rongchao Xu, Dingyi Zhuang, Yuheng Bu, Shenhao Wang, Guang Chao Wang · DOI

Abstract

Energy usage prediction is important for various real-world applications, including grid management, infrastructure planning, and disaster response. Although a plethora of deep learning approaches have been proposed to perform this task, most of them either overlook the essential spatial correlations across households or fail to scale to individualized prediction, making them less effective for accurate fine-grained user-level prediction. In addition, due to the dynamic and uncertain nature of energy usage caused by various factors such as extreme weather events, quantifying uncertainty for reliable prediction is also significant, but it has not been fully explored in existing work. In this paper, we propose a unified framework called TrustEnergy for accurate and reliable user-level energy usage prediction. There are two key technical components in TrustEnergy, (i) a Hierarchical Spatiotemporal Representation module to efficiently capture both macro and micro energy usage patterns with a novel memory-augmented spatiotemporal graph neural network, and (ii) an innovative Sequential Conformalized Quantile Regression module to dynamically adjust uncertainty bounds to ensure valid prediction intervals over time, without making strong assumptions about the underlying data distribution. We implement and evaluate our TrustEnergy framework by working with an electricity provider in Florida, and the results show our TrustEnergy can achieve a 5.4% increase in prediction accuracy and 5.7% improvement in uncertainty quantification compared to state-of-the-art baselines.

Introduction

Predicting energy usage at the individual household level is a critical goal for modern grid management and disaster response. However, achieving high-accuracy, fine-grained predictions across tens of thousands of users presents significant challenges. Standard models often face a "parameter explosion" when trying to capture unique user habits and frequently fail to account for spatial correlations between neighbors. Furthermore, reliability is paramount; grid operators require valid uncertainty intervals, especially during non-stationary events like extreme weather, where traditional models often break down.

TrustEnergy addresses these hurdles by combining a scalable hierarchical representation with a dynamic uncertainty calibration technique, outperforming state-of-the-art models by over 5% in both accuracy and reliability.

Methods

The TrustEnergy framework consists of two novel technical components designed to handle scale and uncertainty simultaneously.

The TrustEnergy architecture featuring Hierarchical Spatiotemporal Representation and Sequential CQR.

1. Hierarchical Spatiotemporal Representation (HSTR)

To solve the scalability problem, TrustEnergy utilizes a Memory-Augmented Spatiotemporal Graph Neural Network (MASTGNN). This module builds a hierarchy of graphs: a "Micro-level" graph for individual households and a "Macro-level" graph for broader regions. To avoid the computational cost of learning unique parameters for every user, the model maintains a shared "parameter pool" (memory). It dynamically retrieves and combines blocks from this pool to generate parameters for specific users and times. This approach slashes computational complexity from $O(TN)$ to $O(k)$, making individual-level prediction feasible for large-scale deployments.

2. Sequential Conformalized Quantile Regression (SCQR)

Reliability is managed through SCQR, a distribution-agnostic method that ensures prediction intervals remain valid even as data distributions shift. SCQR calculates "nonconformity scores"—measuring how much predictions deviate from reality—and employs a rolling calibration window. This allows the model to dynamically adjust the width of its prediction intervals in real-time, ensuring that a "90% confidence interval" actually contains the true value 90% of the time, even during abrupt shifts like heatwaves or storms.

Experimental Results

The framework was evaluated using three massive real-world datasets from utility providers in Florida (61,672 households), New York, and California. TrustEnergy was compared against 13 baselines, including advanced models such as Chronos, PatchTST, and AGCRN.

Performance comparison: (a) Empirical vs. Target Coverage showing calibration, and (b) MAE vs. Coverage showing accuracy-reliability trade-offs.

Key Findings

  • Accuracy: TrustEnergy achieved a 5.4% reduction in Mean Absolute Error (MAE) compared to the best-performing baseline on the Florida dataset.
  • Reliability: The model showed a 5.7% improvement in the Winkler Score, a key metric for uncertainty quantification. As shown in the coverage plots, TrustEnergy maintains a much closer alignment with ideal calibration than its competitors.
  • Robustness to Extremes: In case studies involving hurricanes and heatwaves, TrustEnergy maintained valid prediction intervals, whereas models like AGCRN failed to capture the sudden shifts in demand. Regional trends (Macro-level) were found to act as a stabilizing force for noisy individual data (Micro-level).

Conclusion

TrustEnergy provides a robust solution for large-scale, user-level energy forecasting. By leveraging a shared parameter pool for scalability and sequential conformal regression for reliability, it offers utility providers a tool that is both accurate and trustworthy. Future work will focus on adapting the spatial components for scenarios where location data is limited and optimizing the memory pool for real-time streaming environments with millions of users.

Summary updated

Abstract

Energy usage prediction is important for various real-world applications, including grid management, infrastructure planning, and disaster response. Although a plethora of deep learning approaches have been proposed to perform this task, most of them either overlook the essential spatial correlations across households or fail to scale to individualized prediction, making them less effective for accurate fine-grained user-level prediction. In addition, due to the dynamic and uncertain nature of energy usage caused by various factors such as extreme weather events, quantifying uncertainty for reliable prediction is also significant, but it has not been fully explored in existing work. In this paper, we propose a unified framework called TrustEnergy for accurate and reliable user-level energy usage prediction. There are two key technical components in TrustEnergy, (i) a Hierarchical Spatiotemporal Representation module to efficiently capture both macro and micro energy usage patterns with a novel memory-augmented spatiotemporal graph neural network, and (ii) an innovative Sequential Conformalized Quantile Regression module to dynamically adjust uncertainty bounds to ensure valid prediction intervals over time, without making strong assumptions about the underlying data distribution. We implement and evaluate our TrustEnergy framework by working with an electricity provider in Florida, and the results show our TrustEnergy can achieve a 5.4% increase in prediction accuracy and 5.7% improvement in uncertainty quantification compared to state-of-the-art baselines.
BibTeX
@inproceedings{yu2026trustenergy,
  author = {Dahai Yu and Rongchao Xu and Dingyi Zhuang and Yuheng Bu and Shenhao Wang and Guang Chao Wang},
  title = {{TrustEnergy: A Unified Framework for Accurate and Reliable User-level Energy Usage Prediction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i46.41307},
}
Figure