Thread-Level Information for Comment Classification in Community Question Answering

Alberto Barrón-Cedeño, Simone Filice, Giovanni Da San Martino, Shafiq R. Joty, Lluís Màrquez, Preslav Nakov, Alessandro Moschitti

Introduction

Community Question Answering (cQA) platforms like StackOverflow or Qatar Living present a unique challenge for automated answer selection. Unlike traditional QA systems that retrieve factual snippets, cQA involves navigating "noisy" human dialogues where comments are often off-topic, conversational, or directed at other users rather than the original poster. This paper addresses the problem of identifying "Good" (relevant), "Bad" (irrelevant), or "Potentially Useful" answers by moving beyond isolated comment analysis to a holistic thread-level approach.

Methodology: Modeling Thread Context

The core innovation of this work is the introduction of thread-level features that capture the social and structural context of a forum conversation. While baseline models rely on lexical similarity and simple heuristics, the authors propose several global features:

  • Asker Proximity and Acknowledgment: Tracking a comment's distance from the original asker’s posts. Crucially, if an asker later thanks a user, that value is "back-propagated" to preceding comments.
  • Dialogue Dynamics: Identifying "pseudo-conversations" between specific users and accounting for a comment's position in the thread, as the likelihood of a "Good" answer typically diminishes over time.
  • Relative Ranking: Normalizing similarity scores across the entire thread to identify the most relevant contributions relative to peers.
Figure 6: Thread examples illustrating how context changes the classification of a comment from 'Bad' to 'Good' based on subsequent user interactions.

The authors evaluated these features using standard classifiers (SVM, Logistic Regression) and structured prediction models (CRF, SVM-HMM) to determine if learning label sequences (e.g., a "Good" answer followed by a "Bad" one) provides additional benefit.

Experimental Setup

The study utilized the CQA-QL corpus from SemEval-2015 Task 3, consisting of 3,229 questions and over 20,000 comments from the Qatar Living forum. The dataset is naturally imbalanced, with approximately 49% "Good", 10% "Potential", and 41% "Bad" comments. Performance was measured using macro-averaged F1 and accuracy.

Results and Discussion

The inclusion of thread-level features yielded significant performance gains across all models. For the multi-class classification task (Good/Bad/Potential), the SVM's macro-F1 score improved from 52.87 to 56.33. As shown in the table below, the "Baseline + Thread-level" approach achieved results that are competitive with or superior to the top-performing systems in the SemEval-2015 competition.

Figure 2: Performance comparison on multi-class classification. The addition of thread-level features allows the SVM and Ordinal Regression models to outperform baseline systems and match state-of-the-art results.

Interestingly, structured prediction models like CRFs did not significantly outperform simpler classifiers. This suggests that the dependencies between comments are better captured through explicit structural features (like asker proximity) rather than simple Markovian label sequences. In binary classification (Good vs. Bad), thread features pushed the F1 score from 74.98 to 77.59, confirming the robustness of the approach.

Conclusion

This research demonstrates that in the context of community forums, the social structure of a thread is as informative as the text itself. By modeling the interactions between users and the chronological flow of conversation, the authors established a new state-of-the-art for cQA answer selection. Future work will focus on more sophisticated dialogue modeling and testing these dynamics across diverse forum types to further refine the joint-learning framework.

Summary updated

BibTeX
@inproceedings{barroncedeno2015thread,
  author = {Alberto Barrón-Cedeño and Simone Filice and Giovanni Da San Martino and Shafiq R. Joty and Lluís Màrquez and Preslav Nakov and Alessandro Moschitti},
  title = {{Thread-Level Information for Comment Classification in Community Question Answering}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2015},
  doi = {10.3115/v1/p15-2113},
}
Figure