Saved in:
Bibliographic Details
Main Authors: Hounie, Ignacio, Porras-Valenzuela, Javier, Ribeiro, Alejandro
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2402.09373
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916320252002304
author Hounie, Ignacio
Porras-Valenzuela, Javier
Ribeiro, Alejandro
author_facet Hounie, Ignacio
Porras-Valenzuela, Javier
Ribeiro, Alejandro
contents Several applications in time series forecasting require predicting multiple steps ahead. Despite the vast amount of literature in the topic, both classical and recent deep learning based approaches have mostly focused on minimising performance averaged over the predicted window. We observe that this can lead to disparate distributions of errors across forecasting steps, especially for recent transformer architectures trained on popular forecasting benchmarks. That is, optimising performance on average can lead to undesirably large errors at specific time-steps. In this work, we present a Constrained Learning approach for long-term time series forecasting that aims to find the best model in terms of average performance that respects a user-defined upper bound on the loss at each time-step. We call our approach loss shaping constraints because it imposes constraints on the loss at each time step, and leverage recent duality results to show that despite its non-convexity, the resulting problem has a bounded duality gap. We propose a practical Primal-Dual algorithm to tackle it, and demonstrate that the proposed approach exhibits competitive average performance in time series forecasting benchmarks, while shaping the distribution of errors across the predicted window.
format Preprint
id arxiv_https___arxiv_org_abs_2402_09373
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Loss Shaping Constraints for Long-Term Time Series Forecasting
Hounie, Ignacio
Porras-Valenzuela, Javier
Ribeiro, Alejandro
Machine Learning
Several applications in time series forecasting require predicting multiple steps ahead. Despite the vast amount of literature in the topic, both classical and recent deep learning based approaches have mostly focused on minimising performance averaged over the predicted window. We observe that this can lead to disparate distributions of errors across forecasting steps, especially for recent transformer architectures trained on popular forecasting benchmarks. That is, optimising performance on average can lead to undesirably large errors at specific time-steps. In this work, we present a Constrained Learning approach for long-term time series forecasting that aims to find the best model in terms of average performance that respects a user-defined upper bound on the loss at each time-step. We call our approach loss shaping constraints because it imposes constraints on the loss at each time step, and leverage recent duality results to show that despite its non-convexity, the resulting problem has a bounded duality gap. We propose a practical Primal-Dual algorithm to tackle it, and demonstrate that the proposed approach exhibits competitive average performance in time series forecasting benchmarks, while shaping the distribution of errors across the predicted window.
title Loss Shaping Constraints for Long-Term Time Series Forecasting
topic Machine Learning
url https://arxiv.org/abs/2402.09373