Lune

AAAI2025Top-tier venue

Promoting Knowledge Base Question Answering by Directing LLMs to Generate Task-relevant Logical Forms

Jianqi Gao, Jian Cao, Ranran Bu, Nengjun Zhu, Wei Guan, Hang Yu

Abstract

Knowledge base question answering (KBQA) refers to the system that produces answers to user queries by reasoning with a large-scale structured knowledge base. Advanced works have achieved great success either by generating logical forms (LF) or directly generating answers. Although the former typically yields better performance, these generated LF could be inaccurate, e.g., non-executable. In this regard, large language models (LLMs) have shown exciting potential for accurate generation. However, it is challenging to fine-tune LLMs to generate LF. This is because the context retrieved for prediction typically leads to an excessive number of reasoning paths. In this context, LLMs can generate numerous LF corresponding to these reasoning paths, but a few LF can result in correct answers. Thus, fine-tuning LLMs to generate answer-relevant LF would conflict with the prior knowledge of the LLMs. In this work, we propose a novel learning framework, FM-KBQA, to fine-tune LLMs using multi-task learning for KBQA. Specifically, we propose to fine-tune LLMs using an additional objective: generating the index of reasoning paths that lead to correct answers. This will direct LLMs to pay attention to answer-relevant paths among numerous reasoning paths by completing a simple task where the selected reasoning paths can be supplementary for non-executable LF. Directly generating answers can make LLMs pay attention to the answer-relevant reasoning paths, but it is much more challenging than generating the index of reasoning paths. To verify FM-KBQA's effectiveness, we conduct experiments on mainstream benchmarks, such as WebQuestionsSP (WQSP) and ComplexWebQuestions (CWQ). Extensive evaluations across two public benchmark datasets underscore the superiority of FM-KBQA over current state-of-the-art methods.

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.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph cites Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Bases
  • Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph cites Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning
  • Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning cites Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph
  • Generating then Refining for Reliable Knowledge Base Question Answering cites Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph
  • Generating then Refining for Reliable Knowledge Base Question Answering cites Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Bases
  • Generating then Refining for Reliable Knowledge Base Question Answering cites Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Noise-Robustness Through Noise: A Framework combining Asymmetric LoRA with Poisoning MoEZhaokun Wang, Jinyu Guo, Jingwen Pu, Lingfeng Chen et al.NeurIPS 2025 · 4 citations
  2. BYOKG-RAG: Multi-Strategy Graph Retrieval for Knowledge Graph Question AnsweringCostas Mavromatis, Soji Adeshina, Vassilis N. Ioannidis, Zhen Han et al.EMNLP 2025 · 1 citation
  3. ZipLJP: Zipped Information Processor for Legal Judgment PredictionFanghao Lou, Qiqi Wang, Guanyu Chen, Kaiqi Zhao et al.AAAI 2026
  4. Generating then Refining for Reliable Knowledge Base Question AnsweringJianqi Gao, Hang Yu, Jian Cao, Ranran Bu et al.ACL 2026
  5. Beyond Pedagogical Principles: Multi-Horizon Preference Optimization for Efficient Socratic TutoringXin Shi, Chao Zhang, Yifan Zhu, Xueqiao Zhang et al.ACL 2026

Builds on14

  1. Reasoning on Graphs: Faithful and Interpretable Large Language Model ReasoningLinhao Luo, Yuan-Fang Li, Gholamreza Haffari, Shirui PanICLR 2024 · 499 citations
  2. Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge BasesYu Gu, Sue Kase, Michelle Vanni, Brian M. Sadler et al.WWW 2021 · 304 citations
  3. Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge GraphJiashuo Sun, Chengjin Xu, Lumingyuan Tang, Saizhuo Wang et al.ICLR 2024 · 247 citations
  4. Deductive Verification of Chain-of-Thought ReasoningZhan Ling, Yunhao Fang, Xuanlin Li, Zhiao Huang et al.NeurIPS 2023 · 234 citations
  5. Prompt Distribution LearningYuning Lu, Jianzhuang Liu, Yonggang Zhang, Yajing Liu et al.CVPR 2022 · 212 citations

Related papers

  1. CompKBQA: Component-wise Task Decomposition for Knowledge Base Question AnsweringYuhang Tian, Dandan Song, Zhijing Wu, Pan Yang et al.EMNLP 2025 · 1 citation
  2. GCA-KBQA: A Step-Wise Logical Form Generation Approach for KBQA with Knowledge-Assisted CalibrationRanran Bu, Jian Cao, Jianqi Gao, Jinghua Tang et al.SIGIR 2026
  3. KaeDe: Progressive Generation of Logical Forms via Knowledge-Aware Question Decomposition for Improved KBQARanran Bu, Jian Cao, Jianqi Gao, Shiyou Qian et al.EMNLP Findings 2025
  4. How Proficient Are Large Language Models in Formal Languages? An In-Depth Insight for Knowledge Base Question AnsweringJinxin Liu, Shulin Cao, Jiaxin Shi, Tingjian Zhang et al.ACL Findings 2024 · 8 citations
  5. HTML: Hierarchical Topology Multi-task Learning for Semantic Parsing in Knowledge Base Question AnsweringAziguli Wulamu, Lyu Zhengyu, Kaiyuan Gong, Yu Han et al.ACL Findings 2025 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines