Lune

ICML2025Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Adaptive Conformal Predictions for Time Series cites Adaptive Conformal Inference Under Distribution Shift
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. 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
  2. A Closer Look at Generalized BH Algorithm for Out-of-Distribution DetectionXinsong Ma, Jie Wu, Weiwei LiuICML 2025
  3. An Online Statistical Framework for Out-of-Distribution DetectionXinsong Ma, Xin Zou, Weiwei LiuICML 2025

Builds on23

  1. Adaptive Conformal Inference Under Distribution ShiftIsaac Gibbs, Emmanuel J. CandèsNeurIPS 2021 · 665 citations
  2. Transformer Hawkes ProcessSimiao Zuo, Haoming Jiang, Zichong Li, Tuo Zhao et al.ICML 2020 · 382 citations
  3. Conformal Time-series ForecastingKamile Stankeviciute, Ahmed M. Alaa, Mihaela van der SchaarNeurIPS 2021 · 233 citations
  4. Intensity-Free Learning of Temporal Point ProcessesOleksandr Shchur, Marin Bilos, Stephan GünnemannICLR 2020 · 210 citations
  5. Adaptive Conformal Predictions for Time SeriesMargaux Zaffran, Olivier Féron, Yannig Goude, Julie Josse et al.ICML 2022 · 209 citations

Related papers

  1. Detecting Anomalous Event Sequences with Temporal Point ProcessesOleksandr Shchur, Ali Caner Türkmen, Tim Januschowski, Jan Gasthaus et al.NeurIPS 2021 · 18 citations
  2. Conformal Graph-level Out-of-distribution Detection with Adaptive Data AugmentationXixun Lin, Yanan Cao, Nan Sun, Lixin Zou et al.WWW 2025 · 13 citations
  3. 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
  4. ReCATS: Replay-Free Continual Anomaly Detection for Non-Stationary Multivariate Time SeriesQiuyang Li, Qian Ma, Zhongming Yao, Shikai Guo et al.KDD 2026
  5. Event Outlier Detection in Continuous TimeSiqi Liu, Milos HauskrechtICML 2021 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines