A production ML system: data, recommendation and ranking, experiments, and a few system design problems.
8 core notes, about 32 min. 3 deep dives fold under the notes they extend.
From data to users1 core · 2 deep
Shipping an ML system: data into a model, then requests, failures and feedback
- An ML system, from data to usersA document search system: three loops and handoffs, then data to model, then serving5 min
- Data to model: the deliverable is more than a checkpointA 10:02 arrival can't feed a 10:00 sample; two 768-dim encoders may still not match5 min
- After deployment: requests, failures, and feedbackA 3x faster model speeds a 500 ms request only 1.67x; fallbacks, releases, feedback5 min
Recommendation and experiments3
One recommendation from candidates to feedback, and offline gains that don't ship
- Production ML: from a model to live resultsFrom a feed: one request, then data and experiments; retrieval, metrics and timing4 min
- One recommendation request: candidates, ranking, and feedback10,000 items to 20: where relevant ones are lost, and why ranking can't recover them7 min
- Data and experiments: why didn't offline gains reach users?Keep 1 in 10 negatives and a predicted 0.5 is really 9.09%; CTR up, new users down8 min
System design practice4 core · 1 deep
Three design problems: a feed beyond repeats, a RAG you can check, memory you can correct
- System design: one problem, several defensible answersFeed, cited RAG, correctable memory: build it simply, then change one condition2 min
- System design: reading and trade-offsNo template to memorize: the problem, data, constraints and what each choice gives up3 min
- Design 01: a feed that does more than repeat itself20 of a million posts in 200 ms p95: trade-offs in retrieval, diversity and fallback2 min
- Design 02: knowledge-base answers you can verifyEvidence must be authorized, current and sufficient; test four kinds of hard question2 min
- Design 03: memory that can be corrected and deletedTuesday changes to Thursday, then is deleted: what update, forget and delete each do2 min
No notes match.