NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Representation Learning for Conversational Data using Discourse Mutual Information Maximization

Bishal Santra, Sumegh Roychowdhury, Aishik Mandal, Vasu Gurram, Atharva Naik, Manish Gupta, Pawan Goyal

Introduction

Recent advancements in Large Language Models (LLMs) like BERT and GPT-2 have revolutionized natural language processing. However, these models often struggle with the nuances of human conversation because they are primarily trained on word-level objectives, such as predicting masked tokens. To address this, researchers have introduced Discourse Mutual Information (DMI), a pretraining objective designed to capture high-level relationships between speakers. By maximizing the mutual information between a conversation's context and its response, DMI-based models achieve state-of-the-art performance across various dialog-understanding tasks.

The Challenge of Conversational Data

Standard language models face three primary hurdles when applied to dialog:

  1. Structure Blindness: They often fail to explicitly learn the "discourse structure"—the logical and functional flow between a prompt and its reply.
  2. Local vs. Global Reasoning: Word-level prediction tasks can often be solved by looking at immediate neighboring words, whereas understanding a conversation requires grasping the intent of the entire exchange.
  3. The One-to-Many Problem: Unlike factual text, a single conversational prompt can have many valid responses. Word-level models struggle to represent this inherent diversity and uncertainty.
Examples of conversational context and response pairs illustrating discourse relationships.

Discourse Mutual Information (DMI)

The core innovation of this research is the DMI objective. Instead of focusing on individual words, the model treats the Context (C) and the Response (R) as distinct segments of discourse.

Key Technical Components

  • InfoMax Principle: The training objective is to maximize the Mutual Information (MI) between the representations of the context and the response. This forces the model to extract the most relevant "signal" that links a prompt to its reply.
  • Dual Encoder Architecture: The system employs two Transformer-based encoders (sharing parameters for efficiency) to process the context and response independently. These are projected into a shared latent space where their similarity is measured.
  • Symmetric Loss (InfoNCE-S): Moving beyond standard contrastive learning, the authors implemented a symmetric version of the InfoNCE loss. The model must not only identify the correct response for a given context but also the correct context for a given response.
The DMI architecture utilizing dual Transformer encoders and a Mutual Information (MI) estimator.

Experimental Setup

The models were pretrained on a subset of the Reddit-727M corpus (rMax), providing a vast dataset of real-world English conversations. To evaluate the robustness of the learned representations, the authors tested the model on nine diverse "dialog-NLU" tasks, including:

  • Banking77: Intent classification for financial queries.
  • SWDA: Classifying dialog acts (e.g., statements vs. questions).
  • MuTual & MuTual Plus: Reasoning-based response selection.
  • DailyDialog++ (DD++): Evaluation tasks involving adversarial negative samples.

Results and Key Insights

The DMI-based models consistently outperformed strong baselines, including BERT, RoBERTa, and DialoGPT.

  • State-of-the-Art Performance: The DMI_Base model established new benchmarks in both probing (evaluating raw representations) and finetuning scenarios.
  • Robustness to Adversarial Attacks: On the DD++/cross task—which uses human-curated adversarial examples designed to trick AI—the DMI model showed a significant 8.54% improvement over the best baseline. This suggests that discourse-level features are much harder to "game" than word-level features.
  • Efficiency of Symmetry: The introduction of the symmetric loss (InfoNCE-S) significantly improved training efficiency and final accuracy, highlighting the importance of bidirectional understanding in dialog.

Conclusion and Future Directions

This work demonstrates that for conversational AI, the relationship between utterances is more informative than the relationship between words. By shifting the focus to discourse-level representation learning, models can achieve a deeper understanding of human interaction.

While this research focuses on representation learning (understanding), future work could extend the DMI objective to text generation. Additionally, addressing potential biases in the Reddit pretraining data and improving the interpretability of the Transformer's discourse features remain important areas for exploration.

Summary updated

BibTeX
@inproceedings{santra2022representation,
  author = {Bishal Santra and Sumegh Roychowdhury and Aishik Mandal and Vasu Gurram and Atharva Naik and Manish Gupta and Pawan Goyal},
  title = {{Representation Learning for Conversational Data using Discourse Mutual Information Maximization}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.naacl-main.124},
}
Figure