A Deep Learning Approach for Expert Identification in Question Answering Communities

Chen Zheng, Shuangfei Zhai, Zhongfei ZhangarXiv 2017

In the vast oceans of information that are Question Answering (QA) communities like Stack Overflow and Zhihu, the challenge isn't just finding an answer—it's finding the right person to provide it. Researchers from Binghamton University have proposed a new way to bridge this gap using deep learning, moving away from traditional methods that rely on analyzing answer quality to a more direct approach: matching questions to user expertise.

TL;DR

This paper introduces Q-USER-CNN, a framework that identifies experts in QA communities by learning joint representations of question text and user identities. By combining Convolutional Neural Networks (CNNs) for text and DeepWalk for social network embeddings, the model identifies the best potential answerer for a new question without needing to see a single answer first.

What Problem Does This Paper Address?

Traditional expert identification often relies on "answer content quality." To know if someone is an expert, systems usually wait for them to write an answer and then evaluate its quality (e.g., upvotes). This creates a "cold start" problem: how do you recommend a brand-new question to the right expert before any answers exist?

Furthermore, analyzing long, variable-length answers is computationally expensive. The authors sought a method that understands the domain of a question and the latent expertise of a user simultaneously, allowing for proactive expert recommendation.

Methods

The authors propose a dual-stream architecture called Q-USER-CNN.

  1. Question Representation: The model uses a CNN to process question text. It employs multiple filter sizes (windows of 2, 3, 4, and 5 words) to capture different n-gram features, followed by max-pooling and a fully connected layer to produce a fixed-length "question vector."
  2. User Representation: Instead of looking at a user's text, the model treats the QA community as a social graph. They use DeepWalk—an algorithm that performs random walks on a graph to learn latent features—to generate "user embeddings." This captures the similarity between users based on their neighborhood in the community.
  3. Matching and Training: The core idea is to project both the question and the user into the same vector space. The model is trained using a ranking loss function (hinge loss). It tries to ensure that the cosine similarity between a question and its actual expert (the "positive" user) is higher than the similarity between that question and a randomly chosen non-expert (the "negative" user).
Figure 2: Q-USER-CNN

Datasets

The model was evaluated on two massive, real-world datasets:

  • Stack Overflow: A focused dataset covering 10 technical domains (e.g., AI, Apple, AskUbuntu).
  • Zhihu: A massive Chinese QA dataset covering 100 different domains.

The use of both English and Chinese datasets demonstrates the model's language-agnostic nature, as it relies on structural embeddings and standard word vectors rather than language-specific linguistic tools.

Key Insights and Ideas

  • Identity as Expertise: The most significant shift here is treating a user's ID as a rich feature. By using DeepWalk, the model learns that "User A is like User B" because they participate in similar threads, even if their specific vocabulary differs.
  • Efficiency through Fixed Lengths: Because user embeddings are fixed-length vectors, the model avoids the computational overhead of processing long, rambling answers. This makes the training process significantly faster and less hardware-intensive.
  • Proactive vs. Reactive: By matching questions directly to users, the system can invite experts to answer questions, rather than just ranking answers that have already been submitted.

Key Results

The researchers compared Q-USER-CNN against a baseline called Q-A-CNN, which matches questions to answer text.

  • Superior Accuracy: Q-USER-CNN consistently outperformed the baseline. On the Stack Overflow dataset, the model achieved a Top-1 accuracy of approximately 80% to 85% depending on the specific test set and hyperparameters.
  • Hyperparameter Sensitivity: The authors found that using a combination of filter sizes (2, 3, 4, 5) and the Adam optimizer generally yielded the best results. Interestingly, GloVe embeddings slightly outperformed Word2Vec in their tests.
Detailed results for Stack Overflow showing the impact of different filter sizes and optimizers.

Limitations and Future Work

While the model is highly effective at identification, the authors note several areas for growth:

  • Answer Quality Prediction: The current model finds the expert, but it doesn't necessarily predict how good a specific future answer will be.
  • Complex Reasoning: The authors suggest exploring more advanced NLP tasks like machine comprehension and textual entailment to further refine how the model "understands" the nuances of a question.
  • Cold-Start for New Users: While it solves the cold-start for questions, a brand-new user with no history in the graph would still be difficult for the DeepWalk component to represent accurately.

Overall, this research provides a robust, scalable framework for connecting knowledge-seekers with knowledge-holders, proving that sometimes, who you are is just as important as what you say.

Summary updated

BibTeX
@misc{zheng2017deep,
  author = {Chen Zheng and Shuangfei Zhai and Zhongfei Zhang},
  title = {{A Deep Learning Approach for Expert Identification in Question Answering Communities}},
  year = {2017},
  eprint = {1711.05350},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.05350},
}
Figure