DualEncDecoder: Federated Short-Term Load Forecasting under Heterogeneous Data

Sasmita Harini S, Naman Srivastava, Priyanka Nihalchandani, Varun Ojha, Pandarasamy ArjunanFLCA @ AAAI 2025

TL;DR

This paper introduces DualEncDecoder, a novel federated learning framework for short-term load forecasting that addresses privacy concerns and data heterogeneity. By combining an advanced neural network architecture with a new difficulty-aware client sampling strategy and autoencoder-based clustering, it achieves state-of-the-art forecasting accuracy while maintaining data privacy.

What Problem Does This Paper Address?

Accurate short-term load forecasting (STLF) is crucial for the efficient operation of modern energy systems, impacting everything from grid stability to demand response. Traditional methods often rely on centralizing data, which raises significant privacy concerns and struggles with the inherent heterogeneity of data from different buildings (e.g., varying usage patterns, sizes, and types). This heterogeneity can lead to degraded model performance and slower convergence in machine learning models. Federated learning (FL) offers a solution by enabling collaborative model training without sharing raw data, but standard FL algorithms like FedAvg face challenges in these non-IID (non-independently and identically distributed) environments, leading to client drift and reduced accuracy. This paper aims to bridge this gap by developing a more robust and privacy-preserving FL system specifically for STLF in heterogeneous settings.

Methods

The paper proposes a three-pronged approach to tackle the challenges of federated STLF:

  1. DualEncDecoder Architecture: A novel neural network model designed for time-series forecasting with covariates. It combines Convolutional Neural Networks (CNNs) for capturing local temporal patterns, a Gated Recurrent Unit (GRU) for sequential dependencies, and a fully connected decoder. This architecture is designed to effectively leverage both historical load data and external factors.
  2. Difficulty-Aware Sampling (DAS): A new client selection strategy for federated learning. Instead of random selection or methods that solely rely on high loss (which can be noisy), DAS dynamically prioritizes clients based on their "training difficulty." This is estimated using local loss dynamics, aiming to balance training efficiency and fairness by focusing on clients that are easier to optimize, thus improving convergence and preventing client starvation.
  3. Autoencoder-Based Clustering: To further manage data heterogeneity, clients are grouped into clusters based on their data representations. This is achieved by training autoencoders on synthetic, privacy-preserving time-series data to generate embeddings. These embeddings are then clustered using K-Means, allowing for more balanced aggregation within the federated learning process, especially for simpler models.

Datasets

The study utilizes the ASHRAE Great Energy Predictor III dataset. This dataset comprises hourly energy consumption records from over 1,400 commercial buildings across multiple sites in the United States. For this research, the dataset was filtered to include 1,410 buildings, focusing solely on electricity consumption. Missing values were imputed using linear interpolation.

Key Insights and Ideas

  • Heterogeneity is a Major Hurdle: The paper strongly emphasizes that real-world energy data is inherently heterogeneous, and standard FL approaches struggle significantly with this.
  • Model Power Matters: The effectiveness of clustering is highly dependent on the underlying model. More powerful, expressive models like DualEncDecoder can adapt to heterogeneity without explicit clustering, whereas simpler models (e.g., GRU, LSTM) benefit more from it.
  • Difficulty-Aware Sampling is Efficient: DAS proves to be a more efficient and effective client selection strategy than the "Power of Choice" (PoC) method, offering comparable or better accuracy with significantly less computational overhead.
  • Privacy-Preserving Clustering is Key: Using autoencoder-derived embeddings from synthetic data for clustering is a novel way to group clients without exposing their sensitive real data.

Key Results

  • DualEncDecoder Dominance: The proposed DualEncDecoder model consistently outperformed all baseline models (including centralized ones) across both SMAPE (Symmetric Mean Absolute Percentage Error) and NRMSE (Normalized Root Mean Square Error) metrics.
  • Best Performance: DualEncDecoder achieved its best federated performance with DAS and no explicit clustering, demonstrating its robustness.
  • Clustering Benefits Simpler Models: Clustering improved performance for models like MOE-LSTM and GRU, reducing their sensitivity to client heterogeneity.
  • DAS Efficiency: DAS was found to be more computationally efficient than PoC, with minimal per-round overhead.
  • Quantitative Improvements: While specific numbers vary across tables, DualEncDecoder achieved the lowest SMAPE (e.g., 22.94% with DAS, no clustering) and NRMSE (e.g., 26.62% with DAS and clustering).

Limitations and Future Work

  • Clustering Effectiveness: The paper notes that while clustering can be beneficial, its effectiveness is model-dependent. For highly expressive models like DualEncDecoder, explicit clustering might offer limited additional gains.
  • Future Directions: The authors suggest exploring adaptive strategies that integrate model-informed sampling with clustering. They also aim to further advance federated learning for real-world time series applications by combining advanced model design with informed client sampling.

Summary updated

BibTeX
@inproceedings{s2025dualencdecoder,
  author = {Sasmita Harini S and Naman Srivastava and Priyanka Nihalchandani and Varun Ojha and Pandarasamy Arjunan},
  title = {{DualEncDecoder: Federated Short-Term Load Forecasting under Heterogeneous Data}},
  booktitle = {FLCA @ AAAI},
  year = {2025},
  url = {https://openreview.net/forum?id=pdsrRJqNEw},
}
Figure