Scalable Recommendation of Wikipedia Articles to Editors Using Representation Learning

Oleksii Moskalenko, Denis Parra, Diego Sáez-Trumper

Introduction

Wikipedia is a cornerstone of human knowledge, containing over 5 million articles in its English edition alone. However, this vastness presents a "paradox of choice" for its volunteer editors. Experienced contributors often face massive backlogs and struggle to prioritize cleanup tasks, while newcomers frequently find it difficult to identify where to start after their initial edit, leading to low retention rates.

Traditional recommendation systems, such as Collaborative Filtering, typically fail in this environment due to extreme data sparsity; approximately 94% of contributors have fewer than ten interactions over a three-year period. To address these challenges, researchers developed WikiRecNet, a scalable recommendation system designed to provide personalized article suggestions by navigating the massive Wikipedia link graph using advanced representation learning.

The WikiRecNet Architecture

The authors propose a two-stage architecture that separates heavy computation from real-time serving. This ensures the system can scale to millions of items while remaining responsive to user queries.

1. Representation Learning (Offline)

To capture the essence of a Wikipedia article, the system generates hybrid embeddings that combine content and structure:

  • Textual Features: The system uses Doc2Vec (PV-DBOW) to transform article text into dense numerical vectors.
  • Structural Features: These text embeddings serve as initial node features for GraphSAGE, an inductive Graph Convolutional Network (GCN). Unlike transductive methods, GraphSAGE can generate embeddings for new or updated articles without requiring a full model retrain—a critical feature for a dynamic platform like Wikipedia.

2. Candidate Generation and Ranking (Online)

When a user requests a recommendation, the system performs two steps:

  • Retrieval: Using HNSW (Hierarchical Navigable Small World) graphs, the system performs an approximate K-Nearest Neighbor search to quickly identify a pool of potential articles similar to the user's editing history.
  • Ranking: A multi-layer MLP (multi-layer perceptron) processes the user's history and the retrieved candidates to predict the probability of a relevant edit, providing a final sorted list of suggestions.
High-level architecture of the WikiRecNet system, illustrating the offline representation learning and online candidate generation stages.

Dataset and Scalability

The model was evaluated using a snapshot of English Wikipedia containing over 5.2 million articles and nearly 459 million internal links. Handling a graph of this magnitude is a significant engineering challenge; most standard GCN implementations cannot process hundreds of millions of edges. The authors contributed a custom, scalable implementation of GraphSAGE to manage this scale.

Furthermore, the dataset highlights the "cold-start" problem: 88% of English Wikipedia users have performed fewer than five major edits. This makes the ability of WikiRecNet to generate relevant suggestions from very short histories particularly valuable.

Performance Evaluation

WikiRecNet was benchmarked against several baselines, including standard Information Retrieval (BM25), Collaborative Filtering (ALS-MF), and standalone Doc2Vec. The results demonstrated that combining link structure with text content provides a superior signal for editor preferences.

Performance comparison of WikiRecNet against various baselines, demonstrating significant improvements in ranking quality (nDCG) and retrieval (Recall).

As shown in the experimental results, the "merge" aggregation with "deep-rank" scoring achieved a 100% improvement in nDCG@100 over the Doc2Vec baseline. The system also proved robust against popularity bias, successfully identifying relevant "long-tail" content for niche editors rather than simply suggesting the most famous articles. Additionally, the use of HNSW for retrieval provided a 20x speed improvement over exact search methods with negligible loss in accuracy.

Conclusion and Future Directions

WikiRecNet demonstrates that hybrid representation learning—integrating both textual content and graph structure—can effectively solve the recommendation problem in high-sparsity, large-scale environments like Wikipedia. While the current model uses Doc2Vec, the authors suggest that future iterations could leverage transformer-based models like BERT or XLNet to capture even deeper semantic nuances. While this study focused on English Wikipedia, the architecture is language-agnostic and holds potential for improving editor engagement across all language editions of the encyclopedia.

Summary updated

BibTeX
@inproceedings{moskalenko2020scalable,
  author = {Oleksii Moskalenko and Denis Parra and Diego Sáez-Trumper},
  title = {{Scalable Recommendation of Wikipedia Articles to Editors Using Representation Learning}},
  booktitle = {ComplexRec-ImpactRS@RecSys},
  year = {2020},
}
Figure