Reproduce “Knowledge Graph-Enhanced Large Language Models via Path Selection” 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
Haochen Liu, Song Wang, Yaochen Zhu, Yushun Dong, Jundong Li
The KELP framework, developed at the University of Virginia, enhances large language models by selecting knowledge graph paths based on fine-grained semantic similarity, including indirectly related facts. This approach improves factual accuracy by up to 9.0% over LLM-based evidence selection in weakly semantic knowledge tasks and achieves performance competitive with supervised models in few-shot settings.
Key insights
- Training a dedicated path-text encoder to identify 'potentially impactful knowledge'—even with indirect semantic relationships—is highly effective for enhancing LLM factual accuracy.
- Combining a learned similarity ranking with explicit coverage rules (k1 and k2) is crucial for balancing context length, reducing redundancy, and ensuring the diversity of selected knowledge paths.
- The framework's robust performance across varying numbers of few-shot examples demonstrates a stable and reliable knowledge selection mechanism independent of extensive in-context learning.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.