OpenAI research engineering
OpenAI’s interview guide describes several assessment formats and highlights solution design, code quality, performance, test coverage and communication. The o1 system card describes a historical benchmark built from 18 coding tasks and 97 multiple-choice ML questions from an internal bank. It reports aggregate results without publishing a function-by-function syllabus.
For a research-engineering mock, implement cross-entropy and its gradient in 25 minutes, then explain an overflow case and a masking case. In a follow-up, train the tiny attention model and use numerical gradient checks to test your reasoning. Post-training candidates can add the DPO or PPO exercise and describe an experiment that would reveal a change in behavior.
Start with the loss implementation. Cross-entropy from logits
Anthropic performance engineering
Anthropic’s engineering write-up describes a performance-team take-home on optimizing code for a simulated accelerator. The team released the original exercise as an open challenge after iterating on its assessment. For an active hiring assessment, follow the instructions supplied for that stage.
For a 50-minute mock, implement tiled exact attention. Compare against dense attention on the same inputs, include an input where the maximum arrives in the last tile, and explain peak memory and arithmetic complexity. Follow up with the public accelerator challenge if simulated instruction scheduling is relevant to your role.
Implement the running reduction. Tiled exact attention with online reductions
Mistral model and inference engineering
Mistral’s careers page describes technical exercises that reflect team work. Its Mistral 7B report documents grouped-query and sliding-window attention, and the Mixtral paper describes routing tokens to two experts per layer. Those publications motivate the practice below.
For a 45-minute mock, implement grouped-query attention and explain which heads share keys and values. Extend the discussion to a window of W tokens, derive cache size in bytes from layers, context, KV heads, head width and precision, and describe how a top-k expert router changes compute and dispatch.
Implement shared KV heads. Multi-head and grouped-query attention
Google DeepMind research engineering
Google DeepMind describes initial, skills and final interviews, with preparation details tailored to the role. Its public careers material describes research engineers as bridging theory and implementation, including building and evaluating experimental systems.
For a 45-minute mock, implement a backward pass, compare it with centered finite differences, and write a small failure case. Then discuss an evaluation you would run before scaling the model, including its data split, comparison baseline and success metric.
Practice the forward and backward pass. Backpropagate a two-layer MLP
Choose a track for your role
Start with matrix multiplication, stable softmax, sigmoid and logistic regression, cross-entropy and activation derivatives. Then build the tokenization and transformer components. Implement the same behavior from a blank function when you can already repair the scaffold quickly.
For pretraining and research, add optimizer state, gradient checks, an attention training step and distributed reductions. For inference or performance, add KV cache equations, online softmax, page sharing, quantization and batching. For post-training, add response masking, LoRA, DPO, PPO and evaluation denominators. The CPU labs teach the arithmetic and state contracts. Actual accelerator profiling, framework integration and multi-host execution require their own environments.
- State shapes, objective and edge cases before implementing the function.
- Check one hand-computable example, a numerical boundary and an independent invariant.
- Explain time and space complexity, then name what you would measure on the target hardware.
Browse the full implementation curriculum. Open practice
Further reading
Start with primary reports and documentation. Community discussions are discovery leads, not evidence on their own.
- OpenAI interview guide
- OpenAI o1 system card, §5.8.1
- Anthropic on its historical performance take-home
- Anthropic’s released original performance exercise
- Anthropic guidance for candidates
- Mistral AI hiring process
- Mistral 7B technical report
- Mixtral of Experts
- Google DeepMind roles and interview process