The Ohio State University
On Advancing Natural Language Interfaces: Data Collection, Model Development, and User Interaction
Abstract
dc:descriptionNatural language provides a universal and efficient way for humans to express their intent and perceive the world. This inspires a surge of natural language interface (NLI) systems, which enable humans to acquire knowledge and solve problems using solely natural language. These include question answering systems such as the early BASEBALL system and IBM Watson, as well as virtual assistants such as Amazon Alexa, Apple Siri, Google Home, and Microsoft Cortana.Despite the remarkable progress, building NLIs that can reliably serve users in the long term has never been easy. In this dissertation, we characterize and study the three stages of the NLI life cycle: (1) Data Collection, where system developers collect training data to bootstrap the NLI system; (2) Model Development, where system developers design and implement the backend machine learning model, improving its capacity until its performance reaches the commercial grade. Note that both Data Collection and Model Development are before the system deployment. (3) User Interaction, where the NLI system is expected to interact with users and serve them reliably after its deployment. In this dissertation, we will first summarize the history and the status quo of the NLI study, as well as the challenges in each of the three stages. Following them, we will present our research achievements towards advancing NLIs in each stage.Specifically, in Part II, we will discuss solutions to improving the first two stages of the NLI construction (i.e., before deployment). We focus on constructing NLIs to code snippets, with applications in software engineering. Collecting training data for such specialized domains is typically expensive since domain expertise is needed from annotators. To address the problem, we explore training a machine learning model to automatically extract data from domain-specific online forums (e.g., Stack Overflow). Bootstrapped with a small amount of annotations, our model is trained and applied to collect a large-scale question-code dataset from Stack Overflow. The dataset has been widely adopted to facilitate follow-up research. Based on the dataset, we further study improving the NLI capacity via a novel "model collaborative framework". Specifically, we consider machine learning models for two tasks: code retrieval, which aims to retrieve code solutions from a code base to address the given question, and code annotation, whose goal is to generate a natural language sentence to describe a given code snippet. Instead of training them separately, we let the code retrieval model utilize the generated annotations as features to improve the retrieval performance, and leverage a retrieval-based signal to drive the code annotation model towards producing more useful annotations.In Part III, we will then show our research on building NLIs that can proactively interact with and learn from users (after deployment). This idea is instantiated in the task of semantic parsing, such as converting user utterances to Application Programming Interface (API) commands for automating smart-home services, or to Structured Query Language (SQL) queries for querying databases. Our preliminary study shows that user utterances in such applications could be very ambiguous. This inspires us to construct an interactive semantic parsing agent that can request user clarification whenever it finds uncertain about the user intent. We further propose MISP, a general-purpose interactive semantic parsing framework that can apply to various semantic parser architectures and parsing schemas. Our experimental results on the challenging text-to-SQL semantic parsing task show that, when a parser is allowed to interact with users, the SQL parsing accuracy can be significantly improved without additional system training. More importantly, as users now have a way to explore and open the blackbox of the system, user trust can be increased. Such interaction can also be leveraged as training signals for the semantic parsing agent to continually improve itself in the long-term deployment. Another intriguing problem derived from interactive semantic parsing is, when the parsing agent receives user feedback (which typically corresponds to the user intent of revising the previously generated semantic parse), how should it make the revision? In the last chapter of this part, we introduce our proposed model for incrementally editing tree-structured data (e.g., an Abstract Syntax Tree of a semantic parse) based on the given user feedback. By infusing interactivity, the research stimulates NLIs towards being more reliable and responsible to their decisions, and being adaptive and controllable to boost human productivity.In the final chapter, we will outline future research and conclude the dissertation. In particular, we will first summarize the key contributions in our existing work, and then present possible research directions along our defined three stages of the NLI life cycle. In summary, we seek to further relieve the burden of NLI construction and enable NLIs that can reliably serve and interact with users in practical applications.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Level thesis:degree_level
- doctoral
- Discipline thesis:degree_discipline
- Computer Science and Engineering
- Grantor dc:publisher
- The Ohio State University
- Year dc:date
- 2021
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Yao, Ziyu
- Advisor dc:contributor.advisor
-
- Sun, Huan
Subjects
dc:subject × 8Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=osu1626994450767947