Bring Your Own KG: Self-Supervised Program Synthesis for Zero-Shot KGQA
Not on the map. Why?
Abstract (arXiv)
We present BYOKG, a universal question-answering (QA) system that can operate on any knowledge graph (KG), requires no human-annotated training data, and can be ready to use within a day -- attributes that are out-of-scope for current KGQA systems. BYOKG draws inspiration from the remarkable ability of humans to comprehend information present in an unseen KG through exploration -- starting at random nodes, inspecting the labels of adjacent nodes and edges, and combining them with their prior world knowledge. In BYOKG, exploration leverages an LLM-backed symbolic agent that generates a diverse set of query-program exemplars, which are then used to ground a retrieval-augmented reasoning procedure to predict programs for arbitrary questions. BYOKG is effective over both small- and large-scale graphs, showing dramatic gains in QA accuracy over a zero-shot baseline of 27.89 and 58.02 F1 on GrailQA and MetaQA, respectively. On GrailQA, we further show that our unsupervised BYOKG outperforms a supervised in-context learning method, demonstrating the effectiveness of exploration. Lastly, we find that performance of BYOKG reliably improves with continued exploration as well as improvements in the base LLM, notably outperforming a state-of-the-art fine-tuned model by 7.08 F1 on a sub-sampled zero-shot split of GrailQA.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 54 of its 91 references that are in the map. First posted on arXiv 14 Nov 2023.
Builds on
54 of 91 references.
References · 54
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
- 2022Inner Monologue: Embodied Reasoning through Planning with Language Modelscited by 1,081
38 more
- 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,035
- 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 729
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2018The Web as a Knowledge-base for Answering Complex Questionscited by 410
- 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 284
- 2017DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoningcited by 266
- 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 263
- 2016Key-Value Memory Networks for Directly Reading Documentscited by 223
- 2021PAQ: 65 Million Probably-Asked Questions and What You Can Do With Themcited by 200
- 2020Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Basescited by 171
- 2017Variational Reasoning for Question Answering with Knowledge Graphcited by 170
- 2022Improving Passage Retrieval with Zero-Shot Question Generationcited by 165
- 2017Go for a Walk and Arrive at the Answer: Reasoning Over Paths in Knowledge Bases using Reinforcement Learningcited by 161
- 2022Maieutic Prompting: Logically Consistent Reasoning with Recursive Explanationscited by 159
- 2021NeuroLogic A*esque Decoding: Constrained Text Generation with Lookahead Heuristicscited by 154
- 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 139
- 2023Knowledge-Augmented Language Model Prompting for Zero-Shot Knowledge Graph Question Answeringcited by 119
- 2021Case-based Reasoning for Natural Language Queries over Knowledge Basescited by 107
- 2016Neural Symbolic Machines: Learning Semantic Parsers on Freebase with Weak Supervisioncited by 103
- 2021Improving Multi-hop Knowledge Base Question Answering by Learning Intermediate Supervision Signalscited by 101
- 2020SmBoP: Semi-autoregressive Bottom-up Semantic Parsingcited by 97
- 2022Compositional Semantic Parsing with Large Language Modelscited by 95
- 2021RnG-KBQA: Generation Augmented Iterative Ranking for Knowledge Base Question Answeringcited by 86
- 2023Towards Foundation Models for Knowledge Graph Reasoningcited by 86
- 2022DecAF: Joint Decoding of Answers and Logical Forms for Question Answering over Knowledge Basescited by 84
- 2020Efficient One-Pass End-to-End Entity Linking for Questionscited by 76
- 2023Few-shot In-context Learning for Knowledge Base Question Answeringcited by 74
- 2022RankGen: Improving Text Generation with Large Ranking Modelscited by 72
- 2023Graph Neural Prompting with Large Language Modelscited by 64
- 2022TIARA: Multi-grained Retrieval for Robust Question Answering over Large Knowledge Basescited by 59
- 2022Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environmentscited by 57
- 2023FlexKBQA: A Flexible LLM-Powered Framework for Few-Shot Knowledge Base Question Answeringcited by 51
- 2022ArcaneQA: Dynamic Program Induction and Contextualized Encoding for Knowledge Base Question Answeringcited by 48
- 2022Questions Are All You Need to Train a Dense Passage Retrievercited by 47
- 2022Knowledge Base Question Answering by Case-based Reasoning over Subgraphscited by 31
- 2021Entity Linking and Discovery via Arborescence-based Supervised Clusteringcited by 22
- 2016Learning Executable Semantic Parsers for Natural Language Understandingcited by 21
- 2023Make a Choice! Knowledge Base Question Answering with In-Context Learningcited by 8
50 most cited of 54 All 54 (JSON)
Built on by
Citing papers per year: 2023: 1; 2024: 4; 2025: 2; 2026: 4.
11 papers.
- 2024Data-driven Discovery with Large Generative Modelscited by 34
- 2025BYOKG-RAG: Multi-Strategy Graph Retrieval for Knowledge Graph Question Answeringcited by 10
- 2024Way to Specialist: Closing Loop Between Specialized LLM and Evolving Domain Knowledge Graphcited by 6
- 2024TARGA: Targeted Synthetic Data Generation for Practical Reasoning over Structured Datacited by 5
- 2024Combining LLMs and Knowledge Graphs to Reduce Hallucinations in Question Answeringcited by 4
- 2023Think from Words(TFW): Initiating Human-Like Cognition in Large Language Models Through Think from Words for Japanese Text-level Classificationcited by 1
- 2025ZOGRASCOPE: A New Benchmark for Semantic Parsing over Property Graphscited by 1
- 2026Using Large Language Models and Knowledge Graphs to Improve the Interpretability of Machine Learning Models in Manufacturingcited by 0
- 2026Graph Query Generation with Constraint-guided Large Language Agentscited by 0
- 2026Ontology-Guided Evidence Path Inference for Multi-hop Knowledge Graph Question Answeringcited by 0
- 2026Baikal: Structured Search for Deep Research over Data Lakescited by 0
- 2026Baikal: Structured Search for Deep Research over Data Lakes30 Jul 2026
- 2026Ontology-Guided Evidence Path Inference for Multi-hop Knowledge Graph Question Answering26 Jun 2026
- 2026Using Large Language Models and Knowledge Graphs to Improve the Interpretability of Machine Learning Models in Manufacturing17 Apr 2026
- 2026Graph Query Generation with Constraint-guided Large Language Agents9 Apr 2026
- 2025BYOKG-RAG: Multi-Strategy Graph Retrieval for Knowledge Graph Question Answering5 Jul 2025
- 2025ZOGRASCOPE: A New Benchmark for Semantic Parsing over Property Graphs7 Mar 2025
- 2024TARGA: Targeted Synthetic Data Generation for Practical Reasoning over Structured Data27 Dec 2024
- 2024Way to Specialist: Closing Loop Between Specialized LLM and Evolving Domain Knowledge Graph28 Nov 2024
- 2024Combining LLMs and Knowledge Graphs to Reduce Hallucinations in Question Answering6 Sep 2024
- 2024Data-driven Discovery with Large Generative Models21 Feb 2024
- 2023Think from Words(TFW): Initiating Human-Like Cognition in Large Language Models Through Think from Words for Japanese Text-level Classification6 Dec 2023
Similar, not cited
Close in wording, no citation either way
- 2026Let the Agent Search: Autonomous Exploration Beats Rigid Workflows in Temporal Question Answering
- 2026Reward on Path: Learning Intermediate Supervision Signals for Knowledge Graph Question Answering
- 2025RJE: A Retrieval-Judgment-Exploration Framework for Efficient Knowledge Graph Question Answering with LLMs
- 2025KBQA-R1: Reinforcing Large Language Models for Knowledge Base Question Answering
- 2026KGVoyager: Knowledge Graph Agnostic Question Answering via Agentic Navigation
- 2024Tree-of-Traversals: A Zero-Shot Reasoning Algorithm for Augmenting Black-box Language Models with Knowledge Graphs
- 2023KnowledgeNavigator: Leveraging Large Language Models for Enhanced Reasoning over Knowledge Graph
- 2024UniOQA: A Unified Framework for Knowledge Graph Question Answering with Large Language Models