Learnable Kernel Density Estimation for Graphs and Its Application to Graph-Level Anomaly Detection
Xudong Wang, Ziheng Sun, Chris Ding, Jicong Fan
Abstract
This work proposes a framework LGKDE that learns kernel density estimation for graphs. The key challenge in graph density estimation lies in effectively capturing both structural patterns and semantic variations while maintaining theoretical guarantees. Combining graph kernels and kernel density estimation (KDE) is a standard approach to graph density estimation, but has unsatisfactory performance due to the handcrafted and fixed features of kernels. Our method LGKDE leverages graph neural networks to represent each graph as a discrete distribution and utilizes maximum mean discrepancy to learn the graph metric for multi-scale KDE, where all parameters are learned by maximizing the density of graphs relative to the density of their well-designed perturbed counterparts. The perturbations are conducted on both node features and graph spectra, which helps better characterize the boundary of normal density regions. Theoretically, we establish consistency and convergence guarantees for LGKDE, including bounds on the mean integrated squared error, robustness, and generalization. We validate LGKDE by demonstrating its effectiveness in recovering the underlying density of synthetic graph distributions and applying it to graph anomaly detection across diverse benchmark datasets. Extensive empirical evaluation shows that LGKDE demonstrates superior performance compared to state-of-the-art baselines on most benchmark datasets.
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 a4a9bfaa-102d-463a-97d9-eabbdaf6e6aaBuilds on15
- Graph Contrastive Learning with AugmentationsYuning You, Tianlong Chen, Yongduo Sui, Ting Chen et al.NeurIPS 2020 · 3,042 citations
- Relational Graph Attention Network for Aspect-based Sentiment AnalysisKai Wang, Weizhou Shen, Yunyi Yang, Xiaojun Quan et al.ACL 2020 · 614 citations
- Federated Graph Classification over Non-IID GraphsHan Xie, Jing Ma, Li Xiong, Carl YangNeurIPS 2021 · 287 citations
- GraphDE: A Generative Framework for Debiased Learning and Out-of-Distribution Detection on GraphsZenan Li, Qitian Wu, Fan Nie, Junchi YanNeurIPS 2022 · 75 citations
- Dual-discriminative Graph Neural Network for Imbalanced Graph-level Anomaly DetectionGe Zhang, Zhenyu Yang, Jia Wu, Jian Yang et al.NeurIPS 2022 · 71 citations
Related papers
- Dynamic Spectral Graph Anomaly DetectionJianbo Zheng, Chao Yang, Tairui Zhang, Longbing Cao et al.AAAI 2025 · 23 citations
- Normality Learning-based Graph Anomaly Detection via Multi-Scale Contrastive LearningJingcan Duan, Pei Zhang, Siwei Wang, Jingtao Hu et al.ACM MM 2023 · 24 citations
- MMD Graph Kernel: Effective Metric Learning for Graphs via Maximum Mean DiscrepancyYan Sun, Jicong FanICLR 2024 · 17 citations
- Adaptive Kernel Graph Neural NetworkMingxuan Ju, Shifu Hou, Yujie Fan, Jianan Zhao et al.AAAI 2022 · 33 citations
- PolyGraph Discrepancy: a classifier-based metric for graph generationMarkus Krimmel, Philip Hartout, Karsten M. Borgwardt, Dexiong ChenICLR 2026 · 3 citations
