Detecting the Future: All-at-Once Event Sequence Forecasting with Horizon Matching
Ivan Karpukhin, Andrey V. Savchenko
Abstract
Long-horizon events forecasting is a crucial task across various domains, including retail, finance, healthcare, and social networks. Traditional models for event sequences often extend to forecasting on a horizon using an autoregressive (recursive) multi-step strategy, which has limited effectiveness due to typical convergence to constant or repetitive outputs. To address this limitation, we introduce DEF, a novel approach for simultaneous forecasting of multiple future events on a horizon with high accuracy and diversity. Our method optimally aligns predictions with ground truth events during training by using a novel matching-based loss function. We establish a new state-of-the-art in long-horizon event prediction, achieving up to a 50% relative improvement over existing temporal point processes and event prediction models. Furthermore, we achieve state-of-the-art performance in next-event prediction tasks while demonstrating high computational efficiency during inference. Code - https://github.com/ivan-chai/hotpp-benchmark * Corresponding author. ing purchases for the next month or making long-term medical prognoses (Xue et al. 2022) . This task presents unique challenges that differ from traditional next-event prediction. The conventional approach typically relies on autoregressive models, which predict the next event step by step (Xue et al. 2024; Xiao et al. 2018) . While these models are effective for immediate next-event forecasting, their performance tends to deteriorate as the prediction horizon extends (Karpukhin, Shipilov, and Savchenko 2024). The same is true for horizon prediction models, including GAN (Xiao et al. 2018) and diffusion (Zhou et al. 2025), which predict multiple future events at once but use pairwise losses between events on corresponding positions. In this study, we identify significant limitations of pairwise losses in the context of long-horizon prediction. To address these challenges, we propose DEF (Detection-based Event Forecasting),which detects multiple future events in parallel and employs a novel horizon matching loss, which dynamically aligns predictions with the closest ground-truth events, as illustrated in Fig. 1 . This loss function enables the model to capture the full distribution of events within the horizon while remaining robust to outlier events. We demonstrate that our approach establishes a new state-of-the-art in long-horizon prediction, surpassing both autoregressive and horizon prediction approaches in terms of accuracy and prediction diversity. Additionally, our method exhibits high computational efficiency during inference, ranking among the fastest methods.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f3876089-f92f-4711-9baf-e120506bd1faBuilds on9
- Neural Controlled Differential Equations for Irregular Time SeriesPatrick Kidger, James Morrill, James Foster, Terry J. LyonsNeurIPS 2020 · 850 citations
- Transformer Hawkes ProcessSimiao Zuo, Haoming Jiang, Zichong Li, Tuo Zhao et al.ICML 2020 · 382 citations
- Self-Attentive Hawkes ProcessQiang Zhang, Aldo Lipani, Ömer Kirnap, Emine YilmazICML 2020 · 254 citations
- TransTab: Learning Transferable Tabular Transformers Across TablesZifeng Wang, Jimeng SunNeurIPS 2022 · 242 citations
- Intensity-Free Learning of Temporal Point ProcessesOleksandr Shchur, Marin Bilos, Stephan GünnemannICLR 2020 · 210 citations
Related papers
- Interacting Diffusion Processes for Event Sequence ForecastingMai Zeng, Florence Regol, Mark CoatesICML 2024 · 9 citations
- HYPRO: A Hybridly Normalized Probabilistic Model for Long-Horizon Prediction of Event SequencesSiqiao Xue, Xiaoming Shi, James Y. Zhang, Hongyuan MeiNeurIPS 2022 · 65 citations
- Self-Supervised Contrastive Learning for Long-term ForecastingJunwoo Park, Daehoon Gwak, Jaegul Choo, Edward ChoiICLR 2024 · 23 citations
- Attentive Neural Point Processes for Event ForecastingYulong GuAAAI 2021 · 24 citations
- Synergetic Learning of Heterogeneous Temporal Sequences for Multi-Horizon Probabilistic ForecastingLongyuan Li, Jihai Zhang, Junchi Yan, Yaohui Jin et al.AAAI 2021 · 20 citations
