Guided Dialog Policy Learning without Adversarial Learning in the Loop

Ziming Li, Sungjin Lee, Baolin Peng, Jinchao Li, Shahin Shayandeh, Jianfeng GaoarXiv 2020

Abstract

Training task-oriented dialogue systems (TDSs) using Reinforcement Learning (RL) often faces challenges like sparse rewards and unstable adversarial training. This paper introduces a novel two-step framework that decouples reward learning from policy optimization. By utilizing a Variational Autoencoder (VAE) to map discrete dialogue states into a continuous latent space and training a discriminator against an auxiliary generator, the authors create a stable, fixed reward function. This approach allows for the use of efficient off-policy algorithms like Deep Q-Networks (DQN). Evaluated on the MultiWOZ dataset, the proposed DQN(GAN-VAE) model achieves a state-of-the-art success rate of 98.5% with significantly shorter dialogues.

Introduction

Task-oriented Dialogue Systems (TDSs), such as virtual assistants, rely on a dialogue policy to determine optimal responses. Standard RL training for these policies is hindered by two primary issues: sparse rewards and brittle adversarial training. In traditional setups, agents often receive feedback only at the end of a long conversation, making it difficult to attribute success or failure to specific turns. To mitigate this, researchers have turned to Adversarial Learning (AL), where a discriminator provides dense rewards by distinguishing between human and machine behavior. However, simultaneous training of the agent and discriminator often leads to instability, mode collapse, and a restriction to less efficient policy-gradient methods like PPO.

Methodology

The authors propose a "consecutive" training pipeline that takes adversarial learning "out of the loop" of policy optimization.

Step 1: Learning the Reward Function

Instead of training the reward model against the dialogue agent itself, the authors use an auxiliary generator. To bridge the gap between discrete dialogue actions and the continuous requirements of GANs, they employ a Variational Autoencoder (VAE). The VAE projects discrete dialogue states into a continuous latent space, while the Gumbel-Softmax trick ensures differentiability during action selection. This setup allows the discriminator to learn a nuanced reward signal by comparing real human-like transitions with simulated ones.

Architecture of the GAN-VAE reward learning framework showing the VAE embedding and discriminator setup.

Step 2: Policy Learning

Once the discriminator is trained, it is frozen and used as a static reward function. This decoupling eliminates the "moving target" problem inherent in joint adversarial training. Because the reward is fixed, the framework is algorithm-agnostic, enabling the use of sample-efficient off-policy methods like DQN as well as on-policy methods like PPO.

Experiments and Results

The framework was evaluated using the MultiWOZ dataset, a large-scale multi-domain dialogue corpus, within the ConvLab environment. The results demonstrate that the GAN-VAE approach significantly outperforms both rule-based rewards and standard adversarial methods.

Performance comparison of dialogue agents on the MultiWOZ dataset, highlighting the superior success rate and efficiency of DQN(GAN-VAE).

As shown in the results, the DQN(GAN-VAE) model achieved a 98.5% success rate, surpassing the rule-based DQN (87.0%) and the non-VAE version (95.3%). Furthermore, the dialogues were more efficient, averaging only 11.04 turns per task compared to nearly 15 turns for the rule-based baseline.

Key Insights

  • Decoupling for Stability: By training the reward model first, the authors eliminate the instability of the "adversarial dance," resulting in smoother learning curves.
  • Continuous Simulation: Mapping discrete states to a continuous space via VAE allows the generator to explore "near-miss" scenarios, providing the discriminator with a richer training set than simple success/fail binary rules.
  • Zero-Shot Transfer: The reward model captures general features of high-quality dialogue. Experiments showed that a reward model trained on specific domains (e.g., Restaurant) could successfully guide a policy in a new domain (e.g., Hotel) without further reward training.

Conclusion and Future Work

This research proves that pre-trained adversarial rewards can dramatically boost the performance and stability of dialogue policies. While the current model excels on MultiWOZ, future work will address the challenges of even larger action spaces and more sophisticated action embeddings to further enhance cross-domain generalization.

Summary updated

BibTeX
@misc{li2020guided,
  author = {Ziming Li and Sungjin Lee and Baolin Peng and Jinchao Li and Shahin Shayandeh and Jianfeng Gao},
  title = {{Guided Dialog Policy Learning without Adversarial Learning in the Loop}},
  year = {2020},
  eprint = {2004.03267},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.03267},
}
Figure