Interactive-KBQA: Multi-Turn Interactions for Knowledge Base Question Answering with Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Xiong, Guanming, Bao, Junwei, Zhao, Wen
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916650472701952
author Xiong, Guanming
Bao, Junwei
Zhao, Wen
author_facet Xiong, Guanming
Bao, Junwei
Zhao, Wen
contents This study explores the realm of knowledge base question answering (KBQA). KBQA is considered a challenging task, particularly in parsing intricate questions into executable logical forms. Traditional semantic parsing (SP)-based methods require extensive data annotations, which result in significant costs. Recently, the advent of few-shot in-context learning, powered by large language models (LLMs), has showcased promising capabilities. However, fully leveraging LLMs to parse questions into logical forms in low-resource scenarios poses a substantial challenge. To tackle these hurdles, we introduce Interactive-KBQA, a framework designed to generate logical forms through direct interaction with knowledge bases (KBs). Within this framework, we have developed three generic APIs for KB interaction. For each category of complex question, we devised exemplars to guide LLMs through the reasoning processes. Our method achieves competitive results on the WebQuestionsSP, ComplexWebQuestions, KQA Pro, and MetaQA datasets with a minimal number of examples (shots). Importantly, our approach supports manual intervention, allowing for the iterative refinement of LLM outputs. By annotating a dataset with step-wise reasoning processes, we showcase our model's adaptability and highlight its potential for contributing significant enhancements to the field.
format Preprint
id arxiv_https___arxiv_org_abs_2402_15131
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Interactive-KBQA: Multi-Turn Interactions for Knowledge Base Question Answering with Large Language Models
Xiong, Guanming
Bao, Junwei
Zhao, Wen
Computation and Language
Artificial Intelligence
I.2.7
This study explores the realm of knowledge base question answering (KBQA). KBQA is considered a challenging task, particularly in parsing intricate questions into executable logical forms. Traditional semantic parsing (SP)-based methods require extensive data annotations, which result in significant costs. Recently, the advent of few-shot in-context learning, powered by large language models (LLMs), has showcased promising capabilities. However, fully leveraging LLMs to parse questions into logical forms in low-resource scenarios poses a substantial challenge. To tackle these hurdles, we introduce Interactive-KBQA, a framework designed to generate logical forms through direct interaction with knowledge bases (KBs). Within this framework, we have developed three generic APIs for KB interaction. For each category of complex question, we devised exemplars to guide LLMs through the reasoning processes. Our method achieves competitive results on the WebQuestionsSP, ComplexWebQuestions, KQA Pro, and MetaQA datasets with a minimal number of examples (shots). Importantly, our approach supports manual intervention, allowing for the iterative refinement of LLM outputs. By annotating a dataset with step-wise reasoning processes, we showcase our model's adaptability and highlight its potential for contributing significant enhancements to the field.
title Interactive-KBQA: Multi-Turn Interactions for Knowledge Base Question Answering with Large Language Models
topic Computation and Language
Artificial Intelligence
I.2.7
url https://arxiv.org/abs/2402.15131