# FANDA: A Novel Approach to Perform Follow-up Query Analysis

**Authors:** Qian Liu, Bei Chen, Jian-Guang Lou, Ge Jin, Dongmei Zhang

arXiv: 1901.08259 · 2019-01-25

## TL;DR

This paper introduces FANDA, a new method for analyzing follow-up queries in natural language interfaces to databases, addressing the challenge of contextual understanding with a new dataset and a ranking model.

## Contribution

The paper presents a novel approach FANDA that considers query structures and employs weakly supervised learning, along with a new dataset for follow-up query analysis.

## Key findings

- FANDA outperforms multiple baselines across various metrics.
- A new dataset with 1000 query triples on 120 tables is provided.
- FANDA effectively captures query context for improved analysis.

## Abstract

Recent work on Natural Language Interfaces to Databases (NLIDB) has attracted considerable attention. NLIDB allow users to search databases using natural language instead of SQL-like query languages. While saving the users from having to learn query languages, multi-turn interaction with NLIDB usually involves multiple queries where contextual information is vital to understand the users' query intents. In this paper, we address a typical contextual understanding problem, termed as follow-up query analysis. In spite of its ubiquity, follow-up query analysis has not been well studied due to two primary obstacles: the multifarious nature of follow-up query scenarios and the lack of high-quality datasets. Our work summarizes typical follow-up query scenarios and provides a new FollowUp dataset with $1000$ query triples on 120 tables. Moreover, we propose a novel approach FANDA, which takes into account the structures of queries and employs a ranking model with weakly supervised max-margin learning. The experimental results on FollowUp demonstrate the superiority of FANDA over multiple baselines across multiple metrics.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1901.08259/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/1901.08259/full.md

## References

33 references — full list in the complete paper: https://tomesphere.com/paper/1901.08259/full.md

---
Source: https://tomesphere.com/paper/1901.08259