NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Supervision Recovery for Time Series Anomaly Detection via Counterfactual Pairing

Yifei Gao, Tian Lan, Yimeng Lu, Xuming An, Meng Wang, Wenjun He, Yijie Li, Chen Zhang

NeurIPS page · OpenReview · Open on the map

Category: Graphs, OOD Detection & Medical Imaging › Time Series Anomaly Detection · Type: new method · Keywords: time series anomaly detection, supervision recovery, counterfactual pairing, anomaly semantics, residual MoE

Summary

CAPS is a supervision-recovery framework for time series anomaly detection that learns transferable anomaly semantics from simulated normal-anomalous pairs and uses residual MoE generation to provide supervision-aligned signals for detector learning.

Explained to a 5-year-old

A computer program watches numbers that change over time to find when something is strange. It usually doesn't know what strange looks like because nobody has told it. So we help it by making up pairs of normal patterns and pretend strange patterns. The program learns what strange feels like and then uses that knowledge to spot real strange things in new data. This way it can find problems without needing anyone to label them first.

Explained to a 5-year-old, longer

A computer program watches numbers that change over time to find when something is strange. It usually doesn't know what strange looks like because nobody has told it. So we help it by making up pairs of normal patterns and pretend strange patterns. The program learns what strange feels like and then uses that knowledge to spot real strange things in new data. This way it can find problems without needing anyone to label them first. We also teach the program to separate the strange part from the normal part, like taking apart a puzzle. It groups similar strange patterns together so it can understand different kinds of weirdness. Then we show the program how to add a small extra effect to normal sequences to create the strange look. This extra effect is like a hidden signal that tells the program exactly where the anomaly occurs. By comparing this hidden signal with real data, the program learns where to draw the line between normal and abnormal. The result is a system that can point out exact moments when something goes wrong, making it easier for people to fix issues. All of this works without needing a lot of labeled examples, which saves time and effort.

For a technical reader

CAPS is a framework that recovers supervision for time-series anomaly detection by learning what an anomaly looks like from simulated normal-and-abnormal pairs. It separates the anomalous pattern from the normal temporal evolution and groups similar patterns into families. The learned patterns are then applied as residual effects on real-world time-series trajectories using a residual MoE generator to create matched positive examples. These matched examples provide clear supervision signals that guide a boundary-oriented detector to learn where anomalies occur. Experiments on nine benchmark datasets show that CAPS outperforms unsupervised and injection-based baselines while remaining competitive with fully supervised methods.

Problem

Time series anomaly detection is difficult because anomaly labels are scarce and temporal anomalies are highly context-dependent, making it hard to learn explicit normal-anomalous distinctions.

Method

The approach formulates temporal anomalies as mechanism-induced effects on normal evolution, learns transferable anomaly semantics from simulated normal-anomalous pairs, disentangles them from normal temporal structure, and organizes them into family-wise modes. It then instantiates these semantics as residual-form anomaly effects on target-domain reference trajectories via residual MoE generation, producing matched counterparts that provide supervision-aligned signals for boundary-oriented detector learning.

Results

The approach outperforms unsupervised and injection-based baselines, matches or exceeds supervised-reference baselines, and yields interpretable anomaly-effect generation with expert association.

Contributions

It introduces a supervision-recovery framework that learns transferable anomaly semantics from simulated pairs and uses residual MoE generation to align supervision for detector learning, enabling effective TSAD without target-domain anomaly labels.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction