On the Regularization of Learnable Embeddings for Time Series Forecasting

Luca Butera, Giovanni De Felice, Andrea Cini, Cesare Alippi
10/18/2024
cs.LGcs.AI

No official code found. Best implementation: LucaButera/TS-embedding-regularization (2 stars, Apache-2.0, last commit 2025-02-13).

Abstract

In forecasting multiple time series, accounting for the individual features of each sequence can be challenging. To address this, modern deep learning methods for time series analysis combine a shared (global) model with local layers, specific to each time series, often implemented as learnable embeddings. Ideally, these local embeddings should encode meaningful representations of the unique dynamics of each sequence. However, when these are learned end-to-end as parameters of a forecasting model, they may end up acting as mere sequence identifiers. Shared processing blocks may then become reliant on such identifiers, limiting their transferability to new contexts. In this paper, we address this issue by investigating methods to regularize the learning of local learnable embeddings for time series processing. Specifically, we perform the first extensive empirical study on the subject and show how such regularizations consistently improve performance in widely adopted architectures. Furthermore, we show that methods attempting to prevent the co-adaptation of local and global parameters by means of embeddings perturbation are particularly effective in this context. In this regard, we include in the comparison several perturbation-based regularization methods, going as far as periodically resetting the embeddings during training. The obtained results provide an important contribution to understanding the interplay between learnable local parameters and shared processing layers: a key challenge in modern time series processing models and a step toward developing effective foundation models for time series.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official code repository for the paper "On the Regularization of Learnable Embeddings for Time Series Forecasting"

20PythonFeb 3, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{butera2024regularization,
  title  = {On the Regularization of Learnable Embeddings for Time Series Forecasting},
  author = {Luca Butera and Giovanni De Felice and Andrea Cini and Cesare Alippi},
  year   = {2024},
  eprint = {2410.14630},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.14630v2}
}

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/2410.14630.svg)](https://codeofpaper.com/paper/2410.14630)

Discussion