Schema-Anchored Latent Reasoning for Semantic Parsing-Based Knowledge Base Question Answering

Guangze Gao, Zixuan Li, Sikui Zhang, Chunfeng Yuan, Wenjuan Li +3 more
9/17/2026
cs.CL

No confident code implementation found for this paper.

Abstract

Semantic parsing (SP)-based knowledge base question answering aims to answer natural language questions by generating executable logical forms (LFs) over knowledge bases (KBs). When applying Large Language Models (LLMs) to this task, a key challenge over large, heterogeneous KBs is selecting question-related schema elements (i.e., relations and classes) and composing them into complex LFs.

Show full abstract

Recent LLM-based methods often make early discrete commitments to schema elements during intermediate reasoning, allowing incorrect intermediate schema decisions to propagate and finally result in incorrect LFs. To overcome this limitation, we propose SALR, a schema-anchored latent reasoning method for LF construction. It performs multi-step reasoning by generating continuous thoughts in the model's hidden states, thereby delaying the explicit commitment to LF decisions. To ground this latent reasoning process in the corresponding KB schema, SALR aligns continuous thoughts with a codebook of KB schema elements through an alignment objective supervised by schema traces deterministically derived from gold LFs. It then incorporates the aligned schema codes into inputs for subsequent reasoning steps. This schema-mediated feedback guides LF generation without requiring the model to emit an explicit textual reasoning trajectory. Experiments on GrailQA and WebQSP show that SALR achieves consistent overall gains over strong baselines. Notably, on compositional questions from GrailQA, SALR outperforms TIARA, a strong SP-based baseline, by 2.86 F1 points. Further analyses show that schema-mediated feedback affects LF generation and that schema information is recoverable from the latent states.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gao2026schemaanchored,
  title  = {Schema-Anchored Latent Reasoning for Semantic Parsing-Based Knowledge Base Question Answering},
  author = {Guangze Gao and Zixuan Li and Sikui Zhang and Chunfeng Yuan and Wenjuan Li and Bing Li and Xiaolong Jin and Weiming Hu},
  year   = {2026},
  eprint = {2609.20398},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.20398v1}
}

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/2609.20398.svg)](https://codeofpaper.com/paper/2609.20398)

Discussion