When Graph Anomalies Learn to Hide: Test-Time Cloaking in Graph-Level Anomaly Detection
Jinyu Cai, Glynnis Lim, See-Kiong Ng
NeurIPS page · OpenReview · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Graph Adversarial Robustness · Type: new method · Keywords: graph anomaly detection, test-time attack, score minimization, adversarial training, robustness
Areas: Safety & Security › Adversarial Security › Graph Adversarial Security; Graph Learning › Graph Learning Paradigms › Anomaly Detection
Summary
The paper introduces score-directed graph cloaking (SGC), an architecture-agnostic test-time attack that minimizes anomaly scores within a bounded graph-edit budget, and proposes adversarial score training (AST), a normal-only defense that smooths the score landscape to improve robustness.
Explained to a 5-year-old
People build detectors that find strange things in graphs, like networks of friends. After the detector is built, someone could change the graph to hide the strange thing. The paper creates a way to change the graph so the detector thinks everything is normal. It also creates a way to train the detector to be stronger and not be fooled by those changes. This helps keep detectors reliable in important places where hiding bad things could be dangerous.
Explained to a 5-year-old, longer
Imagine you have a picture of a group of animals and you want to spot the one that looks different. You draw a detector that can tell which animal is the odd one out. After you finish the detector, someone could secretly change the picture to make the odd animal look normal. This would make your detector miss the problem. The paper studies this situation, where graphs (like pictures of connections) can be altered after the detector is ready. They create a method that changes the graph in a clever way to hide the anomaly, so the detector gets confused. They also create a protection method that teaches the detector to be more careful when it sees changes. The protection works only on normal (good) graphs, without needing examples of bad graphs. By using both the attack and the protection, the detector becomes harder to trick. The experiments show that the protection helps the detector stay accurate even when someone tries to hide the problem. This is useful in important fields like banking or health, where missing an anomaly could be serious. Overall, the paper makes detectors more trustworthy in real-world situations where graphs can be changed after deployment.
For a technical reader
The paper shows that graph-level anomaly detectors can be evaded by post-deployment structural changes that minimize the detector’s score within a limited edit budget. It proposes a score-directed attack that works on any detector by manipulating the anomaly score alone. To counter this, the authors introduce a defense that regularizes the score on normal graphs using adversarial perturbations, making the detector more robust without needing labeled anomalies. Experiments confirm the defense improves resilience across several benchmarks and detector architectures.
Problem
Graph-level anomaly detectors are typically evaluated on static, unmodified graphs, yet in practice anomalous inputs may be structurally altered after deployment to evade detection. This creates a gap where detectors can be compromised by post-deployment modifications that hide anomalies.
Method
The approach formulates test-time cloaking as an unsupervised score-minimization attack constrained by a graph-edit budget and introduces a defense that regularizes the anomaly score on normal training graphs using adversarial local perturbations to smooth the score landscape.
Results
Experiments across multiple benchmarks and detectors show that the defense improves robustness against cloaking attacks without requiring anomaly labels.
Contributions
The paper formalizes test-time graph cloaking, proposes a generic score-directed attack and a normal-only defense that smooths the score landscape, and provides empirical evidence of enhanced robustness.
Practical relevance
The findings help make graph anomaly detectors more reliable in critical applications where adversaries could manipulate graph structures after deployment.
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