Toward Self-Learning End-to-End Task-oriented Dialog Systems

Xiaoying Zhang, Baolin Peng, Jianfeng Gao, Helen Meng

Abstract

Task-oriented dialog systems often struggle with out-of-distribution (OOD) user behaviors and evolving requirements after deployment. We present SL-AGENT, a framework that enables end-to-end dialog systems to "self-learn" from unlabeled interaction logs. By utilizing a pre-trained reward model and reinforcement learning, SL-AGENT adapts to new linguistic patterns and task extensions with minimal human intervention, bridging the gap between laboratory training and real-world application.

Introduction

Most task-oriented dialog systems (TDS), such as those used for booking hotels or restaurants, are trained on static, hand-annotated datasets. While these models perform well in controlled environments, they often fail when deployed. Real-world users are unpredictable: they employ language patterns absent from training data, request features outside the original scope, or query database entities that did not exist during the initial training phase. This is known as the Out-of-Distribution (OOD) problem.

Traditionally, addressing these failures requires expensive and time-consuming human re-annotation of interaction logs. SL-AGENT addresses this challenge by creating a system that automatically adapts to changing environments by learning directly from its interactions with real humans.

The SL-AGENT Framework

SL-AGENT consists of two primary components designed to facilitate continuous improvement:

  1. The Dialog Model: Based on SOLOIST, a GPT-2-based model that treats dialog as a sequence generation task, mapping conversation history and database states directly to natural language responses.
  2. The Reward Model: This component serves as the evaluator. It is pre-trained using a contrastive learning objective and a robust data augmentation strategy. To ensure the reward model can identify common bot failures, researchers generated synthetic "negative" examples—simulating repetition, inconsistency, and misunderstanding.

The Self-Learning Procedure

The system follows a four-step iterative loop to refine its performance without constant human oversight:

The SL-AGENT self-learning procedure, illustrating the loop between deployment, log accumulation, and reinforcement learning refinement.
  • Initial Training: The model is first trained on a small set of labeled data.
  • Deployment: The agent interacts with users, and these unlabeled logs are archived.
  • Refinement: Using the REINFORCE algorithm, the agent updates its parameters. The Reward Model provides turn-level scores for the collected logs, guiding the model toward more successful responses.
  • Machine Teaching: For entirely new functions (e.g., adding delivery services), a human expert provides a small number of corrected examples, which the bot uses to quickly adapt its internal logic.

Experimental Evaluation

The framework was evaluated on four domains from the MultiWOZ dataset: Attraction, Train, Hotel, and Restaurant. Additionally, a new benchmark, Restaurant-Ext, was introduced to test task extensions (e.g., adding delivery_fee and dish slots).

Key Results

SL-AGENT (referred to as SL-SOLOIST in results) demonstrated significant improvements across all metrics. Unlike previous session-level rewards, SL-AGENT’s turn-level reward provides denser feedback, allowing the model to pinpoint exactly which part of a response was suboptimal.

Performance comparison of SL-SOLOIST against various baselines across four domains, showing significant gains in Success Rate.

In simulated environments, SL-SOLOIST significantly outperformed baselines. For instance, in the Hotel domain, it improved the Success Rate from 29.5% to 39.5%. When tested against real human users on Amazon Mechanical Turk, the system achieved a Success Rate of 36.21%, compared to 29.54% for the base model.

Furthermore, on the Restaurant-Ext task, where the base model initially had a 0% success rate, the integration of minimal "Machine Teaching" (just 10 corrected dialogs) allowed SL-AGENT to reach a 24% success rate, effectively amplifying expert guidance through self-learning.

Conclusion and Future Work

SL-AGENT represents a significant step toward autonomous dialog systems capable of adapting to real-world complexity. While the reward model currently acts as a proxy for human judgment, future research will explore incorporating direct natural language feedback from users (e.g., "No, that's not what I meant") to further refine the learning process. The authors also aim to simplify the machine teaching interface to make it accessible for non-expert users.

Summary updated

BibTeX
@inproceedings{zhang2022toward,
  author = {Xiaoying Zhang and Baolin Peng and Jianfeng Gao and Helen Meng},
  title = {{Toward Self-Learning End-to-End Task-oriented Dialog Systems}},
  booktitle = {SIGDIAL},
  year = {2022},
  doi = {10.18653/v1/2022.sigdial-1.49},
}
Figure