Lune

EMNLP2025Top-tier venue

D-RAG: Differentiable Retrieval-Augmented Generation for Knowledge Graph Question Answering

Guangze Gao, Zixuan Li, Chunfeng Yuan, Jiawei Li, Wu Jianzhuo, Yuehao Zhang, Xiaolong Jin, Bing Li, Weiming Hu

Abstract

Knowledge Graph Question Answering (KGQA) aims to answer natural language questions based on knowledge graphs. Recent approaches apply the Retrieval-Augmented Generation (RAG) paradigm to incorporate Large Language Models (LLMs) to this task, where a retriever selects a question-related subgraph and an LLM-based generator is then adopted to predict answers based on the retrieved subgraph. However, the subgraph selection process is non-differentiable, preventing end-to-end training of the retriever and the generator, which leads to sub-optimal performance. To overcome this limitation, this paper proposes a Differentiable RAG (D-RAG) approach that jointly optimizes the retriever and the generator for KGQA. Via reformulating the optimization objective as an expectation over a subgraph distribution with respect to answer generation likelihood, D-RAG makes the joint optimization feasible. Specifically, it implements this joint optimization through a differentiable subgraph sampling and prompting module that integrates Gumbel-Softmax reparameterization for sampling and a neural prompt construction process that fuses semantic and structural information. Experimental results on WebQSP and CWQ demonstrate that D-RAG not only outperforms state-of-the-art approaches, but also effectively reduces retrieval noise in the process.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • StructGPT: A General Framework for Large Language Model to Reason over Structured Data cites UniKGQA: Unified Retrieval and Reasoning for Solving Multi-hop Question Answering Over Knowledge Graph
  • G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answering cites StructGPT: A General Framework for Large Language Model to Reason over Structured Data
  • G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answering cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on8

  1. Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
  2. G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question AnsweringXiaoxin He, Yijun Tian, Yifei Sun, Nitesh V. Chawla et al.NeurIPS 2024 · 384 citations
  3. StructGPT: A General Framework for Large Language Model to Reason over Structured DataJinhao Jiang, Kun Zhou, Zican Dong, Keming Ye et al.EMNLP 2023 · 173 citations
  4. ReaRev: Adaptive Reasoning for Question Answering over Knowledge GraphsCostas Mavromatis, George KarypisEMNLP Findings 2022 · 30 citations
  5. UniKGQA: Unified Retrieval and Reasoning for Solving Multi-hop Question Answering Over Knowledge GraphJinhao Jiang, Kun Zhou, Xin Zhao, Ji-Rong WenICLR 2023 · 28 citations

Related papers

  1. Diversifying Differentiable Graph Retrieval with Topic-Adaptive Multi-Intent LearningDongcheon Lee, Ji-Yeon Park, Hye-Yoon Baek, Jimyeung Seo et al.WWW 2026
  2. KERAG: Knowledge-Enhanced Retrieval-Augmented Generation for Advanced Question AnsweringYushi Sun, Kai Sun, Yifan Ethan Xu, Xiao Yang et al.EMNLP Findings 2025 · 7 citations
  3. Less is More: Making Smaller Language Models Competent Subgraph Retrievers for Multi-hop KGQAWenyu Huang, Guancheng Zhou, Hongru Wang, Pavlos Vougiouklis et al.EMNLP Findings 2024 · 2 citations
  4. RPO-RAG: Aligning Small LLMs with Relation-aware Preference Optimization for Knowledge Graph Question AnsweringKaehyun Um, Kyuhwan Yeom, Haerim Yang, Minyoung Choi et al.WWW 2026
  5. Simple is Effective: The Roles of Graphs and Large Language Models in Knowledge-Graph-Based Retrieval-Augmented GenerationMufei Li, Siqi Miao, Pan LiICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines