Reproduce “Graph Repairs with Large Language Models: An Empirical Study” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Hrishikesh Terdalkar, Angela Bonifati, Andrea Mauri
An empirical study evaluates the capabilities of open-source Large Language Models in automatically repairing inconsistencies in property graphs, specifically focusing on resolving Graph Denial Constraints. The research systematically assesses repair quality, computational cost, and the impact of different graph encoding methods and few-shot prompting strategies, identifying trade-offs and areas for improvement.
Key insights
- LLMs consistently adhere to structured output formats and demonstrate moderate success in resolving inconsistencies, yet achieving high accuracy in matching ground-truth repairs remains a challenge.
- Template-based human-readable input and strategic few-shot examples generally enhance LLM performance for graph repair, but providing more examples does not always lead to better results.
- A clear trade-off exists between repair quality (accuracy/validity) and computational cost (time/tokens), with higher-performing models often incurring greater expense.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.