ML system design
ML and AI system design for interviews: recommendation and ranking, LLM serving, RAG and agents. Free to read.
ML and AI system design for interviews: recommendation and ranking, LLM serving, RAG and agents. Free to read.
7 write-ups
| Title | Difficulty |
|---|---|
| Design a Homepage Recommendation System The models behind a personalized home page of rows, for e-commerce, food delivery stores, Netflix-style titles and Spotify shelves: row generation, item ranking and page assembly. | Medium |
| Design NotebookLM Let users drop PDFs, web pages and YouTube videos into a notebook and ask questions answered only from those sources, with every claim linked to the exact passage it came from. | Medium |
| Design People You May Know Suggest people to connect with on a Facebook or LinkedIn-style network: graph and shared-context candidates, a ranker for invites that get accepted, cold start and privacy. | Medium |
| Design a Receipt and Invoice Parsing System Turn receipt photos and invoice PDFs into structured fields: OCR, layout-aware extraction, VLM fallbacks grounded in the text, calibrated confidence and a human review loop that teaches the model. | Medium |
| Design a Speech Recognition System Meeting transcription with live captions and an accurate transcript after the call: streaming vs batch ASR, speaker diarization, word timestamps, custom vocabulary and measuring WER properly. | Medium |
| Design an Image Captioning System Automatic alt text for every uploaded image: vision-language models with OCR and post context, grounding checks against hallucination, evaluation with CIDEr and blind and low-vision raters, and serving at scale. | Medium |
| Design an Offline Batch Inference Service Run a model, plus the user's own pre- and post-processing script, over millions of records on shared GPUs, with sharding, fair allocation, progress tracking and retries that resume work. | Medium |