Dialog policy optimization for low resource setting using Self-play and Reward based Sampling

Tharindu Madusanka, Durashi Langappuli, Thisara Welmilla, Uthayasanker Thayasivam, Sanath JayasenaPaclic 2020

Abstract

Training Reinforcement Learning (RL) agents for task-oriented dialogue systems typically requires massive datasets, which are often unavailable for niche domains or local languages. In these low-resource scenarios, agents frequently suffer from severe overfitting. This paper proposes a novel framework featuring a self-play mechanism that synthesizes realistic user agendas from underlying probability distributions and a reward-based sampling technique. By prioritizing learning from failed dialogues, the approach significantly improves task success rates and generalization. Experimental results in a movie booking domain demonstrate that the method achieves a test success rate of 0.84 with as few as 10 training samples, effectively eliminating the overfitting gap.

Introduction

In task-oriented dialogue systems, the Dialogue Policy Network is responsible for selecting the agent's next action based on the current state. While Reinforcement Learning (RL) is the standard for training these policies, its high data requirements pose a significant barrier in low-resource settings. When trained on small datasets, RL agents tend to memorize specific sequences rather than learning robust policies, leading to poor generalization on unseen user goals.

Existing solutions, such as crowdsourcing or rule-based simulators, are either prohibitively expensive or too rigid to capture the nuances of natural interaction. Purely random agenda generation often results in unrealistic scenarios that hinder the learning process. This research addresses these challenges by making RL sample-efficient enough to learn from extremely limited data.

Methodology

The proposed framework utilizes a two-stage process to synthesize training data and optimize the dialogue policy:

  1. Self-play via Probability Distributions: The system extracts the underlying probability distributions of user agendas (e.g., requests for specific slots like "time" or "location") from the limited training data. To encourage exploration and prevent the agent from simply mimicking the small dataset, Gaussian noise is added to these distributions. Synthetic agendas are then sampled from these noisy distributions and fed into a user simulator.
  2. Reward-Based Sampling: This core innovation prioritizes "hard" examples. Recognizing that agents learn more from failures than successes, the system tracks rewards from interactions. It dynamically adjusts sampling probabilities to favor user agendas that previously led to failed dialogues. Two normalization methods—naive and softmax—are used to update these probabilities, with softmax providing more aggressive exploration in extremely data-scarce environments.
Proposed system architecture featuring self-play, distribution calculation, and reward-based updates.

Experimental Setup

The method was evaluated in a movie booking domain using an open-source user simulator. The environment includes 29 slots represented by a 268-dimensional feature vector. To test robustness in low-resource settings, training data was constrained to between 10 and 70 samples, with a holdout set of 30 user goals for testing.

Results and Discussion

The experimental results highlight the effectiveness of reward-based sampling in overcoming overfitting. A baseline Deep Q-Network (DQN) trained on 10 samples achieved a test success rate of only 0.19, despite high training performance. In contrast, the proposed "Self-play with softmax" method reached a mean test success rate of 0.84 at the same data level.

Comparison of success rates across different sampling strategies and training set sizes.

Key Insights

  • Failure-Driven Learning: By skewing the sampling distribution toward failed acts, the agent is forced to explore difficult regions of the state space, building a more robust policy.
  • Softmax for Early Exploration: Softmax normalization is particularly effective when data is most scarce (10-15 samples), as it exaggerates the differences between success and failure to drive exploration.
  • Realistic Data Synthesis: Extracting distributions from small datasets allows for the generation of statistically realistic agendas without the need for human intervention or the pitfalls of purely random sampling.

Across all tested sample sizes, the reward-based sampling method improved the mean task success rate by an average of 11.3% over random sampling.

Conclusion

This paper demonstrates that prioritizing failed dialogues through reward-based sampling and synthesizing data via self-play can drastically improve the performance of RL-based dialogue agents in low-resource settings. Future work includes exploring more complex, dense reward functions and extending the framework to end-to-end conversational agents using active learning techniques.

Summary updated

BibTeX
@inproceedings{madusanka2020dialog,
  author = {Tharindu Madusanka and Durashi Langappuli and Thisara Welmilla and Uthayasanker Thayasivam and Sanath Jayasena},
  title = {{Dialog policy optimization for low resource setting using Self-play and Reward based Sampling}},
  booktitle = {Paclic},
  year = {2020},
}
Figure