Papers › Calibrated One-class Classification for Unsupervised Time Series Anomaly Detection

Calibrated One-class Classification for Unsupervised Time Series Anomaly Detection

25 Jul 2022arXiv:2207.12201archive 2025-07-28

Hongzuo Xu, Yijie Wang, Songlei Jian, Qing Liao, Yongjun Wang, Guansong Pang

Time series anomaly detection is instrumental in maintaining system availability in various domains. Current work in this research line mainly focuses on learning data normality deeply and comprehensively by devising advanced neural network structures and new reconstruction/prediction learning objectives. However, their one-class learning process can be misled by latent anomalies in training data (i.e., anomaly contamination) under the unsupervised paradigm. Their learning process also lacks knowledge about the anomalies. Consequently, they often learn a biased, inaccurate normality boundary. To tackle these problems, this paper proposes calibrated one-class classification for anomaly detection, realizing contamination-tolerant, anomaly-informed learning of data normality via uncertainty modeling-based calibration and native anomaly-based calibration. Specifically, our approach adaptively penalizes uncertain predictions to restrain irregular samples in anomaly contamination during optimization, while simultaneously encouraging confident predictions on regular samples to ensure effective normality learning. This largely alleviates the negative impact of anomaly contamination. Our approach also creates native anomaly examples via perturbation to simulate time series abnormal behaviors. Through discriminating these dummy anomalies, our one-class learning is further calibrated to form a more precise normality boundary. Extensive experiments on ten real-world datasets show that our model achieves substantial improvement over sixteen state-of-the-art contenders.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2207.12201")

Code

Syntology Ran 0 of 14 code samples harvested from 1 repository linked to this paper; 14 have no recorded run.

By repository: official repository: 14 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

xuhongzuo/couta officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 0 ran; 0 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

14unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from xuhongzuo/couta. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

adjust_scores xuhongzuo/couta/src/utils_eval.py official repository unverified Apache-2.0 (permissive) · 5bfa4b4ceafb84c9 · report
cosine xuhongzuo/couta/src/experiments/data_generator_collective_case.py official repository unverified Apache-2.0 (permissive) · 1be0714f24c5f3db · report
create_batch_neg xuhongzuo/couta/src/algorithms/couta_algo.py official repository unverified Apache-2.0 (permissive) · 3f2b46c7dfce194f · report
data_standardize xuhongzuo/couta/src/utils_general.py official repository unverified Apache-2.0 (permissive) · d95b338432e5df83 · report
get_best_f1 xuhongzuo/couta/src/utils_eval.py official repository unverified Apache-2.0 (permissive) · a69f0fe91418b83e · report
get_data_lst xuhongzuo/couta/main_utils.py official repository unverified Apache-2.0 (permissive) · 6695ea1de391d0cc · report
get_logger xuhongzuo/couta/main_utils.py official repository unverified Apache-2.0 (permissive) · 22c9707971cf2a58 · report
get_metrics xuhongzuo/couta/src/utils_eval.py official repository unverified Apache-2.0 (permissive) · ad6de4f08952b158 · report
get_model_configs xuhongzuo/couta/main_utils.py official repository unverified Apache-2.0 (permissive) · 0d6ed0e36e58f5e7 · report
get_sequences_data xuhongzuo/couta/src/utils_general.py official repository unverified Apache-2.0 (permissive) · f1e66a69ff07171c · report
get_sub_seqs xuhongzuo/couta/src/algorithms/algorithm_utils.py official repository unverified Apache-2.0 (permissive) · 370f5ea00f912a03 · report
minmax_norm xuhongzuo/couta/src/utils_general.py official repository unverified Apache-2.0 (permissive) · 588a35c94648bbe1 · report
series_segmentation xuhongzuo/couta/src/experiments/data_generator_collective_case.py official repository unverified Apache-2.0 (permissive) · 8561f20e4c8119f3 · report
sine xuhongzuo/couta/src/experiments/data_generator_collective_case.py official repository unverified Apache-2.0 (permissive) · d67d19b30290c8e8 · report

Tasks

Anomaly DetectionOne-Class ClassificationOne-class classifierTime SeriesTime Series AnalysisTime Series Anomaly Detection

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections