Machine Learning System Design Interview, issue 18, Dec 4, 2025

The Semantic Imbalance Trap

Senior ML Engineer interview at OpenAI, and the interviewer asks:

β€œWe have 50 000 images of β€˜city streets’ but only 45 images of β€˜deer at night.’ How do we fix this 𝐂π₯𝐚𝐬𝐬 πˆπ¦π›πšπ₯𝐚𝐧𝐜𝐞 to prevent the model from ignoring the deer?”

Why rotating the same 45 deer won’t save your classifier and how generative synthesis actually fixes class imbalance.

The full answer, with the mechanism and the arithmetic, is for paid subscribers on Substack.

Read it on Substack

Get the next one

Free on Substack. Unsubscribe in one click.