KBQA-o1: Agentic Knowledge Base Question Answering with Monte Carlo Tree Search

Haoran Luo, E. Haihong, Yikai Guo, Qika Lin, Xiaobao Wu +5 more
2/14/2026

No official code found. Best implementation: LHRLAB/KBQA-o1 (38 stars, MIT, last commit 2025-12-06).

Abstract

Knowledge Base Question Answering (KBQA) aims to answer natural language questions with a large-scale structured knowledge base (KB). Despite advancements with large language models (LLMs), KBQA still faces challenges in weak KB awareness, imbalance between effectiveness and efficiency, and high reliance on annotated data. To address these challenges, we propose KBQA-o1, a novel agentic KBQA method with Monte Carlo Tree Search (MCTS). It introduces a ReAct-based agent process for stepwise logical form generation with KB environment exploration. Moreover, it employs MCTS, a heuristic search method driven by policy and reward models, to balance agentic exploration's performance and search space. With heuristic exploration, KBQA-o1 generates high-quality annotations for further improvement by incremental fine-tuning. Experimental results show that KBQA-o1 outperforms previous low-resource KBQA methods with limited annotated data, boosting Llama-3.1-8B model's GrailQA F1 performance to 78.5% compared to 48.5% of the previous sota method with GPT-3.5-turbo. Our code is publicly available.

View on arXivView PDF

Code Implementations(1)

LHRLAB/KBQA-o1Community71%
MIT

[ICML 2025] Official resources of "KBQA-o1: Agentic Knowledge Base Question Answering with Monte Carlo Tree Search".

385CSS, HTMLJan 27, 202510 months agoMIT
knowledge-graphlarge-language-modelsllmagentsmonte-carlo-tree-search

Similar Papers

Cite this paper

@article{luo2026kbqao,
  title  = {KBQA-o1: Agentic Knowledge Base Question Answering with Monte Carlo Tree Search},
  author = {Haoran Luo and E. Haihong and Yikai Guo and Qika Lin and Xiaobao Wu and Xinyu Mu and Wenhao Liu and Meina Song and Yifan Zhu and Anh Tuan Luu},
  year   = {2026},
  eprint = {2501.18922},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2501.18922},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.18922.svg)](https://codeofpaper.com/paper/2501.18922)

Discussion