Problem
A marketplace product card lists offers from several sellers. The top offer is "featured": it sits under the main Buy button and gets most of the sales. Its position comes from a hand-made sorting formula over price, cashback, delivery time and delivery cost. The business wants more revenue but needs the logic to stay transparent, so black-box models are out. Expensive offers earn more per sale but sell less.
Example from the article: a Megamarket card for a book shows three sellers at 662, 952 and 1,007 rubles. The 662-ruble offer is featured and shown under the purple Buy button.
Solution in brief
Keep the linear sorting formula and tune its four weights to maximize expected revenue of featured offers. Historical sales are inflated for the current featured offer, so correct each offer's volume to "what it would sell if featured" with a per-product price elasticity. Optimize with dual annealing, check offline, then A/B test.
Questions this case answers
- How to tune a few weights of an interpretable linear scoring rule that picks one winning candidate per item to maximize expected revenue, when the objective is discontinuous and observed sales are biased by the current winner's prominent position
- How to estimate counterfactual sales of non-winning options from historical data when the displayed winner always gets most of the volume
- How to choose which seller's offer to feature on a product card to maximize marketplace revenue?
- How to tune the weights of a hand-written offer-sorting formula while keeping it interpretable for the business?
Tools and methods
- Linear attractiveness score — a seller's score is minus the price plus a weighted sum of four offer characteristics
- Robust linear regression with Huber loss — per-product price elasticity from last-month sales
- Dual annealing (scipy.optimize) — derivative-free search for weights over a discontinuous revenue function
- Customer-level A/B test — confirm the effect, after an offline replay of historical data
Google or a one-time email code. No password.
