GRAIL: Graph Edit Distance and Node Alignment Using LLM-Generated Code
Not on the map. Why?
Abstract (arXiv)
Graph Edit Distance (GED) is a widely used metric for measuring similarity between two graphs. Computing the optimal GED is NP-hard, leading to the development of various neural and non-neural heuristics. While neural methods have achieved improved approximation quality compared to non-neural approaches, they face significant challenges: (1) They require large amounts of ground truth data, which is itself NP-hard to compute. (2) They operate as black boxes, offering limited interpretability. (3) They lack cross-domain generalization, necessitating expensive retraining for each new dataset. We address these limitations with GRAIL, introducing a paradigm shift in this domain. Instead of training a neural model to predict GED, GRAIL employs a novel combination of large language models (LLMs) and automated prompt tuning to generate a program that is used to compute GED. This shift from predicting GED to generating programs imparts various advantages, including end-to-end interpretability and an autonomous self-evolutionary learning mechanism without ground-truth supervision. Extensive experiments on seven datasets confirm that GRAIL not only surpasses state-of-the-art GED approximation methods in prediction quality but also achieves robust cross-domain generalization across diverse graph distributions.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). First posted on arXiv 4 May 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 3; 2026: 5.
8 papers.
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 763
- 2025(X)-evolve: Solution space evolution powered by large language modelscited by 6
- 2025Automating modeling in mechanics: LLMs as designers of physics-constrained neural networks for constitutive modeling of materialscited by 2
- 2026Closing Reasoning Gaps in Clinical Agents with Differential Reasoning Learningcited by 0
- 2026ReLU Networks for Exact Generation of Similar Graphscited by 0
- 2026Towards Metric-Faithful Neural Graph Matchingcited by 0
- 2026LLM-driven design of physics-constrained constitutive models: two agents are better than onecited by 0
- 2026Project Auto-World: Towards Automated Benchmarking of Neural Relational Reasonerscited by 0
- 2026Project Auto-World: Towards Automated Benchmarking of Neural Relational Reasoners23 Jun 2026
- 2026LLM-driven design of physics-constrained constitutive models: two agents are better than one22 May 2026
- 2026Towards Metric-Faithful Neural Graph Matching7 May 2026
- 2026ReLU Networks for Exact Generation of Similar Graphs7 Apr 2026
- 2026Closing Reasoning Gaps in Clinical Agents with Differential Reasoning Learning10 Feb 2026
- 2025Automating modeling in mechanics: LLMs as designers of physics-constrained neural networks for constitutive modeling of materials1 Dec 2025
- 2025(X)-evolve: Solution space evolution powered by large language models11 Aug 2025
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discovery16 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2025Towards Unsupervised Training of Matching-based Graph Edit Distance Solver via Preference-aware GAN
- 2025DiffGED: Computing Graph Edit Distance via Diffusion-based Graph Matching
- 2026A Unified Graph Language Model for Multi-Domain Multi-Task Graph Alignment Instruction Tuning
- 2024GraphTranslator: Aligning Graph Model to Large Language Model for Open-ended Tasks
- 2024GraphEdit: Large Language Models for Graph Structure Learning
- 2025Are LLMs Better GNN Helpers? Rethinking Robust Graph Learning under Deficiencies with Iterative Refinement
- 2025Generalizable LLM Learning of Graph Synthetic Data with Post-training Alignment
- 2024MLDGG: Meta-Learning for Domain Generalization on Graphs