Transformer Training Strategies for Forecasting Multiple Load Time Series

Matthias Hertel, Maximilian Beichter, Benedikt Heidrich, Oliver Neumann, Benjamin Schäfer +2 more
6/19/2023
40 citations
cs.LGcs.AI
transformer-attention

Official code: hhnqqq/MyTransformers (66 stars, Python, last commit 2026-03-25). 1 more implementation below.

Abstract

In the smart grid of the future, accurate load forecasts on the level of individual clients can help to balance supply and demand locally and to prevent grid outages. While the number of monitored clients will increase with the ongoing smart meter rollout, the amount of data per client will always be limited.

Show full abstract

We evaluate whether a Transformer load forecasting model benefits from a transfer learning strategy, where a global univariate model is trained on the load time series from multiple clients. In experiments with two datasets containing load time series from several hundred clients, we find that the global training strategy is superior to the multivariate and local training strategies used in related work. On average, the global training strategy results in 21.8% and 12.8% lower forecasting errors than the two other strategies, measured across forecasting horizons from one day to one month into the future. A comparison to linear models, multi-layer perceptrons and LSTMs shows that Transformers are effective for load forecasting when they are trained with the global training strategy.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
hhnqqq/MyTransformersOfficial66Python–2026-03-25
KIT-IAI/transformer-training-strategiesOfficial9PythonMIT2023-09-19

This repository provides a comprehensive library for parallel training and LoRA algorithm implementations, supporting multiple parallel strategies and a rich collection of LoRA variants. It serves as a flexible and efficient model fine-tuning toolkit for researchers and developers. Please contact [email protected] for detailed information.

668Python, ShellAug 8, 20248 months ago
MIT
90PythonJun 27, 20233 years agoMIT

Similar Papers

Cite this paper

@article{hertel2023transformer,
  title  = {Transformer Training Strategies for Forecasting Multiple Load Time Series},
  author = {Matthias Hertel and Maximilian Beichter and Benedikt Heidrich and Oliver Neumann and Benjamin Schäfer and Ralf Mikut and Veit Hagenmeyer},
  year   = {2023},
  eprint = {2306.10891},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.10891v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.10891.svg)](https://codeofpaper.com/paper/2306.10891)

Discussion