Loss Shaping Constraints for Long-Term Time Series Forecasting
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
- 2017Attention Is All You Needcited by 59,932
- 2021Convex optimizationcited by 2,479
- 2022A Time Series is Worth 64 Words: Long-term Forecasting with Transformerscited by 1,981
- 2020Reformer: The Efficient Transformercited by 1,658
- 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,654
- 2022Are Transformers Effective for Time Series Forecasting?cited by 1,400
- 2017Modeling Long- and Short-Term Temporal Patterns with Deep Neural Networkscited by 869
- 2023A decoder-only foundation model for time-series forecastingcited by 650
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
- 2022Non-stationary Transformers: Exploring the Stationarity in Time Series Forecastingcited by 385
- 2023Long-term Forecasting with TiDE: Time-series Dense Encodercited by 327
- 2023TimeGPT-1cited by 149
12 more
- 2022FiLM: Frequency improved Legendre Memory Model for Long-term Time Series Forecastingcited by 147
- 2019STG2Seq: Spatial-temporal Graph to Sequence Model for Multi-step Passenger Demand Forecastingcited by 59
- 2023CARD: Channel Aligned Robust Blend Transformer for Time Series Forecastingcited by 55
- 2023On the Constrained Time-Series Generation Problemcited by 52
- 2020Probably Approximately Correct Constrained Learningcited by 47
- 2021Constrained Learning with Non-Convex Lossescited by 42
- 2021Adversarial Robustness with Semi-Infinite Constrained Learningcited by 39
- 2022Controlled Sparsity via Constrained Optimization or: How I Learned to Stop Tuning Penalties and Love Constraintscited by 25
- 2022A Lagrangian Duality Approach to Active Learningcited by 24
- 2014Multi-Step-Ahead Time Series Prediction using Multiple-Output Support Vector Regressioncited by 17
- 2023Resilient Constrained Learningcited by 15
- 2023Deep Imbalanced Time-series Forecasting via Local Discrepancy Densitycited by 7
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2025Goal-Oriented Time-Series Forecasting: Foundation Framework Designcited by 2
- 2026Deep Time-series Forecasting Needs Kernelized Moment Balancingcited by 2
- 2026Rethinking Adam for Time Series Forecasting: A Simple Heuristic to Improve Optimization under Distribution Shiftscited by 1
- 2026A Constrained Optimization Perspective of Unrolled Transformerscited by 0
- 2026Rethinking Adam for Time Series Forecasting: A Simple Heuristic to Improve Optimization under Distribution Shifts10 Mar 2026
- 2026Deep Time-series Forecasting Needs Kernelized Moment Balancing31 Jan 2026
- 2026A Constrained Optimization Perspective of Unrolled Transformers24 Jan 2026
- 2025Goal-Oriented Time-Series Forecasting: Foundation Framework Design24 Apr 2025