Abstract
In Community Question Answering (CQA) websites, most current expert finding methods often model expert embeddings from textual features and optimize them with expert-question first-order interactions—i.e., identifying that a specific expert has answered a specific question. In this paper, we address the limitation of current models that typically neglect the intrinsic high-order connectivity within expert-question interactions, which is pivotal for collaborative effects. We introduce an innovative and simple approach: by conceptualizing expert-question interactions as a bipartite graph, we propose a novel graph-based expert finding method based on contrastive learning to effectively capture both first-order and intricate high-order connectivity, named CGEF. Specifically, we employ a question encoder to model questions from titles and employ a graph attention network to recursively propagate embeddings. To alleviate the problem of sparse interactions, we devise two auxiliary tasks to enhance expert modeling: behavior-level augmentation and interest-level augmentation. Extensive experiments on six CQA datasets demonstrate significant improvements compared with recent methods.
The Challenge of Sparse Expertise
In Community Question Answering (CQA) sites like StackOverflow, the goal of "expert finding" is to route a new, unanswered question to the person most qualified to answer it. Traditional models usually focus on two things: the text of the question and the direct history of the expert. However, these models suffer from two major flaws.
First, they often ignore high-order connectivity. If Expert A and Expert B both answered the same complex question, they likely share a similar expertise, even if they’ve never interacted with the same set of questions otherwise. Second, CQA data is notoriously sparse—most users only answer a handful of questions, making it difficult for a model to learn a robust profile for them.
Methodology: The CGEF Framework
The proposed CGEF (Graph Collaborative Expert Finding) framework conceptualizes the problem as a bipartite graph where nodes are either experts or questions. The architecture consists of three primary components designed to capture collaborative signals and overcome data sparsity.
1. High-Order Encoding
Instead of just looking at direct links, CGEF uses a Graph Attention Network (GAT). This allows the model to recursively propagate information through the graph. An expert’s representation is updated based on the questions they answered, which are in turn influenced by other experts who answered them. This recursive propagation injects collaborative signals into the expert modeling process.
2. Handling New Questions
Since a target question is usually brand new (the "cold-start" problem), CGEF uses a BERT-based question encoder to turn titles into initial embeddings. This allows the model to project new questions into the existing expertise space based on semantic similarity.
3. Contrastive Learning (CL)
To fight data sparsity, CGEF introduces two auxiliary self-supervised tasks that create multiple "views" of an expert:
- Behavior-level Augmentation: The model randomly drops interaction edges in the graph to create different views of an expert’s history, forcing the model to learn which interaction patterns are truly essential.
- Interest-level Augmentation: The model randomly replaces question titles with their associated "tags" (e.g., #machine-learning). This helps the model capture coarse-grained interests when specific question text is too noisy or unique.
Experimental Evaluation
The model was evaluated on six real-world datasets from StackExchange: AI, Bioinformatics, Print, History, English, and Biology. These datasets vary significantly in size and density, providing a rigorous test for the model's ability to handle different levels of sparsity.
Key Results
CGEF consistently outperformed state-of-the-art baselines (like PMEF and EFHM) across all six datasets:
- Precision Improvements: On the "History" dataset, CGEF improved the P@1 (Precision at 1) by more than 22.9% compared to the best deep neural baseline.
- Robustness to Sparsity: In tests where interaction data was deliberately limited, CGEF maintained higher performance than its competitors, proving that the contrastive learning tasks successfully "filled in the gaps" of missing data.
- Optimal Depth: Researchers found that 2 or 3 layers of graph propagation were the "sweet spot." Beyond this, embeddings became "over-smoothed," causing nodes to lose their distinctiveness.
Conclusion and Future Work
CGEF demonstrates that expert finding is as much a recommendation problem as it is a text-matching problem. By treating interactions as a graph and using contrastive learning to regularize sparse data, CGEF picks up on latent similarities that text alone might miss.
Future work may address the computational complexity of GATs in massive communities and the temporal dynamics of expertise, as user interests often shift over time. Additionally, finding ways to increase GNN depth without over-smoothing remains an open challenge for the field.
Summary updated