DFlow: Diverse Dialogue Flow Simulation with Large Language Models

Wanyu Du, Song Feng, James Gung, Lijia Sun, Yi Zhang +2 more
10/18/2024
cs.CLcs.AI

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{du2024dflow,
  title  = {DFlow: Diverse Dialogue Flow Simulation with Large Language Models},
  author = {Wanyu Du and Song Feng and James Gung and Lijia Sun and Yi Zhang and Saab Mansour and Yanjun Qi},
  year   = {2024},
  eprint = {2410.14853},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.14853v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.14853.svg)](https://codeofpaper.com/paper/2410.14853)

Discussion