paper-with-me

홈 › Papers

GRAIL: Graph Edit Distance and Node Alignment Using LLM-Generated Code

2025-05-04 · Samidha Verma, Arushi Goyal, Ananya Mathur, Ankit Anand, Sayan Ranu

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.

📄 PDF Abstract BibTeX arXiv:2505.02124

Code (1)

idea-iitd/grail 공식 구현

Tasks

Domain Generalization

Similar Papers 제목 키워드 기반

Graph Edit Distance with General Costs Using Neural Set Divergence

2024-09-26 · Eeshaan Jain, Indradyumna Roy, Saswat Meher, Soumen Chakrabarti 외

Graph Edit Distance (GED) measures the (dis-)similarity between two given graphs, in terms of the minimum-cost edit sequence that transforms one graph to the other. However, the exact computation of GED is NP-Hard, which…

NED: An Inter-Graph Node Metric Based On Edit Distance

2016-02-07 · Haohan Zhu, Xianrui Meng, George Kollios

Node similarity is a fundamental problem in graph analytics. However, node similarity between nodes in different graphs (inter-graph nodes) has not received a lot of attention yet. The inter-graph node similarity is impo…

Transfer Learning

Discovering alignment relations with Graph Convolutional Networks: a biomedical case study

2020-11-11 · Pierre Monnin, Chedy Raïssi, Amedeo Napoli, Adrien Coulet

Knowledge graphs are freely aggregated, published, and edited in the Web of data, and thus may overlap. Hence, a key task resides in aligning (or matching) their content. This task encompasses the identification, within …

ClusteringKnowledge Graphs

GRAIL: A Benchmark for GRaph ActIve Learning in Dynamic Sensing Environments

2025-06-11 · Maryam Khalid, Akane Sano

Graph-based Active Learning (AL) leverages the structure of graphs to efficiently prioritize label queries, reducing labeling costs and user burden in applications like health monitoring, human behavior analysis, and sen…

Active LearningBenchmarkingDiversityFairness

GED-Consistent Disentanglement of Aligned and Unaligned Substructures for Graph Similarity Learning

2025-11-25 · Zhentao Zhan, Xiaoliang Xu, Jingjing Wang, Junmei Wang arxiv

Graph Similarity Computation (GSC) is a fundamental graph related task where Graph Edit Distance (GED) serves as a prevalent metric. GED is determined by an optimal alignment between a pair of graphs that partitions each…

Graph Neural NetworkGraph Similarity