TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/SPARKLE: Enhancing SPARQL Generation with Direct KG Integr...

SPARKLE: Enhancing SPARQL Generation with Direct KG Integration in Decoding

Jaebok Lee, Hyeonjeong Shin

2024-06-29Entity LinkingKnowledge Base Question Answering
PaperPDFCode(official)

Abstract

Existing KBQA methods have traditionally relied on multi-stage methodologies, involving tasks such as entity linking, subgraph retrieval and query structure generation. However, multi-stage approaches are dependent on the accuracy of preceding steps, leading to cascading errors and increased inference time. Although a few studies have explored the use of end-to-end models, they often suffer from lower accuracy and generate inoperative query that is not supported by the underlying data. Furthermore, most prior approaches are limited to the static training data, potentially overlooking the evolving nature of knowledge bases over time. To address these challenges, we present a novel end-to-end natural language to SPARQL framework, SPARKLE. Notably SPARKLE leverages the structure of knowledge base directly during the decoding, effectively integrating knowledge into the query generation. Our study reveals that simply referencing knowledge base during inference significantly reduces the occurrence of inexecutable query generations. SPARKLE achieves new state-of-the-art results on SimpleQuestions-Wiki and highest F1 score on LCQuAD 1.0 (among models not using gold entities), while getting slightly lower result on the WebQSP dataset. Finally, we demonstrate SPARKLE's fast inference speed and its ability to adapt when the knowledge base differs between the training and inference stages.

Results

TaskDatasetMetricValueModel
Question AnsweringSimpleQuestionsWikiDataF179.6SPARKLE
Question AnsweringWebQuestionsSPF171.1SPARKLE
Question AnsweringWebQuestionsSPHits@171.2SPARKLE
Question AnsweringLC-QuAD 1.0F172.2SPARKLE

Related Papers

iQUEST: An Iterative Question-Guided Framework for Knowledge Base Question Answering2025-06-02LEMONADE: A Large Multilingual Expert-Annotated Abstractive Event Dataset for the Real World2025-06-01Distilling Closed-Source LLM's Knowledge for Locally Stable and Economic Biomedical Entity Linking2025-05-26Beyond Chains: Bridging Large Language Models and Knowledge Bases in Complex Question Answering2025-05-20Private LoRA Fine-tuning of Open-Source LLMs with Homomorphic Encryption2025-05-12Evaluation of LLMs on Long-tail Entity Linking in Historical Documents2025-05-06KGMEL: Knowledge Graph-Enhanced Multimodal Entity Linking2025-04-21Cross-Document Contextual Coreference Resolution in Knowledge Graphs2025-04-08