potentialpaper

A Solver-Efficient Neural Adversarial Attack on Subgraph Matching Models

Ninad Jayesh Gandhi, Mayukh Mondal, Brian S. Mackwan, Soumen Chakrabarti, Abir De

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We design trainable models to detect label preserving node pairs which will make efficient adversarial attacks on neural graph matching system

Abstract. Neural subgraph matching (NSGM) models are widely used for graph retrieval, where relevance labels for query–corpus pairs are determined by whether the query graph is a subgraph of the corpus graph. Despite widespread applications, the adversarial robustness of such models remains underexplored. In principle, adversarial attacks should induce minimal shift of the instance distribution and the target labels. However, in NSGM, a single edge insertion or deletion can flip relevance labels. Detecting or controlling label flips requires repeated calls to potentially expensive combinatorial solvers. Responding to this challenge, we propose SEAGRAM, a solver-efficient adversarial attack method. It learns to detect non-critical node pairs whose perturbations will likely preserve relevance labels, thereby avoiding solver calls during test time. We further employ an active learning strategy, which reduces the solver calls also during training. Experiments show that SEAGRAM significantly worsens the performance of existing models.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

SEAGRAM studies adversarial attacks on neural subgraph-matching models, where even checking whether a perturbation preserves the true label requires an expensive combinatorial solver. The paper addresses this bottleneck with a learned criticality predictor and active learning, and reports strong attack results across several datasets and target models. The problem is interesting and underexplored, and the experimental study includes useful ablations. The main concern is whether the generated attacks are valid. At test time, label preservation is determined only by CRITNET rather than the exact solver. False positives may therefore change the true relevance label, in which case part of the reported degradation would not constitute a valid adversarial attack. The paper should report CRITNET’s precision on predicted non-critical pairs and attack performance restricted to solver-verified, label-preserving perturbations. It should also clarify whether the setting is an evasion or corpus-poisoning attack and measure the effect of a query-specific perturbation on other queries sharing the same corpus graph. I lean toward poster acceptance because the problem and approach are original and the empirical results are promising. However, this assessment depends on the rebuttal establishing that the attacks genuinely preserve the ground-truth labels.

Final justification

The rebuttal addresses the central validity concern by providing further clarification and evidence regarding whether the CRITNET-selected perturbations preserve the true labels. Reviewer CL41 raised the score from 3 to 4 after the response, while Reviewer UWqc remained positive with an initial score of 5. Although Reviewer oQNM did not participate further in the discussion, the overall assessment is favorable, with final scores of 4/4/5. The problem is original and relevant, and the empirical results are promising. I therefore recommend acceptance as a poster.

Area Chair aw8j · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

SEAGRAM studies adversarial attacks on neural subgraph-matching models, where even checking whether a perturbation preserves the true label requires an expensive combinatorial solver. The paper addresses this bottleneck with a learned criticality predictor and active learning, and reports strong attack results across several datasets and target models. The problem is interesting and underexplored, and the experimental study includes useful ablations. The main concern is whether the generated attacks are valid. At test time, label preservation is determined only by CRITNET rather than the exact solver. False positives may therefore change the true relevance label, in which case part of the reported degradation would not constitute a valid adversarial attack. The paper should report CRITNET’s precision on predicted non-critical pairs and attack performance restricted to solver-verified, label-preserving perturbations. It should also clarify whether the setting is an evasion or corpus-poisoning attack and measure the effect of a query-specific perturbation on other queries sharing the same corpus graph. I lean toward poster acceptance because the problem and approach are original and the empirical results are promising. However, this assessment depends on the rebuttal establishing that the attacks genuinely preserve the ground-truth labels.

Final justification

The rebuttal addresses the central validity concern by providing further clarification and evidence regarding whether the CRITNET-selected perturbations preserve the true labels. Reviewer CL41 raised the score from 3 to 4 after the response, while Reviewer UWqc remained positive with an initial score of 5. Although Reviewer oQNM did not participate further in the discussion, the overall assessment is favorable, with final scores of 4/4/5. The problem is original and relevant, and the empirical results are promising. I therefore recommend acceptance as a poster.

Reviewer UWqcOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/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

The paper proposes a new method to generate adversarial attacks on Neural Subgraph Matching (NSGM) models. The main innovation is a neural model that classifies critical and non-critical node pairs. Between the latter, edges can be flipped without changing the true underlying relevance score, an important factor for good attacks. Further, the method does not rely on knowing the victim model and computes perturbations based on a surrogate model, enabling both white box and black box attacks.

Strengths and weaknesses

Strengths

  • The motivation is clearly stated and convincing.
  • The paper is clearly written and the proposed method is well explained.
  • The experiments showcase the effectiveness of the method compared to a variety of other methods.
  • Ablation studies are performed to investigate the effect of different features such as the active learning and interaction between clean and perturbed graph embeddings. The results clearly show a positive impact on the effectiveness of the overall method.

Weaknesses

  • A relevant work/context section is missing in the main text. There is substantial text in the appendix both on related work and on the other baseline method for the comparison in the experiment section. Including a shorten version in the main text (especially small explanations of the other baseline methods) would strengthen the message of the paper.
  • The definition of MAP is missing in the main text. Including it would help with the interpretation of the results.
Questions
  • Do the authors have any statistics on how likely false positives and false negatives are within both CRITNET versions? From the experiments, it seems that CRITNET (early) is more accurate?
  • What are the computational costs for Algorithm 1 with solver access and SEAGRAM under both CRITNET versions? CRITNET (early), while seemingly having better classifications, also seems more expensive to train since the query graph embedding has to be computed multiples times.
  • Was there the expectation that dependent embedding in CRITNET (early) would lead to better results? If not, what was the motivation for developing the early version?
  • The difference in MAP between white box and black box for the solver-access version is more substantial than for SEAGRAM. This seems counterintuitive to me as my expectation would be that the “fully correct” version would be impacted less. (”Fully correct” as in every flip is indeed between non-critical pairs.)
  • The authors mention flipping multiple edges as a natural extension which could also mitigate the search cost of the best disruption. Would there be a threshold on how many edges can be sensible flipped before the attacks get weaker again? Would multiple edge flipping yield stronger attacks in general?
  • Can the framework be easily extended to graphs with rich features as mentioned in the limitations?
  • GM and IN seem pretty similar as substitute models in Figure 6 also in the early variant?
  • In Algorithm 1, line 14 should be on the same level as the for loop.
Limitations
  • The limitations are given only in the appendix. They raise good and relevant points and including them in the main text would balance the paper better.
Final justification

The paper successfully tackles an open issue regarding Neural Subgraph Matching (NSGM) models. The authors explain why good adversarial attacks are important and the difficulty of generating them. The authors have answered the questions of the reviewers in detail, especially regarding CRITNET's accuracy which was a concern for all reviewers.

Formatting concerns

No concerns

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their comment, which will help us to improve our paper.

... relevant work/context section is missing in the main text.

Neurips allows an extra page in camera ready version. We will add a related work section in the revised manuscript

The definition of MAP is missing in the main text.

We will add the definition of MAP in Section 5 (Experiments) in main text, using the extra page neurips offers.

Do the authors have any statistics on how likely false positives and false negatives are within both CRITNET versions? From the experiments, it seems that CRITNET (early) is more accurate?

We report the false-negative rate (FNR), false-positive rate (FPR), and AUC. Here, a truly critical edge (positive) predicted non-critical (False negative) causing a silent true label flip corresponds to the FNR.

CritNet (Late)

Dataset FNR (For Relevant pairs) FPR (For Relevant pairs) FNR (For Non-Relevant pairs) FPR (For Non-Relevant pairs) AUC (overall)
AIDS 0.0008 0.0652 0.1591 0.2638 0.8946
FM 0.1033 0.0397 0.1466 0.3070 0.9467
FR 0.0323 0.0519 0.2219 0.2082 0.9479
MM 0.0096 0.0642 0.1760 0.2609 0.9423
MR 0.0075 0.0646 0.1202 0.2785 0.9279

CritNet (Early)

Dataset FNR (For Relevant pairs) FPR (For Relevant pairs) FNR (For Non-Relevant pairs) FPR (For Non-Relevant pairs) AUC (overall)
AIDS 0.0075 0.04 0.0865 0.2188 0.9603
FM 0.0036 0.0645 0.0862 0.2222 0.9559
FR 0.055 0.0387 0.1294 0.1702 0.9587
MM 0.0076 0.0509 0.096 0.1984 0.9588
MR 0.0035 0.0592 0.0956 0.1714 0.9662

We make following observations:

  • For relevant graph pairs, both variants of CritNet are extremely accurate. For non-relevant graph pairs, CritNet-late is moderately accurate, whereas CritNet early is highly accurate. The overall AUC is also quite high. In context of adversarial attack, it is more important to inject accurate attack on relevant pairs than non-relevant pairs. In that context, CritNet is accurately able to detect the critical pairs for relevant graph pairs, causing powerful adversarial attack.

  • Performance of CritNet (Early) is significantly better than CritNet (Late).

...computational costs for Algorithm 1 with solver access and SEAGRAM under both CRITNET versions?

We first compute the computational complexity of SEAGRAM under both variants of CRITNET.

Time complexity of CritNet (late)

Say N is number of nodes, K is number of layers and T is number of rounds.

  • Clean graph embedding: Featurization has O(N)O(N) complexity. KK layers of message passing and update gives O(KN+KE)O(KN + KE) complexity.
  • Perturbation aware graph embedding: Per layer, the interaction MLP ηθ\eta _\theta over all nodes costs O(N)O(N). Similar to above, message passing plus update costs O(KN+KE)O(KN+KE). Alignment and distance computation costs O(N2)O(N^2). Hence, overall complexity is O(N2+KE+KN)=O(N2+KE)O(N^2 + KE+KN)=O(N^2+KE),

Time complexity of CritNet (early)

Here, intermediate embedding computation βq,t,ℓ−1(u)=∑v∈GcRt−1[u,v],hc,t,ℓ−1(v)\beta _{q,t,\ell-1}(u) = \sum _{v \in G _c} R _{t-1}[u,v], h _{c,t,\ell-1}(v) costs O(N)O(N) per node, per layer and per round. Hence, total complexity for intermediate embedding computation is O(KTN2)O(KTN^2). Next, we compute clean and perturbation aware graph embeddings for each round and each layer. Therefore, the complexity is O(TN2+KTE)O(TN^2+KTE). Hence the total complexity is O(KTN2+KTE)O(KTN^2+KTE).

On the other hand, solver seeks to solve an NP-Hard problem for each query corpus pair. To understand this empirically, we compute the speed up of SEAGRAM over solver under both variants of CRITNET. Following table shows the results.

Dataset CritNet(Late) (no-batch) CritNet(Late)(Batch) CritNet(Early) (no-batch) CritNet(Early)(batch)
AIDS 15.22 2152.07 5.49 1231.86
FM 12.96 2399.98 5.01 1032.24
FR 17.61 2186.23 5.14 1097.13
MM 18.93 2665.64 5.75 1244.03
MR 18.12 2496.37 5.51 1194.32

CritNet late (early) achieves >10x (> 5x) speedup over the solver without any batching, and > 2000x (>1000x) with batched inference.

Indeed CritNet (early) is less efficient than CritNet (late) but it results in more powerful attack, and still substantially faster than solver based attacks.

Was there the expectation that dependent embedding in CRITNET (early) would lead to better results? If not, what was the motivation for developing the early version?

Yes, it is indeed the expectation that dependent embedding in CRITNET (early) would lead to better results. This is also shown in prior work [Isonet++ and GMN]. This is because, early interaction model allows powerful interaction between query and corpus graphs, which allows to capture alignment between graphs more accurately. Our results in Table 4 also shows similar trend, i.e., CRITNET (early) results in more powerful attack.

The difference in MAP between white box and black box for the solver-access version is more substantial than for SEAGRAM. This seems counterintuitive to me as my expectation would be that the “fully correct” version would be impacted less. (”Fully correct” as in every flip is indeed between non-critical pairs.)

This is because the optimal perturbation for one victim model is very different from the optimal perturbation for another victim model. Even if both flips are label-preserving, the distances computed by victims may be widely different. This is supported by our experiments (Table 4): for one single perturbation per graph, the performance deteriorates heavily (MAP decreases to even <0.2 from 0.8+). As a result, if we assume victim ≠\neq substitute (black box attack), the computed perturbation is significantly different from the true perturbation computed by the victim model: this makes it a much weaker attack than white box.

However, for SEAGRAM, CRITNET sometimes chooses poor perturbations for both white and black box attacks. As a result, the gap between MAP values for white box and black is low.

The authors mention flipping multiple edges as a natural extension which could also mitigate the search cost of the best disruption. Would there be a threshold on how many edges can be sensibly flipped before the attacks get weaker again? Would multiple edge flipping yield stronger attacks in general?

Our method has no specific threshold of this nature, but detectability of attacks may depend on the underlying generative process of the graphs. For example, if an application involves only regular graphs with known (or strongly concentrated) degree, even a single (small number of) perturbation is detectable. On the other hand, for a power-law graph, addition of several edges incident on high degree nodes can remain undetected.

Multiple flips may not yield a stronger attack. For example, consider a graph a—b—c. If we delete an edge a–b and connect c—a, then the graph remains isomorphic.

Can the framework be easily extended to graphs with rich features as mentioned in the limitations?

Yes. To extend our framework to graphs with rich features, we can add a regularizer for penalizing the alignment of nodes that are separated in the feature space as below:

\begin{align} d ^{\text{feat}} _{\theta} (G _q, G _c) = || [H _q - R H _c ] _+ || _{1,1} + \lambda \sum _{i,j} R _{i,j} ||[x ^q _i- x ^c _j]|| \end{align} where xiq,xjcx ^q _i, x ^c _j are node embeddings, HH indicates graph node embedding matrix, RR indicates alignment matrix. λ\lambda is a regularizer.

GM and IN seem pretty similar as substitute models in Figure 6 also in the early variant?

We believe that GM and IN looked similar because we plotted as a bar plot. Instead, we use a table to report those MAP degradation values (Relative Reduction in MAP) to show the difference in actual values.

Sψ\mathcal{S} _\psi = GM (FM)

Victim RRM (Early) RRM (Late)
IE 45.11 35.98
IN 48.14 36.52
GE 56.84 45.51
IN++ 40.79 31.49
IE++ 39.45 29.33

Sψ\mathcal{S} _\psi = IN (FM)

Victim RRM (Early) RRM (Late)
IE 48.62 40.60
GE 52.60 43.71
GM 47.25 37.89
IN++ 39.76 31.95
IE++ 40.35 32.04

It shows that RRM for Early model is quite high.

In Algorithm 1, line 14 should be on the same level as the for loop.

This is correct. We will make the required change in the revised manuscript.

Reviewer UWqc · CommentOpenReview ↗

Thank you for the rebuttal

Thank you for the detailed rebuttal. All my questions are answered. The additional data is convincing and detailed. It might be beneficial to add the study of the classification of CRITNET to the appendix. I have also checked the other reviews and corresponding answers and am confident in accepting this paper.

Reviewer cL41OpenReview ↗
Rating
4/6
Confidence
3/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

To address the adversarial robustness of neural subgraph matching (NSGM) models and the computational bottleneck caused by repeatedly calling solvers, this paper proposes an adversarial attack framework named SEAGRAM. Specifically, a predictive network called CRITNET is designed to identify node pairs whose single-edge perturbations do not alter the relevance labels, thereby avoiding the usage of exact solvers during the testing phase. Furthermore, an active learning strategy is adopted to further reduce solver calls during training. Extensive experiments on multiple datasets demonstrate the effectiveness of the proposed method.

Strengths and weaknesses

Weakness:

①There is a conceptual misunderstanding in the second paragraph of the Introduction regarding image adversarial attacks. In image adversarial attacks, the fundamental objective of applying perturbations is to mislead the model into making incorrect classifications, meaning that the predicted labels must change. To ensure that these perturbations remain imperceptible to human eyes, they are strictly constrained to be subtle. This mechanism is different from the objective in NSGM adversarial attacks.

②The stated contributions of this paper appear redundant and are not unique to this work; as such, the actual contributions need to be further clarified and condensed. Furthermore, the methodology employed in this paper lacks sufficient novelty.

③The paper lacks parameter sensitivity analysis, ablation studies, and time complexity analysis.

④Some mathematical formulas lack proper formalization and rigorous definitions;There are numerous minor errors and typos throughout the text: a period is missing right after Equation (1), a “:” is incorrectly used in Equation (7), the notations in Equations (8-9) fail to correspond with those in Figure 3, the dataset description section contains incorrect punctuation at the end of sentences; and in the Baselines subsection, the citation brackets are improperly mixed with the text.

Strength:

①SEAGRAM is introduced in NSGM to assess model adversarial robustness.

②Extensive experiments on multiple datasets demonstrate the effectiveness of the proposed method.

Questions

①Is this paper the first to investigate the adversarial robustness of NSGM models? If so, the authors should provide a rigorous formalization for this type of problem. If not, proper citations to relevant existing literature in this domain must be included.

②In the "Attack protocol" section, it is explicitly stated that the attack occurs during the testing phase, which corresponds to an evasion attack in traditional adversarial attack literature [1]. However, the authors proceed to mention "passage poisoning attacks." It is necessary to further clarify the definitions of evasion attacks and poisoning attacks within the context of subgraph matching, and clearly specify which type of attack this work belongs to.

③Is it feasible to obtain the relevance labels in both white-box and black-box settings? Does this align with existing white-box and black-box threat models? If this is a pioneering setup, the authors need to justify the rationality and realism of such a setting.

④What is the fundamental difference between CRITNET (early) and CRITNET (late)?

[1] Sun, L., Dou, Y., Yang, C., Zhang, K., Wang, J., Yu, P. S., ... & Li, B. (2023). Adversarial Attack and Defense on Graph Data: A Survey. IEEE Transactions on Knowledge and Data Engineering, 35(8), 7693-7711.

Limitations

yes

Final justification

The authors have addressed most of my major concerns. In particular, their explanations regarding the motivation of the proposed method, the effectiveness of the key components, and the additional experimental analysis have improved my understanding of the contribution and validity of the approach. The responses also clarified several ambiguities in the original submission.

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their comments, which will improve our paper.

rigorous formalization for this type of problem...

Yes, this paper is the first to investigate adversarial robustness of NSGM models. Below we give a rigorous formulation.

At a high level, image attack models perform the perturbation on (x,y)(x,y) pair in the following way:

\begin{align} \max _{\delta: ||\delta||<\epsilon} \ell(h _\psi (x +\delta),y) -- (A) \end{align}

We formulate adversarial attacks of NSGM in a similar manner. We perturb a graph very minimally (flipping only one node pair) such that the model prediction is incorrect, while the label remains the same (like image). For a graph pair Gq,GcG _q, G _c and relevance labels y(Gq,Gc)y (G _q, G _c), we build a set Γq,c\Gamma _{q,c} as the set of node pairs (a,b)(a,b) of GcG _c whose flipping will not perturb the label y(Gq,Gc)y(G _q, G _c), i.e., y(Gq,Gc)=y(Gq,Gc⊕(a,b))y(G _q, G _c) = y (G _q, G _c \oplus (a,b)). Then, we perform the following label preserving optimization

\begin{align} \max _{(a,b) \in \Gamma _{q,c}} \ell(-d _\psi\big(G _q, G _c \oplus \{(a,b)\}), y(G _q, G _c) \big) --- (B) \end{align}

−dψ-d _\psi plays the role of the classifier score (smaller distance means relevant). A standard classification loss ℓ(h,y)\ell(h,y) (logistic/CE, hinge/SVM, exponential) on scalar hh and binary labels yy is a decreasing function of y⋅hy\cdot h. For example if ℓ\ell is logistic or CE loss, then ℓ(h(x),y)=log⁡(1+exp⁡(−y⋅h(x)))\ell(h(x),y) = \log(1+\exp(-y\cdot h(x))) is strictly decreasing in y⋅h(x)y\cdot h(x).

Substituting h=−dψh=-d _\psi ensures that ℓ(−dψ,y)\ell(-d _\psi,y) is an increasing function of y⋅dψy\cdot d _\psi. Due to this result, maximizing the objective in Eq C is exactly the same as our optimization problem in Eq (1).

\begin{align} \max _{(a,b) \in \Gamma _{q,c}} y(G _q, G _c) \cdot d _\psi\big(G _q, G _c \oplus \{(a,b)\}\big) -- (C) \end{align}

Role of CritNet Constructing Γq,c\Gamma _{q,c} requires testing, per pair (a,b)(a,b), whether the flip preserves the subgraph-isomorphism relation, an NP hard test via a combinatorial solver. CritNet avoids it by predicting whether (a,b)(a,b) is critical based on ((a,b),Gq,Gc)((a,b), G _q, G _c) taken as input.

second paragraph of the Introduction regarding image adversarial attacks...different from the objective in NSGM adversarial attacks.

We agree the goal of an image attack is to flip the predicted label. In the second paragraph, we meant that imperceptible noise preserves the true label (not the predicted label). We will revise it to make this explicit.

We would like to highlight that there are both similarities and differences between adversarial attacks on images and NSGM systems.

As the reviewer correctly pointed out, the perturbations in images are imperceptible to human eyes. Since, here the true label is assigned by a human annotator, an imperceptible perturbation leaves it unchanged. In NSGM, the true label y(Gq,Gc)y(G _q, G _c) is instead determined combinatorially, by whether Gq⊆GcG _q \subseteq G _c. Therefore, unlike images, here imperceptibility is structural rather than perceptual.

Similar to images, we also aim to mislead the model to ensure change in predicted label. As we have shown above, our adversarial goal in Eq C is equivalent to the optimization in Eq B, which is similar to image domain (Eq A). But, in most image classification settings that involve multilabel classifications, hψ(x)h _\psi (x) are logits rather than scalars. In contrast, we have scalar dψd _{\psi} and binary relevance labels. This allows us to convert Eq (A) into Eq (B) via monotonicity argument on y⋅dψy \cdot d _\psi.

contributions appear redundant

We provided several details in contribution header, which made it difficult to isolate contributions. We agree that intro and contribution should be condensed. Our key contributions are as follows.

A new attack problem on NSGM models: To the best of our knowledge, no prior work studies adversarial robustness of neural subgraph matching retrievers. This setting differs fundamentally from adversarial attacks on images and from existing attacks on graph based models. Here the ground truth label is computed using a combinatorial solver, determined by whether Gq⊆GcG _q \subseteq G _c, hence a single edge flip can change it. Therefore, we need to perform combinatorial check for each perturbation, to ensure label flips do not happen. In contrast, existing attacks on graph based applications ([26,27,33,29], do not target the retrieval relevance distance under a label preservation constraint.

A solver-free mechanism to enforce label preservation: Enforcing label preservation constraint requires a large number of calls to NP-hard problem solver. Our key technical contribution is CritNet, a classifier that predicts whether a flip preserves the constraint or not. Unlike a standard GNN that encodes one graph, CritNet conditions the perturbed-graph embedding on the clean graph, so two isomorphic graphs from different flips receive distinct embeddings.

Solver-efficient training via active learning: Even training CritNet needs solver labeled pairs, which we reduce using active learning. Here, we query the solver only near CritNet's decision boundary, reducing solver cost during training.

The paper lacks parameter sensitivity analysis, ablation studies, and time complexity analysis.

We first perform parameter sensitivity analysis, where we vary CritNet margin parameters (Eq 15 in paper) on log scale and report AUC for classification accuracy of CritNet and adversarial MAP (lower is better) for FM and MM datasets as follows:

Vϕ=Sψ\mathcal{V} _\phi = \mathcal{S} _\psi = IE

Dataset Margins AUC MAP
FM 0.1 0.925 0.569
1 0.956 0.335
10 0.941 0.571
MM 0.1 0.927 0.542
1 0.959 0.299
10 0.938 0.540

We note that at margin 11, the AUC for CritNet is highest, resulting in the lowest MAP.

Next, we provide two ablations for the CritNet models. (1) Perturbation agnostic embedding computation (PA), where the embedding of corpus graph remains invariant to the perturbed graph. (2) No query interaction (NQ) which removes the effect of perturbed corpus graph on the query.

Following results show that both query interaction and peturbation agnostic components are useful for adversarial attack.

Vϕ=Sψ\mathcal{V} _\phi= \mathcal{S} _\psi = IE (MAP) Vϕ=Sψ\mathcal{V} _\phi = \mathcal{S} _\psi = IE++ (MAP)
FR MM FR MM
CritNet(Late) 0.341 0.347 0.568 0.522
CritNet(Late) PA 0.531 0.390 0.706 0.589
CritNet(Early) 0.342 0.299 0.595 0.471
CritNet(Early) PA 0.449 0.384 0.657 0.599
CritNet(Early) NQ 0.456 0.371 0.654 0.547

Time complexity of CritNet (Late)

Say N is the number of nodes, K is number of layers and T is number of rounds.

  • Clean graph embedding: Featurization has O(N)O(N) complexity. KK layers of message passing and update gives O(KN+KE)O(KN + KE) complexity.
  • Perturbation aware graph embedding: Per layer, the interaction MLP ηθ\eta _\theta over all nodes costs O(N)O(N). Similar to above, message passing plus update costs O(KN+KE)O(KN+KE). Alignment and distance computation costs O(N2)O(N^2). Hence, overall complexity is O(N2+KE+KN)=O(N2+KE)O(N^2 + KE+KN)=O(N^2+KE),

Time complexity of CritNet (Early)

Here, intermediate embedding computation βq,t,ℓ−1(u)=∑v∈GcRt−1[u,v]hc,t,ℓ−1(v)\beta _{q,t,\ell-1}(u) = \sum _{v \in G _c} R _{t-1}[u,v] h _{c,t,\ell-1}(v) costs O(N)O(N) per node, per layer and per round. Hence, total complexity for intermediate embedding computation is O(KTN2)O(KTN^2). Next, we compute clean and perturbation aware graph embeddings for each round and each layer. Therefore, the complexity is O(TN2+KTE)O(TN^2+KTE). Hence the overall complexity is O(KTN2+KTE)O(KTN^2+KTE).

CritNet late (early) achieves >10x (> 5x) speedup over the solver without any batching, and > 2000x (>1000x) with batched inference.

Dataset CritNet(Late) (No-Batch) CritNet(Late)(Batch) CritNet(Early) (No-Batch) CritNet(Early)(Batch)
AIDS 15.22 2152.07 5.49 1231.86
FM 12.96 2399.98 5.01 1032.24
FR 17.61 2186.23 5.14 1097.13
MM 18.93 2665.64 5.75 1244.03
MR 18.12 2496.37 5.51 1194.32

minor errors

We promise to address all typo in the final version, if accepted.

specify which type of attack

It is an evasion attack. We understand the confusion. Indeed, the paper we referenced on passage poisoning was doing an evasion attack and possibly did not use the word poisoning very accurately.

feasible to obtain relevance labels in both white-box and black-box?

We consider three types of labels: (i) Clean true label: y(Gq,Gc)=1(Gq⊆Gc)y(G _q, G _c) = \mathbf{1}(G _q \subseteq G _c), the relevance label mentioned in the context of the question. (ii) Perturbed true label: y(Gq,Gc⊕(a,b))y(G _q, G _c \oplus (a,b)) after flipping a node pair. (iii) the victim's predicted label / relevance score: dϕd _\phi at the time of attack.

Our adversary assumes access only to (i). It does not assume access to (ii) or (iii). (i) is a property of data, not of the victim or the substitute model. The predicted label (iii) changes across white box and black box settings, but since (i) is the true label between a query corpus pair, it does not change. Clean labels can be computed offline, independent of any access to the victim model. This is analogous to the label yy present in max⁡δℓ(hψ(x+δ),y)\max _{\delta}\ell(h _{\psi}(x+\delta),y).

difference between CRITNET (early) and CRITNET (late)

In CritNet (Late), the corpus embedding does not depend on the query: it only depends on the corpus graph and its perturbation. Similarly, the query embedding does not depend on the corpus graph. So, Hc=CritNet(Gc,Gc′)H _c = CritNet(G _c, G _c') and Hq=CritNet(Gq)H _q = CritNet(G _q). Therefore, given a different query, we will have the same corpus embeddings, since it is query-independent. In CritNet (Early), the query embedding depends on the corpus graph it is paired with and vice versa. Therefore, Hc=CritNet(Gc,Gc′,Gq)H _c = CritNet(G _c, G _c', G_q) and Hq=CritNet(Gq,Gc)H _q = CritNet(G _q, G _c). Hence, if we change the paired corpus graph, we obtain a different graph embedding.

Reviewer cL41 · CommentOpenReview ↗

Thanks for your rebuttal

Thank you for the authors' detailed response. Their rebuttal has addressed most of my concerns. I have also carefully reviewed the comments from the other reviewers and the corresponding responses. Therefore, I have decided to raise my score.

Reviewer oQNMOpenReview ↗
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

The paper introduces SEAGRAM, an adversarial attack on neural subgraph-matching (NSGM) retrievers that flips a single edge in a corpus graph to degrade ranking quality. Its central observation is that, unlike image perturbations, a single edge flip can change the true relevance label, so the attack must restrict itself to non-critical edges. Since verifying non-criticality requires an NP-hard solver call per edge, the authors train a network (CRITNET, in late- and early-interaction variants) to predict criticality, plus an active-learning scheme to cut solver calls during training.

Strengths and weaknesses

Strengths

  • The problem setting is interesting, and its central difficulty is real. Studying adversarial robustness of neural subgraph-matching retrievers is a worthwhile and under-explored direction. What makes it genuinely hard, and more interesting than the usual image setting, is that evaluating whether a perturbation preserves the true label is not free/efficient here -- it requires an expensive combinatorial solver -- so even checking that an attack is imperceptible, is itself a hard problem.
  • The method sensibly targets the right bottleneck. Identifying repeated solver calls as the core obstacle and replacing them with a learned criticality predictor (trained cheaply via active learning) is a reasonable and practical way to make the attack scalable.

Weaknesses

There are two key weaknesses:

  • The attack is optimized per query, but a corpus graph is shared across many queries. SEAGRAM picks an edge flip tailored to one (query, corpus) pair, yet the same corpus graph is used to answer many other queries. The paper never checks whether a flip that fools one query also hurts (or simply does nothing for) retrieval on the other queries. This matters especially because the paper frames itself as a "poison the corpus once" attack, where a single perturbed corpus is reused and the attacked corpus could affect the utility.
  • The attack's core promise -- that flips preserve the true label -- is never actually verified. At attack time, whether an edge is "non-critical" is decided entirely by CRITNET, since the exact solver has been removed from the loop. But CRITNET is a learned classifier and can be wrong: if it labels a truly critical edge as non-critical, the flip silently changes the true label, and the attack stops being a valid adversarial example. The paper never reports how often this happens (e.g. the fraction of predicted-non-critical edges that are truly non-critical when checked against the solver), so some of the reported ranking degradation could come from genuine label flips rather than from fooling the model.
Questions
  1. Does a flip optimized for one query degrade, or leave unchanged, retrieval quality for the other queries that share the same corpus graph?

  2. What fraction of CRITNET's predicted non-critical edges are actually non-critical when checked against the solver?

Limitations

The authors acknowledge the exhaustive edge search and the single-edge restriction. They do not, however, address the two concerns raised above: that perturbations are optimized per query while a corpus graph is shared across many queries, and that label preservation is never verified against the solver once CRITNET replaces it.

Final justification

The rebuttal has addressed most of my concerns and I have decided to raise my score.

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their comments, which will help improve our paper.

The attack is optimized per query, but a corpus graph is shared across many queries. SEAGRAM picks an edge flip tailored to one (query, corpus) pair, yet the same corpus graph is used to answer many other queries. The paper never checks whether a flip that fools one query also hurts (or simply does nothing for) retrieval on the other queries. This matters especially because the paper frames itself as a "poison the corpus once" attack, where a single perturbed corpus is reused and the attacked corpus could affect the utility.

Does a flip optimized for one query degrade, or leave unchanged, retrieval quality for the other queries that share the same corpus graph?

We would like to clarify that in the clean setup, the same clean corpus graph is used to answer many queries. But this is not the exact same situation as in adversarial attack. Under adversarial attack, the edge flip is tailored to each (query, corpus) pair (not just one query, corpus pair). Therefore, here, different perturbed graphs are used to answer different queries. Specifically, given a query GqG _q, we compute the flip δq,c:=(a,b)\delta _{q,c} : = (a,b) tailored to each GcG _c and obtain Gc′=Gc⊕δq,cG _c ' = G _c \oplus \delta _{q,c}. Here, Gc′G _c ' depends on the paired query graph GqG _q. Then, rank Gc′G _c' for all the corpus graphs GcG _c based on the relevance distance dψ(Gq,Gc′)d _{\psi} (G _q, G _c'). Hence, the corpus database used after perturbation differs across queries.

The confusion likely arose from the sentence "As in passage poisoning attacks [15], our adversary perturbs corpus graphs, not query graphs." We invoked [15] only to indicate that the perturbation target is the corpus rather than the query. We did not intend any claim of a once-poisoned, reused corpus. We will revise this sentence to remove the ambiguity.

There are two key motivations behind our protocol of adversarial attack.

  • A graph search system has two stages: (1) storing/indexing the corpus graphs, and (2) at query time, computing the relevance distance for each query–corpus pair and ranking. An adversary may attack either stage. In attack for step (1) which takes place before query arrival, the adversary may perform perturbation per each corpus graph, independent of any test query. In stage (2) attack, the adversary perturbs when a query arrives, using the query. Here, the adversary computes the perturbation for each corpus graph, which is optimal for the given query and then ranks them based on the perturbed distance.

  • Because we apply a flip per query–corpus pair rather than reusing one perturbed corpus across queries, our attack is strictly stronger. The following table shows the results, which shows that our method performs a more severe attack (low MAP).

Vϕ=Sψ=\mathcal{V} _\phi=\mathcal{S} _\psi= IE

Dataset MAP (Clean) MAP (Reuse corpus) MAP (CritNet (Early))
AIDS 0.813 0.572 0.368
FM 0.880 0.732 0.335
FR 0.864 0.798 0.342
MM 0.846 0.727 0.299
MR 0.845 0.805 0.408

The attack's core promise -- that flips preserve the true label -- is never actually verified. At attack time, whether an edge is "non-critical" is decided entirely by CRITNET, since the exact solver has been removed from the loop. But CRITNET is a learned classifier and can be wrong: if it labels a truly critical edge as non-critical, the flip silently changes the true label, and the attack stops being a valid adversarial example. The paper never reports how often this happens (e.g. the fraction of predicted-non-critical edges that are truly non-critical when checked against the solver), so some of the reported ranking degradation could come from genuine label flips rather than from fooling the model.

What fraction of CRITNET's predicted non-critical edges are actually non-critical when checked against the solver?

We report fraction of predicted non critical that are truly non-critical for late and early CritNet models in the following table, which shows that (1) both variants show very high accuracy and (2) Critnet (Early) is better than CritNet (late).

Dataset CritNet (Late) CritNet (Early)
AIDS 0.9689 0.9836
FM 0.9749 0.9868
FR 0.9649 0.9798
MM 0.9665 0.9825
MR 0.9735 0.9809

Furthermore, we also report the false-negative rate (FNR), false-positive rate (FPR), and AUC. Here, a truly critical edge (positive) predicted non-critical (False negative) causing a silent true label flip corresponds to the FNR.

CritNet (Late)

Dataset FNR (For Relevant pairs) FPR (For Relevant pairs) FNR (For Non-Relevant pairs) FPR (For Non-Relevant pairs) AUC (overall)
AIDS 0.0008 0.0652 0.1591 0.2638 0.8946
FM 0.1033 0.0397 0.1466 0.3070 0.9467
FR 0.0323 0.0519 0.2219 0.2082 0.9479
MM 0.0096 0.0642 0.1760 0.2609 0.9423
MR 0.0075 0.0646 0.1202 0.2785 0.9279

CritNet (Early)

Dataset FNR (For Relevant pairs) FPR (For Relevant pairs) FNR (For Non-Relevant pairs) FPR (For Non-Relevant pairs) AUC (overall)
AIDS 0.0075 0.04 0.0865 0.2188 0.9603
FM 0.0036 0.0645 0.0862 0.2222 0.9559
FR 0.055 0.0387 0.1294 0.1702 0.9587
MM 0.0076 0.0509 0.096 0.1984 0.9588
MR 0.0035 0.0592 0.0956 0.1714 0.9662

We make following observations:

  • For relevant graph pairs, both variants of CritNet are extremely accurate. For non-relevant graph pairs, CritNet (Late) is moderately accurate, whereas CritNet (Early) is highly accurate. The overall AUC is also quite high. In context of adversarial attack, it is more important to inject accurate attack on relevant pairs than non-relevant pairs. In that context, CritNet is accurately able to detect the critical pairs for relevant graph pairs, causing a powerful adversarial attack.
  • Performance of CritNet (Early) is better than CritNet (Late) as expected.
Authors · CommentOpenReview ↗

Dear Reviewer oQNM,

Thank you for your positive comments. Since there are less than 24 hours left for the discussion window, kindly let us know if you need any more clarifications with regards to our rebuttal, we would be happy to address the same.

Thanks again,

Authors

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

Author Final Remarks

Dear AC and Reviewers,

We thank the reviewers and the AC for continuous engagement. During the rebuttal, we clarified several aspects of the paper. Key clarifications are as follows:

  • We report CritNet classification accuracy, false negative/positive rate and AUC for both Late and Early variants. Through this, we justify that our adversarial attacks are valid
  • We also explained we use evasion attack.
  • We compare SEAGRAM against a Reuse Corpus attack, where the corpus graph is perturbed once and then reused across all queries. We show that our attack is much stronger.
  • We also perform parameter sensitivity analysis.
  • We show that our method shows significant speed up over solver based attacks.

We will add all these discussions/clarifications to camera ready version.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…