[Paper Review] Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-based Question Answering
This paper proposes a multi-task fine-tuning approach using hierarchical transformer representations for span-based question answering in multiparty dialogue, introducing utterance-level masked language modeling and utterance order prediction to improve dialogue context understanding. The method achieves state-of-the-art results on FriendsQA, outperforming BERT and RoBERTa by 3.8% and 1.4% in exact match, respectively.
We introduce a novel approach to transformers that learns hierarchical representations in multiparty dialogue. First, three language modeling tasks are used to pre-train the transformers, token- and utterance-level language modeling and utterance order prediction, that learn both token and utterance embeddings for better understanding in dialogue contexts. Then, multi-task learning between the utterance prediction and the token span prediction is applied to fine-tune for span-based question answering (QA). Our approach is evaluated on the FriendsQA dataset and shows improvements of 3.8% and 1.4% over the two state-of-the-art transformer models, BERT and RoBERTa, respectively.
Motivation & Objective
- To address the poor performance of existing transformer models in span-based question answering over multiparty dialogues due to challenges in modeling heterogeneous, multi-speaker utterances.
- To improve dialogue understanding by learning hierarchical representations at both token and utterance levels through specialized pre-training tasks.
- To enhance model generalization and reasoning in dialogue contexts by jointly fine-tuning on token span prediction and utterance identity prediction.
- To evaluate the effectiveness of dialogue-specific pre-training objectives—utterance-level masked language modeling and utterance order prediction—on a span-based QA benchmark.
- To analyze failure modes and error types in dialogue QA, particularly for complex questions involving entity resolution and cross-utterance reasoning.
Proposed method
- Pre-training the transformer model using three tasks: token-level masked language modeling (t-MLM), utterance-level masked language modeling (u-MLM), and utterance order prediction (UOP).
- Using t-MLM to learn contextual token representations across the full dialogue sequence, preserving speaker and utterance boundaries.
- Applying u-MLM to learn utterance-level representations by masking entire utterances and predicting them from context, improving utterance-level semantic understanding.
- Implementing UOP to learn the sequential structure of dialogues by predicting the correct order of shuffled utterances, enhancing temporal and discourse coherence modeling.
- Fine-tuning the model via multi-task learning that jointly optimizes for token span prediction (for answer extraction) and utterance identity prediction (for dialogue structure awareness).
- Employing separate multi-head attention mechanisms over token and utterance embeddings to enable hierarchical reasoning during inference.
Experimental results
Research questions
- RQ1Can utterance-level masked language modeling and utterance order prediction improve the quality of utterance-level representations in dialogue contexts?
- RQ2Does joint multi-task fine-tuning on span prediction and utterance identity prediction lead to better performance in span-based question answering on multiparty dialogues?
- RQ3How do dialogue-specific pre-training objectives compare to standard pre-training in terms of downstream QA performance on the FriendsQA dataset?
- RQ4What are the primary error types in span-based QA on dialogues, and how do they relate to question types such as 'who', 'how', and 'why'?
- RQ5To what extent do hierarchical representations reduce errors in entity resolution and cross-utterance reasoning tasks?
Key findings
- The proposed method achieves a 53.5% exact match (EM) on the FriendsQA dataset, representing a 3.8% absolute improvement over BERT and a 1.4% improvement over RoBERTa.
- The combination of utterance-level masked language modeling and utterance order prediction with joint fine-tuning on span and utterance identity prediction yields the best performance, with a 3.8% gain over BERT and 1.4% over RoBERTa.
- The ablation study shows that while u-MLM and UOP individually provide marginal gains, their combination with utterance identity prediction significantly boosts performance, indicating synergy between pre-training and fine-tuning.
- Error analysis reveals that entity resolution and cross-utterance reasoning are the two most frequent error types, accounting for 34% and 25% of errors for 'who' and 'how' questions, respectively.
- The model shows particular improvement on complex questions involving reasoning across utterances, with a 2% and 1% boost in EM over BERT and RoBERTa, respectively, when using the full pre-training and multi-task fine-tuning setup.
- The results demonstrate that dialogue-specific pre-training objectives are essential for improving performance on dialogue QA, especially when combined with structured multi-task fine-tuning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.