Sequence-to-Sequence Learning for Task-oriented Dialogue with Dialogue State Representation

Haoyang Wen, Yijia Liu, Wanxiang Che, Libo Qin, Ting Liu

Introduction

Task-oriented dialogue systems, such as virtual assistants, traditionally rely on complex pipeline architectures. These systems typically involve separate modules for Natural Language Understanding (NLU), Dialogue State Tracking (DST), and Policy Learning. While effective at querying structured databases, they often require extensive hand-crafted rules and domain-specific annotations. Conversely, end-to-end neural sequence-to-sequence (Seq2Seq) models offer flexibility and ease of training but often struggle with the precise retrieval of information from external Knowledge Bases (KB).

This research from the Harbin Institute of Technology introduces a hybrid architecture designed to bridge this gap. The proposed model combines the end-to-end learning capabilities of Seq2Seq frameworks with an implicit dialogue state representation that enables efficient, differentiable KB querying.

Proposed Framework

The architecture integrates four primary components to facilitate structured reasoning within a neural framework:

  1. Encoder: A Long Short-Term Memory (LSTM) network that encodes dialogue history into a sequence of hidden states.
  2. Dialogue State Representation: Rather than predicting explicit slot-value pairs, the model generates a latent, distributed "belief state" matrix. This representation is computed via an attention mechanism over the encoder's hidden states, capturing relevant information for database queries without manual labeling.
  3. Soft KB Attention: The KB is treated as an encoded table. The model determines the similarity between the latent dialogue state and KB entries, producing a probability distribution over the rows. This allows for a "soft" database query that is fully differentiable and integrated into the backpropagation process.
  4. Decoder with Copy Mechanism: The decoder generates responses using dual attention—one over the input history and another over a memory matrix containing dialogue state and KB information. A specialized copy mechanism allows the model to extract specific entities (e.g., addresses) directly from the KB.
Figure 1: The proposed hybrid architecture featuring an implicit dialogue state representation and a differentiable KB attention mechanism.

To optimize the selection of KB entries, the authors utilize a hybrid training strategy. This combines standard Negative Log-Likelihood (NLL) with Reinforcement Learning (REINFORCE), where the reward is tied to the presence of correct KB entities in the generated response.

Experimental Setup

The model was evaluated using the Stanford Multi-turn Multi-domain Task-oriented Dialogue Dataset, specifically focusing on the Weather and Navigation domains. To test robustness, the authors modified the Weather KB to be "non-entity-centric," separating various attributes into distinct columns, thereby increasing the complexity of the retrieval task compared to previous benchmarks.

Key Results and Insights

The framework demonstrated significant performance gains, particularly in the Navigation domain, where entity retrieval is more challenging.

Figure 6: Performance comparison across Navigation and Weather domains. The proposed model shows substantial improvements in F1 scores for the Navigation task.
  • Navigation Domain: The model achieved a BLEU score of 13.7 and a Micro F1 of 56.9, nearly doubling the entity retrieval accuracy of the previous state-of-the-art KV Net (which scored 29.5 Micro F1).
  • Weather Domain: While BLEU scores were slightly lower than formulaic baseline models, the system remained highly competitive in terms of entity accuracy (Macro F1 of 58.5).
  • Human Evaluation: Blind human testing confirmed the model's superiority, with higher ratings for correctness, fluency, and human-likeness compared to existing baselines.

The results suggest that implicit state tracking can be more effective than explicit labeling. By treating the dialogue state as a latent representation, the model learns to identify query-relevant information autonomously. Furthermore, the use of REINFORCE helps mitigate the "black box" nature of standard attention, ensuring the model prioritizes factual correctness alongside linguistic fluency.

Conclusion and Future Work

The proposed model successfully integrates structured KB querying into an end-to-end Seq2Seq framework. However, some limitations remain, such as the assumption of a fixed number of slots for the dialogue state, which may hinder scalability to more complex, open-domain tasks. Future research may explore scaling this architecture to larger, dynamic KBs and refining the latent state representation to handle a broader range of dialogue contexts.

Summary updated

BibTeX
@inproceedings{wen2018sequence,
  author = {Haoyang Wen and Yijia Liu and Wanxiang Che and Libo Qin and Ting Liu},
  title = {{Sequence-to-Sequence Learning for Task-oriented Dialogue with Dialogue State Representation}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2018},
}
Figure