RNG-KBQA: Generation Augmented Iterative Ranking for Knowledge Base Question Answering
Xi Ye, Semih Yavuz, Kazuma Hashimoto, Yingbo Zhou, Caiming Xiong
Abstract
Existing KBQA approaches, despite achieving strong performance on i.i.d. test data, often struggle in generalizing to questions involving unseen KB schema items. Prior rankingbased approaches have shown some success in generalization, but suffer from the coverage issue. We present RnG-KBQA, a Rank-and-Generate approach for KBQA, which remedies the coverage issue with a generation model while preserving a strong generalization capability. Our approach first uses a contrastive ranker to rank a set of candidate logical forms obtained by searching over the knowledge graph. It then introduces a tailored generation model conditioned on the question and the top-ranked candidates to compose the final logical form. We achieve new state-ofthe-art results on GRAILQA and WEBQSP datasets. In particular, our method surpasses the prior state-of-the-art by a large margin on the GRAILQA leaderboard. In addition, RnG-KBQA outperforms all prior approaches on the popular WEBQSP benchmark, even including the ones that use the oracle entity linking. The experimental results demonstrate the effectiveness of the interplay between ranking and generation, which leads to the superior performance of our proposed approach across all settings with especially strong improvements in zero-shot generalization. 1 1 Code available at https://github.com/salesforce/rng-kbqa . (AND music.album (JOIN album.artist samuel_ramey)) (JOIN (R recording.length) (JOIN recording.artist samuel_ramey)) (AND music.recording (JOIN (R artist.track) samuel_ramey)) Enumerated Candidates
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.
50 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Few-shot In-context Learning on Knowledge Base Question Answering cites SPARQA: Skeleton-Based Semantic Parsing for Complex Questions over Knowledge Bases
- Few-shot In-context Learning on Knowledge Base Question Answering cites Improving Multi-hop Question Answering over Knowledge Graphs using Knowledge Base Embeddings
- TransferNet: An Effective and Transparent Framework for Multi-hop Question Answering over Relation Graph cites Scalable Neural Methods for Reasoning With a Symbolic Knowledge Base
- TransferNet: An Effective and Transparent Framework for Multi-hop Question Answering over Relation Graph cites Improving Multi-hop Question Answering over Knowledge Graphs using Knowledge Base Embeddings
- Paths-over-Graph: Knowledge Graph Empowered Large Language Model Reasoning cites Few-shot In-context Learning on Knowledge Base Question Answering
- Paths-over-Graph: Knowledge Graph Empowered Large Language Model Reasoning cites Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning
- Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning cites TransferNet: An Effective and Transparent Framework for Multi-hop Question Answering over Relation Graph
- Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning cites Dense Passage Retrieval for Open-Domain Question Answering
- Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning cites SPARQA: Skeleton-Based Semantic Parsing for Complex Questions over Knowledge Bases
- Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning cites Improving Multi-hop Question Answering over Knowledge Graphs using Knowledge Base Embeddings
- Plan-on-Graph: Self-Correcting Adaptive Planning of Large Language Model on Knowledge Graphs cites FlexKBQA: A Flexible LLM-Powered Framework for Few-Shot Knowledge Base Question Answering
- Plan-on-Graph: Self-Correcting Adaptive Planning of Large Language Model on Knowledge Graphs cites Few-shot In-context Learning on Knowledge Base Question Answering
- Plan-on-Graph: Self-Correcting Adaptive Planning of Large Language Model on Knowledge Graphs cites Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning
Cited by top-tier papers50
- Reasoning on Graphs: Faithful and Interpretable Large Language Model ReasoningLinhao Luo, Yuan-Fang Li, Gholamreza Haffari, Shirui PanICLR 2024 · 499 citations
- Plan-on-Graph: Self-Correcting Adaptive Planning of Large Language Model on Knowledge GraphsLiyi Chen, Panrong Tong, Zhongming Jin, Ying Sun et al.NeurIPS 2024 · 160 citations
- FlexKBQA: A Flexible LLM-Powered Framework for Few-Shot Knowledge Base Question AnsweringZhenyu Li, Sunqi Fan, Yu Gu, Xiuxing Li et al.AAAI 2024 · 143 citations
- Paths-over-Graph: Knowledge Graph Empowered Large Language Model ReasoningXingyu Tan, Xiaoyang Wang, Qing Liu, Xiwei Xu et al.WWW 2025 · 86 citations
- Few-shot In-context Learning on Knowledge Base Question AnsweringTianle Li, Xueguang Ma, Alex Zhuang, Yu Gu et al.ACL 2023 · 55 citations
Builds on5
- Improving Multi-hop Question Answering over Knowledge Graphs using Knowledge Base EmbeddingsApoorv Saxena, Aditay Tripathi, Partha P. TalukdarACL 2020 · 488 citations
- SPARQA: Skeleton-Based Semantic Parsing for Complex Questions over Knowledge BasesYawei Sun, Lingling Zhang, Gong Cheng, Yuzhong QuAAAI 2020 · 143 citations
- Dense Passage Retrieval for Open-Domain Question AnsweringVladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis et al.EMNLP 2020 · 142 citations
- TransferNet: An Effective and Transparent Framework for Multi-hop Question Answering over Relation GraphJiaxin Shi, Shulin Cao, Lei Hou, Juanzi Li et al.EMNLP 2021 · 97 citations
- Scalable Neural Methods for Reasoning With a Symbolic Knowledge BaseWilliam W. Cohen, Haitian Sun, R. Alex Hofer, Matthew SieglerICLR 2020 · 71 citations
Related papers
- KBQA-R1: Reinforcing Large Language Models for Knowledge Base Question AnsweringXin Sun, Zhongqi Chen, Xing Zheng, Bowen Song et al.ICML 2026 · 2 citations
- GRV-KBQA: A Three-Stage Framework for Knowledge Base Question Answering with Decoupled Logical Structure, Semantic Grounding and Structure-Aware ValidationYuhang Tian, Pan Yang, Dandan Song, Zhijing Wu et al.EMNLP Findings 2025 · 3 citations
- TIARA: Multi-grained Retrieval for Robust Question Answering over Large Knowledge BaseYiheng Shu, Zhiwei Yu, Yuhan Li, Börje F. Karlsson et al.EMNLP 2022 · 39 citations
- Beyond Seen Data: Improving KBQA Generalization Through Schema-Guided Logical Form GenerationShengxiang Gao, Jey Han Lau, Jianzhong QiEMNLP 2025
- Subgraph-Guided Executable Logical Form Generation for Knowledge Base Question AnsweringYuhang Tian, Dandan Song, Zhijing Wu, Changzhi Zhou et al.ACL Findings 2026
