Using Context Information for Dialog Act Classification in DNN Framework

Yang Liu, Kun Han, Zhao Tan, Yun LeiEMNLP 2017

Introduction

Dialog Act (DA) classification is the task of identifying the communicative function of an utterance in a conversation—distinguishing, for instance, between a "Question," a "Statement," or a "Back-channel" acknowledgement. While humans naturally use the flow of conversation to disambiguate meaning, early deep learning models often treated utterances in isolation. This research explores how hierarchical Deep Neural Networks (DNNs) can effectively incorporate conversational context to improve DA classification performance.

The Role of Context in Conversation

In natural language, the same word or phrase can serve multiple functions depending on the preceding dialogue. A simple "Right" might signal agreement with a statement or serve as a back-channel response to keep the conversation going. Traditional statistical methods like Hidden Markov Models (HMMs) have historically leveraged these transitions. This paper investigates modern neural architectures to determine the most effective way to model these temporal dependencies within a deep learning framework.

Methodology

The researchers developed a baseline Convolutional Neural Network (CNN) to generate vector representations of individual utterances. As shown in Figure 1, this base model processes word embeddings through convolutional and pooling layers to extract salient features. Multiple filters with varying window sizes (e.g., win=2, win=3) are used to capture local n-gram patterns, which are then pooled and concatenated with additional features like speaker change indicators.

CNN architecture for single utterance representation

To move beyond single-sentence analysis, the authors proposed several hierarchical architectures to capture inter-utterance dependencies:

  1. History Concatenation: Appending previous DA labels directly to the current sentence vector.
  2. Transition Decoding: Combining CNN outputs with a formal transition model using Viterbi decoding.
  3. Hierarchical CNN+CNN: A secondary CNN layer that operates over the sequence of utterance vectors produced by the base CNNs.
  4. Hierarchical CNN+RNN (Bi-LSTM): Utilizing a Bidirectional LSTM to capture long-range dependencies across the entire conversation.

The Hierarchical CNN+CNN approach (Figure 2) proved particularly effective by implicitly learning the "flow" of dialogue through its upper layers, allowing the network to recognize patterns in the sequence of Dialog Acts without hand-crafted rules.

Hierarchical CNN+CNN architecture for sequence modeling

Experimental Setup

The models were evaluated using the Switchboard corpus, a benchmark dataset consisting of 1,155 human-to-human telephone conversations labeled with 42 distinct DA tags. To ensure broad applicability to text-based systems, the researchers relied solely on transcripts and speaker-change indicators, intentionally avoiding acoustic or speech-specific features.

Results and Discussion

The inclusion of context led to significant performance gains over the baseline. The hierarchical models established a new state-of-the-art accuracy of approximately 79.7%, a substantial improvement over the baseline CNN's 74.7%.

Key findings include:

  • Immediate Context: The most critical information for disambiguation comes from the immediately preceding utterance. While looking back further helps, the marginal gains diminish quickly.
  • Implicit vs. Explicit Modeling: Hierarchical models, which learn context implicitly, performed as well as those using explicit previous labels. This suggests that the hidden representations in deep networks effectively capture conversational dynamics.
  • Error Correction: Contextual information was especially helpful in distinguishing back-channels from replies. Knowledge of the previous sentence allowed the model to correct roughly 5% of the baseline's errors in these categories.

Conclusion

This study demonstrates that hierarchical DNN architectures are highly effective for capturing the sequential nature of human dialogue. By modeling the relationship between successive utterances, these systems can significantly improve the accuracy of Dialog Act classification, providing a robust foundation for more sophisticated conversational AI, intent recognition, and spoken language understanding systems.

Summary updated

BibTeX
@inproceedings{liu2017using,
  author = {Yang Liu and Kun Han and Zhao Tan and Yun Lei},
  title = {{Using Context Information for Dialog Act Classification in DNN Framework}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  url = {https://openreview.net/forum?id=rJ-a2bfdbr},
}
Figure