Problem
A stories feed first showed friends' and communities' stories by time only. That fails when a user follows hundreds of sources and cares about few of them. Users also watch several stories of one author in a row, so ranking single stories scatters an author's stories across the feed. The obvious target, story views, is distorted because a view is counted when a story reaches the screen, and that depends on the ranking itself. Rarer signals such as likes and shares matter for engagement, but separate models per signal are slow at inference and hard to blend.
Example from the article: VK's first lightweight classifier, trained on view/skip logs, raised story views by tens of percent over chronological order, then plateaued.
Solution in brief
Rank authors instead of stories. The model predicts whether a user opens an author's stories (the OpenViewer event). One gradient boosting model is trained with a weighted sum of pairwise losses, one per signal (open, like, share), on rich author, user-author and topic features.
Questions this case answers
- How to rank grouped items, where users consume several items of one producer in a row, when observed exposure is itself shaped by the current ranking
- How to train one ranking model on a primary engagement signal and several rarer secondary signals without running one model per signal or hand-blending their scores at inference
- How to rank a stories feed when users watch several stories of one author in a row?
- How to choose a training target for a feed ranker when views depend on the ranking itself?
Tools and methods
- Pairwise ranking loss — compares an opened author with a skipped one inside a session
- Multi-Target Pairwise Loss (MPwLoss) — one model for open, like and share signals
- XGBoost (forked) with Spark — custom loss, distributed training
- Matrix factorization — user and author embeddings from open counts
- A/B tests — checks each feature block and each model change
Google or a one-time email code. No password.