Model-based Interactive Semantic Parsing: A Unified Framework and A Text-to-SQL Case Study

10/11/2019
by   Ziyu Yao, et al.
0

As a promising paradigm, interactive semantic parsing has shown to improve both semantic parsing accuracy and user confidence in the results. In this paper, we propose a new, unified formulation of the interactive semantic parsing problem, where the goal is to design a model-based intelligent agent. The agent maintains its own state as the current predicted semantic parse, decides whether and where human intervention is needed, and generates a clarification question in natural language. A key part of the agent is a world model: it takes a percept (either an initial question or subsequent feedback from the user) and transitions to a new state. We then propose a simple yet remarkably effective instantiation of our framework, demonstrated on two text-to-SQL datasets (WikiSQL and Spider) with different state-of-the-art base semantic parsers. Compared to an existing interactive semantic parsing approach that treats the base parser as a black box, our approach solicits less user feedback but yields higher run-time accuracy.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/14/2023

Learning to Simulate Natural Language Feedback for Interactive Semantic Parsing

Interactive semantic parsing based on natural language (NL) feedback, wh...
research
06/22/2021

Error-Aware Interactive Semantic Parsing of OpenStreetMap

In semantic parsing of geographical queries against real-world databases...
research
08/21/2018

Interactive Semantic Parsing for If-Then Recipes via Hierarchical Reinforcement Learning

Given a text description, most existing semantic parsers synthesize a pr...
research
09/05/2018

Policy Shaping and Generalized Update Equations for Semantic Parsing from Denotations

Semantic parsing from denotations faces two key challenges in model trai...
research
11/29/2018

Counterfactual Learning from Human Proofreading Feedback for Semantic Parsing

In semantic parsing for question-answering, it is often too expensive to...
research
02/18/2021

Semantic Parsing to Manipulate Relational Database For a Management System

Chatbots and AI assistants have claimed their importance in today life. ...
research
10/15/2021

Towards Transparent Interactive Semantic Parsing via Step-by-Step Correction

Existing studies on semantic parsing focus primarily on mapping a natura...

Please sign up or login with your details

Forgot password? Click here to reset