When Graph Anomalies Learn to Hide: Test-Time Cloaking in Graph-Level Anomaly Detection
Jinyu Cai, Glynnis Lim, See-Kiong Ng
NeurIPS 2026
Abstract. Graph-level anomaly detection (GLAD) is increasingly deployed in high-stakes settings, where its performance is evaluated on static, clean test graphs at deployment. This creates a critical gap in practice, as anomalous graph inputs may be structurally modified after deployment to evade a fixed detector. We formalize this challenge as test-time graph cloaking: an unsupervised score-minimization attack within a bounded graph-edit budget. We introduce score-directed graph cloaking (SGC), an architecture-agnostic white-box attack that operates solely on the scalar anomaly score, making it applicable across diverse GLAD architectures. To isolate adaptive evasion from generic perturbation sensitivity, we pair SGC with budget-matched random edits and identify a distinct directedness gap. While random structural noise largely preserves anomaly separation, score-directed edits can drive anomalous graphs into the normal-score region. To mitigate this, we propose adversarial score training (AST), a normal-only defense that smooths the score landscape via adversarial local score regularization on normal training graphs. Our experiments across diverse benchmarks and GLAD detectors demonstrate that AST empirically improves cloaking robustness against adaptive evasion without relying on anomaly labels.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:42 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper studies an important test-time cloaking problem in unsupervised graph-level anomaly detection (GLAD). The authors formulate cloaking as the minimization of the scalar anomaly score under a bounded edge-edit budget, and propose score-directed graph cloaking (SGC), the directedness gap as a unified robustness audit, and adversarial score training (AST) as a normal-only defense. Experiments across five datasets and multiple detectors show that evaluation on unmodified test graphs can substantially overestimate robustness, while AST consistently improves robustness against cloaking.
The main concerns involved semantic preservation, methodological novelty, attack comparisons, scalability, and the empirical support for AST. The rebuttal substantially strengthened the submission through validity-constrained attacks, independent anomaly-retention audits, stronger attack baselines, runtime analysis, case studies, and code. Reviewers x3AL and zMcN considered their main concerns adequately addressed, while 1cyb also increased the rating but retained concerns about methodological novelty and semantic validity. The authors subsequently provided further clarifications to address the concerns. All three reviewers ultimately gave positive ratings and reached a consensus in favor of acceptance.
The main limitation is methodological novelty, as SGC and AST build on established graph attack and adversarial training techniques. The semantic validity concern was substantially addressed by the constrained experiments and independent audits, while establishing complete real-world equivalence remains inherently difficult in graph attack settings.
Overall, this is a strong paper that I recommend for acceptance. The broader significance of this work lies in identifying and systematically characterizing an underexplored vulnerability in graph anomaly detection, while providing a unified evaluation framework and practical defense that could influence future robustness evaluation in the GAD community. I request that the authors include the supplementary results in the camera-ready version.
Final justification
This paper identifies an important test-time cloaking vulnerability in graph-level anomaly detection and presents a unified evaluation framework and practical defense solution, which is supported by strong empirical evidence.
Following the rebuttal and discussion, all reviewers converged on a positive assessment and supported acceptance. The paper makes a timely and potentially influential contribution to robustness evaluation in GLAD. I therefore recommend acceptance and nominate it for spotlight consideration.
Read meta-review
Meta-review
This paper studies an important test-time cloaking problem in unsupervised graph-level anomaly detection (GLAD). The authors formulate cloaking as the minimization of the scalar anomaly score under a bounded edge-edit budget, and propose score-directed graph cloaking (SGC), the directedness gap as a unified robustness audit, and adversarial score training (AST) as a normal-only defense. Experiments across five datasets and multiple detectors show that evaluation on unmodified test graphs can substantially overestimate robustness, while AST consistently improves robustness against cloaking.
The main concerns involved semantic preservation, methodological novelty, attack comparisons, scalability, and the empirical support for AST. The rebuttal substantially strengthened the submission through validity-constrained attacks, independent anomaly-retention audits, stronger attack baselines, runtime analysis, case studies, and code. Reviewers x3AL and zMcN considered their main concerns adequately addressed, while 1cyb also increased the rating but retained concerns about methodological novelty and semantic validity. The authors subsequently provided further clarifications to address the concerns. All three reviewers ultimately gave positive ratings and reached a consensus in favor of acceptance.
The main limitation is methodological novelty, as SGC and AST build on established graph attack and adversarial training techniques. The semantic validity concern was substantially addressed by the constrained experiments and independent audits, while establishing complete real-world equivalence remains inherently difficult in graph attack settings.
Overall, this is a strong paper that I recommend for acceptance. The broader significance of this work lies in identifying and systematically characterizing an underexplored vulnerability in graph anomaly detection, while providing a unified evaluation framework and practical defense that could influence future robustness evaluation in the GAD community. I request that the authors include the supplementary results in the camera-ready version.
Final justification
This paper identifies an important test-time cloaking vulnerability in graph-level anomaly detection and presents a unified evaluation framework and practical defense solution, which is supported by strong empirical evidence.
Following the rebuttal and discussion, all reviewers converged on a positive assessment and supported acceptance. The paper makes a timely and potentially influential contribution to robustness evaluation in GLAD. I therefore recommend acceptance and nominate it for spotlight consideration.
- Rating
- 5/6
- Confidence
- 5/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper investigates an under-explored problem of test-time graph cloaking in unsupervised graph-level anomaly detection: detectors trained solely on normal graphs may be evaded by anomalous test graphs during inference. Within a bounded edge-flip budget, an anomalous test graph can adversarially ensure that the anomaly score falls below the threshold by adversarially editing itself while not making the graph semantically normal. As anomaly labels are unavailable in unsupervised GLAD, the authors treat evasion behavior as score minimization problem and propose a detector-agnostic white-box attack method called score-directed graph cloaking (SGC). SGC performs projected gradient descent on a budget-constrained adjacency relaxation and greedily rounds the graph to a discrete graph. The effectiveness of adaptive evasion is quantified via the directedness gap, i.e., the performance difference between SGC and a budget-matched random edit control. For defense, the authors propose adversarial score training (AST), a regularizer that adversarially smooths upward score excursions around normal training graphs. Experiments were conducted by testing several representative GLAD methods on five graph benchmark datasets. The results indicate that clean AUC significantly overstates evasion robustness, while AST consistently improves robust AUC and reduces threshold evasion without the need for anomaly labels.
Strengths and weaknesses
Strengths
- This paper investigates an important yet underexplored issue of test-time cloaking in unsupervised GLAD, i.e., whether anomalous test graphs can be adaptively modified to evade fixed detectors. This setting differs clearly from data contamination, random perturbation, and standard supervised graph attacks.
- The proposed SGC attack method is well-motivated, and the design of attacking the scalar anomaly score makes the framework general. Personally, I see this as an elegant way to unify the robustness evaluation of different GLAD detectors.
- This paper proposes the AST method, a practically useful defense approach to mitigating the test-time cloaking issue in unsupervised GLAD, where anomaly labels are unavailable during training.
- The empirical evaluation is solid. The experiments conducted in this paper cover a wide range of GLAD detectors and graph benchmarks. Both ranking-based and threshold-based metrics are reported, along with additional budget sensitivity analyses. These results provide compelling evidence that clean-test performance can overestimate robustness under adaptive test-time cloaking.
Weaknesses
My main concerns with this work are in the defense part:
- The encoder Lipschitz probe (Eq. 21) and the inner-loop tightness ratio (Eq. 20) seem like effective diagnostics defined by the authors for checking whether the normal-side smoothing transfers to anomalous graphs. But the relevant empirical evidence is expected to be reported to strengthen the paper.
- More discussion on normal-score calibration under defense should be provided. Since AST reshapes the local score landscape around normal graphs, it would be useful to report its effect on false-positive or threshold stability on normal test graphs.
- the percentage-based budget may map to a very small number of actual edits for small graphs. For example, on datasets such as AIDS, a small edit budget (e.g., ) may correspond to roughly one edge flip for many graphs due to the budget floor.
- The reproducibility of this work could be strengthened if the authors provide the implementation code for the proposed SGC and AST methods.
Questions
- Could the authors report the results of the diagnostics in Eq. 20 and Eq. 21? In particular, how does the Lipschitz statistic behave on anomalous graphs compared with normal graphs?
- Does AST change the false-positive rate or threshold stability on normal test graphs?
- Could the authors report the average realized edits per dataset/budget to make the budget sensitivity results easier to interpret?
- Do the authors plan to release the implementation code for SGC and AST?
Limitations
Yes. I would just like to add one point: as the threat model is a white-box model, black-box models and cross-detector transfer could be considered as areas for future research.
Final justification
This work establishes test-time graph cloaking as a systemic vulnerability in unsupervised GLAD. The authors’ rebuttal has adequately addressed my concerns regarding the defense component and reproducibility. The additional results provide credible empirical evidence for the reported defense improvements. I will therefore increase my confidence and support acceptance. I encourage the authors to include the additional experiments in the revised paper.
Formatting concerns
I did not find any major formatting issues in this paper.
4 comments
Dear reviewer,
Please respond to the authors’ rebuttal and continue the discussion on any remaining concerns, particularly regarding the key issues in the initial meta-review. If appropriate, please update your assessment and rating accordingly.
Best regards,
AC
I thank the authors for their detailed rebuttal and for making the code available. Having reviewed both, I consider my concerns regarding the defense component and reproducibility adequately addressed. The diagnostics in Eqs. 20–21 support the transfer of normal-side smoothing to unseen anomalies, while the calibration results show that AST’s robustness gains are not driven by increased false positives. These additional results provide credible empirical evidence for the reported defense improvements.
More broadly, this work establishes test-time graph cloaking as a systemic vulnerability in unsupervised GLAD. SGC offers a unified detector-agnostic attack, while AST provides a practical defense approach using only normal graphs. The comprehensive experimental results demonstrate the generality and significance of the contributions. I will therefore increase my confidence and support acceptance. I encourage the authors to include the additional experiments in the revised paper.
Thank you for your response. We are glad to know your concerns have been addressed. We will incorporate the additional experimental results into the revised manuscript.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies the robustness of unsupervised graph-level anomaly detectors under white-box attack at test time. They first formulate this problem as an anomaly score decreasing task, and then propose a gradient descent/ascent based method to perform the attack (they first relax the problem as a continuous optimisation problem and then discretize it). Interestingly, they show that many existing graph-level anomaly detection methods are vulnerable to this kind of attack. Besides, they also propose a regularisation method to save these GLAD methods from this type of attack (which works for some of them). Finally, they perform experiments on 5 datasets to show the effectiveness and superiority over random attacks of their methods.
Strengths and weaknesses
Strong Points
-
The paper is well-organised and easy to follow (however, the “word choice and sentence construction” seems over-polished using AI, sometimes I feel that they are unnatural to read);
-
The problem is well defined and also interesting to study (I learned something new by reading this paper);
-
They perform many experiments to support their claims, and I think the conclusions are convincing.
Weak Points
-
[Somehow lack of novelty]: Although the problem setting is new, the involved techniques are very common in graph attack community.
-
[Lack of complexity analysis]: The authors should provide analytical and/or empirical analysis on the complex of their attack method. The datasets they studied are of small/medium scales, so I would like to know if their method scales to large datasets?
-
[Limitation of baselines]: the authors only considered a very weak attack baseline (random-structure perturbations). Other stronger baselines should be considered (for example, perturbing the most important subgraphs using Graph XAI technique to get the important subgraph; or other existing graph-level attack methods.)
-
[Lack of case studies]: I would also like to see some case studies (with real-world graphs if possible) in the appendix.
Questions
Please check the weak points. I will raise my ratings if my concerns are (partially) addressed.
Limitations
yes
Final justification
Most of my concerns raised in the first round have been addressed. However, considering the simplicity of this method (and somehow lack of novelty in my opinion), I think it best fits a poster paper for NeurIPS (and thus I increased my overall rating from 3 to 4 rather than 5 or higher).
Formatting concerns
NA.
5 comments
Rebuttal
Thank you for your recognition of our work and your constructive feedback. Below is our rebuttal to your concerns.
W1. Novelty and scope
We would like to clarify where the novelty of our work lies. Our framework makes three connected GLAD-specific contributions: (1) identifying and characterizing test-time graph cloaking, (2) providing a unified scalar-score audit and directedness diagnostic, and (3) mitigating this vulnerability under normal-only training.
-
Prior topology attacks [1-3,5] were formulated and evaluated primarily for supervised classification. BinarizedAttack [4] studies training-time poisoning in node-level graph anomaly detection. This research aims to bridge the gap where works did not provide a common test-time structural audit for unsupervised graph-level anomaly detectors. Across all 25 dataset-detector pairs, score-directed edits are consistently more damaging than budget-matched random edits, which clearly demonstrates a systematic test-time cloaking vulnerability in GLAD.
-
GLAD approaches are generally heterogeneous, covering one-class, contrastive, knowledge distillation, reconstruction, and prototype-based methods. We address this heterogeneity through their common scalar-score interface. SGC aligns score orientation and normalizes gradients by their mean absolute magnitude (Eq. 7), which enables one fixed audit configuration to operate across differentiable detectors. The directedness gap compares score-directed edits with budget-matched random edits, which separates exploitable score-decreasing directions from generic structural-edit sensitivity.
-
AST utilizes one-sided inner maximization to smooth upward score excursions around normal training graphs and evaluates whether this smoothness transfers to unseen anomalies. The experimental results showed that AST improves robust ranking and reduces threshold evasion in every dataset-detector pair.
We believe that these contributions can establish cloaking robustness as an evaluation dimension alongside clean detection quality and random-edit stability. We hope our clarification helps address your concern.
W2. Complexity and scalability
We will analyze the space and time complexity and provide empirical runtime results here.
Space complexity. For a graph with nodes, the dense implementation stores candidate edit variables. Therefore, the attack-specific memory complexity is , in addition to the detector's own memory cost. Note that quadratic candidate spaces are common in global edge-edit attacks such as [2,3,4].
Time complexity. Let be the number of projected-gradient steps, be the edge-edit budget, be the shortlist multiplier, and be the rounding candidate-pool size. If and denote one detector forward-backward pass and one forward pass, respectively, the Appendix B.2 sorted-pivot projection gives relaxed-stage cost , while greedy rounding costs at most . Therefore, the total per-graph time complexity is .
Empirical result. We report runtime on 20 anomalous graphs per dataset, randomly sampled across different graph sizes, with , and .
Table 1. Mean per-graph SGC runtime on OCGIN.
| Dataset | Average nodes | Average edges | Projected-gradient time | Rounding time | Total time |
|---|---|---|---|---|---|
| AIDS | 32.8 | 34.9 | 0.581 s | 0.053 s | 0.634 s |
| COX2 | 40.5 | 42.6 | 0.469 s | 0.054 s | 0.523 s |
| ENZYMES | 34.4 | 63.8 | 0.516 s | 0.185 s | 0.702 s |
| PROTEINS | 25.6 | 44.2 | 0.492 s | 0.165 s | 0.657 s |
Across these graphs, the mean runtime is below one second, while the largest sampled graph has 149 nodes and takes 2.64 seconds.
Scalability. Because graphs are attacked independently, the overall cost grows linearly with the number of attacked graphs and can be parallelized. For scaling to larger graphs, SGC can construct a local or sampled pool of edge edits without materializing all candidates. This will reduce attack-specific memory complexity to and projection overhead to . For sparse graphs, choosing gives attack-specific memory complexity and projection overhead. Detector passes, greedy rounding, and candidate generation remain part of the total cost, and of course, a smaller candidate pool may reduce attack strength. We will describe this as a scalability direction with trade-offs.
W3. Stronger score-aware baselines
Existing graph-level attack methods [3,5] generally used supervised classification feedback such as labels, logits, or margins. Applying them in GLAD requires replacing this feedback with a scalar anomaly-score objective and specifying a matched access protocol. We therefore add two score-aware baselines under the same scalar-score interface, edit space, and budget.
-
One-step score saliency. Following your suggestion, we implemented a Graph-XAI-style baseline by converting one-step edge attribution into an attack-aligned score-saliency attack. As in gradient-based graph attribution, it uses the gradient of a single clean graph to estimate how each admissible edge edit would affect the anomaly score. Because an influential edit may increase rather than decrease the anomaly score, we select those predicted to reduce the score most.
-
Query-limited SGC (FD-50). This attack uses only scalar-score queries. It probes up to 50 admissible one-edge edits, estimates their score changes by finite differences, and applies a budget-feasible set of the most score-decreasing candidates.
Table 2. Comparison with stronger attack baselines on AIDS with OCGIN as the target.
| Attack | Guidance | ASR | Post-attack AUC |
|---|---|---|---|
| RS | No score guidance | ||
| Query-limited SGC (FD-50) | 50 finite-difference score probes | ||
| One-step score-saliency attack | One score gradient | ||
| SGC (white-box) | 100 projected-gradient steps |
We can see that both added baselines have substantially higher mean ASR and lower post-attack AUC than RS, while multi-step SGC is strongest on both metrics. Graph cloaking, therefore, persists under importance-guided, query-only, and iterative score-directed attacks, and is not an artifact of using a weak random baseline.
W4. Case study
We provide a case study covering three successful evasions of OCGIN on AIDS and audit them with , an independent supervised graph classifier trained on the original AIDS class labels (clean-validation AUC ), which SGC never queries. Each evasion uses two edits and preserves maximum valence and component count. They also retain the anomalous label under , and remain flagged by GLADC and GLocalKD. We have requested the AC to help share the visualizations together with the code via an anonymous link. The statistical results are shown below:
Table 3. AIDS molecular-graph cases. Fj-Gi denotes fold and graph . Atom labels combine the element and zero-based node index. Margin is OCGIN score minus threshold, with positive values detected and negative values evaded.
| Case | Clean (nodes/edges) | OCGIN margin | Edit details | anomaly prob. | Flagged (GLADC/GLocalKD) |
|---|---|---|---|---|---|
| F0-G269 | 21 / 23 | +1.405 to -1.387 | add C1-C10, add C9-C10 | 1.000 to 1.000 | yes / yes |
| F1-G336 | 23 / 25 | +1.732 to -0.364 | add C7-O22, remove N19-O22 | 1.000 to 0.994 | yes / yes |
| F3-G365 | 23 / 24 | +1.638 to -0.654 | add C0-C22, remove O20-C21 | 1.000 to 1.000 | yes / yes |
In all three cases, two constrained edits cross the OCGIN threshold while continues to predict the anomaly label specified by the benchmark, and the flags of both detectors not accessed by SGC remain unchanged. We hope these results will help address your concern.
References
[1] Zügner, D., et al. Adversarial attacks on neural networks for graph data. KDD, 2018.
[2] Xu, K., et al. Topology attack and defense for graph neural networks: An optimization perspective. IJCAI, 2019.
[3] Dai, H., et al. Adversarial attack on graph structured data. ICML, 2018.
[4] Zhu, Y., et al. BinarizedAttack: Structural poisoning attacks to graph-based anomaly detection. ICDE, 2022.
[5] Wan, X., et al. Adversarial attacks on graph classifiers via Bayesian optimisation. NeurIPS, 2021.
Dear reviewer,
Please respond to the authors’ rebuttal and continue the discussion on any remaining concerns, particularly regarding the key issues in the initial meta-review. If appropriate, please update your assessment and rating accordingly.
Best regards,
AC
Dear Reviewer x3AL,
As the discussion period is nearing its end, we would greatly appreciate it if you could review our rebuttal and let us know whether it addresses your concerns.
Thank you for your time and consideration.
Best regards,
Authors
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies test-time graph cloaking for unsupervised graph-level anomaly detection: after deployment, an anomalous graph is structurally edited within a bounded edge-edit budget to minimize its anomaly score and evade a fixed detector. The authors propose SGC, an architecture-agnostic white-box attack operating only on the scalar anomaly score, define a directedness gap against budget-matched random edits, and introduce AST, a normal-only adversarial score-smoothing defense. Experiments report that clean-test performance overstates robustness and that AST improves cloaking robustness without anomaly labels.
Strengths and weaknesses
Strengths
- The scalar-score attack interface is a clean, detector-agnostic abstraction.
- The method is simple and easy to follow.
- The empirical study is fairly complete.
Weaknesses
- The setting is ill-posed.
- The core metrics are confounded.
- Motivation and method are mutually exclusive.
- The framing overstates a known test-time-evasion setting.
- Novelty is limited; SGC and AST are standard PGD-topology-attack and adversarial-training components.
Questions
-
The setting is ill-posed. Adversarial examples [1, 2] work because a perturbed input keeps its semantics (a noised panda is still a panda), so a flipped classifier means it was fooled. Graph structure is not a perturbable background; it is the content. In the paper's own motivating domain an edge is a chemical bond, so editing edges edits the molecule. A graph pushed into the normal-score region is then not necessarily an anomaly that fooled the detector, but possibly a genuinely-more-normal object. What guarantees the edited graph is still the same anomalous object? This holds for any domain where edges encode functional dependencies (fraud rings, biological pathways), not just chemistry.
-
The core metrics are confounded. Eq. (4) constrains only the edit budget, never that the edited graph remains anomalous. The AUC drop / ASR rise thus cannot separate true evasion from semantic change toward normality. Can the authors give an independent check (manual validation of a subset, or class-membership / functionality preservation) that cloaked graphs remain anomalous? If not, the metrics do not measure evasion.
-
Motivation and method are mutually exclusive. The paper motivates with molecular screening but drops chemical-validity constraints "for generality," removing the only anchor for "still anomalous." Can the authors report an attack under domain validity constraints on at least one dataset? If the directedness gap survives, significance increases; if not, the scenario does not hold.
-
The framing overstates a known setting. Test-time evasion via input edits is the classical adversarial-ML setting [1, 2], and structural GNN evasion attacks already exist [3, 4]. "Establishing a robustness axis" overstates a narrow recombination (unsupervised + graph-level + score-only + structure-only). What is conceptually new beyond porting a PGD topology attack to a scalar-score interface?
-
Novelty is limited. SGC is a PGD topology attack [4] with the loss swapped for the scalar score (standard relaxation, capped-simplex projection, top-k rounding); AST is one-sided adversarial training on normal graphs. Beyond naming the setting, what is the conceptual contribution?
-
White-box justification is inconsistent. White-box is defended as a worst-case probe yet used to support a deployment threat, while black-box is dismissed as "generally weaker." But SGC is score-only and deployed detectors return scores, so a black-box attacker can approximate the gradient by finite differences. Can the authors report a black-box / query-limited SGC to quantify the real gap?
-
AST defense is under-tested. AST regularizes only normal-graph neighborhoods yet claims benefit on unseen anomalies. Please (i) report the encoder Lipschitz probe (Eq. 21) on the anomaly side to show whether it decreases under AST, and (ii) test an adaptive attack targeting AST's one-sided smoothing.
[1] B. Biggio, I. Corona, D. Maiorca, B. Nelson, N. Šrndić, P. Laskov, G. Giacinto, and F. Roli. Evasion attacks against machine learning at test time. ECML PKDD, 2013.
[2] I. J. Goodfellow, J. Shlens, and C. Szegedy. Explaining and harnessing adversarial examples. ICLR, 2015.
[3] D. Zügner, A. Akbarnejad, and S. Günnemann. Adversarial attacks on neural networks for graph data. KDD, 2018.
[4] K. Xu, H. Chen, S. Liu, P.-Y. Chen, T.-W. Weng, M. Hong, and X. Lin. Topology attack and defense for graph neural networks: An optimization perspective. IJCAI, 2019.
Limitations
Yes
Final justification
The authors' rebuttal largely addresses my concerns. Therefore, I raise my overall rating to 4. Two conceptual points, including the setting-level well-posedness of score-only cloaking in unsupervised GLAD, and the limited methodological novelty, remain open, and I raise my score on the understanding that the authors will discuss them explicitly in the revision rather than treat them as settled.
Formatting concerns
No
5 comments
Rebuttal
Thank you for your thoughtful comments. Below is our rebuttal to your concerns.
Q1-Q2: Do edited graphs remain anomalous, and do AUC/ASR measure genuine evasion?
We address these two concerns from two complementary perspectives:
(1) Threat-model validity and semantic scope. We argue that structure editing itself does not make the evasion setting ill-posed. Graph attack benchmarks define admissibility through task-dependent constraints rather than proof of full real-world functional equivalence. Nettack preserves degree and feature co-occurrence statistics [2], Xu et al. imposed an edge edit budget [3], and Dai et al. use a gold classifier when available or otherwise restrict edits locally [4]. SGC follows the common bounded edit principle by modifying only edges within a fixed budget while preserving the node set and node features. Requiring a full functional equivalence would be stricter than is customary in prior established protocols. Under the UB-GOLD protocol [1], graphs are evaluated using the anomaly designation specified by their benchmark. Below, we independently audit whether this designation is retained after editing.
(2) Independent audits of evasion versus semantic change toward normality. We audit saved evasions using , a supervised GIN classifier trained independently on the original labels, and two independently trained detectors, GLADC and GLocalKD. Note that SGC never accesses these models. If the transformation of anomalous graphs into semantically normal graphs is the primary explanation, anomaly retention should fall substantially across these checks.
Table 1. Anomaly retention of SGC evasions on AIDS with OCGIN as the target. Pooled results are computed over 354 clean-detected anomalies.
| Outcome | Five-fold metrics | Pooled result |
|---|---|---|
| Evades OCGIN | AUC ; ASR | 104/354 |
| Retained by | Clean-val. AUC ; audited ASR | 86/354 |
We observe that still predicts anomaly for 86/104 (82.7%) evasions. The audited ASR remains , compared with the raw ASR of . Thus, most OCGIN threshold crossings survive the independent-label audit. We also evaluated cross-detector retention using GLADC and GLocalKD, neither of which is accessed by SGC. Of the OCGIN evasions initially flagged by GLADC, 94/97 remain flagged after editing. For GLocalKD, the corresponding count is 94/100. Thus, most evasions remain flagged as anomalous by each independent detector.
We repeated the independent-label audit with GLocalKD to test target specificity.
Table 2. Independent-label audit with two attack targets on AIDS.
| Attack target | Clean-detected anomalies | SGC evasions | retention | Audited ASR |
|---|---|---|---|---|
| OCGIN | 354 | 104 | 86/104 (82.7%) | |
| GLocalKD | 367 | 38 | 35/38 (92.1%) |
With GLocalKD as the target, retains the anomaly label for 35/38 (92.1%) evasions. These results support a benchmark-level evasion interpretation: most edited graphs that cross the target detector's threshold retain the original benchmark-level anomaly label and remain flagged by independent detectors.
Q3: Does cloaking survive domain-aware validity constraints?
We rerun the experiment on AIDS to test whether the result relies on edits that violate atomic valence or change the number of connected components. We constrain every valid edit to (1) respect the nature of an atom's maximum valence and preserve the original number of connected components, and (2) insert only single bonds. The random control uses the same constrained edit set and budget.
Table 3. Valence- and component-preserving attacks on AIDS/OCGIN.
| Attack | Pooled evasions | ASR | Post-attack AUC |
|---|---|---|---|
| Constrained RS | 17/354 | ||
| Constrained SGC | 48/354 |
Constrained SGC produces nearly three times as many evasions as the matched constrained RS. The directedness gap is (vs. without these constraints), so about 85% of the gap remains. retains the anomaly label specified by the benchmark for 44/48 constrained SGC evasions, GLADC flags 45/48, GLocalKD flags 44/48, and 40 pass all three audits. For constrained RS, 13/17 pass all three audits. Therefore, the directedness gap persists when graph disconnections and maximum-valence violations are excluded.
Q4-Q5: What is conceptually new beyond standard topology attacks and adversarial training?
Prior topology attacks were formulated and evaluated primarily for supervised graph classification, commonly using labels, logits, or classifier margins [2-5]. Unsupervised GLAD instead exposes scalar anomaly scores across heterogeneous one-class, contrastive, distillation, reconstruction, and prototype-based detectors. Their raw scores differ in orientation and vary widely in scale.
Building on established topology optimization and adversarial training techniques, we make three contributions specific to this setting:
- A unified scalar-score audit. SGC orients each detector so that descent consistently means less anomalous and normalizes gradients by their mean absolute magnitude (Eq. 7). This enables a fixed attack configuration to operate across heterogeneous detectors.
- The directedness gap. A budget-matched random control separates exploitable score-decreasing directions from generic sensitivity to topology editing.
- A normal-only defense. AST addresses the absence of anomalous training graphs through one-sided inner maximization of upward score excursions around normal graphs and evaluates how this smoothing transfers to unseen anomalies.
Across all 25 dataset-detector pairs, score-directed edits are consistently more damaging than budget-matched random edits, identifying cloaking as a systematic GLAD failure mode. AST improves robust ranking and reduces threshold evasion in every pair.
Q6: Black-box / query-limited SGC
We implement a query-limited SGC (FD-50) for comparison, which uses only scalar anomaly scores and up to 50 one-edge finite-difference probes to select feasible edits under the same budget. Including one clean and one final score evaluation, it requires approximately 52 queries per graph.
Table 4. Query-limited SGC on AIDS with OCGIN.
| Attack | Access | ASR | Post-attack AUC | Queries per graph |
|---|---|---|---|---|
| RS | No score access | 0 | ||
| Query-limited SGC (FD-50) | Scalar score, 50 finite-difference probes | approximately 52 | ||
| White-box SGC | Score and gradients | Not applicable |
The results show that query-limited SGC reaches about 80% of the white-box ASR and remains substantially stronger than random editing. Thus, cloaking persists without parameter or gradient access in this setting.
Q7: Does AST help with anomalies and survive an adaptive attack?
(1) Encoder Lipschitz probe (Eq. 21)
We report the Eq. 21 results by comparing the Vanilla (standard training without AST) and AST models at edge-budget ratio . Since Vanilla and AST train separate encoders with different embedding scales, we normalize Eq. 21 as , where is the clean embedding from the same model. Lower values indicate smaller relative embedding displacement per edge edit.
Table 5. Scale-normalized anomaly-side encoder sensitivity for OCGIN.
| Dataset | Vanilla | AST | Change |
|---|---|---|---|
| AIDS test anomalies | 75% lower | ||
| ENZYMES test anomalies | 34% lower |
The results showed that normalized encoder sensitivity on anomalous graphs decreases by 75% on AIDS and 34% on ENZYMES, supporting the transfer of smoothing learned from normal training graphs to unseen anomalies.
(2) Adaptive attack
We supplement an adaptive attack comparison, where we further attack the representation channel by minimizing the squared distance between the anomalous graph embedding and the centroid of normal embeddings. For each graph, the adaptive attacker retains the edited graph from the two objectives that yields the lower final anomaly score. Both objectives use the same budget.
Table 6. Adaptive attacks on AIDS/OCGIN.
| Training | Attack | Pooled ASR (evasions/clean-detected) | Post-attack AUC |
|---|---|---|---|
| Vanilla | SGC | 0.294 (104/354) | |
| Vanilla | Adaptive Attack | 0.331 (117/354) | |
| AST | SGC | 0.003 (1/397) | |
| AST | Adaptive Attack | 0.005 (2/397) |
ASR is computed over each model's clean-detected anomalies (354 for Vanilla and 397 for AST). The representation objective increases Vanilla evasions from 104 to 117, showing that it contributes an additional attack direction. Under the same per-graph selection rule, AST has only 2/397 evasions and maintains AUC . These results support an AST robustness improvement under both objectives in this setting.
References
[1] Wang, Y., et al. Unifying unsupervised graph-level anomaly detection and out-of-distribution detection: A benchmark (UB-GOLD). ICLR, 2025.
[2] Zügner, D., et al. Adversarial attacks on neural networks for graph data. KDD, 2018.
[3] Xu, K., et al. Topology attack and defense for graph neural networks: An optimization perspective. IJCAI, 2019.
[4] Dai, H., et al. Adversarial attack on graph structured data. ICML, 2018.
[5] Wan, X., et al. Adversarial attacks on graph classifiers via Bayesian optimisation. NeurIPS, 2021.
Dear reviewer,
Please respond to the authors’ rebuttal and continue the discussion on any remaining concerns, particularly regarding the key issues in the initial meta-review. If appropriate, please update your assessment and rating accordingly.
Best regards,
AC
Thanks for the detailed rebuttal and the substantial additional experiments. The new results strengthen the empirical evidence for the proposed cloaking phenomenon. In particular, the validity-constrained attack, independent anomaly-retention audits, and query-limited attack help address several of my previous concerns regarding trivial semantic drift, unconstrained edits, and the reliance on white-box access.
However, two conceptual concerns remain.
1. The setting-level assumptions remain unaddressed. The setting-level assumptions remain unaddressed. The independent audits show benchmark-level label retention, but this is a weaker property than what the setting needs, and it also relies on reintroducing a supervised classifier, which sits in tension with the paper's unsupervised framing. The deeper issue is a threat-model mismatch.
- Supervised graph attacks [1,2] are well-posed precisely because a ground-truth label provides an anchor independent of the model: the input changes, the true label does not, so a flipped prediction unambiguously means the detector was fooled.
- Unsupervised GLAD has no such anchor: the anomaly score is not a prediction of any external label but the model's own measure of deviation from learned normality, so "low score" is the definition of "more normal." Consequently, when SGC lowers the score, there is no third-party ground truth to distinguish fooling the detector (true cloaking) from the input genuinely becoming more normal.
The rebuttal supplies this missing anchor with an external classifier, but that borrows the supervised setting the method claims not to require; it does not show that the cloaking objective is well-posed within the unsupervised regime itself. The cited attacks are all supervised, so citing them reinforces rather than resolves this mismatch.
2. Novelty remains limited. Organizing existing techniques into a new setting and providing systematic empirical analysis is a valuable contribution. However, the main technical components closely follow existing topology attacks and adversarial training: SGC mainly adapts PGD-based topology optimization to scalar anomaly scores, and AST follows one-sided adversarial training / local smoothing ideas.
Overall, the rebuttal improves my assessment of the empirical validity. I therefore raise my Quality score from 2 to 3 and my overall rating from 2 to 3. I do not raise it further because the setting-level conceptual issues and limited methodological novelty remain.
[1] Xu, K., et al. Topology attack and defense for graph neural networks: An optimization perspective. IJCAI, 2019.
[2] Dai, H., et al. Adversarial attack on graph structured data. ICML, 2018.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Thank you for your recognition of our work and your valuable feedback. Below is our rebuttal to your concerns.
Q1. Eq. 20 and Eq. 21 diagnostics
Here are the reported results for the requested Eq. 20 and Eq. 21 diagnostics, where Eq. 21 is the encoder Lipschitz probe and examines whether AST's normal-side smoothing transfers to unseen anomalous graphs. Eq. 20 is the inner-loop tightness diagnostic and compares the 5-step training solver with a stronger diagnostic solver evaluated on test normal graphs.
Eq. 21 diagnostics: We compare Vanilla (standard training without AST) and AST models at edge-budget ratio ρ=0.10 for both test normal and anomalous graphs. Because Vanilla and AST train separate encoders with different embedding scales, we normalize Eq. 21 as Lenc(G;ρ)/∥ϕ(A,X)∥2, where ϕ(A,X) is the clean embedding from the same model. Lower values indicate smaller relative embedding displacement per edge edit.
Table 1. Scale-normalized Eq. 21 encoder sensitivity for OCGIN at ρ=0.10. Five-fold mean ± standard deviation.
We can observe that AST reduces scale-normalized encoder sensitivity on both normal and anomalous test graphs. In particular, the reductions on the anomaly side are comparable to those on normal graphs: 75% vs. 69% on AIDS and 34% vs. 38% on ENZYMES.
Eq. 20 diagnostics: Eq. 20 quantifies how much of the score increase found by the stronger diagnostic solver is recovered by the training solver. We compare the training solver using 5 steps with a diagnostic solver using 50 steps and three restarts on test normal graphs. The results show that the mean ratio (Eq. 20 value) increases from 0.650 under Vanilla to 0.748 under AST on AIDS and from 0.501 to 0.634 on ENZYMES. Under the definition of Eq. 20, these higher ratios indicate closer agreement between the two solvers under AST on both datasets. The Eq. 21 results further support the transfer of smoothing learned from normal training graphs to unseen anomalous graphs.
Q2. Normal-test false-positive rate
Below are the additional experiments to answer whether the robustness improvement of AST comes from increasing false positives. Specifically, we test the OCGIN and GLADC detectors on AIDS, where we calibrate each detector's threshold at the 95th percentile of its scores on normal validation graphs. Test-normal false-positive rate (FPR) is the fraction of normal test graphs above this threshold, while clean-anomaly true-positive rate (TPR) is the fraction of unedited anomalous test graphs above it.
Table 2. Threshold calibration on clean AIDS test graphs. Five-fold mean ± standard deviation.
For both audited detectors, the supplementary experiment demonstrates that AST maintains test-normal FPR near the nominal 5% level while improving clean-anomaly TPR.
Q3. Average realized edge edits
Following your suggestion, here are the final discrete edit count over all anomalous test graphs submitted to SGC, including successful and unsuccessful attacks. Specifically, we quantify the discrete structural changes represented by the percentage budget. For a graph with ∣E∣ original undirected edges and edit ratio ρ, the maximum number of edits is k=max1,⌊ρ∣E∣⌋ when ρ>0 and ∣E∣>0, and zero otherwise. One edit inserts or deletes one undirected edge.
Table 3. Edge edits per attacked anomalous test graph at ρ=0.10.
We observe that the mean realized edge edits remain below ten on every dataset. Additionally, the realized edge edits under different ρ on AIDS are 1.63, 3.61, and 7.65 at ρ=0.05, ρ=0.10, and ρ=0.20, respectively. Thus, the budget-sensitivity results correspond to a small number of discrete edge edits rather than large-scale structural alteration.
Q4. Code release
Due to the restrictions of the rebuttal policy, we are not allowed to directly provide code (via link) in our rebuttal. However, we have requested the AC to help us share an anonymous link containing the implementation code for the proposed SGC and AST methods, together with some simple case studies. We guarantee that all files are fully anonymized and hope they will help address your concern.
To limitations
We agree that weaker-access attacks and cross-detector transfer are important directions. As mentioned in our response to Reviewer 1cyb's Q6, query-limited SGC (FD-50) achieves an ASR of 0.236±0.056 on AIDS with OCGIN, compared with 0.067±0.026 for random editing and 0.294±0.050 for white-box SGC. In our response to Reviewer 1cyb's Q1-Q2, among the OCGIN-targeted evasions flagged by each auditing detector before editing, GLADC and GLocalKD continue to flag 94/97 and 94/100 after editing, indicating limited cross-detector transfer in this setting. We will include these observations and identify systematic evaluation across access levels and source-target detector pairs as future work.