Skip to main content
QUICK REVIEW

[Paper Review] Fantastic Rewards and How to Tame Them: A Case Study on Reward Learning for Task-oriented Dialogue Systems

Yihao Feng, Shentao Yang|arXiv (Cornell University)|Feb 20, 2023
Topic ModelingComputer Science6 citations
TL;DR

This paper proposes RewardNet and RewardMLE, two learning-to-rank-inspired objectives for training a reward function in end-to-end task-oriented dialogue systems. By learning preference-based reward signals from dialogue trajectories, the method enables more effective offline reinforcement learning, achieving state-of-the-art performance on the MultiWOZ 2.0 benchmark with a combined score of 107.11.

ABSTRACT

When learning task-oriented dialogue (ToD) agents, reinforcement learning (RL) techniques can naturally be utilized to train dialogue strategies to achieve user-specific goals. Prior works mainly focus on adopting advanced RL techniques to train the ToD agents, while the design of the reward function is not well studied. This paper aims at answering the question of how to efficiently learn and leverage a reward function for training end-to-end (E2E) ToD agents. Specifically, we introduce two generalized objectives for reward-function learning, inspired by the classical learning-to-rank literature. Further, we utilize the learned reward function to guide the training of the E2E ToD agent. With the proposed techniques, we achieve competitive results on the E2E response-generation task on the Multiwoz 2.0 dataset. Source code and checkpoints are publicly released at https://github.com/Shentao-YANG/Fantastic_Reward_ICLR2023.

Motivation & Objective

  • To address the challenge of sparse reward signals in offline reinforcement learning for end-to-end task-oriented dialogue (ToD) systems.
  • To design a more informative reward function that captures preference ordering among dialogue trajectories, improving policy optimization.
  • To enable effective fine-tuning of pre-trained language models using learned reward signals for better dialogue generation.
  • To improve generalization and performance beyond demonstrated human behavior by learning from relative preferences.
  • To provide a stable and scalable framework for reward function learning in complex dialogue environments.

Proposed method

  • Proposes RewardNet, a contrastive learning objective that ranks positive (high-quality) dialogue trajectories higher than negative ones based on preference signals.
  • Introduces RewardMLE, a maximum likelihood estimation-based method that models the probability of preferred trajectories using a learned reward function.
  • Uses a BART-based architecture to parameterize the reward function, enabling gradient flow from the reward model to the response-generation policy.
  • Trains the reward model on fixed-length dialogue trajectories from the MultiWOZ 2.0 dataset, comparing trajectories of similar complexity to ensure meaningful preference learning.
  • Applies the learned reward function to guide offline reinforcement learning in training the end-to-end ToD agent using Gumbel-Softmax sampling.
  • Employs curriculum learning and gradient clipping to stabilize training of the response-generation model under the learned reward signal.
Figure 1: Overview of the proposed method. We denote “Accumulated Reward” for the learned accumulated reward, $J(\cdot;\theta)$ for the accumulated reward of each trajectory, $S(\cdot)$ for the combined score of each trajectory, $\ell_{\mathrm{W}}$ for the weighted regularization, $\ell_{\mathrm{DST
Figure 1: Overview of the proposed method. We denote “Accumulated Reward” for the learned accumulated reward, $J(\cdot;\theta)$ for the accumulated reward of each trajectory, $S(\cdot)$ for the combined score of each trajectory, $\ell_{\mathrm{W}}$ for the weighted regularization, $\ell_{\mathrm{DST

Experimental results

Research questions

  • RQ1Can learning-to-rank objectives improve the quality of reward functions for offline reinforcement learning in task-oriented dialogue systems?
  • RQ2How does a preference-based reward function compare to sparse, binary goal-based rewards in terms of downstream dialogue policy performance?
  • RQ3Can a learned reward function enable end-to-end ToD agents to surpass human demonstration performance on standard benchmarks?
  • RQ4What hyperparameter configurations (e.g., trajectory length, reward function form) yield the most stable and effective training in offline ToD learning?
  • RQ5How robust are the proposed reward learning methods across different random seeds and model architectures?

Key findings

  • The proposed RewardMLE method achieves a combined score of 107.11 on the MultiWOZ 2.1 benchmark, outperforming prior methods including CASPI (105.40) and UBAR (105.25).
  • RewardNet with Gumbel-Softmax sampling achieves a combined score of 106.62, demonstrating consistent improvement over strong baselines like SimpleTOD (92.98).
  • The median performance across five random seeds shows that RewardMLE consistently outperforms CASPI on all metrics, with a median combined score of 107.74 compared to CASPI’s 105.04.
  • Ablation studies confirm that the preference-based reward learning approach leads to more stable training and better generalization than sparse reward signals.
  • The use of BART-large-cnn as the backbone for the response generator, combined with the learned reward function, enables strong zero-shot generalization to unseen dialogue scenarios.
  • The method achieves state-of-the-art results on the E2E response-generation task, with a success rate of 83.90% and BLEU score of 18.73 under the best configuration.
(a) RewardNet
(a) RewardNet

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.