Noise Matters: Cross Contrastive Learning for Flink Anomaly Detection
Zhihao Zhuang, Yingying Zhang, Kai Zhao, Chenjuan Guo, Bin Yang, Qingsong Wen, Lunting Fan
Abstract
Flink clusters often suffer from hotspot issues where the monitored job delay and CPU usage keep rising and remain high. This necessitates the detection of anomalous time series to pinpoint the hotspot machines. However, the state-of-the-art unsupervised time series anomaly detection (UTAD) methods are ineffective in this scenario. We identify two main reasons for this. First, the hotspot scenario requires us to pay particular attention to Flink-specific anomalies, e.g., slow-rising and high-level anomalies, which the existing methods struggle to address. Second, the state-of-the-art anomaly detection methods often assume that training datasets do not contain anomalies, but the data collected from the running Flink clusters contains noise, which causes these methods to learn anomalous patterns as normal patterns. In this paper, we first conduct experiments to analyze why existing methods fail in the Flink scenario. To tackle these challenges, we propose a cross-contrastive approach to learn the context information for each timestamp to enable Flink-specific anomaly detection. Then, to address noisy anomalies, we incorporate prior knowledge to set an anomaly boundary to prevent the model from learning anomalous patterns. Extensive experiments show that our method not only outperforms existing methods in the Flink scenario but also achieves state-of-the-art results on public benchmark datasets.
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.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- DCdetector: Dual Attention Contrastive Representation Learning for Time Series Anomaly Detection cites Timeseries Anomaly Detection using Temporal Hierarchical One-Class Network
- DCdetector: Dual Attention Contrastive Representation Learning for Time Series Anomaly Detection cites Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy
- TAB: Unified Benchmarking of Time Series Anomaly Detection Methods cites DCdetector: Dual Attention Contrastive Representation Learning for Time Series Anomaly Detection
- TAB: Unified Benchmarking of Time Series Anomaly Detection Methods cites Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy
- Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy cites Timeseries Anomaly Detection using Temporal Hierarchical One-Class Network
Cited by top-tier papers1
Builds on14
- Anomaly Transformer: Time Series Anomaly Detection with Association DiscrepancyJiehui Xu, Haixu Wu, Jianmin Wang, Mingsheng LongICLR 2022 · 960 citations
- Timeseries Anomaly Detection using Temporal Hierarchical One-Class NetworkLifeng Shen, Zhuocong Li, James T. KwokNeurIPS 2020 · 454 citations
- Dual T: Reducing Estimation Error for Transition Matrix in Label-noise LearningYu Yao, Tongliang Liu, Bo Han, Mingming Gong et al.NeurIPS 2020 · 297 citations
- DCdetector: Dual Attention Contrastive Representation Learning for Time Series Anomaly DetectionYiyuan Yang, Chaoli Zhang, Tian Zhou, Qingsong Wen et al.KDD 2023 · 244 citations
- Pathformer: Multi-scale Transformers with Adaptive Pathways for Time Series ForecastingPeng Chen, Yingying Zhang, Yunyao Cheng, Yang Shu et al.ICLR 2024 · 197 citations
Related papers
- Detection of unknown unknowns in autonomous systemsAyan Banerjee, Sandeep GuptaICLR 2026
- DoKnowAD: Calibrating Normal Representations with Refined Domain Knowledge to Enhance Time Series Anomaly DetectionShiwang Xing, Jianwei Niu, Tao RenAAAI 2026
- Unraveling the 'Anomaly' in Time Series Anomaly Detection: A Self-supervised Tri-domain SolutionYuting Sun, Guansong Pang, Guanhua Ye, Tong Chen et al.ICDE 2024 · 18 citations
- Unsupervised Continual Anomaly Detection with Contrastively-Learned PromptJiaqi Liu, Kai Wu, Qiang Nie, Ying Chen et al.AAAI 2024 · 54 citations
- SEAD: Unsupervised Ensemble of Streaming Anomaly DetectorsSaumya Gaurang Shah, Abishek Sankararaman, Balakrishnan Narayanaswamy, Vikramank Y. SinghICML 2025
