Natural Language Decomposition and Interpretation of Complex Utterances

05/15/2023
by   Harsh Jhamtani, et al.
2

Natural language interfaces often require supervised data to translate user requests into programs, database queries, or other structured intent representations. During data collection, it can be difficult to anticipate and formalize the full range of user needs – for example, in a system designed to handle simple requests (like find my meetings tomorrow or move my meeting with my manager to noon), users may also express more elaborate requests (like swap all my calls on Monday and Tuesday). We introduce an approach for equipping a simple language-to-code model to handle complex utterances via a process of hierarchical natural language decomposition. Our approach uses a pre-trained language model to decompose a complex utterance into a sequence of smaller natural language steps, then interprets each step using the language-to-code model. To test our approach, we collect and release DeCU – a new NL-to-program benchmark to evaluate Decomposition of Complex Utterances. Experiments show that the proposed approach enables the interpretation of complex utterances with almost no complex training data, while outperforming standard few-shot prompting approaches.

READ FULL TEXT

page 16

page 17

research
04/22/2021

Fuzzy Classification of Multi-intent Utterances

Current intent classification approaches assign binary intent class memb...
research
12/16/2021

Few-Shot Semantic Parsing with Language Models Trained On Code

Large language models, prompted with in-context examples, can perform se...
research
10/11/2020

Learning Adaptive Language Interfaces through Decomposition

Our goal is to create an interactive natural language interface that eff...
research
05/19/2021

POINTREC: A Test Collection for Narrative-driven Point of Interest Recommendation

This paper presents a test collection for contextual point of interest (...
research
05/25/2022

Active Programming by Example with a Natural Language Prior

We introduce APEL, a new framework that enables non-programmers to indir...
research
07/23/2016

Processing Natural Language About Ongoing Actions

Actions may not proceed as planned; they may be interrupted, resumed or ...
research
05/02/2022

Supporting Complex Information-Seeking Tasks with Implicit Constraints

Current interactive systems with natural language interface lack an abil...

Please sign up or login with your details

Forgot password? Click here to reset