DFlow: Diverse Dialogue Flow Simulation with Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Du, Wanyu, Feng, Song, Gung, James, Sun, Lijia, Zhang, Yi, Mansour, Saab, Qi, Yanjun
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915178094788608
author Du, Wanyu
Feng, Song
Gung, James
Sun, Lijia
Zhang, Yi
Mansour, Saab
Qi, Yanjun
author_facet Du, Wanyu
Feng, Song
Gung, James
Sun, Lijia
Zhang, Yi
Mansour, Saab
Qi, Yanjun
contents Developing language model-based dialogue agents requires effective data to train models that can follow specific task logic. However, most existing data simulation methods focus on increasing diversity in language, topics, or dialogue acts at the utterance level, largely neglecting a critical aspect of task logic diversity at the dialogue level. This paper proposes a novel data simulation method designed to enhance the diversity of synthetic dialogues by focusing on task execution logic. Our method uses LLMs to generate decision tree-structured task plans, which enables the derivation of diverse dialogue trajectories for a given task. Each trajectory, referred to as a "dialog flow", guides the generation of a multi-turn dialogue that follows a unique trajectory. We apply this method to generate a task-oriented dialogue dataset comprising 3,886 dialogue flows across 15 different domains. We validate the effectiveness of this dataset using the next action prediction task, where models fine-tuned on our dataset outperform strong baselines, including GPT-4. Upon acceptance of this paper, we plan to release the code and data publicly.
format Preprint
id arxiv_https___arxiv_org_abs_2410_14853
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DFlow: Diverse Dialogue Flow Simulation with Large Language Models
Du, Wanyu
Feng, Song
Gung, James
Sun, Lijia
Zhang, Yi
Mansour, Saab
Qi, Yanjun
Computation and Language
Artificial Intelligence
Developing language model-based dialogue agents requires effective data to train models that can follow specific task logic. However, most existing data simulation methods focus on increasing diversity in language, topics, or dialogue acts at the utterance level, largely neglecting a critical aspect of task logic diversity at the dialogue level. This paper proposes a novel data simulation method designed to enhance the diversity of synthetic dialogues by focusing on task execution logic. Our method uses LLMs to generate decision tree-structured task plans, which enables the derivation of diverse dialogue trajectories for a given task. Each trajectory, referred to as a "dialog flow", guides the generation of a multi-turn dialogue that follows a unique trajectory. We apply this method to generate a task-oriented dialogue dataset comprising 3,886 dialogue flows across 15 different domains. We validate the effectiveness of this dataset using the next action prediction task, where models fine-tuned on our dataset outperform strong baselines, including GPT-4. Upon acceptance of this paper, we plan to release the code and data publicly.
title DFlow: Diverse Dialogue Flow Simulation with Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2410.14853