REVIEW 3 major objections 1 minor 37 references
GraphDETR turns subgraph detection into a single-pass set prediction task solved by a GNN encoder and transformer decoder with bipartite matching.
Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →
T0 review · grok-4.3
2026-06-28 02:50 UTC pith:QMFMFWMK
load-bearing objection GraphDETR is a fresh reduction of subgraph detection to DETR-style set prediction, but the abstract supplies no baselines or controls so the performance numbers cannot be judged yet. the 3 major comments →
End-to-End Subgraph Detection with GraphDETR
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
GraphDETR encodes the target graph with a graph neural network and employs a transformer decoder over a fixed set of learnable query vectors to predict the complete collection of pattern occurrences in one forward pass. Training proceeds by solving a bipartite matching problem between the decoder outputs and the ground-truth occurrences. This formulation extends beyond exact structural matching to approximate matching and scales to patterns and graphs larger than those typically handled by combinatorial algorithms.
What carries the argument
The fixed set of learnable query vectors decoded by the transformer and aligned to ground-truth instances via bipartite matching, which enables joint set prediction without ordering assumptions.
Load-bearing premise
Bipartite matching between a fixed set of decoder queries and ground-truth occurrences suffices to train a model that generalizes to both exact and approximate subgraph detection on unseen graphs and patterns.
What would settle it
A held-out test collection of graphs larger than 1000 nodes or patterns larger than 50 nodes in which the model systematically misses approximate matches that differ from training examples by a small number of edges or nodes.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper introduces GraphDETR, which formulates subgraph detection as a set-prediction task: a GNN encodes the target graph and a transformer decoder with a fixed set of learnable queries predicts all occurrences jointly, trained end-to-end via bipartite matching. The approach is claimed to extend naturally to approximate matching. Empirically, it reports detection of diverse patterns (molecules, cycles, cliques, fuzzy patterns) of up to 50 nodes inside target graphs of up to 1000 nodes, and achieves AP_100 = 91.2 on complete functional-group prediction per molecule on the ChEMBL dataset.
Significance. If the performance claims are substantiated with proper controls, the work would supply a practical end-to-end neural alternative to combinatorial subgraph-isomorphism solvers for both exact and approximate cases, with potential utility in cheminformatics and network analysis where pattern sizes reach tens of nodes.
major comments (3)
- [Abstract] Abstract: the central performance claim (AP_100 = 91.2 on ChEMBL functional-group detection) is presented without any reference to baselines, error bars, train/test splits, or ablation studies; these omissions make it impossible to verify whether the reported number reflects a genuine advance over existing methods.
- [Method] Method description (bipartite-matching training): the claim that a fixed set of decoder queries plus bipartite matching suffices for generalization to unseen patterns and to approximate/fuzzy matches rests on an underspecified definition of positive ground-truth matches (no edit-distance or similarity threshold is stated) and on an unexamined assumption that a constant query cardinality can represent highly variable occurrence counts inside 1000-node targets.
- [Experiments] Empirical evaluation: no analysis is supplied of how the learned model behaves on held-out patterns whose size or topology lies outside the training distribution, which is required to support the generalization claim for an NP-complete problem.
minor comments (1)
- [Abstract] The notation AP_100 is used without an explicit definition of the 100 (e.g., whether it denotes top-100 predictions or a different metric).
Simulated Author's Rebuttal
We thank the referee for the constructive feedback. We address each major comment below and indicate planned revisions to strengthen the manuscript.
read point-by-point responses
-
Referee: [Abstract] Abstract: the central performance claim (AP_100 = 91.2 on ChEMBL functional-group detection) is presented without any reference to baselines, error bars, train/test splits, or ablation studies; these omissions make it impossible to verify whether the reported number reflects a genuine advance over existing methods.
Authors: We agree that the abstract would benefit from additional context. In the revised version we will expand the abstract to reference the baselines, note the train/test splits, and indicate that supporting ablations and error bars appear in the experimental section. This will make the reported AP_100 value more readily interpretable. revision: yes
-
Referee: [Method] Method description (bipartite-matching training): the claim that a fixed set of decoder queries plus bipartite matching suffices for generalization to unseen patterns and to approximate/fuzzy matches rests on an underspecified definition of positive ground-truth matches (no edit-distance or similarity threshold is stated) and on an unexamined assumption that a constant query cardinality can represent highly variable occurrence counts inside 1000-node targets.
Authors: We will add an explicit definition of positive matches, including the precise similarity threshold or edit-distance criterion used for approximate matching. For query cardinality we will state that the number of queries is chosen as an upper bound on the maximum number of occurrences observed in the training data (following the DETR design), with the model learning to output fewer detections via low-confidence or no-object predictions; we will also include empirical checks of this choice. revision: partial
-
Referee: [Experiments] Empirical evaluation: no analysis is supplied of how the learned model behaves on held-out patterns whose size or topology lies outside the training distribution, which is required to support the generalization claim for an NP-complete problem.
Authors: We acknowledge the value of explicit out-of-distribution testing for generalization claims on this problem. The revised manuscript will include additional experiments evaluating performance on held-out pattern sizes and topologies absent from the training distribution. revision: yes
Circularity Check
No circularity: standard DETR-style training evaluated on held-out data
full rationale
The paper adapts the DETR set-prediction framework (GNN encoder + transformer decoder with fixed learnable queries + bipartite matching loss) to graphs. Reported results (AP100=91.2 on ChEMBL, detection of patterns up to 50 nodes) are obtained via supervised training and standard held-out evaluation on external datasets. No equations, predictions, or uniqueness claims reduce by construction to quantities defined inside the paper; the central performance numbers are not tautological with the training procedure. No self-citation chains or ansatzes imported from prior author work are load-bearing.
Axiom & Free-Parameter Ledger
read the original abstract
Subgraph detection seeks to identify whether and where instances of query patterns occur within a larger graph. This problem is fundamental across scientific domains and is closely related to subgraph isomorphism, which is NP-complete, limiting combinatorial approaches to small patterns or moderately sized graphs. We introduce GraphDETR, a deep learning framework that formulates subgraph detection as a set prediction problem, analogous to DETR in object detection. GraphDETR encodes the target graph with a graph neural network, and employs a fixed set of learnable query vectors, decoded via a transformer decoder, to predict all pattern occurrences jointly in a single forward pass. This is enabled by training the model end-to-end with bipartite matching. Unlike traditional combinatorial methods that only solve exact structural matching, GraphDETR naturally extends to approximate matching, enabling detection beyond exact pattern correspondence. Empirically, we show that GraphDETR can detect diverse patterns, such as molecular structures, cycles, cliques, and fuzzy patterns of up to 50 nodes, in target graphs with up to 1000 nodes. We further evaluate on molecular functional group detection over the ChEMBL dataset, where GraphDETR predicts the complete set of functional groups per molecule, achieving a strong performance of $\text{AP}_{100} = 91.2$.
Figures
Reference graph
Works this paper leans on
-
[1]
SimGNN: A neural network approach to fast graph similarity computation
Yunsheng Bai, Hao Ding, Song Bian, Ting Chen, Yizhou Sun, and Wei Wang. SimGNN: A neural network approach to fast graph similarity computation. InACM International Conference on Web Search and Data Mining (WSDM), pages 384–392, 2019. 3
2019
-
[2]
The properties of known drugs
Guy W Bemis and Mark A Murcko. The properties of known drugs. 1. molecular frameworks. Journal of medicinal chemistry, 39(15):2887–2893, 1996. 15
1996
-
[3]
Xavier Bresson and Thomas Laurent. Residual gated graph convnets.arXiv preprint arXiv:1711.07553, 2017. 2, 4
work page internal anchor Pith review Pith/arXiv arXiv 2017
-
[4]
End-to-end object detection with transformers
Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. InProceedings of the European Conference on Computer Vision (ECCV), pages 213–229. Springer, 2020. 2, 3
2020
-
[5]
Structure-aware transformer for graph representation learning
Dexiong Chen, Leslie O’Bray, and Karsten Borgwardt. Structure-aware transformer for graph representation learning. InInternational Conference on Machine Learning (ICML), pages 3469–3489. PMLR, 2022. 2
2022
-
[6]
Learning long range dependencies on graphs via random walks
Dexiong Chen, Till Hendrik Schulz, and Karsten Borgwardt. Learning long range dependencies on graphs via random walks. InInternational Conference on Learning Representations (ICLR),
-
[7]
URLhttps://openreview.net/forum?id=kJ5H7oGT2M. 2, 4
-
[8]
Masked-attention mask transformer for universal image segmentation
Bowen Cheng, Ishan Misra, Alexander G Schwing, Alexander Kirillov, and Rohit Girdhar. Masked-attention mask transformer for universal image segmentation. InProceedings of the Conference on Computer Vision and Pattern Recognition (CVPR), pages 1290–1299, 2022. 2
2022
-
[9]
Efgs: a complete and accurate implementation of Ertl’s functional group detection algorithm in RDKit.Journal of Chemical Information and Modeling, 65(3): 1061–1066, 2025
Gonzalo Colmenarejo. Efgs: a complete and accurate implementation of Ertl’s functional group detection algorithm in RDKit.Journal of Chemical Information and Modeling, 65(3): 1061–1066, 2025. 15
2025
-
[10]
A (sub) graph isomorphism algorithm for matching large graphs.Transactions on Pattern Analysis and Machine Intelligence (PAMI), 26(10):1367–1372, 2004
Luigi P Cordella, Pasquale Foggia, Carlo Sansone, and Mario Vento. A (sub) graph isomorphism algorithm for matching large graphs.Transactions on Pattern Analysis and Machine Intelligence (PAMI), 26(10):1367–1372, 2004. 1, 3, 8, 9
2004
-
[11]
Graph neural networks with learnable structural and positional representations
Vijay Prakash Dwivedi, Anh Tuan Luu, Thomas Laurent, Yoshua Bengio, and Xavier Bresson. Graph neural networks with learnable structural and positional representations. InInternational Conference on Learning Representations (ICLR), 2022. 4
2022
-
[12]
Benchmarking graph neural networks.Journal of Machine Learning Research (JMLR), 24(43):1–48, 2023
Vijay Prakash Dwivedi, Chaitanya K Joshi, Anh Tuan Luu, Thomas Laurent, Yoshua Bengio, and Xavier Bresson. Benchmarking graph neural networks.Journal of Machine Learning Research (JMLR), 24(43):1–48, 2023. 8
2023
-
[13]
Peter Ertl. An algorithm to identify functional groups in organic molecules.Journal of Cheminformatics, 9(1):36, 2017. doi: 10.1186/s13321-017-0225-z. 15
-
[14]
Structure-mapping: A theoretical framework for analogy.Cognitive science, 7 (2):155–170, 1983
Dedre Gentner. Structure-mapping: A theoretical framework for analogy.Cognitive science, 7 (2):155–170, 1983. 1
1983
-
[15]
Open graph benchmark: Datasets for machine learning on graphs
Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, and Jure Leskovec. Open graph benchmark: Datasets for machine learning on graphs. InAdvances in Neural Information Processing Systems (NeurIPS), volume 33, 2020. 15, 16
2020
-
[16]
Anonymous walk embeddings
Sergey Ivanov and Evgeny Burnaev. Anonymous walk embeddings. InInternational Conference on Machine Learning (ICML), pages 2186–2195. PMLR, 2018. 2 10
2018
-
[17]
Kipf and Max Welling
Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. InInternational Conference on Learning Representations (ICLR), 2017. URL https://openreview.net/forum?id=SJU4ayYgl. 2, 4
2017
-
[18]
Segment anything
Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao, Chloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander C Berg, Wan-Yen Lo, et al. Segment anything. In Proceedings of the International Conference on Computer Vision (ICCV), pages 4015–4026,
-
[19]
Harold W. Kuhn. The hungarian method for the assignment problem.Naval Research Logistics Quarterly, 2(1-2):83–97, 1955. 2, 5
1955
-
[20]
Graph matching networks for learning the similarity of graph structured objects
Yujia Li, Chenjie Gu, Thomas Dullien, Oriol Vinyals, and Pushmeet Kohli. Graph matching networks for learning the similarity of graph structured objects. InInternational Conference on Machine Learning (ICML), pages 3835–3845. PMLR, 2019. 3
2019
-
[21]
Decoupled weight decay regularization
Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. InInternational Conference on Learning Representations (ICLR), 2019. URL https://openreview.net/ forum?id=Bkg6RiCqY7. 17
2019
-
[22]
Can classic gnns be strong baselines for graph-level tasks? simple architectures meet excellence
Yuankai Luo, Lei Shi, and Xiao-Ming Wu. Can classic gnns be strong baselines for graph-level tasks? simple architectures meet excellence. InInternational Conference on Machine Learning (ICML), pages 41290–41310. PMLR, 2025. 4
2025
-
[23]
A quickstart in frequent structure mining can make a difference
Siegfried Nijssen and Joost N Kok. A quickstart in frequent structure mining can make a difference. InProceedings of the international conference on Knowledge discovery and data mining (KDD), pages 647–652, 2004. 15, 16
2004
-
[24]
Graph neural networks can (often) count substructures
Paolo Pellizzoni, Till Hendrik Schulz, and Karsten Borgwardt. Graph neural networks can (often) count substructures. InInternational Conference on Learning Representations (ICLR),
-
[25]
ERIC Clearinghouse on Information and Technology Syracuse, NY , 1997
Eric Plotnick.Concept mapping: A graphical system for understanding the relationship between concepts. ERIC Clearinghouse on Information and Technology Syracuse, NY , 1997. 1
1997
-
[26]
Recipe for a general, powerful, scalable graph transformer
Ladislav Rampášek, Michael Galkin, Vijay Prakash Dwivedi, Anh Tuan Luu, Guy Wolf, and Dominique Beaini. Recipe for a general, powerful, scalable graph transformer. InAdvances in Neural Information Processing Systems (NeurIPS), volume 35, 2022. 2, 4
2022
-
[27]
SAM 2: Segment anything in images and videos
Nikhila Ravi, Valentin Gabeur, Yuan-Ting Hu, Ronghang Hu, Chaitanya Ryali, Tengyu Ma, Haitham Khedr, Roman Rädle, Chloe Rolland, Laura Gustafson, et al. SAM 2: Segment anything in images and videos. InInternational Conference on Learning Representations (ICLR), 2025. 2, 4
2025
-
[28]
Heuristics for similarity searching of chemical graphs using a maximum common edge subgraph algorithm.Journal of Chemical Information and Computer Sciences, 42(2):305–316, 2002
John W Raymond, Eleanor J Gardiner, and Peter Willett. Heuristics for similarity searching of chemical graphs using a maximum common edge subgraph algorithm.Journal of Chemical Information and Computer Sciences, 42(2):305–316, 2002. 1
2002
-
[29]
Walking out of the weisfeiler le- man hierarchy: Graph learning beyond message passing.Transactions on Machine Learning Re- search, 2023
Jan Tönshoff, Martin Ritzert, Hinrikus Wolf, and Martin Grohe. Walking out of the weisfeiler le- man hierarchy: Graph learning beyond message passing.Transactions on Machine Learning Re- search, 2023. ISSN 2835-8856. URL https://openreview.net/forum?id=vgXnEyeWVY. 2
2023
-
[30]
An algorithm for subgraph isomorphism.Journal of the ACM (JACM), 23 (1):31–42, 1976
Julian R Ullmann. An algorithm for subgraph isomorphism.Journal of the ACM (JACM), 23 (1):31–42, 1976. 1, 3
1976
-
[31]
How powerful are graph neural networks? InInternational Conference on Learning Representations (ICLR), 2019
Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? InInternational Conference on Learning Representations (ICLR), 2019. 2, 4
2019
-
[32]
Deep graph kernels
Pinar Yanardag and Svn VN Vishwanathan. Deep graph kernels. InInternational conference on knowledge discovery and data mining (KDD), pages 1365–1374, 2015. 16
2015
-
[33]
Path matching and graph matching in biological networks
Qingwu Yang and Sing-Hoi Sze. Path matching and graph matching in biological networks. Journal of Computational Biology, 14(1):56–67, 2007. 1 11
2007
-
[34]
Do transformers really perform badly for graph representation? InAdvances in Neural Information Processing Systems (NeurIPS), volume 34, pages 28877–28888, 2021
Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng, Guolin Ke, Di He, Yanming Shen, and Tie-Yan Liu. Do transformers really perform badly for graph representation? InAdvances in Neural Information Processing Systems (NeurIPS), volume 34, pages 28877–28888, 2021. 2
2021
-
[35]
Neural subgraph matching, 2021
Zhitao Ying, Andrew Wang, Jiaxuan You, Chengtao Wen, Arquimedes Canedo, and Jure Leskovec. Neural subgraph matching, 2021. URL https://openreview.net/forum?id= LMslR3CTzE_. 1, 3
2021
-
[36]
The chembl database in 2023: a drug discovery platform spanning multiple bioactivity data types and time periods.Nucleic acids research, 52(D1):D1180–D1192, 2024
Barbara Zdrazil, Eloy Felix, Fiona Hunter, Emma J Manners, James Blackshaw, Sybilla Corbett, Marleen De Veij, Harris Ioannidis, David Mendez Lopez, Juan F Mosquera, et al. The chembl database in 2023: a drug discovery platform spanning multiple bioactivity data types and time periods.Nucleic acids research, 52(D1):D1180–D1192, 2024. 15
2023
-
[37]
DINO: DETR with improved denoising anchor boxes for end-to-end object detection
Hao Zhang, Feng Li, Shilong Liu, Lei Zhang, Hang Su, Jun Zhu, Lionel Ni, and Heung-Yeung Shum. DINO: DETR with improved denoising anchor boxes for end-to-end object detection. In International Conference on Learning Representations (ICLR), 2022. 2 12 Appendix The appendix provides supplementary technical and experimental materials. It is organized as foll...
2022
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.