Conformal Anomaly Detection in Event Sequences
Shuai Zhang, Chuan Zhou, Yang Liu, Peng Zhang, Xixun Lin, Shirui Pan
Abstract
Anomaly detection in continuous-time event sequences is a crucial task in safety-critical applications. While existing methods primarily focus on developing a superior test statistic, they fail to provide guarantees regarding the false positive rate (FPR), which undermines their reliability in practical deployments. In this paper, we propose CADES (Conformal Anomaly Detection in Event Sequences), a novel test procedure based on conformal inference for the studied task with finite-sample FPR control. Specifically, by using the time-rescaling theorem, we design two powerful non-conformity scores tailored to event sequences, which exhibit complementary sensitivities to different abnormal patterns. CADES combines these scores with Bonferroni correction to leverage their respective strengths and addresses non-identifiability issues of existing methods. Theoretically, we prove the validity of CADES and further provide strong guarantees on calibration-conditional FPR control. Experimental results on synthetic and real-world datasets, covering various types of anomalies, demonstrate that CADES outperforms state-of-the-art methods while maintaining FPR control. Conformal Anomaly Detection in Event Sequences non-identifiability issues (Zhang et al., 2024b), producing similar values for two markedly distinct sequences. This significantly reduces their detection power, motivating us to design a more expressive non-conformity score. Due to the variable length of event sequences and the intricate dependencies between events, the design of this score is both essential and non-trivial. To this end, we introduce CADES (Conformal Anomaly Detection in Event Sequences), a novel method based on conformal inference for detecting anomalous event sequences. Specifically, we design two powerful non-conformity scores tailored to event sequences using the time-rescaling theorem (Brown et al., 2002) . These scores are complementary in their sensitivity to different abnormal patterns and address the limitations mentioned above of existing test statistics. Unlike standard conformal inference methods, which rely on one-sided p-values and a single non-conformity score, CADES utilizes two-sided p-values and applies the Bonferroni correction (Shaffer, 1995) to combine both scores. This is because two-sided p-values are crucial, as we show that both small and large values of the proposed scores can indicate OOD sequences. Moreover, by combining both scores, CADES fully exploits the strengths of each, enabling more accurate anomaly detection. Theoretically, we prove the validity of CADES and provide guarantees on calibrationconditional FPR, which are stronger than marginal FPR guarantees averaged over all possible calibration sets. We summarize our contributions as follows: • We establish the connection between conformal inference and anomaly detection in event sequences. Building upon this, we propose CADES, a novel test procedure that combines two proposed scores with Bonferroni correction to perform hypothesis testing, offering a statistically sound anomaly detection method. • We design two new powerful non-conformity scores tailored to continuous-time event sequences. We demonstrate that these scores complement each other in terms of sensitivity to different anomalies and address nonidentifiability issues of existing test statistics. • We prove the validity of the p-values used in CADES. This guarantees controlling the marginal FPR at a prespecified level. We further provide theoretical guarantees on calibration-conditional FPR, which are stronger than marginal FPR guarantees. • We conduct extensive experiments on synthetic and realworld datasets, covering various types of anomalies, to validate the effectiveness of CADES 2 . The results show that CADES outperforms state-of-the-art methods with respect to both detection performance and FPR control.
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 93b183e9-ff71-4625-8dbb-55c435ff002dCited by top-tier papers3
- From Subtle to Significant: Prompt-Driven Self-Improving Optimization in Test-Time Graph OOD DetectionLuzhi Wang, Xuanshuo Fu, He Zhang, Chuang Liu et al.AAAI 2026
- A Closer Look at Generalized BH Algorithm for Out-of-Distribution DetectionXinsong Ma, Jie Wu, Weiwei LiuICML 2025
- An Online Statistical Framework for Out-of-Distribution DetectionXinsong Ma, Xin Zou, Weiwei LiuICML 2025
Builds on23
- Adaptive Conformal Inference Under Distribution ShiftIsaac Gibbs, Emmanuel J. CandèsNeurIPS 2021 · 665 citations
- Transformer Hawkes ProcessSimiao Zuo, Haoming Jiang, Zichong Li, Tuo Zhao et al.ICML 2020 · 382 citations
- Conformal Time-series ForecastingKamile Stankeviciute, Ahmed M. Alaa, Mihaela van der SchaarNeurIPS 2021 · 233 citations
- Intensity-Free Learning of Temporal Point ProcessesOleksandr Shchur, Marin Bilos, Stephan GünnemannICLR 2020 · 210 citations
- Adaptive Conformal Predictions for Time SeriesMargaux Zaffran, Olivier Féron, Yannig Goude, Julie Josse et al.ICML 2022 · 209 citations
Related papers
- Detecting Anomalous Event Sequences with Temporal Point ProcessesOleksandr Shchur, Ali Caner Türkmen, Tim Januschowski, Jan Gasthaus et al.NeurIPS 2021 · 18 citations
- Conformal Graph-level Out-of-distribution Detection with Adaptive Data AugmentationXixun Lin, Yanan Cao, Nan Sun, Lixin Zou et al.WWW 2025 · 13 citations
- Adaptive Conformal Anomaly Detection with Time Series Foundation Models for Signal Monitoring.Natalia Martinez, Fearghal O'Donncha, Wesley M. Gifford, Nianjun Zhou et al.ICLR 2026 · 5 citations
- ReCATS: Replay-Free Continual Anomaly Detection for Non-Stationary Multivariate Time SeriesQiuyang Li, Qian Ma, Zhongming Yao, Shikai Guo et al.KDD 2026
- Event Outlier Detection in Continuous TimeSiqi Liu, Milos HauskrechtICML 2021 · 12 citations
