Abstract
This paper investigates whether the "who" and "when" of online discussions can improve text classification. By encoding discussion structure and timing as natural language prefixes for a transformer model, the authors demonstrate significant performance gains in stance detection—but only when the training dataset is sufficiently large and the conversations are complex.
Introduction
Most text classification systems treat social media posts as isolated snippets or simple pairs. However, online conversations are inherently multi-party and multi-turn. A user’s stance or the toxicity of a comment often depends on the broader "topology" of the discussion: who has been arguing with whom, and how much time has passed between exchanges.
Previous attempts to include this context often relied on complex Graph Neural Networks (GNNs) or required access to sensitive user metadata. The authors set out to determine exactly when and how discussion structure impacts classification performance while maintaining user privacy through a lightweight, text-based approach.
Methodology: Encoding Context as Text
The researchers proposed a unified framework that treats structural and temporal context as a natural language translation problem. Instead of building a complex graph-based architecture, they fed the information directly into a RoBERTa-base model using specific text prefixes.
Key configurations tested include:
- Textual Chain (TC): Concatenating the entire thread of claims leading up to the target post.
- Temporal Context (+T): Adding a prefix describing the time elapsed since the start of the discussion (e.g., "after 2 days, 4 hours...").
- Structural Context (+U): Assigning "local discussion IDs" (e.g., "0th user", "1st user") to participants. This captures the interaction network without needing global user profiles, thereby preserving privacy.
Experimental Setup
The study primarily utilizes the Stance Detection Kialo (SDK) dataset, a large-scale collection of ~138,000 instances from a moderated debate platform. Kialo provides a clear, tree-like structure where claims are explicitly labeled as "pro" or "con" relative to their parent. To test generalizability, the authors also evaluated two smaller, noisier datasets: SQDC (RumourEval 2019) and ContextAbuse.
Key Results and Insights
The most striking finding is that contextual models are "data-hungry." On the large SDK dataset, contextual models excelled. However, on smaller datasets, the extra information provided no benefit or even hindered performance.
- The 40% Threshold: Learning curve analysis showed that contextual models only began to consistently outperform simpler baselines once they had access to at least 40% of the training data (~49,000 examples).
- Structure Trumps Time: Knowing the interaction network (who replied to whom) provided a much larger boost than knowing the timing of the posts.
- Privacy via Locality: Simply knowing that "User A" in this specific thread has replied twice is sufficient to capture necessary structural signals, avoiding the need for global user identities.
- Performance Boost: On the full SDK dataset, the best contextual model (
TC + U + T) achieved a Macro-F1 of 83.9, significantly outperforming the standardPAIRbaseline (81.2) and theSINGLEpost baseline (72.8).
Conclusion
While contextual information significantly improves performance for complex discussions, its effectiveness is contingent on dataset size. Future work could explore these benefits on less structured platforms like X (formerly Twitter) or apply the framework to tasks like sarcasm detection.
Summary updated