Skip to main content
QUICK REVIEW

[Paper Review] JoTR: A Joint Transformer and Reinforcement Learning Framework for Dialog Policy Learning

Wai-Chung Kwan, Huimin Wang|arXiv (Cornell University)|Sep 1, 2023
Topic ModelingComputer Science3 citations
TL;DR

JoTR proposes a novel joint Transformer and reinforcement learning framework for dialogue policy learning that generates flexible, word-level dialogue actions without predefined templates. By leveraging a text-to-text Transformer for dynamic action generation and fine-tuning via PPO with reward shaping, JoTR achieves state-of-the-art performance, improving success rates by up to 28% on MultiWOZ and outperforming strong baselines in both simulator and human evaluations.

ABSTRACT

Dialogue policy learning (DPL) is a crucial component of dialogue modelling. Its primary role is to determine the appropriate abstract response, commonly referred to as the "dialogue action". Traditional DPL methodologies have treated this as a sequential decision problem, using pre-defined action candidates extracted from a corpus. However, these incomplete candidates can significantly limit the diversity of responses and pose challenges when dealing with edge cases, which are scenarios that occur only at extreme operating parameters. To address these limitations, we introduce a novel framework, JoTR. This framework is unique as it leverages a text-to-text Transformer-based model to generate flexible dialogue actions. Unlike traditional methods, JoTR formulates a word-level policy that allows for a more dynamic and adaptable dialogue action generation, without the need for any action templates. This setting enhances the diversity of responses and improves the system's ability to handle edge cases effectively. In addition, JoTR employs reinforcement learning with a reward-shaping mechanism to efficiently finetune the word-level dialogue policy, which allows the model to learn from its interactions, improving its performance over time. We conducted an extensive evaluation of JoTR to assess its effectiveness. Our extensive evaluation shows that JoTR achieves state-of-the-art performance on two benchmark dialogue modelling tasks, as assessed by both user simulators and human evaluators.

Motivation & Objective

  • To address the limitations of traditional dialogue policy learning, which relies on incomplete, predefined action candidates that restrict response diversity and generalization.
  • To enable more flexible and natural dialogue responses by formulating dialogue policy learning as a conditional sequence generation problem using a text-to-text Transformer.
  • To improve policy learning efficiency and effectiveness through reinforcement learning with reward shaping, allowing the model to adapt and optimize over interactions.
  • To enhance robustness in out-of-domain and edge-case scenarios where rare slot combinations occur.
  • To demonstrate superior performance on multi-domain dialogue benchmarks through both automated simulation and human evaluation.

Proposed method

  • JoTR employs a text-to-text Transformer model to generate dialogue actions directly at the word level, eliminating the need for fixed action templates or predefined action sets.
  • The framework formulates dialogue policy learning as a conditional sequence generation task, where the model predicts actions based on dialogue history and state.
  • Reinforcement learning with Proximal Policy Optimization (PPO) is used to fine-tune the policy, optimizing for dialogue success through a shaped reward signal.
  • Reward shaping is applied to incentivize informative and efficient responses, such as proactively providing additional relevant information.
  • A rule-based simulator is implemented for the Schema-Guided Dialogue (SGD) dataset to enable controlled evaluation of policy performance.
  • The model is trained from scratch to avoid distributional shift from pretraining on natural language vs. dialogue action spaces.
Figure 1: This illustrates dialogue policy learning in pipeline dialogue system, where NLU/NLG stands for Natural Language Understanding/Generation, and DST refers to Dialogue State Tracking.
Figure 1: This illustrates dialogue policy learning in pipeline dialogue system, where NLU/NLG stands for Natural Language Understanding/Generation, and DST refers to Dialogue State Tracking.

Experimental results

Research questions

  • RQ1Can a text-to-text Transformer generate diverse and effective dialogue actions without relying on predefined action templates?
  • RQ2How does joint training with reinforcement learning and reward shaping improve dialogue policy performance compared to supervised fine-tuning alone?
  • RQ3To what extent can a word-level policy generalize to rare or unseen slot combinations in multi-domain dialogue scenarios?
  • RQ4Does the proposed framework achieve higher success rates and more efficient dialogue flows compared to strong baselines in both simulated and human evaluations?
  • RQ5How does pretraining on general language data affect policy learning when the input space differs significantly from natural language?

Key findings

  • JoTR achieves a success rate of 0.92 on MultiWOZ and 0.76 on SGD in human evaluation, significantly outperforming all baselines, including ChatGPT and JoTR${}_{\text{w/o rs}}$.
  • JoTR improves success rate by up to 28% on MultiWOZ compared to strong baselines, demonstrating the effectiveness of the joint training framework.
  • JoTR${}_{\text{pretrained}}$ performs substantially worse (0.68 on MultiWOZ) than JoTR trained from scratch (0.92), indicating that pretraining on general language data is detrimental due to distributional shift.
  • In edge-case scenarios involving unseen slot combinations (e.g., three slots requested simultaneously), JoTR successfully informs all requested slots, while models like MLP${}_{\text{ppo}}$ and JOIE fail due to rigid action space constraints.
  • Reward shaping enables JoTR to proactively provide additional information (e.g., phone number without explicit request), which other models fail to do, improving dialogue efficiency and user satisfaction.
  • JoTR generates shorter, more efficient dialogues than baselines, achieving user goals in fewer turns, especially in complex or rare request scenarios.
Figure 2: The joint transformer and reinforcement learning framework illustration consists of: 1) (Left Part) Text Encoding - The encoder processes user act, system act, belief state, and database query results to form the state. 2) (Right Part) Model Optimization - The state directs action generati
Figure 2: The joint transformer and reinforcement learning framework illustration consists of: 1) (Left Part) Text Encoding - The encoder processes user act, system act, belief state, and database query results to form the state. 2) (Right Part) Model Optimization - The state directs action generati

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.