Skip to main content
QUICK REVIEW

[Paper Review] Effective Incorporation of Speaker Information in Utterance Encoding in Dialog

Tianyu Zhao, Tatsuya Kawahara|arXiv (Cornell University)|Jul 12, 2019
Speech and dialogue systemsComputer Science7 citations
TL;DR

This paper proposes relative speaker modeling to address inconsistencies in speaker annotation across dialogs by encoding speaker relationships (e.g., 'same as current speaker') instead of absolute labels. Evaluated on dialog act recognition and response generation, the method achieves superior and more consistent performance than absolute speaker modeling, especially in non-task-oriented dialogues with diverse speakers.

ABSTRACT

In dialog studies, we often encode a dialog using a hierarchical encoder where each utterance is converted into an utterance vector, and then a sequence of utterance vectors is converted into a dialog vector. Since knowing who produced which utterance is essential to understanding a dialog, conventional methods tried integrating speaker labels into utterance vectors. We found the method problematic in some cases where speaker annotations are inconsistent among different dialogs. A relative speaker modeling method is proposed to address the problem. Experimental evaluations on dialog act recognition and response generation show that the proposed method yields superior and more consistent performances.

Motivation & Objective

  • To address the inconsistency in speaker annotations across dialogs, particularly in non-task-oriented corpora with many distinct speakers.
  • To improve dialog encoding by modeling speaker roles relationally rather than absolutely, avoiding reliance on fixed speaker labels.
  • To systematically compare absolute speaker modeling with a novel relative speaker modeling approach in both language understanding and generation tasks.
  • To demonstrate that relative speaker modeling yields more consistent and robust performance across diverse dialog datasets.

Proposed method

  • Proposes a relative speaker modeling method that encodes whether the current utterance's speaker is the same as the previous speaker, using a binary indicator (1 for same, 0 for different).
  • Introduces two separate utterance encoders: one for the current speaker's utterance and one for other speakers' utterances, both conditioned on the speaker relation.
  • Uses a hierarchical RNN-based encoder where utterance vectors are computed via separate RNNs for own and other speakers, then combined using a gated mechanism.
  • The utterance encoding function is modified to include a speaker relation embedding, replacing absolute speaker labels in the input to the utterance encoder.
  • Employs a shared dialog-level RNN to encode the sequence of utterance vectors, preserving the standard hierarchical architecture.
  • The method requires minimal modification to existing models, only replacing absolute speaker labels with speaker relation signals in the utterance encoder input.

Experimental results

Research questions

  • RQ1Does relative speaker modeling improve dialog encoding performance compared to absolute speaker modeling in non-task-oriented dialogues?
  • RQ2Can relative speaker modeling mitigate performance degradation caused by inconsistent speaker annotations across dialog sessions?
  • RQ3Does the proposed method yield more consistent performance across different speaker roles (e.g., speaker A vs. B) in both understanding and generation tasks?
  • RQ4How does the relative speaker modeling approach compare to baseline models without speaker information in dialog act recognition and response generation?

Key findings

  • The relative speaker modeling method achieved a 3.07% absolute improvement in dialog act recognition F1-score over the baseline, outperforming both absolute speaker modeling and the baseline.
  • In response generation, the relative model achieved a BLEU-1 score of 1447 and a SIF embedding similarity of 1.14, showing better consistency across speaker roles than the absolute model.
  • The relative model's Distinct-1 ratio (1.14) and Distinct-2 ratio (1.19) were closer to the true utterance ratio (1.29) than the absolute model’s ratios (1.12 and 1.16), indicating better diversity consistency.
  • The relative model showed more consistent performance across different speaker roles in both dialog act recognition and response generation, with lower variance in speaker-specific metrics.
  • The method outperformed absolute speaker modeling in both tasks on both Switchboard and Cornell Movie Dialogs datasets, demonstrating robustness across diverse dialog types.
  • The relative speaker modeling approach achieved significant improvements with minimal architectural changes, suggesting high practicality and generalization potential.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.