Multi-Task Autoencoders and Transfer Learning for Day-Ahead Wind and Photovoltaic Power Forecasts

Jens Schreiber, Bernhard SickEnergies 2022

TL;DR

This paper introduces a novel multi-task learning (MTL) temporal convolutional network (TCN) autoencoder for day-ahead wind and photovoltaic power forecasting. By leveraging MTL and time-series specific architectures, the proposed method significantly reduces model complexity and improves forecast accuracy compared to existing techniques, particularly for challenging day-ahead horizons.

What Problem Does This Paper Address?

Accurate forecasting of wind and solar power is crucial for grid stability, especially as renewable energy sources become more prevalent. While autoencoders have shown promise in extracting features for short-term forecasts, their effectiveness for longer, day-ahead horizons, which rely on numerical weather predictions (NWP), is less explored. A key challenge is the inherent uncertainty and chaotic nature of weather patterns, leading to higher forecast errors at these longer horizons. This paper aims to bridge this gap by investigating how advanced autoencoder architectures, specifically multi-task learning and time-series specific models, can improve feature representation and subsequent day-ahead power forecasts.

Methods

The core of this research lies in developing and evaluating a Multi-Task Learning Temporal Convolutional Network (MTL-TCN) Autoencoder. Here's a breakdown of the key techniques:

  • Autoencoders (AEs): These are neural networks trained to reconstruct their input. They learn a compressed, lower-dimensional representation (latent features) of the input data. The paper explores different AE architectures:
  • Vanilla Autoencoder: Based on Multi-Layer Perceptrons (MLPs).
  • Time Series Autoencoder: Incorporates 1D Convolutional Neural Networks (CNNs) or Temporal Convolutional Networks (TCNs) to capture temporal dependencies. TCNs are favored for their efficiency and performance in time-series tasks.
  • Variational Autoencoder (VAE): A generative approach that learns a probability distribution of the latent space.
  • Multi-Task Learning (MTL): Instead of training a separate autoencoder for each individual wind or PV park (Single-Task Learning or STL), MTL trains a single autoencoder on data from all parks of a given type (e.g., all PV parks). This allows the model to learn a more generalized representation of weather patterns across different locations.
  • Transfer Learning: The trained encoder from the autoencoder is then "fine-tuned" by attaching a forecasting model (MLP or TCN) to predict power generation. The paper investigates how fine-tuning different numbers of encoder layers impacts forecast accuracy.
  • Discriminative vs. Generative: The paper distinguishes between discriminative AEs (like vanilla and TCN-based AEs) that focus on efficient data encoding, and generative AEs (VAEs) that aim to model the entire data distribution.

Datasets

The study utilizes a combination of publicly available and proprietary datasets for training and evaluation:

  • PVOPEN: 21 PV parks, 43 features, hourly resolution, ECMWF NWP.
  • PVSYN: 114 PV parks, 16 features, hourly resolution, ICON-EU NWP.
  • PVREAL: 38 PV parks, 25 features, hourly resolution, ICON-EU NWP. (Proprietary)
  • WINDOPEN: 45 wind parks, 9 features, hourly resolution, ECMWF NWP.
  • WINDSYN: 260 wind parks, 25 features, hourly resolution, ICON-EU NWP.
  • WINDREAL: 185 wind parks, 29 features, hourly resolution, ICON-EU NWP. (Proprietary)

The PVREAL and WINDREAL datasets are noted for their diversity in turbine manufacturers, hub heights, and nominal capacities, and are located in Germany. For datasets with varying park lengths, a 25% random sampling of days was used for testing to ensure an equal fraction for training and testing.

Key Insights and Ideas

  • MTL is a Game Changer for Discriminative Autoencoders: The most significant finding is that multi-task learning dramatically improves the reconstruction error for discriminative autoencoders (MLP and TCN-based). This suggests that learning from diverse weather conditions across multiple parks leads to more robust and generalizable latent representations.
  • Time Series Architectures Shine with MTL: While time-series specific autoencoders (TCNs) offer improvements over MLPs, their true potential is unlocked when combined with MTL. The MTL-TCN autoencoder consistently achieved the best reconstruction performance.
  • Generative Models (VAEs) Struggle with MTL: In contrast to discriminative models, MTL did not benefit VAEs and even worsened their performance. This is attributed to the inherent constraints of the variational distribution, making it difficult to model diverse park data simultaneously.
  • Fine-tuning Strategy Matters: The optimal number of encoder layers to fine-tune for forecasting depends on the architecture. For STL-MLP models, fine-tuning just the last layer is sufficient. For TCNs, especially with MTL, fine-tuning two layers yields the best results.
  • Parameter Reduction is Substantial: MTL significantly reduces the number of trainable parameters, by up to 38x for PV and 202x for wind data, making models more efficient.

Key Results

  • Reconstruction Error: The proposed AETCN-MTL (MTL-TCN autoencoder) achieved the best reconstruction error across most latent sizes and data types, significantly outperforming the baseline (AEMLP) and PCA-based methods.
  • Day-Ahead Forecast Accuracy:
    • The AETCN-MTL model, when fine-tuned, decreased day-ahead forecast error by up to 18.3% for PV parks and 1.5% for wind parks.
  • MTL architectures reduced trainable parameters by up to 202 times for wind data and 38 times for PV data.
  • Training Time: MTL models, despite training on more data, often showed a substantial reduction in training time compared to STL models, sometimes by a factor of ten.
  • Variational Autoencoders: These models consistently performed worse than the baseline for reconstruction error, with median nRMSE being significantly higher.

Limitations and Future Work

  • Variational Autoencoders: The authors acknowledge that VAEs did not perform well in this study, likely due to the constraints of their variational distribution. Future work should explore extending the analysis for VAEs by investigating latent size, network depth, and scaling of the Kullback-Leibler divergence.
  • Fine-tuning Complexity: The optimal fine-tuning strategy for MTL models requires careful consideration, as it can sometimes lead to worse results if not applied correctly.
  • Generalizability of Findings: While the study uses a diverse set of datasets, further validation on even more varied geographical locations and weather conditions could strengthen the conclusions.

The paper concludes by emphasizing the effectiveness of MTL and time-series autoencoders for day-ahead forecasting and suggests further research into VAEs and more sophisticated fine-tuning strategies.

Summary updated

Abstract

Integrating new renewable energy resources requires robust and reliable forecasts to ensure a stable electrical grid and avoid blackouts. Sophisticated representation learning techniques, such as autoencoders, play an essential role, as they allow for the extraction of latent features to forecast the expected generated wind and photovoltaic power for the next seconds up to days. Thereby, autoencoders reduce the required training time and the time spent in manual feature engineering and often improve the forecast error. However, most current renewable energy forecasting research on autoencoders focuses on smaller forecast horizons for the following seconds and hours based on meteorological measurements. At the same time, larger forecast horizons, such as day-ahead power forecasts based on numerical weather predictions, are crucial for planning loads and demands within the electrical grid to prevent power failures. There is little evidence on the ability of autoencoders and their respective forecasting models to improve through multi-task learning and time series autoencoders for day-ahead power forecasts. We can close these gaps by proposing a multi-task learning autoencoder based on the recently introduced temporal convolution network. This approach reduces the number of trainable parameters by 38 for photovoltaic data and 202 for wind data while having the best reconstruction error compared to nine other representation learning techniques. At the same time, this model decreases the day-ahead forecast error up to 18.3% for photovoltaic parks and 1.5% for wind parks. We round off these results by analyzing the influences of the latent size and the number of layers to fine-tune the encoder for wind and photovoltaic power forecasts.
BibTeX
@inproceedings{schreiber2022multi,
  author = {Jens Schreiber and Bernhard Sick},
  title = {{Multi-Task Autoencoders and Transfer Learning for Day-Ahead Wind and Photovoltaic Power Forecasts}},
  booktitle = {Energies},
  year = {2022},
  doi = {10.3390/en15218062},
}
Figure