GADMVP: Adaptive Few-Shot Graph-Level Anomaly Detection with Multi-View Structured Prompting
Xiaolin Han, Xiurui Hu, Lingyun Song, Yudai Pan, Xuequn Shang
NeurIPS 2026
Abstract. Graph-level anomaly detection plays a critical role in a wide range of applications, such as fraud detection in financial networks and malicious program detection, yet it remains challenging in real-world scenarios where labeled anomalous graphs are extremely scarce and graph structures are highly diverse. Existing few-shot methods often suffer from severe performance degradation due to the effects of class imbalance and structural imbalance, and they struggle to generalize to structurally deviant or rare anomalies. In this paper, we propose an adaptive few-shot graph-level anomaly detection model with multi-view structure-aware prompting (GADMVP). To mitigate structural imbalance, we construct a graph-of-graphs representation that facilitates cross-graph message passing, capturing both intra-graph semantics and inter-graph dependencies. Building upon these priors, we introduce a structure-aware graph prompting mechanism that extracts and adaptively refines anomaly-relevant prompts from a small set of labeled graphs. Extensive experiments on multiple benchmark datasets demonstrate that the proposed method consistently outperforms state-of-the-art few-shot graph anomaly detection baselines, while exhibiting strong robustness under extremely limited labeled data.
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:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes GADMVP, a novel framework for few‑shot graph‑level anomaly detection that tackles extreme label scarcity and structural heterogeneity through a graph‑of‑graphs view, cross‑graph relational modeling, adaptive multi‑view pre‑training, and structure‑aware prompt learning. Main strengths are the novel higher‑order dependency modeling and consistent empirical improvements over prior graph prompt adaptation methods. Weaknesses include the absence of multi‑run statistics and standard deviations, a missing ablation isolating the graph‑of‑graphs component, unspecified early‑stopping criteria and prompt regularization hyperparameter ranges in the main text, theoretical bounds presented without proof sketches, and insufficient end‑to‑end code documentation. Although the current evaluation would benefit from these clarifications, they do not diminish the core technical contribution. I would recommend acceptance if the authors add variance results over multiple seeds, include the missing ablation, clarify training details and label usage for prompts, and supply proof sketches or full documentation in the final version.
Final justification
After the rebuttal, two reviewers maintained their clear acceptance ratings, indicating that they were satisfied with the authors’ responses. One reviewer lowered their score, but their comments remained very positive and confirmed the paper’s contributions. In addition, this reviewer’s only negative comment was that the novelty was “incremental,” without further explanation. This concern should therefore be given less weight. Taking all the issues above into account, I maintain my final recommendation.
Read meta-review
Meta-review
This paper proposes GADMVP, a novel framework for few‑shot graph‑level anomaly detection that tackles extreme label scarcity and structural heterogeneity through a graph‑of‑graphs view, cross‑graph relational modeling, adaptive multi‑view pre‑training, and structure‑aware prompt learning. Main strengths are the novel higher‑order dependency modeling and consistent empirical improvements over prior graph prompt adaptation methods. Weaknesses include the absence of multi‑run statistics and standard deviations, a missing ablation isolating the graph‑of‑graphs component, unspecified early‑stopping criteria and prompt regularization hyperparameter ranges in the main text, theoretical bounds presented without proof sketches, and insufficient end‑to‑end code documentation. Although the current evaluation would benefit from these clarifications, they do not diminish the core technical contribution. I would recommend acceptance if the authors add variance results over multiple seeds, include the missing ablation, clarify training details and label usage for prompts, and supply proof sketches or full documentation in the final version.
Final justification
After the rebuttal, two reviewers maintained their clear acceptance ratings, indicating that they were satisfied with the authors’ responses. One reviewer lowered their score, but their comments remained very positive and confirmed the paper’s contributions. In addition, this reviewer’s only negative comment was that the novelty was “incremental,” without further explanation. This concern should therefore be given less weight. Taking all the issues above into account, I maintain my final recommendation.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies the problem of few-shot graph-level anomaly detection, where only a few labeled anomalous graphs are available, and graphs exhibit significant structural diversity. Extensive experiments on six datasets under 3-shot and 5-shot settings show that the proposed model outperforms existing baselines.
Strengths and weaknesses
Strengths:
- The method is technically sound, with clear formulations for GoG construction, and prompt generation/refinement.
- The paper's core idea of using a graph-of-graphs to model inter-graph dependencies for few-shot anomaly detection is innovative and well-motivated.
- GADMVP achieves better results across six datasets, with particularly large margins on PROTEINS and DD datasets.
Weaknesses:
- The evaluation focuses on graph-level anomaly detection. It is not discussed how the method might extend or compare to node-level or edge-level anomaly detection tasks.
- The prompt generation mechanism pools embeddings from labeled graphs and their neighbors. Is there guidance on how to choose it optimally for a given dataset?
- The paper claims theoretical generalization bounds (Theorems 1–4), but these are presented without formal proof sketches in the main text.
- The paper provides an anonymous code link, but no instructions on how to run the full pipeline (pre-training + fine-tuning + evaluation) end-to-end are included in the appendix or main text.
Questions
-
Could the proposed graph-of-graphs and prompting framework be adapted to node-level or edge-level anomaly detection? If so, what modifications would be required (e.g., treating each node as a graph or constructing hierarchical graphs)?
-
The prompt generation pools embeddings from labeled graphs and their neighbors. How is the neighborhood size n_h chosen?
-
Can some key theory with proof be included in the main text?
-
Beyond providing the URL, what specific steps or scripts are needed to run the code using the anonymous link?
Limitations
The authors have discussed some limitations.
Final justification
The authors’ rebuttal has satisfactorily addressed my concerns.
Formatting concerns
No major formatting concerns.
2 comments
The authors’ rebuttal has satisfactorily addressed my concerns. I am therefore raising my score to 5.
- Rating
- 3/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes GADMVP for few-shot graph-level anomaly detection. The method combines multi-view pre-training, graph-of-graphs-based cross-graph relational modeling, and structure-aware prompt learning to alleviate the scarcity of anomalous labels and structural imbalance among graphs. Extensive experiments show that the proposed method achieves the best performance across multiple datasets and few-shot settings.
Strengths and weaknesses
Strengths
- The problem studied in this paper has strong practical relevance, and the overall methodology is clearly presented.
- Prompts are generated from labeled graphs and their structural neighborhoods, providing more explicit task information compared to random initialization.
- Experiments cover multiple datasets, baseline methods, and 3-shot and 5-shot settings, achieving state-of-the-art results.
Weaknesses
- The current experiments only report results from a single run. Adding mean and standard deviation data under multiple random seeds should verify that the improvement in experimental results is not due to random fluctuations.
- Ablation analysis of the graph-of-graphs module is lacking. Could the authors supplement relevant experiments to verify the specific contribution of this module in alleviating structural imbalance?
- The discussion of existing graph prompt learning and few-shot methods is insufficient. A more comprehensive comparison would help clarify the novelty of the proposed approach.
Questions
- Some descriptions in the paper may contain contradictions: the problem definition only provides a small number of labeled anomaly graphs, but the prompt generation depends on the labels of both normal and anomaly graphs.
- Could the authors supplement the hyperparameter sensitivity experiments on more datasets?
- Figure 4 lacks the training time of the proposed method on the PC-3 dataset.
Limitations
yes
Final justification
After considering the rebuttal and reviewer discussion, I believe the additional experiments have partially addressed the concerns regarding empirical robustness and component effectiveness. However, the main concern about methodological originality remains unresolved. GADMVP primarily combines established techniques, including multi-view contrastive pre-training, graph-of-graphs message passing, and prototype-style prompt construction, while the rebuttal does not demonstrate a sufficiently distinct new learning mechanism beyond their integration. Given that the empirical results are promising but the technical contribution appears incremental.
Formatting concerns
No major formatting or anonymity concerns.
2 comments
Rebuttal
Weaknesses 1: Thank you for this valuable comment. Accordingly, we have repeated all methods on the PROTEINS dataset under both the 3-shot and 5-shot settings using five different random seeds, and report the mean AUC together with the standard deviation in the table below. As shown, GADMVP consistently achieves the best average performance in both settings, obtaining under the 3-shot setting and under the 5-shot setting. Moreover, the relatively small standard deviations indicate that the proposed method exhibits stable performance across different random initializations. These results confirm that the observed performance gains are robust and are not attributable to random fluctuations from a single experimental run.
| Method | 3-shot | 5-shot |
|---|---|---|
| GCN | ||
| GIN | ||
| GraphCL | ||
| GLocalKD | ||
| iGAD | ||
| SIGNET | ||
| GmapAD | ||
| MUSE | ||
| UniGAD | ||
| GADTrans | ||
| GADMVP | 0.7138 0.024 | 0.7730 0.020 |
Weaknesses 2: Thank you for this valuable comment. Accordingly, we have added an additional ablation variant, , to isolate the contribution of this component. Specifically, this variant removes the graph-of-graphs construction by eliminating cross-graph message passing and the associated graph--graph contrastive objectives during pre-training. In addition, prompt generation is performed directly from individual graph representations without aggregating information from neighboring graphs. The results are summarized in the table below. Compared with the full model, consistently yields inferior performance across all six datasets. This performance degradation demonstrates that the proposed graph-of-graphs module effectively captures cross-graph structural relationships, alleviates structural imbalance, and provides more discriminative graph representations for few-shot graph anomaly detection.
| Model | MUTAG | NCI1 | PROTEINS | DD | PC-3 | |
|---|---|---|---|---|---|---|
| 0.9417 | 0.6180 | 0.7147 | 0.6672 | 0.7849 | 0.5825 | |
| 0.9174 | 0.6051 | 0.7099 | 0.6459 | 0.7687 | 0.5754 | |
| 0.8934 | 0.5895 | 0.6808 | 0.6422 | 0.7271 | 0.5627 | |
| 0.8721 | 0.5779 | 0.6595 | 0.6049 | 0.7053 | 0.5615 | |
| 0.8691 | 0.5174 | 0.6017 | 0.5788 | 0.5393 | 0.5106 | |
| 0.9217 | 0.5958 | 0.6774 | 0.6272 | 0.7119 | 0.5655 |
Weaknesses 3: Thank you for this valuable comment. In the revised manuscript, we will expand the related work section to more clearly distinguish our method from both graph prompt learning and few-shot graph anomaly detection methods. Specifically, existing graph prompt learning approaches are primarily designed for supervised or fully labeled settings and generally do not address the challenges of few-shot anomaly detection, where only a handful of anomalous graphs are available. In contrast, existing few-shot graph anomaly detection methods predominantly rely on meta-learning, which often involve complex optimization procedures and lack of efficient adaptation. Our method bridges these two directions by introducing a structure-aware graph prompting framework specifically designed for few-shot graph-level anomaly detection, enabling efficient adaptation under extremely limited supervision without resorting to meta-learning.
Question 1: Thank you for pointing out this potential inconsistency. In our setting, only a small number of anomalous graphs are explicitly labeled, while the remaining training graphs are treated as normal graphs, following the common practice in prior few-shot graph anomaly detection studies (Ding et al., 2021; Zhao et al., 2024). Consequently, anomaly prompts are generated from the few labeled anomalous graphs, whereas normal prompts are generated by pooling representations of the remaining training graphs and their neighborhoods. Therefore, our prompt generation mechanism does not require explicit normal labels and is consistent with the problem definition. We will revise the manuscript to clarify this assumption in the problem formulation and the prompt generation section to avoid any confusion.
References:
- Ding K, Zhou Q, Tong H, et al. Few-shot network anomaly detection via cross-network meta-learning[C]//Proceedings of the web conference 2021. 2021: 2448-2456.
- Zhao H, Zi C, Liu Y, et al. Weakly supervised anomaly detection via knowledge-data alignment[C]//Proceedings of the ACM Web Conference 2024. 2024: 4083-4094.
Question 2: Thank you for this valuable comment. Accordingly, we have supplemented the hyperparameter sensitivity analysis on the REDDIT dataset in addition to PROTEINS, covering all key hyperparameters, including the number of graph-level neighbors (), the number of sampled node neighbors for prompt generation (), the regularization weight (), the structural imbalance ratio (), and the augmentation threshold (). The results are summarized in the tables below. Overall, the trends observed on REDDIT are highly consistent with those on PROTEINS. Moreover, GADMVP maintains relatively stable performance over a broad range of hyperparameter values, indicating that the proposed framework is not overly sensitive to parameter selection. These additional experiments further demonstrate the robustness and generalizability of GADMVP across different datasets.
Sensitivity to the number of graph-level neighbors ():
| PROTEINS | ||
|---|---|---|
| 1 | 0.6670 | 0.7457 |
| 3 | 0.6463 | 0.7603 |
| 5 | 0.6930 | 0.7782 |
| 7 | 0.7147 | 0.7849 |
| 9 | 0.6416 | 0.7508 |
Sensitivity to the number of sampled node neighbors ():
| PROTEINS | ||
|---|---|---|
| 3 | 0.7110 | 0.7588 |
| 9 | 0.6916 | 0.7747 |
| 15 | 0.7147 | 0.7849 |
| 21 | 0.6641 | 0.7673 |
| 27 | 0.6648 | 0.7556 |
Sensitivity to the regularization weight ():
| PROTEINS | ||
|---|---|---|
| 0.01 | 0.6684 | 0.7689 |
| 0.10 | 0.7147 | 0.7773 |
| 0.20 | 0.6508 | 0.7849 |
| 0.30 | 0.6642 | 0.7668 |
| 0.40 | 0.6408 | 0.7542 |
Sensitivity to the structural imbalance ratio ():
| PROTEINS | ||
|---|---|---|
| 0.1 | 0.6119 | 0.7103 |
| 0.3 | 0.6480 | 0.7393 |
| 0.5 | 0.6763 | 0.7849 |
| 0.7 | 0.7147 | 0.7641 |
| 0.9 | 0.7109 | 0.7702 |
Sensitivity to the augmentation threshold ():
| PROTEINS | ||
|---|---|---|
| 0.4 | 0.6127 | 0.7209 |
| 0.5 | 0.7147 | 0.7704 |
| 0.6 | 0.6915 | 0.7849 |
| 0.7 | 0.6814 | 0.7551 |
| 0.8 | 0.6441 | 0.7305 |
Question 3: Thank you for pointing this out. The missing training time of GADMVP on the PC-3 dataset in Figure 4 was caused by a minor issue in the plotting script rather than a missing experiment. We have corrected the plotting code and regenerated the figure. The revised Figure 4 now includes the complete training time of GADMVP on the PC-3 dataset, together with the full training and inference time comparisons across all six datasets. For completeness, we also provide the corrected numerical results below.
Testing Time (s):
| Model | MUTAG | NCI1 | PROTEINS | DD | PC-3 | |
|---|---|---|---|---|---|---|
| GCN | 0.05 | 2.04 | 0.57 | 2.75 | 3.58 | 18.83 |
| GIN | 0.0154 | 0.1865 | 0.0683 | 0.2341 | 0.4721 | 2.0833 |
| GraphCL | 0.003 | 0.1597 | 0.0312 | 0.0885 | 0.0659 | 1.337 |
| GLocalKD | 0.1508 | 4.45 | 2.324 | 69.03 | 45.4 | 55.2 |
| iGAD | 0.03 | 0.86 | 0.46 | 10.54 | 12.13 | 9.32 |
| SIGNET | 0.091 | 0.093 | 0.034 | 0.13 | 0.064 | 1.444 |
| GmapAD | 0.0032 | 0.0051 | 0.0029 | 0.003 | 0.0033 | 0.0394 |
| MUSE | 0.002 | 0.004 | 0.003 | 0.003 | 0.003 | 0.0356 |
| UniGAD | 0.1074 | 1.679 | 0.4789 | 0.5931 | 0.7657 | 38.4858 |
| GADTrans | 0.04 | 0.78 | 0.41 | 5.99 | 8.06 | 8.93 |
| GADMVP | 0.0070 | 0.0263 | 0.0151 | 0.0444 | 0.0104 | 0.0991 |
Training Time (s):
| Model | MUTAG | NCI1 | PROTEINS | DD | PC-3 | |
|---|---|---|---|---|---|---|
| GCN | 0.058 | 0.084 | 0.075 | 0.169 | 0.174 | 0.089 |
| GIN | 0.209 | 0.2212 | 0.2093 | 0.4227 | 0.4301 | 0.3523 |
| GraphCL | 0.021 | 0.0285 | 0.034 | 0.044 | 0.027 | 0.0249 |
| GLocalKD | 0.0315 | 0.0339 | 0.0836 | 3.483 | 1.414 | 0.0456 |
| iGAD | 0.0261 | 0.0371 | 0.0331 | 0.2443 | 0.2106 | 0.0247 |
| SIGNET | 0.0372 | 0.0361 | 0.0355 | 0.0362 | 0.0371 | 0.0365 |
| GmapAD | 0.105 | 0.1092 | 0.107 | 0.1186 | 0.1172 | 0.109 |
| MUSE | 0.01453 | 0.01775 | 0.0155 | 0.02269 | 0.0338 | 0.0343 |
| UniGAD | 0.1354 | 0.138 | 0.1363 | 0.1525 | 0.1486 | 0.1424 |
| GADTrans | 0.0371 | 0.0355 | 0.0382 | 0.0535 | 0.0805 | 0.052 |
| GADMVP | 0.056 | 0.0597 | 0.0595 | 0.069 | 0.0656 | 0.032 |
Thank you for the detailed rebuttal and additional experiments, which improve the empirical completeness of the paper. However, GADMVP largely combines established components, including multi-view contrastive pre-training, graph-of-graphs message passing, neighborhood-based prototype/prompt construction, and standard orthogonality and contrastive regularization. The rebuttal demonstrates that these components are useful, but does not establish a sufficiently distinct technical mechanism beyond their integration or provide controlled comparisons against direct combinations of these existing techniques. Given that the methodological contribution appears incremental despite the strong empirical results, I lower my rating from 4 to 3.
- Rating
- 5/6
- Confidence
- 5/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper addresses the challenging problem of graph-level few-shot anomaly detection under conditions of extreme label scarcity and structural heterogeneity. The paper proposes GADMVP, a novel relationally-augmented few-shot learning paradigm. Extensive experiments across six benchmark datasets under 3-shot and 5-shot settings demonstrate that GADMVP consistently outperforms state-of-the-art baselines.
Strengths and weaknesses
Strengths:
- Unlike existing graph prompt adaptation methods that treat graphs as independent instances, this work introduces cross-graph relational modeling as a new inductive bias, effectively utilizing a graph-of-graphs view to capture higher-order inter-graph dependencies.
- The multi-view pre-training strategy is cleverly structured, using an adaptive, structure-aware augmentation mechanism that successfully accommodates varying topological complexities.
- GADMVP consistently achieves state-of-the-art results across all six benchmark datasets under both 3-shot and 5-shot configurations, demonstrating notable performance gains on highly complex structures.
Weaknesses:
- Constructing and performing message passing on a secondary "graph-of-graphs" structure introduces extra computational overhead during training, which might slow down the running time.
- In Section 3.2, a hyperparameter is introduced in Equation 9 to control the strength of the prompt regularization term. However, its exact selection range is not explicitly mentioned in the main methodology text until the experimental setup.
- Section 4.1.3 states that both the pre-training and fine-tuning stages utilize an early-stopping patience of 20 epochs. However, the paper does not explicitly mention which validation metric (e.g., validation loss or validation AUC) is used to trigger the early stopping.
Questions
- What is the actual training and inference time overhead of the proposed model compared to a standard baseline?
- Could the authors explicitly clarify in the text of Section 3.2 how the hyperparameter is selected?
- What specific metric was monitored on the validation set for the early-stopping criteria during the pre-training and fine-tuning phases?
Limitations
yes
Formatting concerns
No
2 comments
Rebuttal
Weaknesses 1: Thank you for this valuable comment. We agree that introducing the graph-of-graphs (GoG) structure incurs additional computation during training. To quantitatively evaluate this overhead, we have included a comprehensive efficiency study in Figure 4 of the appendix, which reports both training time per epoch and inference time for all compared methods across six benchmark datasets. As shown in Figure 4, although GADMVP performs additional cross-graph message passing on the GoG, its training and inference times remain competitive, and are comparable to or even lower than several recent state-of-the-art baselines (e.g., GLocalKD and GADTrans). This is because (1) the GoG is sparsified by retaining only the top- neighbors for each graph, and (2) during fine-tuning, only the lightweight prompt parameters are updated while the GNN backbone remains fixed. Therefore, the proposed GoG introduces only modest computational overhead while providing substantial performance improvements.
Weaknesses 2: Thank you for this helpful comment. In the revised manuscript, we will clarify in Section 3.2 that the regularization weight is selected via grid search from the candidate set $ {0.1, 0.2, 0.3, 0.4}$, with the optimal value determined on the validation set.
Weaknesses 3: Thank you for pointing out this missing detail. We confirm that the validation AUC is used as the early stopping criterion during both the pre-training and fine-tuning stages. Specifically, training is terminated if the validation AUC does not improve for 20 consecutive epochs, and the checkpoint achieving the highest validation AUC is retained for subsequent evaluation. We will clarify this in the revised manuscript.
The authors have solved all my questions. Thank you for your thorough responses. I have decided to keep my score.
Comments on the paper
1 comment
Dear Reviewers,
Please read the authors' rebuttal and discuss. Does the author response change your current assessment of the paper?
Best, AC
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Weaknesses 1: Thank you for this insightful question. Yes, the proposed graph-of-graphs and prompting framework can be adapted to node-level or edge-level anomaly detection. For node-level anomaly detection, one possible adaptation would be to construct a higher-level graph in which each node represents a local subgraph (e.g., an ego-network or neighborhood centered at a target node), allowing cross-subgraph message passing and prompt learning over structurally similar local regions. Similarly, for edge-level anomaly detection, each edge could be represented by its associated local enclosing subgraph, and a graph-of-subgraphs could then be constructed to model relationships among edge-centric structures. The proposed structure-aware prompting mechanism could subsequently be applied to these higher-level representations in the same manner as in our graph-level framework. These extensions would require redesigning the instance representation and the graph-of-graphs construction to accommodate node- or edge-centric contexts, and therefore constitute interesting directions for future work rather than the focus of the current paper. We will add this discussion to the revised manuscript to better clarify the scope and potential extensibility of our framework.
Weaknesses 2: Thank you for this insightful question. The prompt generation mechanism in Equation 7 is identical for all datasets and does not require dataset-specific design. Specifically, prompts are generated by average pooling the embeddings of labeled graphs together with their neighboring graphs in the graph-of-graphs, providing a unified and general mechanism across different datasets. The only dataset-dependent hyperparameter is the neighborhood size $nh$, which controls how many neighboring graphs are included in the pooling process. As described in the experimental setup, nh is selected via grid search from the candidate set {3, 9, 15, 21, 27}, and the optimal value is determined on the validation set. We will clarify these points in the revised manuscript to make the prompt generation strategy and the selection of nh more explicit.
Weaknesses 3: Thank you for this valuable suggestion. Due to the strict page limit of the main paper, we present the theorem statements in the main text and provide the complete proofs of Theorems 1–4 in the Appendix, together with the complexity analysis (Theorem 5). The appendix includes the detailed proof steps supporting all theoretical claims. We will further include key proof sketches in the main text in our revised paper, making it easier for readers to locate the theoretical details.
Weaknesses 4: Thank you for this valuable comment. We have added an executable script to the anonymous code repository to facilitate reproducibility. Users only need to specify the dataset and the corresponding experimental parameters, after which the script automatically executes the complete pipeline, including pre-training, fine-tuning, and evaluation.