When Will It Fail?: Anomaly to Prompt for Forecasting Future Anomalies in Time Series

📅 2025-06-30
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Existing methods struggle to accurately predict the precise timestamps of future anomalies in time series, often limiting themselves to instantaneous detection or lacking the capacity to model long-horizon anomalies. This paper introduces Anomaly-to-Prompt (A2P), the first framework systematically addressing the novel task of *anomaly occurrence time prediction*. Its core contributions are: (1) a learnable anomaly prompt pool that enables signal-adaptive synthesis of diverse anomaly patterns; and (2) a joint mechanism integrating anomaly-aware forecasting with synthetic anomaly prompting, explicitly modeling temporal dependencies between historical and future anomalies. Evaluated on multiple real-world datasets, A2P achieves state-of-the-art performance in long-horizon anomaly timestamp prediction—demonstrating both high accuracy and strong robustness. The source code is publicly available.

Technology Category

Application Category

📝 Abstract
Recently, forecasting future abnormal events has emerged as an important scenario to tackle real-world necessities. However, the solution of predicting specific future time points when anomalies will occur, known as Anomaly Prediction (AP), remains under-explored. Existing methods dealing with time series data fail in AP, focusing only on immediate anomalies or failing to provide precise predictions for future anomalies. To address the AP task, we propose a novel framework called Anomaly to Prompt (A2P), comprised of Anomaly-Aware Forecasting (AAF) and Synthetic Anomaly Prompting (SAP). To enable the forecasting model to forecast abnormal time points, we adopt a strategy to learn the relationships of anomalies. For the robust detection of anomalies, our proposed SAP introduces a learnable Anomaly Prompt Pool (APP) that simulates diverse anomaly patterns using signal adaptive prompt. Comprehensive experiments on multiple real-world datasets demonstrate the superiority of A2P over state-of-the-art methods, showcasing its ability to predict future anomalies. Our implementation code is available at https://github.com/KU-VGI/AP.
Problem

Research questions and friction points this paper is trying to address.

Predicting future anomaly time points in time series
Addressing limitations of existing anomaly detection methods
Learning anomaly relationships for robust future forecasting
Innovation

Methods, ideas, or system contributions that make the work stand out.

Anomaly-Aware Forecasting learns anomaly relationships
Synthetic Anomaly Prompting simulates diverse anomalies
Anomaly Prompt Pool enables robust anomaly detection
🔎 Similar Papers
No similar papers found.
M
Min-Yeong Park
Department of Artificial Intelligence, Kyung Hee University, Yongin, Republic of Korea
W
Won-Jeong Lee
Department of Artificial Intelligence, Korea University, Seoul, Republic of Korea
Seong Tae Kim
Seong Tae Kim
Assistant Professor of Computer Science, Kyung Hee University
Explainable AITrustworthy AIVision-language ModelsSurgical AIMLLM
Gyeong-Moon Park
Gyeong-Moon Park
Assistant Professor at the Department of AI, Korea University
AIDeep LearningRobotics