Interleaving
About this episode
If you’re Google or Netflix, and you have a recommendation or search system as part of your bread and butter, what’s the best way to test improvements to your algorithm? A/B testing is the canonical answer for testing how users respond to software changes, but it gets tricky really fast to think about what an A/B test means in the context of an algorithm that returns a ranked list. That’s why we’re talking about interleaving this week—it’s a simple modification to A/B testing that makes it much easier to race two algorithms against each other and find the winner, and it allows you to do it with much less data than a traditional A/B test.
Relevant links:
https://medium.com/netflix-techblog/interleaving-in-online-experiments-at-netflix-a04ee392ec55
https://www.microsoft.com/en-us/research/publication/predicting-search-satisfaction-metrics-with-interleaved-comparisons/
https://www.cs.cornell.edu/people/tj/publications/joachims_02b.pdf
More from Linear Digressions
Decision models like Jev are carving out a distinct niche from your standard LLMs — and the difference comes down to something more fundamental than just architecture. Where a language model's instinc…
Mixture of Experts is one of the cleverest tricks in modern inference, and it makes models smaller without actually making them smaller. This week we unpack how MoE models like DeepSeek V3 (671 billio…
Staying relevant as a data scientist when AI is reshaping the field isn't just a career question — it's an existential one. Dr. Jon Krohn, neuroscientist-turned-data-science-educator, podcaster, and c…
GPUs are the engines powering every AI conversation you've ever had — but what's actually happening inside those chips when an LLM generates a response? Understanding GPU fundamentals turns out to be…
The unsung hero of every LLM conversation you've ever had? A clever optimization called the KV cache. Self-attention is computationally brutal — every token attending to every other token means costs…