Speaker Turn Modeling for Dialogue Act Classification

Zihao He, Leili Tavabi, Kristina Lerman, Mohammad Soleymani

Introduction

Dialogue Act (DA) classification is the task of identifying the intent behind a statement in a conversation—whether it is a "Question," "Answer," "Agreement," or a "Backchannel" (e.g., "uh-huh"). A significant challenge in this field is that the meaning of an utterance often depends on the conversational flow. For instance, an utterance following a question from a different speaker is likely an answer, whereas the same utterance following the same speaker might be a clarification.

Most existing deep learning models treat dialogue as a single block of text, neglecting these temporal dynamics. While some approaches model specific speaker roles (e.g., "Doctor" vs. "Patient"), these methods are difficult to scale to general conversations where roles are undefined. This paper introduces a "speaker turn embedding" that focuses on speaker changes rather than identities, allowing for a more scalable and effective classification model.

Methodology

The authors propose an architecture that integrates speaker turn information directly into utterance representations through a three-step process:

  1. Utterance Modeling: A pretrained RoBERTa model converts text into high-dimensional vectors, specifically utilizing the [CLS] token from the final layer.
  2. Speaker Turn Modeling: The model learns two "conversation-invariant" embeddings (0 and 1). In multi-party chats, these labels "flip" every time the speaker changes (e.g., a sequence of Speaker A, A, B, C, C becomes 0, 0, 1, 0, 0). These embeddings are added to the RoBERTa utterance embeddings, analogous to positional encodings in Transformers.
  3. Context Modeling: These turn-aware embeddings are processed by a Bi-directional Gated Recurrent Unit (Bi-GRU), enabling the model to incorporate surrounding context before final classification.
Architecture of the proposed speaker turn-aware model, illustrating the integration of utterance and speaker turn embeddings.

Experimental Results

The model was evaluated on three major benchmarks: the Switchboard Dialogue Act Corpus (SwDA), the Meeting Recorder DA Corpus (MRDA), and Dailydialog (DyDA).

The proposed model achieved state-of-the-art (SOTA) results on two of the three datasets. On SwDA, it reached 83.2% accuracy, surpassing previous models like SGNN. On DyDA, it achieved 86.9% accuracy, rising to 87.5% with additional topic information. Performance on MRDA was 91.4%, which is competitive with the current SOTA.

Comparison of the proposed model against existing baselines across SwDA, MRDA, and DyDA datasets.

Ablation studies confirmed that adding speaker turn information leads to significant performance gains, particularly in datasets like SwDA and MRDA where turn-taking patterns are complex. In contrast, the boost on DyDA was minimal because its human-written dialogues follow a highly predictable "A-B-A-B" pattern, providing less "new" information via turn labels.

Discussion and Future Work

A key insight from this research is that focusing on turn changes rather than speaker identity allows the model to remain lightweight and generalizable. Additionally, the authors found that for long conversations, slicing data into smaller "chunks" (128–350 utterances) not only saved memory but also improved performance by preventing gradient issues in the RNN.

Future work may involve replacing the Bi-GRU with a full Transformer-based encoder for context modeling to better handle long sequences. The authors also suggest exploring other interactive dialogue features, such as prosody or overlapping speech, to further refine intent classification.

Summary updated

BibTeX
@inproceedings{he2021speaker,
  author = {Zihao He and Leili Tavabi and Kristina Lerman and Mohammad Soleymani},
  title = {{Speaker Turn Modeling for Dialogue Act Classification}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.findings-emnlp.185},
}
Figure