Topic
Machine Learning interview questions
572 Machine Learning questions from 133 companies, with hints, runnable code and solution walkthroughs.
59 easy323 medium190 hard
Machine Learning interview questions by the numbers
Last updated
Katkat has 572 Machine Learning interview questions from 133 companies; the most come from Amazon (10%), OpenAI (6%) and Meta (5%). By difficulty: 10% easy, 56% medium and 33% hard. The most common round is Technical Screen (61%). Frequent concepts include Machine Learning, Feature Engineering, Model Evaluation and Optimization.
Companies (133)
Difficulty
- Easy10% · 59
- Medium56% · 323
- Hard33% · 190
Interview rounds
- Technical Screen61% · 348
- Onsite28% · 163
- Online Assessment8% · 46
- HR Screen3% · 15
Roles
- Data Scientist46% · 264
- Machine Learning Engineer35% · 202
- Software Engineer9% · 53
- Applied Scientist5% · 26
- Quantitative Researcher2% · 13
Frequent concepts
- Machine Learning7% · 39
- Feature Engineering5% · 29
- Model Evaluation4% · 23
- Optimization4% · 23
- Deep Learning4% · 21
- System Design3% · 18
Most mentioned in interview experiences
- 1.Answer core ML fundamentals questions2 reports
- 2.Compare deep learning framework trends2 reports
- 3.Evaluate Factual Accuracy and Consistency in a Domain-Specific RAG Chatbot2 reports
- 4.Explain Core ML Interview Concepts2 reports
- 5.Explain Overfitting and Transformer Attention2 reports
- 6.Explain SHAP in an ML System2 reports
- 7.Implement bagging with decision trees2 reports
- 8.Present and defend your data challenge end-to-end2 reports
- 9.Analyze Temperatures and Update Regression1 report
- 10.Analyze Town Temperatures and Select Predictors for NYC1 report
Counted from 122 candidate interview experiences on Katkat. How we collect and count
Showing 181–210 of 572 results
This question assesses the ability to architect a multi-stage recommendation pipeline that balances low-latency retrieval with high-accuracy ranking in a geo-aware, high-concurrency food delivery context.
DoorDashData ScientistMachine LearningOnsiteThis question evaluates competency in causal inference and uplift modeling, experimental design for randomized treatment allocation, offline evaluation of uplift models, operational decision rules under budget constraints, fairness guardrails, and handling interference and deployment of sequential tests in a data-science context.
DoorDashData ScientistMachine LearningOnsiteThis problem tests the ability to design a multi-tenant recommendation system that enforces complex security constraints while maintaining low latency.
DropboxData ScientistMachine LearningTechnical ScreenA machine learning take-home on predicting lease renewals from tenant conversations and SQLite tables of residents, maintenance work orders and renewal offers. It covers preprocessing, a metric compared with a random baseline, a test-set prediction file, categorizing non-renewal reasons with gte-base embeddings, and presenting the results.
EliseAIData ScientistMachine LearningTechnical ScreenThis question evaluates predictive modeling and data-science competencies—exploratory data analysis, feature assessment, problem framing (regression vs classification vs ordinal), model selection and validation, evaluation metric choice, and post-model feature-importance interpretation—in the Machine Learning domain, combining conceptual understanding with practical application. It is commonly asked in technical interviews for Data Scientist roles because it tests end-to-end modeling judgment, reasoning about data distributions and variable usefulness, selection of validation and evaluation strategies, and awareness of pitfalls such as collinearity and data leakage.
EvenUpData ScientistMachine LearningTechnical ScreenRepair a PyTorch contrastive loss whose matrix multiplication contracts incompatible dimensions instead of producing pairwise scores. Validate aligned rank-two tensors and temperature, create the correct batch-by-batch logits, preserve gradients, and handle low-precision numerical stability.
ExaMachine Learning EngineerMachine LearningTechnical ScreenThis question evaluates a data scientist's mastery of learning-to-rank concepts, offline evaluation and metric design, position-bias correction, diagnostic analysis, deployment safeguards, and alignment of surrogate objectives with business KPIs for hotel search ranking.
ExpediaData ScientistMachine LearningOnsiteThis interview question evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer for Explain PCA and L2 Normalization in Machine Learning states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
ExperianData ScientistMachine LearningTechnical ScreenImplement and clarify the post-processing decoder for a BERT-based span-extraction model that maps token-level start and end logits back to non-overlapping character-level keyphrases.
FigmaMachine Learning EngineerMachine LearningTechnical ScreenThis question evaluates a candidate's competency in designing robust end-to-end ML pipelines, covering temporal data slicing, leakage controls, time-series cross-validation, feature store consistency, offline and business metrics, drift detection and monitoring, online rollout strategies, retraining triggers, and fairness assessment.
Flatiron HealthData ScientistMachine LearningTechnical ScreenThis question evaluates competency in binary classification metrics (confusion matrices, TPR/FPR), basic neural network forward computation (sigmoid neuron z and output), and knowledge of activation function selection and pitfalls.
Goldman SachsMachine Learning EngineerMachine LearningOnline AssessmentEvaluates supervised learning judgment around bias, variance, overfitting, and train-test performance gaps. Strong answers diagnose leakage, split errors, distribution shift, and high variance, then propose regularization, simpler models, validation, more data, and monitoring.
GoogleData ScientistMachine LearningOnsiteEvaluates classifier design for detecting dead links in imbalanced URL data with leakage-safe validation. Strong answers cover leakage-safe features, grouped validation, AUROC versus accuracy, PR metrics, thresholding, deployment, and monitoring.
GoogleData ScientistMachine LearningTechnical ScreenEvaluates renewal prediction modeling for enterprise Google Meet contracts. Strong answers define leakage-safe timelines, engineer usage, reliability, support, contract, and customer-health features, compare logistic regression with complex models, and evaluate calibration, lift, and business intervention value.
GoogleData ScientistMachine LearningTechnical ScreenThis question evaluates proficiency in applied machine learning classification, including feature design, training a logistic regression, handling severe class imbalance, selecting evaluation metrics and calibration, choosing thresholds under asymmetric costs, and planning offline-to-online validation and monitoring.
GoogleData ScientistMachine LearningTechnical ScreenThis question tests the ability to architect an end-to-end classification pipeline for high-stakes, multimodal content moderation while accounting for class imbalance, adversarial evasion, and operational safety.
GoogleData ScientistMachine LearningTechnical ScreenThis question tests your conceptual depth in LLM alignment by asking you to differentiate between supervised fine-tuning (SFT), reinforcement learning from human feedback (RLHF), direct preference optimization (DPO), and group-relative optimization (e.g., GRPO) based on their mathematical objectives and operational characteristics.
GoogleMachine Learning EngineerMachine LearningTechnical ScreenEvaluates binary classification model selection with limited labeled data. Strong answers explain logistic regression and cross-entropy loss, compare it with Random Forests, cover L1 and L2 regularization, diagnose overfitting, and contrast Random Forests with boosting.
GoogleData ScientistMachine LearningOnsiteThis question tests the conceptual understanding of tokenization strategies in NLP and the architectural trade-offs when integrating LLMs into recommendation systems.
GoogleMachine Learning EngineerMachine LearningOnsiteThis question evaluates a candidate's competency in decision modeling and cost‑sensitive machine learning, including causal inference for selection bias, propensity estimation, constrained optimization for capacity and SLA trade‑offs, and offline/online evaluation in the Machine Learning domain for a Data Scientist role.
GoogleData ScientistMachine LearningOnsiteAssess the candidate's understanding of reward hacking (specification gaming) in reinforcement learning from human feedback (RLHF), focusing on diagnosing exploitation patterns, designing detection metrics, applying conservative policy updates, and implementing recovery safeguards.
GoogleMachine Learning EngineerMachine LearningTechnical ScreenThis question tests your ability to diagnose poor model performance in a binary classification task involving imbalanced data, high-cardinality categorical features, and potential bias.
GoogleData ScientistMachine LearningTechnical ScreenThis question tests your conceptual understanding of applying Group Relative Policy Optimization (GRPO) to diffusion models, focusing on how reinforcement learning can be used to steer image generation toward specific objective functions without explicit gradient feedback from the decoder.
GoogleMachine Learning EngineerMachine LearningTechnical ScreenTests understanding of importance sampling in modern LLM fine-tuning, focusing on sequence-level likelihood ratios, exponential variance growth, support conditions, and practical mitigations like clipping and diagnostics.
GoogleMachine Learning EngineerMachine LearningTechnical ScreenReview KL divergence from its probability definition through directionality, support mismatch, sample estimates, and LLM regularization.
GoogleMachine Learning EngineerMachine LearningTechnical ScreenThis question tests your conceptual understanding of generative model architectures and the practical trade-offs involved in adapting large-scale language models to specific tasks.
GoogleSoftware EngineerMachine LearningTechnical ScreenThis question evaluates a candidate's understanding of the end-to-end lifecycle of large language models, covering training data collection and filtering, pretraining objectives, transformer architecture, post-training methods like supervised fine-tuning and preference optimization, and common model or training variants.
GoogleMachine Learning EngineerMachine LearningTechnical ScreenDerive and explain the theoretical foundations of Variational Autoencoders (VAEs), linking the Evidence Lower Bound (ELBO) to network architecture, gradient estimation via the reparameterization trick, and posterior collapse.
GoogleMachine Learning EngineerMachine LearningTechnical ScreenThis question evaluates a candidate's end-to-end machine learning competencies, including problem framing, objective and loss selection, inductive biases, feature engineering, validation strategies, training and regularization practices, production issues, monitoring, and fairness/privacy considerations.
GoogleData ScientistMachine LearningOnsiteThis question assesses the ability to communicate complex statistical models to non-technical stakeholders, focusing on clarity, intuition, and identifying limitations.
GoogleData ScientistMachine LearningTechnical Screen