Abstract
In the area of community question answering (CQA), answer selection and answer ranking are two tasks which are applied to help users quickly access valuable answers. Existing solutions mainly exploit the syntactic or semantic correlation between a question and its related answers (Q&A), where the multi-facet domain effects in CQA are still underexplored. In this paper, we propose a unified model, Enhanced Attentive Recurrent Neural Network (EARNN), for both answer selection and answer ranking tasks by taking full advantages of both Q&A semantics and multi-facet domain effects (i.e., topic effects and timeliness). Specifically, we develop a serialized LSTM to learn the unified representations of Q&A, where two attention mechanisms at either sentence-level or word-level are designed for capturing the deep effects of topics. Meanwhile, the emphasis of Q&A can be automatically distinguished. Furthermore, we design a time-sensitive ranking function to model the timeliness in CQA. To effectively train EARNN, a question-dependent pairwise learning strategy is also developed. Finally, we conduct extensive experiments on a real-world dataset from Quora. Experimental results validate the effectiveness and interpretability of our proposed EARNN model.
Introduction
In the massive ecosystems of Community Question Answering (CQA) sites like Quora and Yahoo Answers, the sheer volume of content makes finding the "best" answer a needle-in-a-haystack problem. While traditional search engines look for keyword overlaps, human knowledge sharing is more nuanced. A new paper by Jin et al., published in IEEE Transactions on Systems, Man, and Cybernetics: Systems, introduces a model that looks beyond the text to understand the context and timing of human expertise.
The Complexity of CQA Data
Most existing CQA systems rely on semantic matching—calculating how well the text of an answer aligns with the text of a question. However, this approach faces two major hurdles:
- The Topic Gap: Questions often have implicit intents. If a user asks about "best places to visit" and tags it with "Beauty," an answer describing a "surreal, amazing lake" is more valuable than a dry list of coordinates, even if the word "beauty" isn't in the answer.
- The Timeliness Bias: In CQA, the "rich get richer." An answer posted three years ago has had more time to accumulate views and upvotes than a brilliant answer posted yesterday. Standard models often mistake high upvote counts for high quality, ignoring the unfair advantage of being first.
The EARNN Architecture
The authors developed the Enhanced Attentive Recurrent Neural Network (EARNN) to tackle these challenges through three key innovations integrated into a unified neural framework.
Serialized LSTM with Dual Attention
Instead of processing the question and answer separately, the model uses a serialized Long Short-Term Memory (LSTM) network. It first "reads" the question to set the context (the hidden state) and then reads the answer.
- Sentence-level Attention identifies which parts of a long answer are most relevant to the question.
- Word-level Attention integrates external "topic" keywords to highlight significant regions of the text that align with the asker's intent.
Time-Sensitive Ranking and Pairwise Learning
To eliminate the bias of old answers, the authors designed a decay function. This function adjusts the predicted value of an answer based on the time elapsed since the first answer was posted, effectively "leveling the playing field" for newer content. Furthermore, since it is unfair to compare an answer about "cooking" to an answer about "coding," the model is trained using a question-dependent pairwise strategy (Question, Good Answer, Bad Answer). This ensures the model learns to rank answers relative to their specific question context.
Experimental Evaluation
The researchers collected a massive real-world dataset from Quora, consisting of over 372,000 questions and 1.7 million answers. After cleaning (removing questions with too few answers or unstable vote counts), they settled on a refined dataset of 9,353 questions and 218,965 answers. "Good" answers were defined as those with more than ten stable upvotes.
Key Insights
- Topics as "Intent Anchors": The paper demonstrates that topics act as a bridge between the asker's intent and the answerer's content. By explicitly modeling topics, the system can recognize that "surreal" and "beautiful" are semantically linked in a travel context.
- The Decay of Value: The authors found that the best hyperparameter for time decay ($H$) typically ranges between $10^6$ and $10^7$ seconds. This quantitative proof shows that timeliness is a measurable bias in user interaction.
Performance Results
EARNN was tested against several baselines, including traditional IR models (BM25) and deep learning models (CNTN, WEC_CNN). EARNN consistently outperformed all baselines across metrics like Precision@k, Mean Average Precision (MAP), and Normalized Discounted Cumulative Gain (NDCG). On the Quora dataset, EARNN showed improvements of approximately 1.8% to 4.0% in answer selection metrics and 1.4% to 4.9% in ranking metrics over the strongest baseline (WEC_CNN).
Conclusion
While EARNN is powerful, the authors acknowledge areas for growth, such as generalizing the model for platforms with predefined categories like Yahoo Answers and incorporating additional domain effects like user reputation or image content. Nevertheless, EARNN represents a significant step forward in measuring the true value of human knowledge in digital communities.
Summary updated