An Interactive System for Exploring Community Question Answering Forums

Enamul Hoque, Shafiq R. Joty, Lluís Màrquez, Alberto Barrón-Cedeño, Giovanni Da San Martino, Alessandro Moschitti, Preslav Nakov, Salvatore Romeo, Giuseppe Carenini

Abstract

Community Question Answering (cQA) forums are valuable information repositories but often suffer from noise, redundancy, and unmoderated content. This paper presents an interactive system designed to streamline navigation in these forums by combining state-of-the-art NLP ranking models with a specialized visual interface. The system identifies relevant past discussions and highlights the most helpful answers using a hybrid ranking approach that integrates search engine relevance with a deep learning-based "goodness" classifier. Evaluation on the SemEval-2016 benchmark demonstrates superior performance over existing models, and a live deployment on the Qatar Living forum showcases its real-world utility.

Introduction

Community forums like StackOverflow, Quora, or Qatar Living are goldmines of information, but they are often unmoderated and chaotic. When a user has a new question, they face two major hurdles: near-duplicity, where similar questions are asked with slight variations, and information overload, where the "good" answer is buried under a mountain of irrelevant comments. This paper proposes an end-to-end system that finds related threads and ranks individual comments within those threads by their utility.

System Architecture

The system operates through two distinct phases: offline processing for model training and online processing for real-time user interaction.

System architecture overview showing offline training and online processing pipelines.

Offline Processing

The team trained a sophisticated Support Vector Machine (SVM) classifier using data from the SemEval-2016 competition. This classifier determines if a comment is "good" or "bad" based on:

  • Numeric Features: Textual similarity, presence of URLs/emails, and global thread metadata.
  • Embedding Features: A Convolutional Neural Network (CNN) learns vector representations of questions and answers to capture semantic meaning beyond simple word matching.
  • Tree Kernels: Syntactic trees are used to measure how structurally similar a comment is to a question.

Online Processing

When a user enters a query, the system invokes a local search engine to find the top-N most similar existing threads. It then calculates a final relevance score for every comment by multiplying the thread's search rank by the comment's "goodness" score from the SVM. Finally, results are presented through a custom web-based UI.

User Interface and Interaction

The system's interface is designed to facilitate rapid information retrieval through visual cues and prioritized content.

The interactive user interface featuring related questions, conversation view, and the thread overview heat map.
  • The "Best Answer" Shortcut: The UI immediately displays the single highest-scoring comment from across all related threads, allowing users to get an answer instantly.
  • Visual Skimming: The "Conversation View" uses a sequence of color-coded rectangles (ranging from dark green for "highly useful" to white for "not useful") to represent a thread. This acts as a visual "heat map," allowing users to jump straight to the most promising parts of a long conversation.
  • Hybrid Ranking: By combining search engine relevance with a deep NLP classifier, the system filters out the noise that usually plagues forum searches.

Experimental Evaluation

The core NLP component was evaluated on the SemEval-2016 Task 3 (Subtask A) benchmark, which uses manually annotated data from the Qatar Living forum.

Key Results: * MAP (Mean Average Precision): 77.66 * Accuracy: 75.54% * Comparison: The system achieved a higher $F_1$ score (+1.8) and better accuracy (+0.4) than the top-performing system in the original competition.

Qualitatively, the system was successfully deployed live as part of the Qatar Living forums, demonstrating its readiness for real-world production environments.

Conclusion

This system provides a robust solution for navigating the complexities of cQA forums. By integrating advanced ranking models with intuitive visual aids, it significantly reduces the effort required to find high-quality information. Future work will include formal user studies to evaluate the UI's impact on search efficiency and further refinement of the underlying NLP models to handle informal forum language.

Summary updated

BibTeX
@inproceedings{hoque2016interactive,
  author = {Enamul Hoque and Shafiq R. Joty and Lluís Màrquez and Alberto Barrón-Cedeño and Giovanni Da San Martino and Alessandro Moschitti and Preslav Nakov and Salvatore Romeo and Giuseppe Carenini},
  title = {{An Interactive System for Exploring Community Question Answering Forums}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2016},
}
Figure