Design a Next Command Recommender Inside a CAD Application
Last updated: November 29, 2026
Quick Overview
Design an ML system that recommends the next command or a relevant feature to a user inside a desktop CAD application, based on their recent command sequence and context, to help them discover faster workflows without being annoying.
Autodesk
November 29, 20260
0
0 solved
Design an ML system that recommends the next command or a relevant feature to a user inside a desktop CAD application, based on their recent command sequence and context, to help them discover faster workflows without being annoying.
AutoCAD has thousands of commands and most users rely on a few dozen, so command recommendations and in-product learning are a long-running theme for Autodesk and Autodesk Research. The interviewer probes sequence modeling on telemetry, privacy, on-device versus cloud inference, and how to measure real productivity rather than clicks.
What the Interviewer Expects
- Define the objective (adoption of better workflows, time saved), not only click-through
- Build training data from command telemetry with sessionization and consent
- Choose a sequence model and justify it against simple baselines like n-grams
- Decide where inference runs given latency and offline desktop use
- Design the UX surface and frequency caps to avoid annoyance
- Evaluate offline and with online experiments on long-term adoption
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 avoid recommending commands the user already knows well?
- Customers in regulated industries disable telemetry. How does the system still help them?
- How would you cold-start a newly released command that has no usage history?
- How do you tell whether the recommendation caused adoption or the user would have found it anyway?
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
Surface a small hint (for example in the command line or a side panel) suggesting a command or workflow that is likely useful now. Latency under 50 ms, must work offline, respect telemetry opt-outs an...
High-Level Design
Data: opted-in command telemetry (command id, timestamp, options, success or cancel, active object types, product and version) sessionized by idle gaps. Training labels: the next command, and separate...