Abstract
Modern Natural Language Processing (NLP) typically treats text as a linear sequence, an approach that struggles with the hierarchical and social complexities of multi-turn dialogue. We introduce the Channel-aware Decoupling Network (CDN), which explicitly separates word representations into utterance-aware and speaker-aware channels. By employing specialized masking and domain-adaptive post-training, CDN forces the model to focus on specific conversational dynamics. Our evaluation across major benchmarks shows that CDN achieves state-of-the-art performance, particularly in dialogue reasoning and retrieval tasks.
Introduction
Pre-trained Language Models (PrLMs) like BERT and ELECTRA have revolutionized NLP, yet they often "entangle" information in multi-turn conversations. Dialogue involves multiple speakers, shifting topics, and long-range dependencies that a flat sequence model cannot inherently distinguish. Simple fixes, such as adding speaker ID embeddings, often fail to capture the nuanced interplay between a sender's intent and a receiver's response. The Channel-aware Decoupling Network (CDN) addresses this by restructuring the attention mechanism to better reflect dialogue structure.
Methodology
The CDN architecture consists of two core innovations designed to better represent conversational context.
Mask-based Decoupling
Instead of standard self-attention where every word attends to every other word, CDN implements four independent "channels" via specific attention masks:
- Current Utterance ($C_1$): Restricts attention to words within the same turn.
- Other Utterances ($C_2$): Focuses on the broader conversation history.
- Utterances of Receiver ($C_3$): Focuses on turns made by the interlocutor.
- Utterances of Sender ($C_4$): Focuses on turns made by the original speaker.
These channels are processed through a gated fusing mechanism that dynamically weights information from each "view." The resulting representations are then aggregated into utterance-level features using a Bidirectional Gated Recurrent Unit (BiGRU).
Domain-Adaptive Post-Training
To bridge the gap between general-purpose text and dialogue, the model undergoes post-training with two objectives:
- Intra-utterance: A masked language modeling (MLM) task using subword, whole-word, and span-level masking to capture high-level topics.
- Inter-utterance: A task requiring the model to distinguish a genuine next-turn response from a randomly sampled negative one, reinforcing the model's understanding of logical flow.
Experimental Setup
The model was evaluated on four diverse public benchmarks:
- Ubuntu Dialogue Corpus: Technical support logs (1 million pairs).
- Douban Conversation Corpus: Open-domain Chinese social media interactions.
- E-commerce Dialogue Corpus (ECD): Chinese customer service logs.
- MuTual: An English reasoning dataset based on listening comprehension exams, testing logic over keyword matching.
Results and Discussion
CDN consistently outperformed strong PrLM baselines and previous state-of-the-art (SOTA) models. On the Ubuntu corpus, it achieved an $R_{10}@1$ of 0.914, compared to 0.845 for ELECTRA. On the challenging MuTual reasoning dataset, it reached an $R_4@1$ of 0.916.
A key insight from the ablation studies is that explicitly restricting attention (decoupling) is more effective than providing auxiliary features like speaker IDs. The speaker-aware channels ($C_3$ and $C_4$) were found to be the most critical, as knowing who said what is paramount for context in multi-party dialogues. Furthermore, the "Inter-utterance" objective proved highly effective for dialogue, despite similar tasks being deprecated in general models like RoBERTa.
Conclusion
The Channel-aware Decoupling Network demonstrates that structured, channel-based attention is superior to flat sequence modeling for multi-turn dialogue. While domain-adaptive post-training is computationally intensive, the resulting performance gains across diverse benchmarks justify the approach. Future work will explore incorporating explicit discourse parsing and Abstract Meaning Representation (AMR) to further enhance the model's logical mapping of conversations.
Summary updated