Guiding Attention in Sequence-to-Sequence Models for Dialogue Act Prediction

Pierre Colombo, Emile Chapuis, Matteo Manica, Emmanuel Vignon, Giovanna Varni, Chloé Clavel

Introduction

Understanding intent is a cornerstone of conversational AI. Dialogue Acts (DAs)—labels such as "Question," "Statement," or "Backchannel"—categorize utterances based on the speaker's communicative goal. However, DAs are deeply contextual; for instance, a "Statement" might function as a "Response" to a "Question" posed several turns prior. Traditional models, like Linear Conditional Random Fields (CRFs), are often limited to local dependencies, typically only considering adjacent tags. This research addresses the need for global dependency modeling, enabling the prediction of an utterance's intent by linking it to much earlier parts of a conversation.

Methodology: A Seq2Seq Approach

The researchers frame DA prediction as a Neural Machine Translation (NMT) task, translating a sequence of utterances into a sequence of DA tags. The architecture employs several key components:

  • Hierarchical Encoders (HGRU): A two-level Gated Recurrent Unit (GRU) structure. The first level encodes individual words into utterance representations, while the second level integrates these into a conversation-level context.
  • Persona Hierarchical Encoder (PersoHGRU): An additional layer designed to track speaker turns (e.g., Speaker A vs. Speaker B), providing the model with speaker-specific context.
  • Guided Attention: In standard NMT, alignment between source and target is often non-linear. In DA prediction, however, there is a strict 1:1 mapping between the $i$-th utterance and the $i$-th tag. The authors introduce Hard Guided Attention (restricting the decoder to the current utterance) and Soft Guided Attention (focusing mainly on the current utterance while allowing contextual glimpses) to leverage this alignment.
  • Beam Search Training: To improve robustness, the model incorporates beam search into the training objective by minimizing "expected risk," rather than using it solely during inference.
The hierarchical architecture of the proposed model, featuring word-level, sentence-level, and persona-level encoders paired with a DA decoder.

Experimental Setup

The model was benchmarked on two primary gold-standard datasets:

  • Switchboard Dialogue Act Corpus (SwDA): Contains telephone conversations with 42 DA tags, characterized by a high volume of "backchannels" (e.g., "uh-huh") which makes global context crucial.
  • Meeting Recorder Dialogue Act (MRDA): Transcripts of multi-party meetings using a smaller set of 5 broad DA tags.

Results and Discussion

The sequence-to-sequence (seq2seq) framework consistently outperformed CRF baselines, demonstrating its superior ability to capture long-range dependencies. A key finding was that "alignment is a feature": by incorporating Guided Attention, the model avoids distractions from irrelevant conversational segments.

Attention heatmaps comparing (a) standard attention, (b) soft guided attention, and (c) hard guided attention, illustrating how guidance enforces the 1:1 utterance-to-tag mapping.

On the SwDA corpus, the model achieved a new state-of-the-art accuracy of 85%, a significant improvement over previous models. On MRDA, it reached 91.6% accuracy. Interestingly, while the Persona layer improved performance on SwDA, it introduced noise in the multi-party MRDA dataset, suggesting that speaker identity's relevance varies by conversational context.

Conclusion and Future Work

By treating Dialogue Act prediction as a translation task and introducing guided attention, this work sets a new benchmark for intent recognition. While the model shows great promise, challenges remain in handling multi-party dynamics where speaker turns are less predictable. The success of these NMT-inspired techniques suggests that future advancements in translation models, such as Transformers or more complex sequence-level loss functions, could further enhance conversational understanding.

Summary updated

BibTeX
@inproceedings{colombo2020guiding,
  author = {Pierre Colombo and Emile Chapuis and Matteo Manica and Emmanuel Vignon and Giovanna Varni and Chloé Clavel},
  title = {{Guiding Attention in Sequence-to-Sequence Models for Dialogue Act Prediction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i05.6259},
}
Figure