When should you reframe a classifier with tens of thousands of classes as embedding retrieval instead of a softmax?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: hard
Interview Round: Other
Overview: Asks when a classification task with tens of thousands of labels should be reframed as embedding-based retrieval instead of one softmax over every class. Tests reasoning about when the label space makes a full softmax a poor fit, how retrieval models are trained, and what approximate nearest-neighbor search gives up.