Bootstrapping LLM-based Task-Oriented Dialogue Agents via Self-Talk
Dennis Ulmer, Elman Mansimov, Kaixiang Lin, Justin Sun, Xibin Gao, Yi Zhang
TL;DR
This work tackles the data bottleneck in adapting LLMs to task-oriented dialogues by enabling self-generated training data through a self-talk loop between a client and an agent LLM. It introduces structured prompting and workflow-graph prompting to steer conversations, along with automated metrics for subgoal completion, ending detection, and character consistency, which are validated against human judgments. Finetuning experiments show that carefully filtered self-generated data can improve agent performance, though data quality and diversity trade-offs matter and multi-loop self-talk can be unstable. The study demonstrates the feasibility of bootstrapping task-oriented dialogue agents from their own outputs and provides automated evaluation tools and insights for future self-improvement research in LLMs.
Abstract
Large language models (LLMs) are powerful dialogue agents, but specializing them towards fulfilling a specific function can be challenging. Instructing tuning, i.e. tuning models on instruction and sample responses generated by humans (Ouyang et al., 2022), has proven as an effective method to do so, yet requires a number of data samples that a) might not be available or b) costly to generate. Furthermore, this cost increases when the goal is to make the LLM follow a specific workflow within a dialogue instead of single instructions. Inspired by the self-play technique in reinforcement learning and the use of LLMs to simulate human agents, we propose a more effective method for data collection through LLMs engaging in a conversation in various roles. This approach generates a training data via "self-talk" of LLMs that can be refined and utilized for supervised fine-tuning. We introduce an automated way to measure the (partial) success of a dialogue. This metric is used to filter the generated conversational data that is fed back in LLM for training. Based on our automated and human evaluations of conversation quality, we demonstrate that such self-talk data improves results. In addition, we examine the various characteristics that showcase the quality of generated dialogues and how they can be connected to their potential utility as training data.
