Weakly Supervised Anomaly Detection via Knowledge-Data Alignment
Haihong Zhao, Chenyi Zi, Yang Liu, Chen Zhang, Yan Zhou, Jia Li
Abstract
Anomaly detection (AD) plays a pivotal role in numerous web-based applications, including malware detection, anti-money laundering, device failure detection, and network fault analysis. Most methods, which rely on unsupervised learning, are hard to reach satisfactory detection accuracy due to the lack of labels. Weakly Supervised Anomaly Detection (WSAD) has been introduced with a limited number of labeled anomaly samples to enhance model performance. Nevertheless, it is still challenging for models, trained on an inadequate amount of labeled data, to generalize to unseen anomalies. In this paper, we introduce a novel framework, Knowledge-Data Alignment (KDAlign), to integrate rule knowledge, typically summarized by human experts, to supplement the limited labeled data. Specifically, we transpose these rules into the knowledge space and subsequently recast the incorporation of knowledge as the alignment of knowledge and data. To facilitate this alignment, we employ the Optimal Transport (OT) technique. We then incorporate the OT distance as an additional loss term to the original objective function of WSAD methodologies. Comprehensive experimental results on five real-world datasets demonstrate that our proposed KDAlign framework markedly surpasses its state-of-the-art counterparts, achieving superior performance across various anomaly types. Our codes are released at https://github.com/cshhzhao/KDAlign.
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 6ab6dbda-9b3f-492a-a787-663a7c5179a2Cited by top-tier papers5
- All in One and One for All: A Simple yet Effective Method towards Cross-domain Graph PretrainingHaihong Zhao, Aochuan Chen, Xiangguo Sun, Hong Cheng et al.KDD 2024 · 35 citations
- ZeroG: Investigating Cross-dataset Zero-shot Transferability in GraphsYuhan Li, Peisong Wang, Zhixun Li, Jeffrey Xu Yu et al.KDD 2024 · 19 citations
- Mesh Interpolation Graph Network for Dynamic and Spatially Irregular Global Weather ForecastingZinan Zheng, Yang Liu, Jia LiNeurIPS 2025 · 6 citations
- Relaxing Continuous Constraints of Equivariant Graph Neural Networks for Broad Physical Dynamics LearningZinan Zheng, Yang Liu, Jia Li, Jianhua Yao et al.KDD 2024 · 3 citations
- CAAD: Causality-Aware Multivariate Time Series Anomaly Detection via Multi-Scale Alignment and Structural Causal ConsistencyXin Wang, Yunshi Wen, Yanan He, Haotian Xu et al.KDD 2026
Builds on15
- Revisiting Deep Learning Models for Tabular DataYury Gorishniy, Ivan Rubachev, Valentin Khrulkov, Artem BabenkoNeurIPS 2021 · 1,847 citations
- Deep Semi-Supervised Anomaly DetectionLukas Ruff, Robert A. Vandermeulen, Nico Görnitz, Alexander Binder et al.ICLR 2020 · 678 citations
- Rethinking Graph Neural Networks for Anomaly DetectionJianheng Tang, Jiajin Li, Ziqi Gao, Jia LiICML 2022 · 365 citations
- Multi-Granularity Cross-modal Alignment for Generalized Medical Visual Representation LearningFuying Wang, Yuyin Zhou, Shujun Wang, Varut Vardhanabhuti et al.NeurIPS 2022 · 302 citations
- Few-shot Network Anomaly Detection via Cross-network Meta-learningKaize Ding, Qinghai Zhou, Hanghang Tong, Huan LiuWWW 2021 · 157 citations
Related papers
- Boosting Fine-Grained Visual Anomaly Detection with Coarse-Knowledge-Aware Adversarial LearningQingqing Fang, Qinliang Su, Wenxi Lv, Wenchao Xu et al.AAAI 2025 · 7 citations
- UniAd: Unified Adversarial Alignment for Unsupervised Cross-Domain Industrial Anomaly DetectionYulong Fang, Zhanshan Li, Jingyao LiKDD 2026
- Weakly Supervised Temporal Anomaly Segmentation with Dynamic Time WarpingDongha Lee, Sehun Yu, Hyunjun Ju, Hwanjo YuICCV 2021 · 17 citations
- ADMoE: Anomaly Detection with Mixture-of-Experts from Noisy LabelsYue Zhao, Guoqing Zheng, Subhabrata Mukherjee, Robert McCann et al.AAAI 2023 · 39 citations
- CMHKF: Cross-Modality Heterogeneous Knowledge Fusion for Weakly Supervised Video Anomaly DetectionGuohua Wang, Shengping Song, Wuchun He, Yongsen ZhengACL 2025 · 2 citations
