Introduction
Wikipedia relies on a global network of hundreds of thousands of volunteer editors to maintain its vast repository of knowledge. However, with over 5 million articles in the English edition alone, contributors often face a "paradox of choice." Experienced editors are frequently overwhelmed by massive, unprioritized backlogs, while newcomers struggle to find entry points for meaningful contributions—a significant factor in low editor retention rates.
Traditional recommendation systems often fail at this scale due to extreme data sparsity; approximately 94% of contributors have fewer than 10 interactions over a three-year period. Furthermore, standard transductive models require computationally expensive retraining whenever new content is added. This paper introduces WikiRecNet, a scalable, inductive recommendation system designed to provide personalized article suggestions while overcoming the challenges of cold-starts and popularity bias.
System Architecture
WikiRecNet employs a two-stage architecture inspired by large-scale industrial systems. The process is divided into offline representation learning and online candidate generation and ranking.
1. Representation Learning
The system generates high-quality article embeddings by combining semantic content with structural graph data:
- Content Embeddings: Doc2Vec (PV-DBOW) is used to create 300-dimensional embeddings from article text.
- Structural Embeddings: These text embeddings are fed into GraphSAGE, an inductive Graph Convolutional Network (GCN). Unlike transductive models, GraphSAGE learns an aggregation function to generate embeddings by sampling features from a node’s local neighborhood. This allows the system to generate representations for new articles immediately based on their links, without retraining the entire graph.
2. Candidate Generation and Ranking
To handle millions of potential items, the system first uses K-Nearest Neighbors (K-NN) to narrow the field to a few hundred candidates. The researchers implemented HNSW (Hierarchical Navigable Small World) indexing, which achieved a 20x speedup over exact search methods with negligible loss in accuracy, maintaining a latency of just 0.04 seconds per request.
Finally, a deep neural network (DeepRank) takes the concatenated embeddings of a user’s recent history and a candidate article to predict the probability of a relevant edit.
Experimental Results
The system was evaluated using an October 2018 snapshot of English Wikipedia, comprising over 5.2 million articles and 458 million internal links. The model was tested against a filtered dataset of approximately 60,000 active users.
As shown in the results table, WikiRecNet significantly outperforms traditional methods. The "merge" aggregation with "DeepRank" achieved an nDCG@100 of 0.1760, representing a 100% improvement over the Doc2Vec-only baseline (0.0883). Notably, the system also outperformed BM25 (a standard information retrieval algorithm) and ALS (Alternative Least Squares). The poor performance of ALS highlights the difficulty of applying standard collaborative filtering to the highly sparse Wikipedia editor-article matrix.
Discussion and Future Work
A key insight from this research is that text content alone is insufficient for high-quality recommendations in a knowledge graph. By integrating Doc2Vec embeddings into an inductive graph model, WikiRecNet captures both the semantic meaning of an article and its structural context within Wikipedia. This approach is particularly effective at mitigating popularity bias, as evidenced by strong performance in "high k" metrics (like nDCG@100), which ensures the system recommends relevant "hidden gems" rather than just high-traffic pages.
While the system handles item cold-starts effectively, user representation remains a challenge due to sparse edit histories. Future iterations may explore sequential modeling, such as Transformers or RNNs, to better capture evolving user interests, and replace Doc2Vec with more advanced language models like BERT to further refine semantic understanding.
Summary updated