-
SynthDST: Synthetic Data is All You Need for Few-Shot Dialog State Tracking
Authors:
Atharva Kulkarni,
Bo-Hsiang Tseng,
Joel Ruben Antony Moniz,
Dhivya Piraviperumal,
Hong Yu,
Shruti Bhargava
Abstract:
In-context learning with Large Language Models (LLMs) has emerged as a promising avenue of research in Dialog State Tracking (DST). However, the best-performing in-context learning methods involve retrieving and adding similar examples to the prompt, requiring access to labeled training data. Procuring such training data for a wide range of domains and applications is time-consuming, expensive, an…
▽ More
In-context learning with Large Language Models (LLMs) has emerged as a promising avenue of research in Dialog State Tracking (DST). However, the best-performing in-context learning methods involve retrieving and adding similar examples to the prompt, requiring access to labeled training data. Procuring such training data for a wide range of domains and applications is time-consuming, expensive, and, at times, infeasible. While zero-shot learning requires no training data, it significantly lags behind the few-shot setup. Thus, `\textit{Can we efficiently generate synthetic data for any dialogue schema to enable few-shot prompting?}' Addressing this question, we propose \method, a data generation framework tailored for DST, utilizing LLMs. Our approach only requires the dialogue schema and a few hand-crafted dialogue templates to synthesize natural, coherent, and free-flowing dialogues with DST annotations. Few-shot learning using data from {\method} results in $4-5%$ improvement in Joint Goal Accuracy over the zero-shot baseline on MultiWOZ 2.1 and 2.4. Remarkably, our few-shot learning approach recovers nearly $98%$ of the performance compared to the few-shot setup using human-annotated training data. Our synthetic data and code can be accessed at https://github.com/apple/ml-synthdst
△ Less
Submitted 3 February, 2024;
originally announced February 2024.
-
Can Large Language Models Understand Context?
Authors:
Yilun Zhu,
Joel Ruben Antony Moniz,
Shruti Bhargava,
Jiarui Lu,
Dhivya Piraviperumal,
Site Li,
Yuan Zhang,
Hong Yu,
Bo-Hsiang Tseng
Abstract:
Understanding context is key to understanding human language, an ability which Large Language Models (LLMs) have been increasingly seen to demonstrate to an impressive extent. However, though the evaluation of LLMs encompasses various domains within the realm of Natural Language Processing, limited attention has been paid to probing their linguistic capability of understanding contextual features.…
▽ More
Understanding context is key to understanding human language, an ability which Large Language Models (LLMs) have been increasingly seen to demonstrate to an impressive extent. However, though the evaluation of LLMs encompasses various domains within the realm of Natural Language Processing, limited attention has been paid to probing their linguistic capability of understanding contextual features. This paper introduces a context understanding benchmark by adapting existing datasets to suit the evaluation of generative models. This benchmark comprises of four distinct tasks and nine datasets, all featuring prompts designed to assess the models' ability to understand context. First, we evaluate the performance of LLMs under the in-context learning pretraining scenario. Experimental results indicate that pre-trained dense models struggle with understanding more nuanced contextual features when compared to state-of-the-art fine-tuned models. Second, as LLM compression holds growing significance in both research and real-world applications, we assess the context understanding of quantized models under in-context-learning settings. We find that 3-bit post-training quantization leads to varying degrees of performance reduction on our benchmark. We conduct an extensive analysis of these scenarios to substantiate our experimental results.
△ Less
Submitted 1 February, 2024;
originally announced February 2024.
-
MARRS: Multimodal Reference Resolution System
Authors:
Halim Cagri Ates,
Shruti Bhargava,
Site Li,
Jiarui Lu,
Siddhardha Maddula,
Joel Ruben Antony Moniz,
Anil Kumar Nalamalapu,
Roman Hoang Nguyen,
Melis Ozyildirim,
Alkesh Patel,
Dhivya Piraviperumal,
Vincent Renkens,
Ankit Samal,
Thy Tran,
Bo-Hsiang Tseng,
Hong Yu,
Yuan Zhang,
Rong Zou
Abstract:
Successfully handling context is essential for any dialog understanding task. This context maybe be conversational (relying on previous user queries or system responses), visual (relying on what the user sees, for example, on their screen), or background (based on signals such as a ringing alarm or playing music). In this work, we present an overview of MARRS, or Multimodal Reference Resolution Sy…
▽ More
Successfully handling context is essential for any dialog understanding task. This context maybe be conversational (relying on previous user queries or system responses), visual (relying on what the user sees, for example, on their screen), or background (based on signals such as a ringing alarm or playing music). In this work, we present an overview of MARRS, or Multimodal Reference Resolution System, an on-device framework within a Natural Language Understanding system, responsible for handling conversational, visual and background context. In particular, we present different machine learning models to enable handing contextual queries; specifically, one to enable reference resolution, and one to handle context via query rewriting. We also describe how these models complement each other to form a unified, coherent, lightweight system that can understand context while preserving user privacy.
△ Less
Submitted 2 November, 2023;
originally announced November 2023.
-
STEER: Semantic Turn Extension-Expansion Recognition for Voice Assistants
Authors:
Leon Liyang Zhang,
Jiarui Lu,
Joel Ruben Antony Moniz,
Aditya Kulkarni,
Dhivya Piraviperumal,
Tien Dung Tran,
Nicholas Tzou,
Hong Yu
Abstract:
In the context of a voice assistant system, steering refers to the phenomenon in which a user issues a follow-up command attempting to direct or clarify a previous turn. We propose STEER, a steering detection model that predicts whether a follow-up turn is a user's attempt to steer the previous command. Constructing a training dataset for steering use cases poses challenges due to the cold-start p…
▽ More
In the context of a voice assistant system, steering refers to the phenomenon in which a user issues a follow-up command attempting to direct or clarify a previous turn. We propose STEER, a steering detection model that predicts whether a follow-up turn is a user's attempt to steer the previous command. Constructing a training dataset for steering use cases poses challenges due to the cold-start problem. To overcome this, we developed heuristic rules to sample opt-in usage data, approximating positive and negative samples without any annotation. Our experimental results show promising performance in identifying steering intent, with over 95% accuracy on our sampled data. Moreover, STEER, in conjunction with our sampling strategy, aligns effectively with real-world steering scenarios, as evidenced by its strong zero-shot performance on a human-graded evaluation set. In addition to relying solely on user transcripts as input, we introduce STEER+, an enhanced version of the model. STEER+ utilizes a semantic parse tree to provide more context on out-of-vocabulary words, such as named entities that often occur at the sentence boundary. This further improves model performance, reducing error rate in domains where entities frequently appear, such as messaging. Lastly, we present a data analysis that highlights the improvement in user experience when voice assistants support steering use cases.
△ Less
Submitted 25 October, 2023;
originally announced October 2023.
-
Intelligent Assistant Language Understanding On Device
Authors:
Cecilia Aas,
Hisham Abdelsalam,
Irina Belousova,
Shruti Bhargava,
Jianpeng Cheng,
Robert Daland,
Joris Driesen,
Federico Flego,
Tristan Guigue,
Anders Johannsen,
Partha Lal,
Jiarui Lu,
Joel Ruben Antony Moniz,
Nathan Perkins,
Dhivya Piraviperumal,
Stephen Pulman,
Diarmuid Ó Séaghdha,
David Q. Sun,
John Torr,
Marco Del Vecchio,
Jay Wacker,
Jason D. Williams,
Hong Yu
Abstract:
It has recently become feasible to run personal digital assistants on phones and other personal devices. In this paper we describe a design for a natural language understanding system that runs on device. In comparison to a server-based assistant, this system is more private, more reliable, faster, more expressive, and more accurate. We describe what led to key choices about architecture and techn…
▽ More
It has recently become feasible to run personal digital assistants on phones and other personal devices. In this paper we describe a design for a natural language understanding system that runs on device. In comparison to a server-based assistant, this system is more private, more reliable, faster, more expressive, and more accurate. We describe what led to key choices about architecture and technologies. For example, some approaches in the dialog systems literature are difficult to maintain over time in a deployment setting. We hope that sharing learnings from our practical experiences may help inform future work in the research community.
△ Less
Submitted 7 August, 2023;
originally announced August 2023.
-
CREAD: Combined Resolution of Ellipses and Anaphora in Dialogues
Authors:
Bo-Hsiang Tseng,
Shruti Bhargava,
Jiarui Lu,
Joel Ruben Antony Moniz,
Dhivya Piraviperumal,
Lin Li,
Hong Yu
Abstract:
Anaphora and ellipses are two common phenomena in dialogues. Without resolving referring expressions and information omission, dialogue systems may fail to generate consistent and coherent responses. Traditionally, anaphora is resolved by coreference resolution and ellipses by query rewrite. In this work, we propose a novel joint learning framework of modeling coreference resolution and query rewr…
▽ More
Anaphora and ellipses are two common phenomena in dialogues. Without resolving referring expressions and information omission, dialogue systems may fail to generate consistent and coherent responses. Traditionally, anaphora is resolved by coreference resolution and ellipses by query rewrite. In this work, we propose a novel joint learning framework of modeling coreference resolution and query rewriting for complex, multi-turn dialogue understanding. Given an ongoing dialogue between a user and a dialogue assistant, for the user query, our joint learning model first predicts coreference links between the query and the dialogue context, and then generates a self-contained rewritten user query. To evaluate our model, we annotate a dialogue based coreference resolution dataset, MuDoCo, with rewritten queries. Results show that the performance of query rewrite can be substantially boosted (+2.3% F1) with the aid of coreference modeling. Furthermore, our joint model outperforms the state-of-the-art coreference resolution model (+2% F1) on this dataset.
△ Less
Submitted 20 May, 2021;
originally announced May 2021.
-
Conversational Semantic Parsing for Dialog State Tracking
Authors:
Jianpeng Cheng,
Devang Agrawal,
Hector Martinez Alonso,
Shruti Bhargava,
Joris Driesen,
Federico Flego,
Shaona Ghosh,
Dain Kaplan,
Dimitri Kartsaklis,
Lin Li,
Dhivya Piraviperumal,
Jason D Williams,
Hong Yu,
Diarmuid O Seaghdha,
Anders Johannsen
Abstract:
We consider a new perspective on dialog state tracking (DST), the task of estimating a user's goal through the course of a dialog. By formulating DST as a semantic parsing task over hierarchical representations, we can incorporate semantic compositionality, cross-domain knowledge sharing and co-reference. We present TreeDST, a dataset of 27k conversations annotated with tree-structured dialog stat…
▽ More
We consider a new perspective on dialog state tracking (DST), the task of estimating a user's goal through the course of a dialog. By formulating DST as a semantic parsing task over hierarchical representations, we can incorporate semantic compositionality, cross-domain knowledge sharing and co-reference. We present TreeDST, a dataset of 27k conversations annotated with tree-structured dialog states and system acts. We describe an encoder-decoder framework for DST with hierarchical representations, which leads to 20% improvement over state-of-the-art DST approaches that operate on a flat meaning space of slot-value pairs.
△ Less
Submitted 13 May, 2021; v1 submitted 24 October, 2020;
originally announced October 2020.