Interpreting User Requests in the Context of Natural Language Standing Instructions

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Moghe, Nikita, Xia, Patrick, Andreas, Jacob, Eisner, Jason, Van Durme, Benjamin, Jhamtani, Harsh
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909130910859264
author Moghe, Nikita
Xia, Patrick
Andreas, Jacob
Eisner, Jason
Van Durme, Benjamin
Jhamtani, Harsh
author_facet Moghe, Nikita
Xia, Patrick
Andreas, Jacob
Eisner, Jason
Van Durme, Benjamin
Jhamtani, Harsh
contents Users of natural language interfaces, generally powered by Large Language Models (LLMs),often must repeat their preferences each time they make a similar request. We describe an approach to LLM-based dialogue modeling in which persistent user constraints and preferences -- collectively termed standing instructions -- as additional context for such interfaces. For example, when a user states "I'm hungry", a previously expressed preference for Persian food can be automatically added to the LLM prompt, influencing the search for relevant restaurants. We develop NLSI, a language-to-program dataset consisting of over 2.4K dialogues spanning 17 domains, where each dialogue is paired with a user profile (a set of users specific standing instructions) and corresponding structured representations (API calls). A key challenge in NLSI is to identify which subset of the standing instructions is applicable to a given dialogue. NLSI contains diverse phenomena, from simple preferences to interdependent instructions such as triggering a hotel search whenever the user is booking tickets to an event. We conduct experiments on NLSI using prompting with large language models and various retrieval approaches, achieving a maximum of 44.7% exact match on API prediction. Our results demonstrate the challenges in identifying the relevant standing instructions and their interpretation into API calls.
format Preprint
id arxiv_https___arxiv_org_abs_2311_09796
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Interpreting User Requests in the Context of Natural Language Standing Instructions
Moghe, Nikita
Xia, Patrick
Andreas, Jacob
Eisner, Jason
Van Durme, Benjamin
Jhamtani, Harsh
Computation and Language
Artificial Intelligence
Users of natural language interfaces, generally powered by Large Language Models (LLMs),often must repeat their preferences each time they make a similar request. We describe an approach to LLM-based dialogue modeling in which persistent user constraints and preferences -- collectively termed standing instructions -- as additional context for such interfaces. For example, when a user states "I'm hungry", a previously expressed preference for Persian food can be automatically added to the LLM prompt, influencing the search for relevant restaurants. We develop NLSI, a language-to-program dataset consisting of over 2.4K dialogues spanning 17 domains, where each dialogue is paired with a user profile (a set of users specific standing instructions) and corresponding structured representations (API calls). A key challenge in NLSI is to identify which subset of the standing instructions is applicable to a given dialogue. NLSI contains diverse phenomena, from simple preferences to interdependent instructions such as triggering a hotel search whenever the user is booking tickets to an event. We conduct experiments on NLSI using prompting with large language models and various retrieval approaches, achieving a maximum of 44.7% exact match on API prediction. Our results demonstrate the challenges in identifying the relevant standing instructions and their interpretation into API calls.
title Interpreting User Requests in the Context of Natural Language Standing Instructions
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2311.09796