Classify Bing Query Intent to Route Results to the Right Verticals
Last updated: November 29, 2026
Quick Overview
Design the ML system that decides, for each Bing query, which verticals (news, images, videos, shopping, local, weather) to trigger and where to place their answer blocks on the results page.
Microsoft
November 29, 20260
0
0 solved
Design the ML system that decides, for each Bing query, which verticals (news, images, videos, shopping, local, weather) to trigger and where to place their answer blocks on the results page.
Federated search is a core Bing problem: triggering an image carousel for the wrong query wastes space and pushes organic results down. The interviewer checks multi-label classification design, the latency constraint before vertical backends are called, and how placement is learned from user behavior.
What the Interviewer Expects
- Frame triggering as multi-label classification under a tight latency budget
- Use query text, query logs and context features
- Get labels from vertical clicks, human judgments and skip behavior
- Separate triggering from placement and learn placement from whole-page satisfaction
- Handle freshness for breaking news queries
- Evaluate with page-level success and per-vertical precision
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- How do you detect that 'jaguar' needs both animal images and car shopping?
- How would you trigger news for a query that started trending ten minutes ago?
- How do you avoid each vertical team gaming the placement model?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
- For each query decide which of about a dozen verticals to call and their slot (top, mid, bottom, none).
- Budget: about 10 ms for the intent decision, since vertical backends run after it.
- Success...
High-Level Design
- Intent classifier: a distilled transformer or fast multi-label model producing for each vertical.
- Trigger policy: call verticals above per-vertical t...
Submit Your Answer
Microsoft Machine Learning Engineer Interview Guide
Interview process, tips, and preparation timeline