Conversation Modeling on Reddit Using a Graph-Structured LSTM

Victoria Zayats, Mari OstendorfTrans. Assoc. Comput. Linguistics 2017 · DOI

TL;DR

This paper introduces a novel graph-structured LSTM model to understand the complex, hierarchical, and temporal dynamics of online discussions on platforms like Reddit. By representing conversations as trees and leveraging both the history of replies and the subsequent responses, their model significantly improves the prediction of comment popularity compared to traditional methods.

What Problem Does This Paper Address?

Online discussion platforms like Reddit, Facebook, and Quora generate vast amounts of conversational data. Understanding how these discussions unfold and predicting which comments will be popular is a challenging but valuable task. Traditional methods often treat comments in isolation or rely on simplified representations of the conversation structure. This paper addresses the limitation of existing models by proposing a more sophisticated approach that captures the intricate relationships between comments in a threaded discussion, considering both the chronological order of replies and the hierarchical structure of the conversation tree. This allows for a richer understanding of the context surrounding a comment, which is crucial for accurately predicting its popularity.

Methods

The core of this paper is a bidirectional graph-structured LSTM (G-LSTM). Unlike standard LSTMs that process sequential data, this G-LSTM operates on a tree structure representing the conversation.

  • Graph Representation: Each comment is a node in a tree, with parent-child relationships indicating replies.
  • Hierarchical and Temporal Structure: The model explicitly incorporates both the hierarchical (parent-child) and temporal (sibling order) relationships within the conversation tree.
  • Bidirectional Processing: The model processes the conversation in two directions:
  • Forward: Captures the history of comments leading up to a particular node (comment).
  • Backward: Captures the responses and subsequent discussion that follow a particular node.
  • LSTM Units: Each node in the tree is associated with an LSTM unit. These units are modified to include "forget gates" for both hierarchical and temporal dependencies, allowing them to selectively remember or forget information from both the parent/children and sibling comments.
  • Input Features: The model uses a combination of:
  • Submission Context Features: Metadata about the comment, such as timing, author information, and its position within the discussion graph (depth, number of siblings/children).
  • Textual Features: A bag-of-words representation of the comment's text, learned via word embeddings.
  • Pruning: To handle the computational cost of large discussion trees, the authors introduce a pruning mechanism that identifies and removes low-karma comments likely to have minimal impact on prediction.

Datasets

The experiments were conducted on data from three Reddit subreddits: askwomen, askmen, and politics. The data spans from January 1, 2014, to January 31, 2015. The dataset was split into training, development, and test sets with a 6:2:2 ratio.

Key Insights and Ideas

  • The Power of Context: The study strongly suggests that understanding a comment's popularity requires more than just its own content. The surrounding conversation—both what led to it and what followed—is highly informative.
  • Bidirectional Advantage: The bidirectional nature of the G-LSTM is crucial. The forward pass captures the immediate context and history, while the backward pass accounts for how the discussion evolves in response to a comment, which is particularly important for controversial or nuanced comments.
  • Language Cues Matter, Especially with Context: While text alone can be useful, its impact is amplified when combined with the graph structure. The model shows significant gains by leveraging language cues, especially in distinguishing overpredicted (controversial) cases.
  • Timing and Structure are Intertwined: The model's ability to capture both temporal and hierarchical information simultaneously is key. Early comments that spawn large subtrees or clever, concise comments with small subtrees can both achieve high popularity, and the G-LSTM can better identify these scenarios.
  • Pruning is a Practical Necessity: The proposed pruning strategy effectively reduces computational load without significantly sacrificing performance, highlighting the trade-off between model complexity and efficiency in large-scale social media analysis.

Key Results

  • Improved Popularity Prediction: The graph-structured LSTM models consistently outperform node-independent baselines across all subreddits, both with and without textual features.
  • Significant Gains from Language Features: Incorporating textual features provides a greater performance boost when used with the graph-LSTM compared to the node-independent model, indicating that language is more impactful within a rich contextual framework.
  • Forward Direction Dominance: While the bidirectional model is superior, the forward direction alone shows substantial improvement over the node-independent model, suggesting that understanding the immediate history is a primary driver of popularity prediction.
  • Distinguishing Controversial Comments: The model is particularly effective at identifying overpredicted comments (often controversial) by leveraging the responses and subsequent discussion.
  • Pruning Effectiveness: The pruning classifier achieved reasonable precision and recall (e.g., ~60-75% precision and recall for askmen), with a significant percentage of comments pruned (36-47%).

Limitations and Future Work

  • Bag-of-Words Limitation: The textual features are represented as a simple bag-of-words. The authors suggest that more sophisticated attention-based models or feature engineering could further improve performance.
  • Pruning Trade-offs: The current pruning mechanism might limit performance on underpredicted comments. Future work could explore the trade-offs of reducing pruning or using more complex classifiers.
  • Short-Term Lookahead: The current model uses the full discussion tree. Evaluating performance with a shorter lookahead window for responses could provide insights into real-time prediction capabilities.
  • Generalizability: While tested on Reddit, the authors believe the approach can be applied to other platforms with threaded structures (e.g., forums, citation networks) and for tasks beyond popularity prediction, such as detecting topic shifts or identifying trolls.
  • Fine-grained Sentiment: The paper mentions the increasing availability of fine-grained emotional feedback (laughter, tears) on social media, suggesting future work could leverage these to distinguish different types of popularity.

Summary updated

BibTeX
@article{zayats2017conversation,
  author = {Victoria Zayats and Mari Ostendorf},
  title = {{Conversation Modeling on Reddit Using a Graph-Structured LSTM}},
  journal = {Trans. Assoc. Comput. Linguistics},
  year = {2017},
  doi = {10.1162/tacl\_a\_00009},
}
Figure