SOTAVerified

Beyond Seen Data: Improving KBQA Generalization Through Schema-Guided Logical Form Generation

2025-02-18Code Available0· sign in to hype

Shengxiang Gao, Jey Han Lau, Jianzhong Qi

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Knowledge base question answering (KBQA) aims to answer user questions in natural language using rich human knowledge stored in large KBs. As current KBQA methods struggle with unseen knowledge base elements at test time,we introduce SG-KBQA: a novel model that injects schema contexts into entity retrieval and logical form generation to tackle this issue. It uses the richer semantics and awareness of the knowledge base structure provided by schema contexts to enhance generalizability. We show that SG-KBQA achieves strong generalizability, outperforming state-of-the-art models on two commonly used benchmark datasets across a variety of test settings. Our source code is available at https://github.com/gaosx2000/SG_KBQA.

Tasks

Reproductions