Introduction
Microblogging platforms like Twitter offer a wealth of information for public opinion analysis. However, analyzing these short-form texts presents two significant challenges: data sparsity and the overlap between topical content and conversational structure. Individual tweets are often too brief for traditional topic models like Latent Dirichlet Allocation (LDA) to identify meaningful word co-occurrences. Furthermore, words in a conversation serve dual purposes: some convey the subject matter (topics), while others signal the functional role of the message (discourse), such as a question or an agreement. This paper introduces an unsupervised neural framework designed to disentangle these two signals by leveraging the context of entire conversation threads.
Methodology: The Neural Framework
To address the limitations of existing models, the researchers developed a framework based on a Variational Auto-Encoder (VAE). The model's core innovation is the joint modeling of topic and discourse through dual latent variables.
The architecture assumes two distinct latent factors for every message: a topic variable ($z$) representing the conversation's theme and a discourse variable ($d$) representing the message's functional role. To prevent information leakage between these variables, a Mutual Information (MI) loss term is introduced, forcing them into separate semantic spaces. Unlike traditional models that analyze tweets in isolation, this encoder considers both the target message and its surrounding conversation thread, capturing the natural flow of discussion and enriching the representation of individual short messages.
Experimental Setup
The model was evaluated using two large-scale Twitter datasets:
- TREC: The TREC 2011 microblog track dataset, containing approximately 116,000 conversations.
- TWT16: A dataset of approximately 29,000 conversations crawled during the 2016 U.S. Presidential Election.
- Mastodon Benchmark: A manually annotated dataset of ~2,200 messages used to evaluate how well unsupervised discourse clusters align with human-labeled dialogue acts.
Results and Discussion
The joint modeling approach yielded several key insights. By explicitly modeling discourse words (e.g., "what," "how," "thanks"), the framework effectively filters conversational filler, resulting in cleaner, more coherent topic clusters that focus on actual entities and issues.
As shown in the results, the joint model (TOPIC+DISC) significantly outperformed standard LDA and newer Neural Topic Models (NTM) in $C_v$ coherence scores. For instance, the model achieved a coherence score of 0.496, notably higher than LDA's 0.467. Beyond topic coherence, the model's unsupervised discourse clusters demonstrated superior interpretability, achieving higher Purity (0.521) and Homogeneity (0.142) compared to previous VAE-based discourse models like LAED.
Furthermore, the learned representations proved highly effective for downstream tasks. In hashtag prediction experiments on the TWT16 dataset, the model achieved an accuracy of 0.428, nearly doubling the performance of a simple Bag-of-Words baseline (0.132).
Conclusion and Future Work
While the model successfully disentangles topic and discourse, several avenues for future research remain. The authors noted that the model occasionally confuses sentiment-laden words (e.g., "hate," "wrong") with topical content. Future iterations could incorporate a third latent variable specifically for sentiment. Additionally, while the model captures structural roles, it still struggles with high-level linguistic nuances like sarcasm or irony, which require deeper semantic understanding. Finally, the number of discourse roles currently remains a pre-defined hyperparameter, suggesting a need for methods that can automatically discover the optimal number of roles.
Summary updated