Over the past year, I’ve conducted around 50 interviews for MLE roles and noticed a clear trend: candidates often make similar mistakes. So, I thought I’d put together a quick guide on the areas to focus on and gain experience in. One of the biggest components of an MLE interview is ML System Design, so that’s where we’ll focus most of our attention.

What exactly do I want to hear from a candidate?

What are the steps involved in designing an ML system?

The task is usually presented broadly from a business perspective, such as, “A b2b customer wants to automatically build clothing outfits for dogs on their marketplace”.

Clarifying the Task

Instead of diving straight into solving the problem, it’s better to ask as many clarifying questions as possible.

Data

No data, no model, so make sure to give it the attention it deserves.

Model Training

See? Only after all those steps to clarify the details, we’re finally at model training. In the real world, it works the same way - you need to check everything carefully before diving into solutions.

Model Inference

Once your model is trained, think about how inference will be handled most effectively.

Model Deployment

Your model’s all trained up and ready to make customers happy, but how do you get it out of the cozy Jupyter Notebook and into the real world where people can actually use it?

Service Monitoring

Deploying your service is only halfway there. Unexpected issues will come up, so it’s important to have a way to be notified of any problems and react quickly. You can choose any platform for monitoring, though Prometheus is a popular option. Here are some of the most commonly tracked metrics (though this list isn’t exhaustive):

Calculating Online Metrics

Often, before rolling out a new model to all users, it’s essential to conduct A/B tests to ensure the change won’t just avoid breaking anything but ideally boost key metrics.

Top mistakes candidates make during interviews

I found that candidates tend to make common mistakes, and often it’s not just about their knowledge.

What should you read or go through before an interview?

If you only have a few days, try taking the “Grokking the Machine Learning Interview” course.

For a deeper dive, read “Designing Machine Learning Systems” by Chip Huyen.

Additional resources

  1. ML monitoring metrics
  2. How to monitor models in production
  3. Google’s best practices for ML

Conclusion

Remember, there’s no silver bullet when it comes to acing interviews. Try out real interviews as early as possible to build your confidence and improve your skills.