Who Responded to Whom: The Joint Effects of Latent Topics and Discourse in Conversation Structure

Lu Ji, Jing Li, Zhongyu Wei, Qi Zhang, Xuanjing Huang

Introduction

In complex online environments like Reddit or customer service portals, conversations are rarely linear. Multiple threads often intertwine, and users frequently respond to comments made much earlier in the discussion. While some platforms provide explicit "reply-to" metadata, these signals are often missing or unreliable in informal settings. Identifying "who responded to whom"—the initiation-response pair—is a fundamental challenge in understanding conversation structure.

Existing approaches often rely on simple heuristics like chronological proximity or keyword matching. However, these fail to capture the underlying intent of a response. This paper introduces a novel unsupervised framework that jointly models latent topics (the "what") and latent discourse roles (the "how") to improve the accuracy of identifying these links across diverse conversational contexts.

Methodology

The authors propose a neural architecture that learns to match utterances without requiring manually labeled data. The core of the approach lies in two separate Variational Autoencoder (VAE) modules designed to capture different conversational dimensions.

The proposed neural architecture, showing the overall matching framework (a) and the internal VAE-based latent modeling (b).

As shown in Figure 2, the model consists of:

  • Latent Topic Modeling: A VAE that infers topic distributions based on the broader conversation context.
  • Latent Discourse Modeling: A VAE that identifies functional roles (e.g., question, answer, agreement) based on the specific utterance.
  • Utterance Matching: A matching score $S(q, r)$ is calculated between a candidate initiation ($q$) and a response ($r$). This score integrates topic similarity and discourse transition probabilities through trainable weight matrices.

The model is trained end-to-end using a combination of reconstruction loss to ensure latent variables accurately represent the text, and a hinge loss to rank correct initiation-response pairs higher than distractor utterances.

Datasets and Evaluation

The framework was evaluated on two distinct conversation types:

  1. CMV (ChangeMyView): An English dataset from Reddit featuring asynchronous, long-form argumentative discussions.
  2. CS (Wangwang): A Chinese dataset from an e-commerce customer service platform characterized by synchronous, fast-paced interactions.

Results and Discussion

The proposed model significantly outperformed several strong baselines, including Recurrent Pointer Networks (RPN) and standard VAE-based matchers. On the Chinese CS dataset, the model achieved a Mean Reciprocal Rank (MRR) of 79.23, compared to the previous state-of-the-art of 72.69. On the Reddit CMV dataset, it reached 74.41 MRR.

Distribution of matching scores for positive and negative pairs in the CMV and CS datasets, demonstrating the model's discriminative power.

Figure 6 illustrates the model's ability to distinguish between positive (correct) and negative (incorrect) pairs. In both datasets, the scores for positive pairs are skewed toward higher values, while negative pairs cluster at the lower end of the spectrum.

Key insights from the evaluation include:

  • Contextual Influence: Topics are best inferred from the surrounding context, whereas discourse roles are best captured from the utterance itself.
  • Platform Dynamics: In asynchronous debates (CMV), topic consistency is the dominant signal for linking. In synchronous chats (CS), the functional discourse flow (e.g., Question $\rightarrow$ Answer) is a more critical indicator.
  • Downstream Utility: Incorporating these learned latent features improved performance on a separate task—predicting argument persuasiveness—demonstrating that structural understanding is vital for high-level conversation analysis.

Conclusion

This research demonstrates that jointly modeling what is being said and how it is being said provides a powerful signal for recovering conversation structure in an unsupervised manner. While the model excels in structured environments like customer service, capturing the complex logic of high-level argumentation remains a challenge. Future work may involve moving beyond bag-of-words assumptions to more sophisticated sequence modeling to better capture the nuances of human dialogue.

Summary updated

BibTeX
@misc{ji2021who,
  author = {Lu Ji and Jing Li and Zhongyu Wei and Qi Zhang and Xuanjing Huang},
  title = {{Who Responded to Whom: The Joint Effects of Latent Topics and Discourse in Conversation Structure}},
  year = {2021},
  eprint = {2104.08601},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.08601},
}
Figure