Contents
Who it is for
For engineers who implement, scale and debug research code alongside scientists at frontier labs (Google DeepMind, Anthropic, OpenAI, Isomorphic Labs) and research-heavy start-ups such as Wayve. A guide built from DeepMind candidate reports describes two coding rounds whose code must run, an oral maths and ML ‘quiz’, an ML design round, team-lead conversations and a hiring committee, and DeepMind’s alignment teams wrote in 2022 that being able to reproduce a typical ML paper in a few hundred hours is roughly the level they interview for. Guides to Anthropic describe a multi-tier practical screen, Google Colab for ML rounds that need a GPU and a culture round where most candidates fail; Aced’s guide to OpenAI’s research-engineer loop includes fixing a broken transformer and then adding a KV cache; and a Wayve posting lists PyTorch-debugging interviews.
Typical interview loop
- Recruiter screen
- Coding screen (progressive or algorithmic; code must run)
- ML fundamentals quiz
- ML coding or debugging (implement or fix a model)
- ML or distributed-systems design
- Project deep-dive or paper discussion
- Team leads, values and hiring committee
Target companies
- Isomorphic LabsOfficial outline: screening calls, technical assessments (take-home tasks or scenario interviews), role assessments with deeper technical interviews and meetings with other staff, and senior interviews with the management team; formats vary by role.Source
- WayveThe cited London posting lists a 30-minute recruiter screen, two hours of competency interviews (programming or PyTorch debugging, and a hiring-manager interview), three hours of deep-dive systems and domain-specific interviews, and a 45-minute mission-and-values interview.Source
Modules
1. Maths for the ML quiz
Answer linear-algebra, calculus, probability and information-theory questions aloud, with short derivations, at the pace of an oral quiz.
Read
Questions
- What is a probability density function, how does it differ from a probability mass function and a CDF, and can a density exceed 1?
- Explain what an eigenvector and eigenvalue of a square matrix are, and what extra guarantees you get when the matrix is real and symmetric. Give one place this matters in deep learning.
- What is a Jacobian, how does it differ from a gradient and from a Hessian, and where does each show up when training a neural network?
- Define a convex function in two equivalent ways. Why do optimisers prefer convex problems, and is the training loss of a deep network convex?
- A test for a condition with prevalence 1 in 1,000 has 99% sensitivity and a 2% false-positive rate. Someone picked at random tests positive. Roughly how likely are they to have the condition? Explain the intuition.
- For n independent trials each succeeding with probability p, give the distribution of the number of successes, its mean and variance, and estimate quickly the chance of at least 60 heads in 100 fair flips.
- Contrast forward-mode and reverse-mode automatic differentiation. For a function with n inputs and m outputs, when is each cheaper, and why does deep learning use reverse mode?
- State the SVD, relate it to the eigen-decomposition of AᵀA, and explain why truncating it gives the best low-rank approximation.
- Derive the maximum-likelihood estimates of a Gaussian’s mean and variance from n samples. Is the variance estimate unbiased, and what does that say about MLE in general?
- Define entropy, cross-entropy and KL divergence for discrete distributions, show how they relate, and explain why minimising cross-entropy loss equals maximum likelihood. Why is KL asymmetric, and when does the direction matter?
- You flip a fair coin until you see two heads in a row. What is the expected number of flips? Set it up as a small Markov chain, solve it, and explain how the method generalises.
- For a latent-variable model p(x, z) with an approximate posterior q(z|x), derive the evidence lower bound and identify exactly what the gap between log p(x) and the ELBO is.
Coding
Done when: At least 3/4 on 10 of the 12 module questions, the ELBO derivation (research-deriving-the-elbo-015) written out without notes, both coding problems pass.
2. ML and optimisation fundamentals
Explain generalisation, regularisation, optimisers, normalisation and initialisation, and derive the softmax cross-entropy gradient.
Read
- Classical machine learning
- Deep learning fundamentals
- Training neural networks: losses, optimisers, numerics and scale
Questions
- Define precision and recall, explain the trade-off, and say which you would prioritise for (a) screening for a rare disease and (b) flagging content for a small human-review team. When is ROC-AUC misleading?
- How do you tell whether a model is overfitting or underfitting, and what would you try in each case? How does “double descent” complicate the classic bias–variance picture?
- Why does L1 regularisation push weights exactly to zero while L2 only shrinks them? Give a geometric and a gradient-based explanation.
- Compare a linear SVM with logistic regression (loss, outputs, behaviour on separable data) and explain how the kernel trick lets an SVM learn non-linear boundaries.
- How does k-fold cross-validation work, when is it the wrong tool, and what are three ways data leakage can silently inflate a validation score?
- You have just initialised a 1,000-class classifier and run one forward pass. What should the cross-entropy loss be close to, and what would you suspect if it were much higher?
- Compare SGD, SGD with momentum and Adam. Why was AdamW introduced, and which settings (schedule, warmup, β values) matter most when training large models?
- Explain batch normalisation: what it computes at training versus inference time, and why it helps. Why do transformers use layer norm or RMSNorm instead, and does pre-norm vs post-norm placement matter?
- Derive the gradient of cross-entropy loss with respect to the logits when predictions come from a softmax. How do you implement the loss so it never overflows or underflows?
- Why can gradients vanish or explode in deep networks, and how do Xavier/He initialisation, residual connections and normalisation address this?
- Show that L2-regularised linear regression is MAP estimation under a particular prior. Which prior gives L1? What does the regularisation strength correspond to?
- Compare VAEs, GANs and diffusion models on training objective, sample quality, mode coverage, likelihood evaluation and sampling speed.
Coding
- Logistic regression with gradient descent
- Numerically stable softmax and cross-entropy
- k-means (Lloyd's algorithm) with given initial centroids
Done when: At least 3/4 on 10 of the 12 module questions, all three coding problems pass.
3. Coding rounds that run
Produce correct, tested Python under time pressure for progressive, algorithmic and streaming problems, including the concurrency that lab screens favour.
Read
Questions
- Find the least frequent value in a list in O(n log n) or better, and the k-th largest element in expected O(n) time. Explain the complexity.
- Build an in-memory key–value store in stages under a time limit: basic get/set/delete, then expiring entries, then nested transactions with rollback, and finally saving and restoring state.
- Implement a trie supporting insert, exact search and prefix counting, then add deletion. The code must run.
- Implement k-means from scratch with NumPy, then adapt it to data that arrives as a stream you cannot store.
- With only a uniform random-number generator, how would you sample from (a) an exponential distribution and (b) a distribution whose density you can evaluate up to a constant but cannot invert? Discuss efficiency, including in high dimensions.
- Implement an async client that sends N prompts to an LLM API with at most C requests in flight, a tokens-per-minute limit, exponential backoff with jitter and per-request timeouts, returning results in input order.
- Given an unbounded stream and a small fixed memory budget, report approximately which items are most frequent. Implement your approach and state its error guarantee.
Coding
- LRU cache simulator
- Running median
- Prefix autocomplete ranked by popularity
- Reservoir sampling (deterministic RNG contract)
Done when: All four coding problems are solved and match the reference solution within 30 minutes each without hints, and at least 3/4 on 5 of the 7 module questions, including the progressive key-value store.
4. Transformers from scratch
Implement causal multi-head attention, BPE and sampling from scratch, and explain positional schemes, attention variants, the KV cache and mixture-of-experts.
Read
Questions
- Why are attention logits divided by the square root of the key dimension, and what happens to training if you drop it?
- Walk through how a modern chat model is produced, from raw text to deployed assistant: pretraining, supervised fine-tuning and preference/RL training. What can go wrong at each stage?
- Implement multi-head causal self-attention from scratch in PyTorch or JAX, without built-in attention functions. Be explicit about tensor shapes, the mask and the output projection.
- Self-attention is permutation-equivariant, so how does a transformer know token order? Compare sinusoidal, learned absolute and rotary embeddings, and discuss extending context beyond the training length.
- What are the main weaknesses of the standard transformer, and which modifications or alternatives address each (compute, memory, context length, reasoning)?
- Compare multi-head, multi-query and grouped-query attention, and latent attention if you know it. Why did most recent open-weight models adopt GQA, and what does it change when you serve the model?
- In about 45 minutes, write a function that learns N BPE merges from a small corpus and an
encode()that applies them to new text. Then discuss complexity and how you would make encoding fast. - What does a key–value cache store during autoregressive generation? Give the formula for its memory footprint, explain why decoding is usually memory-bandwidth-bound, and describe how grouped-query or multi-query attention changes this.
- How does a mixture-of-experts layer work, what problems does routing introduce, and how does MoE change the memory, compute and communication profile compared with a dense model of similar quality?
Coding
- Multi-head self-attention forward pass
- Scaled dot-product attention with a mask
- Byte-pair-encoding merge learning
- Temperature, top-k and top-p (nucleus) sampling distribution
Done when: At least 3/4 on 7 of the 9 module questions, all four coding problems pass.
5. ML debugging
Find silent bugs in PyTorch training code and a hand-written transformer, and triage a model that runs but does not learn or a large run whose loss spikes.
Read
Questions
- You are shown about 40 lines of uncommented numerical code. Explain what it computes, predict its output on a small input, and point out edge cases or bugs.
- You’re given a training notebook where the code runs without errors but the loss barely moves. Describe, step by step, how you find the problem.
- Name the most common silent bugs in PyTorch training code and how you would detect each one.
- You are handed a training script whose validation accuracy stays at chance. Name the ten bugs you would check first.
- GPU utilisation sits at 30% and loss is not decreasing. How do you investigate?
- A hand-written transformer language model trains, but its validation loss is suspiciously low and its generations are poor. Which bugs do you look for first?
- A PyTorch notebook trains a small transformer, but the loss plateaus high and evaluation numbers look wrong. Find the bugs. Follow-up: add a KV cache to its generation loop and prove it matches full recomputation.
- Midway through a large pretraining run, the loss suddenly spikes and sometimes diverges. How do you diagnose the cause, and which mitigations would you consider?
Done when: At least 3/4 on 6 of the 8 module questions, a personal ten-item checklist of silent training bugs.
6. Training at scale
Plan memory and parallelism for models that do not fit on one accelerator, reason about communication and kernels, and handle failures in long runs.
Read
- Distributed training and parallelism
- Compute and memory efficiency
- LLM inference: decoding, batching, quantisation and speculative decoding
Questions
- Roughly how much accelerator memory do weights, gradients and Adam state need for a 70-billion-parameter model trained in mixed precision? Show the accounting and say which precision choices change it.
- A single-process script that handles a huge dataset of independent records is too slow. How would you parallelise it, and what changes if the records depend on one another?
- What does mixed-precision training change, why does fp16 need loss scaling, and why is bf16 often preferred?
- Explain why GPUs accelerate deep learning, and how you decide whether a kernel or model is compute-bound or memory-bound.
- You must halve serving cost for a large model without retraining it from scratch. Discuss quantisation (INT8/FP8/4-bit), speculative decoding and batching: what each buys you and which quality risks you would measure.
- You must train a model that doesn’t fit in one accelerator’s memory. Lay out your options and how you would combine them for a model of a few hundred billion parameters.
- Compare data parallelism, FSDP/ZeRO, tensor parallelism and pipeline parallelism: what is split, what is communicated, and when to combine them.
- How does ring all-reduce scale with the number of workers? How do you keep convergence when the global batch grows 8×?
- You must shuffle a training set of hundreds of terabytes (for example, cached model activations) that cannot fit in memory on any one machine. Design an approach and analyse its cost.
- You are given a correct but slow kernel for an unfamiliar accelerator with explicitly managed memory and vector units. How do you make it much faster within a few hours?
- During a pre-training run on thousands of accelerators you see occasional loss spikes with no NaNs and no hardware errors reported. How do you decide whether silent data corruption is the cause, and what would you build to detect and contain it?
- Muon has gone from small-scale experiments to training Kimi K2 and DeepSeek-V4. Explain what Muon computes and for which parameters, why it needed weight decay and update-scale matching to scale, and what instability Kimi K2 hit and how QK-Clip fixes it.
- Explain how all-reduce works across many nodes (ring vs tree) and what it costs in bandwidth and latency. Then reason about how many rounds you need for a target accuracy if the channels are noisy.
Done when: At least 3/4 on 10 of the 13 module questions, memory arithmetic for a 70B model within 20% of the reference.
7. Evaluation, scaling and post-training
Build release evaluations, judge whether a gain is real, design small-compute experiments, and explain scaling laws, RLHF, DPO and reward hacking.
Read
- Evaluation: metrics, evals for LLM systems and statistical rigour
- Experimentation and causal inference
- Reinforcement learning and preference optimisation
- Fine-tuning, LoRA and distillation
Questions
- Explain the difference between a sample’s standard deviation and the standard error of the mean, and how each changes with sample size.
- Your method beats the baseline by 0.8 points on a benchmark. What would you need to see before believing the improvement is real?
- A model scores 21/30 (70%) on a 30-problem maths benchmark. Compute the CLT 95% interval, explain why the 2025 position paper on small-benchmark evals says not to trust it, and give a better interval. What happens with 30/30, and does sampling each problem eight times fix the problem?
- What does it mean for a model to be well calibrated, how would you measure it, and why might an instruction-tuned LLM be less calibrated than its base model?
- Summarise the compute-optimal scaling result from the Chinchilla work. With a fixed training budget, would you train a larger model on fewer tokens or a smaller model on more tokens, and how does expected inference demand change your answer?
- Derive the REINFORCE policy-gradient estimator, explain why it has high variance, and show why subtracting a baseline reduces variance without adding bias.
- Define hallucination in language models, propose a way to measure it, and outline approaches for reducing it.
- Design the evaluation harness you would use to decide whether a new model checkpoint is ready to release. What does it measure, and how do you guard against misleading results?
- You suspect a training change improves long-context reasoning, but you only have compute for a handful of small runs. Design the experiment.
- Compare PPO-based RLHF with Direct Preference Optimisation. Write down the DPO objective, then propose and justify one modification aimed at a specific failure mode.
- In RLHF, pushing harder against a learned reward model eventually makes true quality worse. Explain why, how you would detect it, and how to mitigate it, and critique how this is usually studied.
- Design a system that makes a language model much better at solving maths problems. Cover data, training stages and evaluation.
Coding
Done when: At least 3/4 on 10 of the 12 module questions, both coding problems pass.
8. Project talk and values
Present a project or paper for 30–60 minutes under interruption, critique a paper sent in advance, and give honest, specific answers on motivation, disagreement and AI risk.
Read
- Research methodology, taste and reproducibility
- Behavioural and leadership interviews
- AI safety, guardrails and alignment
Questions
- Tell me about a research idea of yours that didn’t work. How did you realise it, what did you salvage, and what would you do differently?
- Why do you want to work here specifically, rather than at another frontier lab or in academia?
- Tell me about a technical disagreement with a colleague or manager. How was it resolved?
- Large research teams move fast and share credit. Give an example of helping a team succeed where your individual contribution was less visible.
- Which recent paper changed how you think, and what is its biggest weakness?
- Describe a time you had to choose between moving fast and being careful about safety, security or correctness. How did you decide?
- Describe a time you were asked to build or ship something that conflicted with your principles. What did you do, and how did it turn out?
- Walk us through the hardest LLM or ML system you’ve built: the problem, your decisions and alternatives, what went wrong in production, how you measured success, and exactly what you did.
- Give a 45–60 minute talk on your most significant research. Expect interruptions about design choices, ablations, failed experiments and what you would do differently.
- You received a recent paper two days ago. Summarise its contribution in two minutes, critique the evidence, and propose the next experiment you would run.
- What are your own views on the main risks from advanced AI, and where do you agree or disagree with this lab’s approach to them?
Done when: At least 3/4 on 9 of the 11 module questions, a 30-minute project talk rehearsed twice with a recorded run under 32 minutes.