Lune

ICML2024Top-tier venue

Loss Shaping Constraints for Long-Term Time Series Forecasting

Ignacio Hounie, Javier Porras-Valenzuela, Alejandro Ribeiro

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting cites Reformer: The Efficient Transformer
  • Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
  • Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting cites Reformer: The Efficient Transformer
  • Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting cites Reformer: The Efficient Transformer
  • Goal-Oriented Time-Series Forecasting: Foundation Framework Design cites FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting
  • Goal-Oriented Time-Series Forecasting: Foundation Framework Design cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
  • Goal-Oriented Time-Series Forecasting: Foundation Framework Design cites Are Transformers Effective for Time Series Forecasting?
  • Are Transformers Effective for Time Series Forecasting? cites FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting
  • Are Transformers Effective for Time Series Forecasting? cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
  • Are Transformers Effective for Time Series Forecasting? cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Goal-Oriented Time-Series Forecasting: Foundation Framework DesignLuca-Andrei Fechete, Mohamed Sana, Fadhel Ayed, Nicola Piovesan et al.AAAI 2026 · 1 citation
  2. A Constrained Optimization Perspective of Unrolled TransformersJavier Porras-Valenzuela, Samar Hadou, Alejandro RibeiroICML 2026

Builds on20

  1. Informer: Beyond Efficient Transformer for Long Sequence Time-Series ForecastingHaoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang et al.AAAI 2021 · 7,289 citations
  2. Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series ForecastingHaixu Wu, Jiehui Xu, Jianmin Wang, Mingsheng LongNeurIPS 2021 · 5,824 citations
  3. Are Transformers Effective for Time Series Forecasting?Ailing Zeng, Muxi Chen, Lei Zhang, Qiang XuAAAI 2023 · 3,619 citations
  4. FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series ForecastingTian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang et al.ICML 2022 · 2,912 citations
  5. Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 citations

Related papers

  1. WaveBound: Dynamic Error Bounds for Stable Time Series ForecastingYoungin Cho, Daejin Kim, Dongmin Kim, Mohammad Azam Khan et al.NeurIPS 2022 · 4 citations
  2. Selective Learning for Deep Time Series ForecastingYisong Fu, Zezhi Shao, Chengqing Yu, Yujie Li et al.NeurIPS 2025 · 10 citations
  3. One Step Closer to Ground Truth: A Multi-Scale Residual-Aware Representation Learning Pipeline for Predicting Time Series DataAmrijit Biswas, Mustafa Kamal, Robin Krambroeckers, Mirza M. Lutfe Elahi et al.KDD 2026 · 1 citation
  4. Towards Better Forecasting by Fusing Near and Distant Future VisionsJiezhu Cheng, Kaizhu Huang, Zibin ZhengAAAI 2020 · 58 citations
  5. Ada-MSHyper: Adaptive Multi-Scale Hypergraph Transformer for Time Series ForecastingZongjiang Shang, Ling Chen, Binqing Wu, Dongliang CuiNeurIPS 2024 · 49 citations
Dusk over the sea between two cliffs drawn in fine vertical lines