Product recommendations at VKontakte: how we taught the Feed to tell interest in content from intent to buy

Nikolai Karasov29 Sep 2026

Problem

VK's Feed was tuned for years on likes, comments and time spent. Its ranker had never seen a purchase event, so it could not rank product posts by the chance of an order. Product posts were a fraction of a percent of candidates and were almost never shown. Without impressions there were no clicks or orders to train on.

Example from the article: VK added product posts from authors to the Feed, with Ozon as the first partner. The model had to estimate for each user and product post the probability that a view leads to an order, from a catalog of about 74 thousand posts.

Solution in brief

VK built a separate product pipeline inside the Feed. It has 100% logging for product candidates only, a ladder of targets that starts with frequent proxy events, and its own selectors and ranker. A traffic quota with a relevance threshold keeps product posts from crowding out ordinary content.

Questions this case answers
  • How to add a new rare item type with a different objective to an existing ranker when its events are almost absent from the training data
  • How to train a ranker on a near-zero-frequency target by moving step by step from higher-funnel proxy signals to the real target
  • How to launch product recommendations inside a content feed when the ranker has never seen a purchase event?
  • How to get training data for a new, rare candidate type without logging the whole feed?

Tools and methods

  • CatBoost — multi-target ranking with the highest weight on orders
  • Two-stage recommender — selectors generate candidates, the ranker scores them
  • Collaborative filtering — selectors built on encrypted partner behavior
  • Content-based recommendation — item2item: product posts similar in content to a post the user liked
  • Popularity baseline — segment top lists for users with no product history
  • Threshold selection — a relevance threshold chosen offline
  • Result diversification — a category window of 2, 5 or 10 positions, under test
Continue reading — it's free

Google or a one-time email code. No password.