FlexKBQA: A Flexible LLM-Powered Framework for Few-Shot Knowledge Base Question Answering
Zhenyu Li, Sunqi Fan, Yu Gu, Xiuxing Li, Zhichao Duan, Bowen Dong, Ning Liu, Jianyong Wang
摘要
Knowledge base question answering (KBQA) is a critical yet challenging task due to the vast number of entities within knowledge bases and the diversity of natural language questions posed by users. Unfortunately, the performance of most KBQA models tends to decline significantly in real-world scenarios where high-quality annotated data is insufficient. To mitigate the burden associated with manual annotation, we introduce FlexKBQA by utilizing Large Language Models (LLMs) as program translators for addressing the challenges inherent in the few-shot KBQA task. Specifically, FlexKBQA leverages automated algorithms to sample diverse programs, such as SPARQL queries, from the knowledge base, which are subsequently converted into natural language questions via LLMs. This synthetic dataset facilitates training a specialized lightweight model for the KB. Additionally, to reduce the barriers of distribution shift between synthetic data and real user questions, FlexKBQA introduces an executionguided self-training method to iterative leverage unlabeled user questions. Furthermore, we explore harnessing the inherent reasoning capability of LLMs to enhance the entire framework. Consequently, FlexKBQA delivers substantial flexibility, encompassing data annotation, deployment, and being domain agnostic. Through extensive experiments on GrailQA, WebQSP, and KQA Pro, we observe that under the few-shot even the more challenging zero-shot scenarios, FlexKBQA achieves impressive results with a few annotations, surpassing all previous baselines and even approaching the performance of supervised models, achieving a remarkable 93% performance relative to the fully-supervised models. We posit that FlexKBQA represents a significant advancement towards exploring better integration of large and lightweight models. The source code and pertinent documentation are readily accessible on established open-source repositories 1 .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 24 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Enhancing Complex Question Answering over Knowledge Graphs through Evidence Pattern Retrieval 引用了 RNG-KBQA: Generation Augmented Iterative Ranking for Knowledge Base Question Answering
- Enhancing Complex Question Answering over Knowledge Graphs through Evidence Pattern Retrieval 引用了 Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Bases
- Tool-Augmented Spatiotemporal Reasoning for Streamlining Video Question Answering Task 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- iQUEST: An Iterative Question-Guided Framework for Knowledge Base Question Answering 引用了 RNG-KBQA: Generation Augmented Iterative Ranking for Knowledge Base Question Answering
- iQUEST: An Iterative Question-Guided Framework for Knowledge Base Question Answering 引用了 Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Bases
- iQUEST: An Iterative Question-Guided Framework for Knowledge Base Question Answering 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Plan-on-Graph: Self-Correcting Adaptive Planning of Large Language Model on Knowledge Graphs 引用了 RNG-KBQA: Generation Augmented Iterative Ranking for Knowledge Base Question Answering
- Plan-on-Graph: Self-Correcting Adaptive Planning of Large Language Model on Knowledge Graphs 引用了 Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Bases
- Plan-on-Graph: Self-Correcting Adaptive Planning of Large Language Model on Knowledge Graphs 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Natural Language Dataset Generation Framework for Visualizations Powered by Large Language Models 引用了 Generating Training Data with Language Models: Towards Zero-Shot Language Understanding
- Natural Language Dataset Generation Framework for Visualizations Powered by Large Language Models 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
引用它的顶会 Paper24
- Plan-on-Graph: Self-Correcting Adaptive Planning of Large Language Model on Knowledge GraphsLiyi Chen, Panrong Tong, Zhongming Jin, Ying Sun 等NeurIPS 2024 · 160 次引用
- Enhancing Complex Question Answering over Knowledge Graphs through Evidence Pattern RetrievalWentao Ding, Jinmao Li, Liangchuan Luo, Yuzhong QuWWW 2024 · 32 次引用
- Natural Language Dataset Generation Framework for Visualizations Powered by Large Language ModelsHyung-Kwon Ko, Hyeon Jeon, Gwanmo Park, Dae Hyun Kim 等CHI 2024 · 20 次引用
- Tool-Augmented Spatiotemporal Reasoning for Streamlining Video Question Answering TaskSunqi Fan, Jiashuo Cui, Meng-Hao Guo, Shuojin YangNeurIPS 2025 · 15 次引用
- iQUEST: An Iterative Question-Guided Framework for Knowledge Base Question AnsweringShuai Wang, Yinan YuACL 2025 · 12 次引用
它引用的 Paper14
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
- LEVER: Learning to Verify Language-to-Code Generation with ExecutionAnsong Ni, Srini Iyer, Dragomir Radev, Veselin Stoyanov 等ICML 2023 · 318 次引用
- Generating Training Data with Language Models: Towards Zero-Shot Language UnderstandingYu Meng, Jiaxin Huang, Yu Zhang, Jiawei HanNeurIPS 2022 · 309 次引用
- Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge BasesYu Gu, Sue Kase, Michelle Vanni, Brian M. Sadler 等WWW 2021 · 304 次引用
- RNG-KBQA: Generation Augmented Iterative Ranking for Knowledge Base Question AnsweringXi Ye, Semih Yavuz, Kazuma Hashimoto, Yingbo Zhou 等ACL 2022 · 203 次引用
相关 Paper
- Few-shot Transfer Learning for Knowledge Base Question Answering: Fusing Supervised Models with In-Context LearningMayur Patidar, Riya Sawhney, Avinash Kumar Singh, Biswajit Chatterjee 等ACL 2024
- Interactive-KBQA: Multi-Turn Interactions for Knowledge Base Question Answering with Large Language ModelsGuanming Xiong, Junwei Bao, Wen ZhaoACL 2024
- KBQA-o1: Agentic Knowledge Base Question Answering with Monte Carlo Tree SearchHaoran Luo, Haihong E, Yikai Guo, Qika Lin 等ICML 2025 · 1 次引用
- Promoting Knowledge Base Question Answering by Directing LLMs to Generate Task-relevant Logical FormsJianqi Gao, Jian Cao, Ranran Bu, Nengjun Zhu 等AAAI 2025 · 6 次引用
- Augmenting Reasoning Capabilities of LLMs with Graph Structures in Knowledge Base Question AnsweringYuhang Tian, Dandan Song, Zhijing Wu, Changzhi Zhou 等EMNLP Findings 2024 · 5 次引用
