Clustering Enabled Few-Shot Load Forecasting

Qiyuan Wang, Zhihui Chen, Chenye Wu

Introduction: The Cold-Start Problem in Energy Forecasting

Accurate electricity load forecasting is a cornerstone of modern grid management, essential for maintaining stability and optimizing market operations. While Deep Learning (DL) models, particularly Long Short-Term Memory (LSTM) networks, have become the industry standard, they possess a significant drawback: they are notoriously data-hungry.

When a new consumer joins a smart grid, the system faces a "cold-start" problem. With only a handful of historical data points—a "few shots"—standard DL models struggle to capture the complex, non-linear temporal patterns of a specific household. This often results in poor predictive performance, as the model lacks sufficient context to anticipate peaks or shifts in consumption.

Traditional LSTM models often fail to capture significant load variations when trained on limited data.

Methodology: The FSL-LSTM Framework

To address this, the authors propose FSL-LSTM (Few-Shot Learning LSTM), a framework that leverages the observation that human energy consumption patterns typically fall into a finite set of predictable "lifestyles." The approach combines unsupervised ensemble clustering with a two-phase transfer learning strategy.

Overview of the FSL-LSTM framework, illustrating the path from raw time-series data to final prediction via ensemble clustering and two-phase training.

1. Feature Extraction and Ensemble Clustering

The first stage involves categorizing users by extracting robust features from historical "support" data. The system utilizes the Discrete Wavelet Packet Transform (DWPT) to decompose signals into frequency components, alongside statistical descriptors like seasonal indicators, skewness, sample entropy, and the Hurst exponent.

To ensure stability, the framework employs Ensemble Clustering (CSPA). By combining results from multiple algorithms—including K-means, Hierarchical clustering, Affinity Propagation, and GMM-EM—the system generates reliable "prototype" load profiles representing different behavioral archetypes.

2. Two-Phase LSTM Training

The training process is divided into two distinct phases:

  • Phase 1 (Base Training): An LSTM model is pre-trained on the "prototype series"—the denoised, averaged data from a specific cluster. This equips the model with "prior knowledge" of typical consumption behavior for that category.
  • Phase 2 (Fine-tuning): When a new user enters the system, they are assigned to a cluster based on their limited available data. The pre-trained model is then fine-tuned using only that user's "few-shot" data to capture individual nuances.

Experimental Setup and Datasets

The framework was validated across three diverse datasets:

  • UMass Smart Dataset: Minute-level data from 114 homes.
  • Pecan Street Texas Dataset: Data from 310 residential units.
  • Synthetic Dataset: Sinusoidal waves with Gaussian noise, used to evaluate the model's theoretical limits regarding periodicity and training length.

Key Results and Insights

The FSL-LSTM framework demonstrated significant improvements over traditional models in data-scarce environments:

  • Performance at Scale: FSL-LSTM consistently outperformed standard LSTMs across all tested "shot" counts (ranging from 12 to 192 data points).
  • Error Reduction: On the Pecan Street dataset (20-minute granularity), FSL-LSTM achieved a Mean Root Mean Square Error (MRMSE) of ~0.388 with just 12 shots, a substantial improvement over the 0.662 recorded by a standard LSTM.
  • The Power of Prior Knowledge: The model can produce viable forecasts with as few as 12 data points, even if they do not span a full 24-hour cycle. This confirms that the "prior knowledge" embedded during the clustering phase effectively compensates for the lack of individual history.

Conclusion and Future Directions

FSL-LSTM provides a robust solution for the cold-start problem in energy forecasting. By treating residential loads as a set of archetypal patterns, the model can "guess" a new user's long-term behavior with remarkable accuracy.

Future work will focus on integrating more advanced few-shot techniques like Model-Agnostic Meta-Learning (MAML) and exploring incremental learning. The goal is to create models that evolve continuously as a user contributes more data, eventually transitioning from a few-shot archetype to a fully personalized forecasting profile.

Summary updated

BibTeX
@inproceedings{wang2021clustering,
  author = {Qiyuan Wang and Zhihui Chen and Chenye Wu},
  title = {{Clustering Enabled Few-Shot Load Forecasting}},
  booktitle = {2021},
  year = {2021},
  doi = {10.1109/ispec53008.2021.9736051},
}
Figure