Abstract
Online discussion boards, or Internet forums, are a significant part of the Internet. People use Internet forums to post questions, provide advice and participate in discussions. These online conversations are represented as threads, and the conversation trees within these threads are important in understanding the behaviour of online users. Unfortunately, the reply structures of these threads are generally not publicly accessible or not maintained. Hence, in this paper, we introduce an efficient and simple approach to reconstruct the reply structure in threaded conversations. We contrast its accuracy against three baseline algorithms, and show that our algorithm can accurately recreate the in and out degree distributions of forum reply graphs built from the reconstructed reply structures.
The Challenge of Missing Thread Structures
While online forums are a goldmine for studying social behavior and information flow, they often lack explicit structural metadata. Many platforms display posts as a flat, chronological list, failing to export the underlying "reply tree" that links a response to its parent post. Without this threaded structure, it is nearly impossible to accurately map out user roles—such as identifying influencers versus lurkers—or track how specific topics evolve through a debate.
Previous attempts to solve this relied heavily on complex Natural Language Processing (NLP) that was either too slow for massive datasets or focused only on specific types of threads, like Question & Answer pairs. This research seeks a middle ground: a method that is both highly accurate and fast enough to process millions of posts in minutes.
The ThreadRecon Approach
The authors propose a supervised learning approach called ThreadRecon. Instead of using heavy computational models, they utilize a C4.5 Decision Tree (specifically the J48 implementation). The model treats reconstruction as a binary classification task: given Post A and an earlier Post B in the same thread, is Post A a reply to Post B?
To make this determination, the model evaluates five key features:
- Post Distance: The number of messages between the two posts.
- Time Difference: The actual time elapsed between posts.
- Quotes: Whether Post A contains a quoted snippet of Post B (a very strong signal).
- Cosine Similarity: A measure of text content overlap using TF-IDF.
- Thread Length: The total size of the conversation to contextualize distance.
Experimental Insights
The study utilized data from Boards.ie, the largest Irish online discussion board, focusing on 13,100 threads containing roughly 133,200 messages. Several key insights emerged from the training process:
- The Power of Simplicity: The decision tree significantly outperformed Support Vector Machines (SVMs) in efficiency. While SVMs took 30 hours to train on large datasets, the decision tree processed the same data in under two minutes without sacrificing accuracy.
- Quotes as High-Precision Signals: If a post quotes another user, there is a nearly 98% chance it is a direct reply. However, since only about 20% of users utilize quotes, this feature alone is insufficient for full reconstruction.
- Beating the "1-Distance" Baseline: In many forums, roughly 80% of users simply reply to the message immediately preceding theirs. ThreadRecon was designed to specifically outperform this naive heuristic.
Performance and Structural Fidelity
ThreadRecon achieved an F-score of 0.926, outperforming the "1-Distance" baseline (0.797) and previous state-of-the-art NLP-based models (0.875). Beyond simple accuracy, the authors evaluated Graph Integrity. They demonstrated that reconstructed threads maintained the same mathematical properties—such as in-degree and out-degree distributions—as the original "true" threads.
As shown in the empirical CDF analysis, ThreadRecon significantly reduces the error in out-degree distribution compared to the standard 1-Distance approach. Using KL-divergence measures, the authors confirmed that the reconstructed reply graphs were statistically almost identical to the actual conversation graphs, making the tool reliable for downstream social network analysis.
Limitations and Future Work
While highly effective, the model has room for improvement. Current limitations include a lack of "interaction history" between users, which could resolve ambiguous replies. Additionally, the model does not explicitly account for sub-topic shifts in very long threads. Future work may also explore the performance of ThreadRecon on "mega-threads" containing thousands of posts, as the current evaluation focused on threads with fewer than 40 messages.
Summary updated