End-to-End Joint Learning of Natural Language Understanding and Dialogue Manager

Xuesong Yang, Yun-Nung Chen, Dilek Hakkani-Tür, Paul Crook, Xiujun Li, Jianfeng Gao, Li Deng

Abstract

Natural language understanding and dialogue policy learning are both essential in conversational systems that predict the next system actions in response to a current user utterance. Conventional approaches aggregate separate models of natural language understanding (NLU) and system action prediction (SAP) as a pipeline that is sensitive to noisy outputs of error-prone NLU. To address the issues, we propose an end-to-end deep recurrent neural network with limited contextual dialogue memory by jointly training NLU and SAP on DSTC4 multi-domain human-human dialogues. Experiments show that our proposed model significantly outperforms the state-of-the-art pipeline models for both NLU and SAP, which indicates that our joint model is capable of mitigating the affects of noisy NLU outputs, and NLU model can be refined by error flows backpropagating from the extra supervised signals of system actions.

Introduction

Building a conversational agent traditionally involves a pipeline of separate modules. First, an NLU module parses a user's words into intents and slots. Then, a Dialogue Manager (DM) uses this output to decide the next system action. The major flaw in this approach is error propagation: if the NLU makes a small mistake, that noise is passed to the DM, which then makes a wrong decision. Furthermore, these modules are usually trained independently, meaning the NLU doesn't "know" what information the DM actually needs to succeed. This paper proposes bridging this gap by training both components together in a single, differentiable neural network.

Methods

The proposed joint model is based on bi-directional Long Short-Term Memory (biLSTM) networks. It processes user utterances through a multi-task NLU layer that performs sequence labeling for slot tagging and binary classification for intent prediction.

High-level architecture of the joint model showing the integration of NLU and System Action Prediction (SAP) across dialogue turns.

The System Action Prediction (SAP) model is stacked on top of a history of NLU hidden states, maintaining a "limited contextual dialogue memory" by observing the previous five turns. The loss function is a weighted sum of three supervised signals: slot tagging, intent prediction, and system action prediction. This end-to-end structure allows error gradients from the final system action to backpropagate through the network to refine the NLU layers.

Experimental Setup

The model was evaluated using the DSTC4 (Dialogue State Tracking Challenge 4) corpus, which consists of human-human dialogues between tourists and guides in Singapore across five domains: accommodation, attraction, food, shopping, and transportation. The dataset includes approximately 5,600 training utterances, with annotations for IOB-format slot tags, user intents, and responsive system actions.

Key Results and Discussion

The model was evaluated primarily on Frame-level Accuracy (FrmAcc), a strict metric requiring every label in a turn to be correct. The Joint Model achieved 22.84% FrmAcc for SAP, more than doubling the performance of the biLSTM Pipeline model (11.96%) and nearly tripling the traditional CRF+SVM baseline (7.71%).

System Action Prediction (SAP) performance metrics, showing the JointModel's superior Frame-level Accuracy (FrmAcc).

Key insights from the results include:

  • Mitigating Noise: The joint model is more robust to noisy NLU because the SAP layer sees internal hidden representations rather than discrete, potentially incorrect labels.
  • NLU Refinement: Joint training improved NLU performance, with frame-level accuracy for intent prediction increasing by over 5% compared to baseline NLU. This suggests that knowing the intended system action helps the model understand user intent.
  • Contextual Importance: The joint model outperformed "Oracle" models that use perfect single-turn data, highlighting that dialogue history is often more critical for decision-making than a perfect parse of the most recent sentence.

Conclusion

By jointly training NLU and DM components, this framework significantly reduces error propagation and improves overall system performance. While the current model uses a fixed history window and relies on supervised learning from human transcripts, future work may explore more sophisticated memory mechanisms like Attention or Reinforcement Learning to allow agents to learn from direct user interaction.

Summary updated

BibTeX
@inproceedings{yang2017end,
  author = {Xuesong Yang and Yun-Nung Chen and Dilek Hakkani-Tür and Paul Crook and Xiujun Li and Jianfeng Gao and Li Deng},
  title = {{End-to-End Joint Learning of Natural Language Understanding and Dialogue Manager}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2017},
  url = {https://openreview.net/forum?id=HZrt_eTonxA},
}
Figure