When you start typing "1600 Amphi..." into a checkout form, the system needs to decide instantly whether you mean Amphitheatre Parkway in Mountain View or Amphibious Drive across town. Every keystroke narrows the possibilities, and you expect the right answer to appear before you finish typing. The product objective is straightforward: minimize the number of keystrokes a user needs to select the correct address, reducing entry errors and form abandonment in the process.
The primary surface is the autocomplete suggestion dropdown that appears below an address text field in e-commerce checkout, ride-sharing pickup, or delivery apps. The ML task is a personalized ranking problem: given a partial text prefix typed keystroke-by-keystroke plus user context (current GPS (Global Positioning System) location, search history, home and work addresses), rank retrieved address candidates by predicted selection probability. The decision boundary is the top-K cutoff of that ranked list, typically five to eight suggestions rendered in the dropdown. The consumer is the autocomplete UI component that displays those suggestions and records which one the user selects, ignores, or corrects.
On the read path, each keystroke triggers candidate retrieval from a prefix plus geospatial index, feature assembly from a low-latency store, scoring by a lightweight ranking model, and top-K selection, all within a 50ms end-to-end budget. Behind this, an offline pipeline logs selection events, constructs implicit training labels from clicks and corrections, retrains the ranker, and refreshes the address corpus index. The first thing I would clarify in an interview is that this is a multi-stage retrieval-then-rank problem, not a single-model prediction task, because the latency constraint forces a separation between fast recall and precise scoring.