mlsanityData to 7 Oct 2026

Loss Shaping Constraints for Long-Term Time Series Forecasting

arXiv 2402.09373 ↗First posted 14 Feb 2024cs.LG stat.MLcited by 4

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 24 of its 55 references that are in the map. First posted on arXiv 14 Feb 2024.

Builds on

24 of 55 references.

References · 24

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Convex optimizationcited by 2,479
  3. 2022A Time Series is Worth 64 Words: Long-term Forecasting with Transformerscited by 1,981
  4. 2020Reformer: The Efficient Transformercited by 1,658
  5. 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,654
  6. 2022Are Transformers Effective for Time Series Forecasting?cited by 1,400
  7. 2017Modeling Long- and Short-Term Temporal Patterns with Deep Neural Networkscited by 869
  8. 2023A decoder-only foundation model for time-series forecastingcited by 650
  9. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
  10. 2022Non-stationary Transformers: Exploring the Stationarity in Time Series Forecastingcited by 385
  11. 2023Long-term Forecasting with TiDE: Time-series Dense Encodercited by 327
  12. 2023TimeGPT-1cited by 149
12 more
  1. 2022FiLM: Frequency improved Legendre Memory Model for Long-term Time Series Forecastingcited by 147
  2. 2019STG2Seq: Spatial-temporal Graph to Sequence Model for Multi-step Passenger Demand Forecastingcited by 59
  3. 2023CARD: Channel Aligned Robust Blend Transformer for Time Series Forecastingcited by 55
  4. 2023On the Constrained Time-Series Generation Problemcited by 52
  5. 2020Probably Approximately Correct Constrained Learningcited by 47
  6. 2021Constrained Learning with Non-Convex Lossescited by 42
  7. 2021Adversarial Robustness with Semi-Infinite Constrained Learningcited by 39
  8. 2022Controlled Sparsity via Constrained Optimization or: How I Learned to Stop Tuning Penalties and Love Constraintscited by 25
  9. 2022A Lagrangian Duality Approach to Active Learningcited by 24
  10. 2014Multi-Step-Ahead Time Series Prediction using Multiple-Output Support Vector Regressioncited by 17
  11. 2023Resilient Constrained Learningcited by 15
  12. 2023Deep Imbalanced Time-series Forecasting via Local Discrepancy Densitycited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.