## PRIORITY:
```
Normal
```
= Summary =
Propose exploring **personalized article recommendations** for Newcomer Tasks and Suggested Edits using a content-based collaborative filtering approach (similar to arXiv's Scholar-Inbox system). This would enhance current topic-based filtering with per-user relevance ranking instead of random selection.
= Problem =
Current Newcomer Task recommendation pipeline:
1. Filters by topic (from welcome survey)
2. Filters by task type (copyedit, links, etc.)
3. **Randomly selects** from filtered pool
4. No personalization beyond initial topic selection
5. No learning from user behavior
**Limitations identified in prior research** ([https://meta.wikimedia.org/wiki/Research:Prioritization_of_Wikipedia_Articles/Recommendation Research:Prioritization]):
* Status quo bias (reinforces existing patterns)
* Equal weighting of all articles in filtered pool
* No adaptation to individual user preferences
* Simple keyword-based topic matching ("morelike" query)
**From T227728**: "A valuable tool for helping tasks be relevant to newcomers is the welcome survey, which was originally built specifically for **personalizing the newcomer's experience.**" ← We have the stated goal but not the implementation.
= Proposed Solution =
Implement **Scholar-Inbox style recommendations** using semantic embeddings + lightweight ML:
'''Architecture:'''
1. **Pre-generate embeddings** for Wikipedia articles
* Use GTE-large or SPECTER2 (open models, proven on Wikipedia)
* 256-dimensional vectors via PCA (from 1024-d)
* ~6GB storage for 6M English Wikipedia articles
* One-time generation, updated weekly/monthly
2. **Per-user preference models**
* Logistic regression on article embeddings
* Trained on user's edit history or explicit ratings
* Lightweight (runs client-side or on server)
* Updates incrementally as user interacts
3. **Ranking instead of random**
* Score all articles in filtered pool by predicted relevance
* Return top-N ranked by personalized score
* Fall back to topic-based filtering for cold-start users
4. **Feedback loop** (optional enhancement)
* "Was this suggestion helpful?" after each task
* Explicit ratings improve future recommendations
* Active learning for cold-start users
'''Cold Start:'''
* Use existing welcome survey topics
* Bootstrap with 2D t-SNE visualization of article space
* Prompt user to select interesting clusters (like Scholar Maps)
= Prior Art =
**Research:**
* **Scholar Inbox** (2025): Content-based arXiv paper recommendations
* Paper: https://arxiv.org/abs/2504.08385
* Performance: 86.75% AUC, 78.31% balanced accuracy on 800K ratings
* Architecture: GTE-large embeddings + logistic regression
* Designed for personalization at scale
* **Scalable Wikipedia Recommendations** (2020):
* Paper: https://arxiv.org/abs/2009.11771
* Proves semantic embeddings work well for Wikipedia articles
* Doc2Vec approach, highly efficient
**Existing Infrastructure:**
* Growth team already uses ML for link recommendations (T252822)
* Evaluation framework exists: https://github.com/geohci/wiki-prioritization
* Welcome survey provides initial preference data
* Click-through data available for validation
= Alternatives Considered =
'''Option 1: Deep learning recommendations'''
* Rejected: Too heavy, requires GPU, privacy concerns
* Scholar-Inbox uses simple logistic regression (intentionally lightweight)
'''Option 2: Collaborative filtering (user-user similarity)'''
* Rejected: Cold-start problem for newcomers
* Content-based works with zero user history
'''Option 3: Improve "morelike" query'''
* Limited improvement: Still keyword-based, not semantic
* Embeddings capture deeper relationships
'''Option 4: Keep current system'''
* Works but leaves personalization opportunity on table
* Random selection doesn't leverage available signals
= Technical Feasibility =
✅ **Proven approach**: 86.75% AUC on scholarly articles (similar domain)
✅ **Lightweight**: Logistic regression, not neural networks
* Can run in browser (localStorage for user model)
* Or on WMF servers (minimal compute)
✅ **Storage manageable**: ~6GB for embeddings (one language)
* Less than typical media file
* Served via CDN, gzipped
✅ **Incremental rollout**:
* Phase 1: Generate embeddings for 10K articles (proof of concept)
* Phase 2: A/B test on test.wikipedia.org
* Phase 3: Deploy to small wikis, gather metrics
* Phase 4: Scale to all languages if successful
✅ **No major architecture changes**:
* Fits into existing recommendation pipeline
* Replace random selection step with ranking step
* Backward compatible (falls back to current behavior)
= Questions for Growth Team =
1. **Interest level**: Is personalized ranking something Growth team wants to explore for Newcomer Tasks?
2. **Data access**: Can we access anonymized newcomer task click/edit data from the evaluation framework for validation?
3. **Technical concerns**: Any red flags about:
* Embedding storage/serving (~6GB per language)?
* Privacy implications of user models?
* Integration with existing GrowthExperiments extension?
4. **Testing approach**: Would you prefer:
* A) Standalone prototype first (external service)?
* B) Direct integration with A/B test on test wiki?
5. **Collaboration**: Should this go through:
* Research team first (validate approach)?
* ML team for embedding generation?
* Direct Growth team implementation?
6. **Timeline fit**: Does this align with Growth team roadmap, or should we wait for future quarter?
= Prior Related Work =
Tasks explicitly mentioning personalization need:
* **T227728**: Newcomer tasks 1.0 (mentions welcome survey for personalization)
* **T213990**: Newcomer homepage ("personalizing newcomer's initial experience")
* **T242400**: Topic matching improvements (currently uses "morelike" backend)
* **T301096**: Prioritizing underlinked articles (global heuristic, not personalized)
= Success Metrics (If Pursued) =
Compared to current baseline (random selection from filtered pool):
'''Primary:'''
* Click-through rate on suggested tasks
* Task completion rate
* Time to first edit
'''Secondary:'''
* User satisfaction (survey)
* Diversity of articles edited (avoid filter bubble)
* Edit quality (revert rate unchanged)
'''Evaluation framework:''' Use existing wiki-prioritization analysis pipeline
= Next Steps (If Positive Response) =
1. **Week 1-2**: Generate embeddings for 10K English Wikipedia articles
2. **Week 3-4**: Build proof-of-concept ranking API
3. **Week 5**: Share evaluation results with Growth team
4. **Week 6**: If promising, discuss integration path
If not interested now, happy to revisit in future quarter or explore alternative contributions.
= References =
* Scholar-Inbox paper: https://arxiv.org/abs/2504.08385
* Scalable Wikipedia recommendations: https://arxiv.org/abs/2009.11771
* Current evaluation framework: https://github.com/geohci/wiki-prioritization
* Growth team research: https://meta.wikimedia.org/wiki/Research:Prioritization_of_Wikipedia_Articles/Recommendation
= About Me =
Researcher interested in recommendation systems, familiar with ML/NLP, happy to collaborate with Wikimedia community