# Adversarial Corpus Selection to Attack Subgraph Matching based Graph Retrieval

*Ninad J Gandhi, Mayukh Mondal, Brian S Mackwan, Soumen Chakrabarti, Abir De*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148248) · [OpenReview](https://openreview.net/forum?id=zIypQATU6I) · [Open on the map](../papers.html#p148248)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Hyperbolic Graph Representation Learning](../pgroup/469.md) · Type: new method · Keywords: adversarial attacks, graph retrieval, subgraph matching, robustness, budget-constrained optimization, submodular functions

Areas: [Safety & Security](../areas/safety.md) › Adversarial Security › Graph Adversarial Security; [Graph Learning](../areas/graph-learning.md) › Graph Learning Paradigms › Graph Adversarial Robustness

## Summary
GRAP is an adversarial attack framework that jointly selects a budget-constrained subset of corpus graphs and computes per-graph edge perturbations to maximally degrade subgraph matching based graph retrieval, with provable guarantees.

## Explained to a 5-year-old
Computers that match small graphs to big graphs are used to find similar molecules or detect bad hardware. The researchers created a way to trick these computers by changing a few parts of the big graphs so they give wrong answers. This helps make the computers safer. They also proved that their trick works well in tests. The method can be used to check if other computer systems are secure.

## Explained to a 5-year-old, longer
Some computers look for small pictures inside big pictures to help doctors find medicines. They also help find bad parts in computer chips. These computers need to be safe because wrong answers can be dangerous. The researchers noticed that nobody had made a way to test if these computers could be tricked. They built a new plan that picks a few big pictures and changes a little bit of them. By changing these pictures, the computers start to give wrong results. The plan works in two ways: one when the computer knows how it works, and one when it does not. They showed that the changes follow simple rules that can be understood. They tested the plan on many different sets of pictures. The plan beat all other tricks in the tests. This helps scientists see how weak the computers are. Knowing the weaknesses lets engineers make stronger computers for the future.

## For a technical reader
The paper addresses the lack of adversarial robustness in neural subgraph retrieval systems used in safety-critical domains. It proposes a joint optimization that selects a subset of corpus graphs and perturbs edges to maximally degrade retrieval quality under a budget constraint. Two attack regimes are defined: a ranking attack with solver access that corrupts relevance ordering, and a solver-free top-K attack that directly displaces relevant results. Theoretical analysis shows the adversarial objective is monotone and approximately submodular, enabling greedy selection with provable approximation guarantees. Empirical evaluations on five benchmark datasets demonstrate consistent and significant performance gains over baselines in both gray-box and black-box settings.

## Problem
Neural subgraph retrieval systems used in safety-critical domains lack robustness against adversarial attacks, leaving them vulnerable to malicious manipulations. There is a need for methods that can systematically degrade retrieval quality to evaluate and improve the security of these systems.

## Method
The approach jointly selects a budget-constrained subset of corpus graphs and computes per-graph edge perturbations to maximally degrade retrieval quality. It defines two attack regimes-a ranking attack with solver access that corrupts relevance ordering, and a solver-free top-K attack that directly displaces relevant results from retrieved sets. Both regimes exploit monotonicity and approximate submodularity to enable greedy subset selection with provable approximation guarantees.

## Results
The approach achieves consistent and significant performance gains over all baselines across gray-box and black-box settings, both with and without solver access.

## Contributions
It introduces the first adversarial attack framework for subgraph matching based graph retrieval, formalizes two attack regimes with provable submodular properties, and provides extensive empirical evaluations showing superior robustness degradation compared to existing baselines.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148248)
