HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Formal Query Building with Query Structure Prediction for Complex Question Answering over Knowledge Base

Yongrui Chen Huiying Li Yuncheng Hua Guilin Qi

Formal Query Building with Query Structure Prediction for Complex Question Answering over Knowledge Base

Abstract

Formal query building is an important part of complex question answering over knowledge bases. It aims to build correct executable queries for questions. Recent methods try to rank candidate queries generated by a state-transition strategy. However, this candidate generation strategy ignores the structure of queries, resulting in a considerable number of noisy queries. In this paper, we propose a new formal query building approach that consists of two stages. In the first stage, we predict the query structure of the question and leverage the structure to constrain the generation of the candidate queries. We propose a novel graph generation framework to handle the structure prediction task and design an encoder-decoder model to predict the argument of the predetermined operation in each generative step. In the second stage, we follow the previous methods to rank the candidate queries. The experimental results show that our formal query building approach outperforms existing methods on complex questions while staying competitive on simple questions.

Code Repositories

bahuia/aqgnet
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
knowledge-base-question-answering-on-lc-quadAQGNet (oracle entity used)
F1: 74.8

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Formal Query Building with Query Structure Prediction for Complex Question Answering over Knowledge Base | Papers | HyperAI