Part 5 of 5 · Cold start and feedback loopsLearn and do
Feedback loops
A ranker that learns from its own bookings has one more trap.
Predict
The next model trains on logs of what the last one ranked high. What happens to those listings?
The loop that keeps the top listings on topInteractive
→
→
→
ranked high.
Listings that rank high collect bookings. Bookings become features and labels, and the next model ranks them high again. Left alone, the loop puts more and more impressions on yesterday's winners. It buries new and niche listings, and it locks in whatever the first model got wrong, as the price stickiness showed.
The defenses are the ones from earlier steps, used together:
Debias the labels.
Give new listings estimated features or explicit exploration.
Diversify the page.
Watch the share of impressions that goes to new listings, as a health metric for the marketplace.
In the editor, finish simulate(rates, start, shown, rounds, k, explore): the loop above, in numbers. rates are the true booking rates, which the ranker never sees, start and shown are each listing's bookings and impressions so far, and N is new, with the best rate and no history.
Pick an answer above to see the rest
Instructions
1
Write simulate(rates, start, shown, rounds, k, explore): each round shows k listings, ranked by bookings so far (ties by id). With explore, the last slot goes to the listing not on the page that was shown least (ties by id). Each shown listing gets 100 impressions and round(rate * 100) bookings.