atlas

Research map / Large language models / Retrieval and knowledge

FlexKBQA: A Flexible LLM-Powered Framework for Few-Shot Knowledge Base Question Answering

AAAI 2024 · Large language models › Retrieval and knowledge · approach: Explanatory and multiple-choice QA benchmarks · 77 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

FlexKBQA uses an LLM as a program translator to turn automatically sampled KB programs into synthetic question-program pairs for training a lightweight KBQA parser, then applies execution-guided self-training and LLM inherent reasoning for few-shot KBQA.

Problem

Few-shot knowledge base question answering with scarce annotated data, where in-context learning with LLMs is limited by context window, inference cost, and difficulty with domain-specific KB entities and relations.

Approach

Reverse the usual LLM use: sample executable programs (SPARQL/S-expressions) from the KB and have an LLM translate them into natural language questions to build a synthetic training set for a lightweight parser; then iteratively self-train on unlabeled user questions with execution-based filtering and LLM answer agreement.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add execution-guided self-training (EGST) (ablation)FlexKBQA · GrailQA, 25 shotsF1: 57.7 -> 69.4; 10.3Helped
add execution-guided self-training (EGST) (ablation)FlexKBQA · WebQSP, 100 shotsF1: 51.1 -> 60.6; 7.1Helped
add execution-guided self-training (EGST) (ablation)FlexKBQA · KQA Pro, 100 shotsaccuracy: 23.10 -> 46.83; 10.2Helped
add Inherent Reasoning (IR) (ablation)FlexKBQA · GrailQA, 25 shotsF1: 68.0 -> 69.4; 1.4Helped
add Inherent Reasoning (IR) (ablation)FlexKBQA · WebQSP, 100 shotsF1: 58.2 -> 60.6; 2.4Helped
add Inherent Reasoning (IR) (ablation)FlexKBQA · KQA Pro, 100 shotsaccuracy: 33.32 -> 46.83; 13.5Helped
increase in-context examples from 10 to 60 (ablation)FlexKBQA data generation · GrailQA testF1: 66.61; 67.20No clear effect
train with synthetic data rather than real dataRnG-KBQA ranker · WebQSP testF1: 68.2 -> 35.5Hurt
use real programs with synthetic questions instead of real dataRnG-KBQA ranker · WebQSP testF1: 68.2 -> 56.3Hurt
use Progressive Execution-Guided Self-Training (PEGST) instead of EGST (ablation)FlexKBQA · WebQSPF1Helped

Surprising findings

Limitations

Experimental setup

Datasets: GrailQA WebQSP KQA Pro

Benchmarks: GrailQA WebQSP KQA Pro

Metrics: EM F1 accuracy

Baselines: Pangu KB-BINDER Fine-Tuning LLM-ICL RnG-KBQA ArcaneQA DecAF ReTraCk

Builds on: RnG-KBQA KB-BINDER Pangu BART-SPARQL teaching via data

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy