EndCold: An End-to-End Framework for Cold Question Routing in Community Question Answering Services

Jiankai Sun, Jie Zhao, Huan Sun, Srinivasan Parthasarathy

Introduction

Community Question Answering (CQA) platforms like Stack Overflow and Quora rely on timely, high-quality responses from experts. However, these services frequently encounter the "item cold-start" problem: when a new question is posted, the system must accurately route it to a capable and interested expert before any initial engagement (like votes or comments) occurs. Routing these "cold questions" is critical for maintaining user engagement and platform health.

Traditional approaches to this problem often suffer from two primary limitations. First, they frequently operate in "information silos," focusing either on graph-based structural features or manual text-based feature engineering, thereby missing the complex, high-order interactions between users, topics, and questions. Second, many state-of-the-art methods utilize a disjointed sequential pipeline—generating embeddings first and then training a separate classifier—which prevents the embeddings from being specifically optimized for the final routing task.

The EndCold Framework

To address these challenges, we present EndCold, an end-to-end framework that integrates graph representation learning with a regression objective to optimize question routing.

Heterogeneous Graph Construction

EndCold begins by constructing an undirected heterogeneous graph. Nodes represent three distinct entities: Users (both askers and answerers), Questions, and Tags. Edges represent historical interactions, such as a user answering a question or a question being associated with a specific tag. This structure allows the model to capture the rich context surrounding every interaction.

Architecture and Optimization

The framework consists of two primary components:

  1. Embedding Layer (GCN): A Graph Convolutional Network (GCN) is employed to generate node embeddings. By "smoothing" information across the graph, GCNs allow a new question node to inherit features from its associated tags, which are already linked to experienced answerers in the community.
  2. Regression Layer (MLP): The embeddings for the question, asker, potential answerer, and tags are concatenated and passed through a Multi-Layer Perceptron (MLP). The MLP predicts a "voting score," serving as a proxy for the quality of the match between the question and the potential expert.

Unlike traditional sequential models that separate embedding generation from task-specific training, EndCold optimizes the GCN and MLP weights simultaneously. This end-to-end approach ensures that the learned representations are directly tuned to maximize routing accuracy.

The EndCold architecture optimizes sequential modules into a single end-to-end framework for improved routing performance.

Experimental Setup

The EndCold framework was evaluated using datasets from eight diverse Stack Exchange sites: Apple, AskUbuntu, Gaming, Physics, Scifi, Serverfault, Tex, and Unix. The model was compared against several baselines, including text-based models (Doc2Vec), factorization machines (ColdRoute), and directed graph embedding methods (ATP). Performance was measured using Precision@3 (P@3) and Accuracy (Acc) based on ground-truth voting scores.

Results and Discussion

Experimental results demonstrate that EndCold consistently outperforms state-of-the-art models across all tested datasets.

Performance comparison of EndCold against baseline models across eight Stack Exchange datasets.

Key Insights

  • The Power of Joint Optimization: The transition from sequential to end-to-end modeling provided a significant performance boost. By allowing the embedding process to "know" its final objective, the model learns features that are more relevant to expert identification than generic embedding algorithms.
  • Tags as Information Bridges: For brand-new questions with no history, tags serve as the vital link. The GCN propagates expertise from the broader community through these tag nodes to the new question.
  • Pointwise vs. Pairwise Ranking: While pairwise ranking is often preferred in recommendation systems, the authors found that a pointwise regression approach was more robust in CQA settings due to data sparsity.

In the most challenging scenario—questions from brand-new users—EndCold improved P@3 and Accuracy by approximately 3.3% over the best sequential baselines. On sites like Gaming and Scifi, P@3 scores often exceeded 0.80, a stark contrast to traditional text-based methods like Doc2Vec, which typically performed in the 0.30-0.40 range.

Conclusion

EndCold provides a robust solution to the cold question routing problem by leveraging the power of GCNs in an end-to-end architecture. By treating tags as bridges and optimizing the entire pipeline simultaneously, the framework effectively identifies experts for new questions. Future work will focus on addressing the "user cold-start" problem—identifying the expertise of newly registered answerers—and exploring the efficacy of pairwise ranking in denser interaction environments.

Summary updated

BibTeX
@inproceedings{sun2020endcold,
  author = {Jiankai Sun and Jie Zhao and Huan Sun and Srinivasan Parthasarathy},
  title = {{EndCold: An End-to-End Framework for Cold Question Routing in Community Question Answering Services}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/449},
}
Figure