Dialogue Act Sequence Labeling Using Hierarchical Encoder With CRF

Harshit Kumar, Arvind Agarwal, Riddhiman Dasgupta, Sachindra Joshi

Abstract

Dialogue Act (DA) recognition involves associating semantic labels—such as "Statement," "Question," or "Greeting"—to utterances within a conversation. This task is inherently a sequence labeling problem where the context of previous utterances and their corresponding labels are critical for accurate classification. In this work, we present a hierarchical recurrent neural network architecture that utilizes bidirectional Long Short-Term Memory (Bi-LSTM) units and a Conditional Random Field (CRF) top layer. Our model learns multi-level representations at the word, utterance, and conversation levels. By incorporating a CRF layer, the model accounts for dependencies among both labels and utterances, reflecting the natural flow of human dialogue. We validate our approach on the Switchboard (SwDA) and Meeting Recorder Dialogue Act (MRDA) datasets, achieving state-of-the-art results with accuracies of 79.2% and 90.9%, respectively.

Introduction

In natural language processing, understanding the underlying intention of a speaker—the Dialogue Act—is essential for building sophisticated conversational agents and summarization systems. However, DAs are highly contextual. For instance, the word "Yeah" could function as an "Agreement," a "Backchannel" (indicating the listener is paying attention), or the start of a "Statement."

Traditional models often struggled with this ambiguity because they either treated utterances in isolation or failed to capture the complex textual features within a hierarchical structure. This paper addresses these limitations by treating the conversation as a sequence of utterances, which are themselves sequences of words, and modeling the transition probabilities between the resulting semantic labels.

Methodology

The proposed architecture is a three-tier hierarchical model designed to be trainable end-to-end:

  1. Utterance Encoder (Word Level): A Bi-LSTM processes the sequence of words in an utterance using pre-trained GloVe embeddings. This layer captures the local semantic meaning of a specific sentence.
  2. Conversation Encoder (Utterance Level): A second Bi-LSTM takes the sequence of utterance vectors as input. This allows the model to maintain a "memory" of the conversation's progression, providing vital context for the current utterance.
  3. CRF Classifier (Label Level): Instead of predicting labels independently via a softmax layer, a Linear Chain CRF is employed. The CRF models the transition probabilities between labels (e.g., a "Question" is likely followed by an "Answer"), ensuring the predicted sequence is globally optimal.
The proposed hierarchical Bi-LSTM-CRF architecture for dialogue act recognition.

Experimental Setup and Datasets

The model was evaluated on two benchmark datasets:

  • Switchboard Dialogue Act (SwDA): A corpus of over 1,100 telephone conversations with 42 distinct DA classes. It is characterized by the "noisy" nature of spontaneous speech.
  • Meeting Recorder Dialogue Act (MRDA): Based on 72 hours of multi-party meetings, categorized into 5 broad DA classes.

Key Results and Discussion

The hierarchical Bi-LSTM-CRF model established new performance benchmarks on both datasets. On the SwDA dataset, the model achieved an accuracy of 79.2%, representing a 2.2% absolute improvement over previous state-of-the-art methods. This result is particularly significant given that the human inter-annotator agreement for this dataset is approximately 84%.

Accuracy comparison of the proposed model against baseline methods on the SwDA dataset.

A critical finding was the impact of the CRF layer. Replacing the CRF with a standard logistic regression layer resulted in a 6% drop in accuracy, confirming that modeling the relationship between labels is as important as modeling the text itself. Interestingly, the authors found that adding Part-of-Speech (POS) tags or attention mechanisms provided negligible improvements, suggesting that the hierarchical Bi-LSTM already captures the necessary linguistic nuances.

Conclusion

By combining hierarchical feature extraction with sequence-level label modeling, this research demonstrates a robust approach to Dialogue Act recognition. The model effectively bridges the gap between automated systems and human-level performance on noisy, real-world conversational data. Future work may involve integrating acoustic and prosodic features to further resolve ambiguities in short, multi-purpose utterances.

Summary updated

BibTeX
@inproceedings{kumar2018dialogue,
  author = {Harshit Kumar and Arvind Agarwal and Riddhiman Dasgupta and Sachindra Joshi},
  title = {{Dialogue Act Sequence Labeling Using Hierarchical Encoder With CRF}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  url = {https://openreview.net/forum?id=BkVWakZdbr},
}
Figure