Abstract
With the advent of numerous community forums, tasks associated with the same have gained importance in the recent past. With the influx of new questions every day on these forums, the issues of identifying methods to find answers to said questions, or even trying to detect duplicate questions, are of practical importance and are challenging in their own right. This paper aims at surveying some of the aforementioned issues, and methods proposed for tackling the same.
Introduction
Community Question Answering (cQA) has emerged as a critical field of study with the proliferation of platforms like Quora, Stack Overflow, and Yahoo! Answers. Unlike traditional Question Answering (QA), which often focuses on extracting factoids from curated sources like Wikipedia, cQA deals with "noisy," user-generated content. This includes multi-sentence queries, opinion-seeking questions, and responses that may contain sarcasm or irrelevant information.
The core challenges in cQA are twofold:
- Question Semantic Matching: Determining if two differently worded questions share the same intent (e.g., "What is the most populous state?" vs. "Which state has the highest population?").
- Answer Ranking and Retrieval: Identifying the most relevant and high-quality answers within a sea of noisy community responses.
Methodology
The evolution of cQA methods can be categorized into three distinct eras, moving from simple keyword matching to complex neural interactions.
Traditional and Statistical Approaches
Early methods relied on Information Retrieval (IR) Baselines like Okapi BM25, which use token similarity and TF-IDF. However, these struggle with the "lexical gap"—where users use different synonyms for the same concept. Statistical Translation Models (TransLM) attempted to bridge this by treating the question-answer relationship as a translation problem, calculating the probability of "translating" a query into a candidate answer.
Deep Learning Architectures
Modern approaches leverage deep learning to capture semantic nuances:
- Word Embeddings: Representing text as dense vectors (e.g., averaging Word2Vec results).
- CNNs & LSTMs: Convolutional Neural Networks capture local n-gram features, while Long Short-Term Memory networks model long-range contextual dependencies.
- Attention Mechanisms: These allow models to dynamically focus on specific parts of a candidate answer that align with the question.
- Convolutional Neural Tensor Network (CNTN): An advanced model using tensors to capture complex, multiplicative interactions between question and answer embeddings.
Datasets
The survey evaluates these methodologies across three primary benchmarks:
- TREC QA: A standard dataset for factoid question answering.
- Yahoo! Answers Dataset: A large-scale collection (312,000 pairs) from the "Computer and Internet" category, reflecting real-world community noise.
- Quora Dataset: Over 400,000 sentence pairs specifically for duplicate question detection.
Key Insights
- Bridging the Lexical Gap: Semantic embeddings are vital for identifying intent when there is zero word overlap between two sentences.
- Preserving Context: CNNs and LSTMs outperform simple vector averaging because they maintain the structural and sequential importance of words, preventing "contextual dilution."
- Multiplicative Interaction: The success of models like CNTN suggests that the relationship between a question and an answer is best modeled through complex word-to-word interactions rather than simple additive signals.
Key Results
Empirical results demonstrate a clear trend toward deep learning dominance. On the TREC QA dataset, the QA-LSTM/CNN with Attention model achieved a Mean Average Precision (MAP) of 72.79 and a Mean Reciprocal Rank (MRR) of 82.40.
On the Yahoo! Answers retrieval task, the CNTN model significantly outperformed the Okapi BM25 baseline, achieving a Precision at 1 (P@1) of 70.7 compared to 35.6. Furthermore, CNTN proved effective for duplicate detection, leading with a 43.9 MAP.
Future Directions
Despite significant progress, several challenges remain:
- Standardization: The lack of a single, unified benchmark for cQA makes cross-study comparisons difficult.
- Beyond Factoids: Future research needs to better address the "opinion-seeking" nature of community forums, moving beyond simple fact-based queries.
- Expertise and Significance: New tasks such as Expert Finding (identifying qualified responders) and Comment Significance (ranking sub-comments) offer promising avenues for exploration.
- Robustness to Noise: Improving model resilience to the grammatical errors and informal slang prevalent in community posts remains a priority.
Summary updated