mlsanityData to 14 Oct 2026

Fine-tuned LLMs Know More, Hallucinate Less with Few-Shot Sequence-to-Sequence Semantic Parsing over Wikidata

arXiv 2305.14202 ↗First posted 23 May 2023cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

While large language models (LLMs) can answer many questions correctly, they can also hallucinate and give wrong answers. Wikidata, with its over 12 billion facts, can be used to ground LLMs to improve their factuality. This paper presents WikiWebQuestions, a high-quality question answering benchmark for Wikidata. Ported over from WebQuestions for Freebase, it consists of real-world data with SPARQL annotation. This paper presents a few-shot sequence-to-sequence semantic parser for Wikidata. We modify SPARQL to use the unique domain and property names instead of their IDs. We train the parser to use either the results from an entity linker or mentions in the query. We fine-tune LLaMA by adding the few-shot training data to that used to fine-tune Alpaca. Our experimental results demonstrate the effectiveness of this methodology, establishing a strong baseline of 76% and 65% answer accuracy in the dev and test sets of WikiWebQuestions, respectively. By pairing our semantic parser with GPT-3, we combine verifiable results with qualified GPT-3 guesses to provide useful answers to 96% of the questions in dev. We also show that our method outperforms the state-of-the-art for the QALD-7 Wikidata dataset by 3.6% in F1 score.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 30 of its 54 references that are in the map. First posted on arXiv 23 May 2023.

Builds on

30 of 54 references.

References · 30

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  2. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  3. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
  4. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  5. 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 894
  6. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
  7. 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
  8. 2018The Web as a Knowledge-base for Answering Complex Questionscited by 410
  9. 2016Key-Value Memory Networks for Directly Reading Documentscited by 223
  10. 2019PullNet: Open Domain Question Answering with Iterative Retrieval on Knowledge Bases and Textcited by 184
  11. 2020Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Basescited by 171
  12. 2018Open Domain Question Answering Using Early Fusion of Knowledge Bases and Textcited by 168
18 more
  1. 2021Constrained Language Models Yield Few-Shot Semantic Parserscited by 163
  2. 2021Case-based Reasoning for Natural Language Queries over Knowledge Basescited by 107
  3. 2021RnG-KBQA: Generation Augmented Iterative Ranking for Knowledge Base Question Answeringcited by 86
  4. 2022DecAF: Joint Decoding of Answers and Logical Forms for Question Answering over Knowledge Basescited by 84
  5. 2020KQA Pro: A Dataset with Explicit Compositional Programs for Complex Question Answering over Knowledge Basecited by 78
  6. 2020Efficient One-Pass End-to-End Entity Linking for Questionscited by 76
  7. 2022ReFinED: An Efficient Zero-shot-capable Approach to End-to-End Entity Linkingcited by 74
  8. 2018Complex Sequential Question Answering: Towards Learning to Converse Over Linked Question Answer Pairs with a Knowledge Graphcited by 67
  9. 2022TIARA: Multi-grained Retrieval for Robust Question Answering over Large Knowledge Basescited by 59
  10. 2022ArcaneQA: Dynamic Program Induction and Contextualized Encoding for Knowledge Base Question Answeringcited by 48
  11. 2023Enhancing Few-shot Text-to-SQL Capabilities of Large Language Models: A Study on Prompt Design Strategiescited by 45
  12. 2021Program Transfer for Answering Complex Questions over Knowledge Basescited by 34
  13. 2018Modeling Semantics with Gated Graph Neural Networks for Knowledge Base Question Answeringcited by 30
  14. 2020AutoQA: From Databases To QA Semantic Parsers With Only Synthetic Training Datacited by 29
  15. 2019Genie: A Generator of Natural Language Semantic Parsers for Virtual Assistant Commandscited by 19
  16. 2020Schema2QA: High-Quality and Low-Cost Q&A Agents for the Structured Webcited by 12
  17. 2021Expanding End-to-End Question Answering on Differentiable Knowledge Graphs with Intersectioncited by 12
  18. 2019Relational Graph Representation Learning for Open-Domain Question Answeringcited by 4

Built on by

Cited by year

Citing papers per year: 2024: 2.

2 papers.