Skip to main content
QUICK REVIEW

[Paper Review] Reward Shaping with Recurrent Neural Networks for Speeding up On-Line Policy Learning in Spoken Dialogue Systems

Pei-Hao Su, David Vandyke|arXiv (Cornell University)|Aug 14, 2015
Speech and dialogue systemsComputer Science22 references24 citations
TL;DR

This paper proposes using gated recurrent neural networks (GRUs) to learn dialogue-level reward shaping signals from simulated user interactions, enabling faster on-line policy learning in spoken dialogue systems without requiring prior knowledge of user goals. The RNN-based shaping signal significantly accelerates policy convergence in both simulated and real-user environments, outperforming hand-crafted reward shaping and baseline methods.

ABSTRACT

Statistical spoken dialogue systems have the attractive property of being able to be optimised from data via interactions with real users. However in the reinforcement learning paradigm the dialogue manager (agent) often requires significant time to explore the state-action space to learn to behave in a desirable manner. This is a critical issue when the system is trained on-line with real users where learning costs are expensive. Reward shaping is one promising technique for addressing these concerns. Here we examine three recurrent neural network (RNN) approaches for providing reward shaping information in addition to the primary (task-orientated) environmental feedback. These RNNs are trained on returns from dialogues generated by a simulated user and attempt to diffuse the overall evaluation of the dialogue back down to the turn level to guide the agent towards good behaviour faster. In both simulated and real user scenarios these RNNs are shown to increase policy learning speed. Importantly, they do not require prior knowledge of the user's goal.

Motivation & Objective

  • To address the slow convergence of on-line policy learning in spoken dialogue systems due to sparse environmental rewards.
  • To develop a method for generating informative, turn-level reward shaping signals that accelerate exploration without modifying the optimal policy.
  • To eliminate the need for prior knowledge of user goals in reward shaping, enabling real-time deployment with real users.
  • To evaluate the effectiveness of RNNs—specifically GRUs, LSTMs, and basic RNNs—in predicting dialogue-level returns for use as shaping signals.
  • To demonstrate that RNN-based shaping improves learning speed in both simulated and real-user on-line training scenarios.

Proposed method

  • Train a gated recurrent neural network (GRU) on dialogue-level returns from simulated user interactions to predict turn-level shaping rewards.
  • Use a constrained training objective that ensures the predicted shaping signal approximates the difference in potential functions between consecutive belief states, preserving policy optimality.
  • Apply the RNN's turn-level predictions as additional reward signals alongside the original environmental reward during on-line policy learning.
  • Train the RNN using supervised learning on a dataset of dialogues with human-annotated success/failure labels and dialogue returns.
  • Use separate training, validation, and test sets with varying dialogue lengths and semantic error rates to assess generalization.
  • Compare the RNN-based shaping to a hand-crafted reward shaping method requiring task knowledge and a baseline using only environmental rewards.

Experimental results

Research questions

  • RQ1Can RNNs effectively learn to predict dialogue-level returns and produce turn-level shaping signals that accelerate on-line policy learning?
  • RQ2Does RNN-based reward shaping outperform hand-crafted shaping methods that require prior knowledge of user goals?
  • RQ3How robust is the RNN-based shaping signal to variations in semantic error rates and limited training data?
  • RQ4Can the RNN-based shaping signal improve policy convergence speed in real-user on-line training scenarios?
  • RQ5Is the RNN-based shaping signal effective even when trained on a small dataset of 1,000 dialogues?

Key findings

  • The GRU-based RNN achieved comparable performance to the basic RNN when trained on only 1,000 dialogues, indicating strong data efficiency and potential for human-annotated datasets.
  • The RNN-based shaping signal significantly accelerated policy learning in simulated user environments, outperforming both the baseline and hand-crafted shaping methods.
  • In on-line training with real users via Amazon Mechanical Turk, the RNN-based system achieved faster reward improvement in the initial 400 dialogues, with a clear learning curve advantage.
  • The model generalized well across different semantic error rates (0%, 15%, 30%, 45%), demonstrating robustness to real-world variability.
  • The GRU model slightly outperformed the basic RNN and LSTM in prediction accuracy and learning speed, though the difference was not statistically significant.
  • The constrained training approach ensured that the shaping signal preserved policy optimality, avoiding unintended changes to the optimal behavior.

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.