Question bank
463 interview questions, each with a model answer, what a strong answer covers, common mistakes and follow-ups. Try the question before you open the answer.
- Explain how a subword tokeniser such as byte-level BPE is trained and applied, then tell me how the choice of tokeniser shows up in cost, latency and quality for a product that serves Welsh, Turkish and English users, source code and numbers.
- 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. - Walk me through scaled dot-product self-attention in one decoder layer: tensor shapes, why the scores are divided by the square root of the key dimension, what the causal mask does, and how compute and memory grow with sequence length.
- 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?
- What is stored in the KV cache and why does it exist? Estimate the cache memory for a model with 32 layers, 8 KV heads and head dimension 128, in bf16, serving 16 concurrent requests at 8k tokens each.
- How does a transformer know token order? Compare learned/sinusoidal embeddings, RoPE and ALiBi, and explain how a model trained at 8k context can be stretched to 128k.
- Explain greedy decoding, beam search, temperature, top-k, top-p and min-p. Which settings would you pick for (a) a JSON extraction endpoint, (b) a creative-writing feature, (c) code completion — and why?
- Given a logits vector, implement sampling with temperature, top-k and top-p and a fixed seed. Then explain how you would vectorise it across a batch where each row has different parameters.
- A stakeholder insists outputs must be identical because temperature is 0, yet your logs show different answers to the same prompt. Explain why and say what you would do.
- Describe the prefill and decode phases of inference. Which is compute-bound and which is memory-bandwidth-bound, and how does that show up in time-to-first-token and inter-token latency?
- Models now accept hundreds of thousands of tokens. When would you put everything in the context window instead of building retrieval, and what failure modes would you watch for?
- How are text-embedding models trained, and which decisions matter when you use them for search — similarity metric, normalisation, dimensionality, domain shift and multilingual content?
- What is a mixture-of-experts transformer, and what changes for training and serving compared with a dense model of similar quality?
- Why do LLMs produce fluent but false statements, and which mitigation addresses which cause?
- A product team wants the assistant to “know” 20,000 internal policy documents. How do you choose between prompting, retrieval, long-context stuffing and fine-tuning — and when would you not use retrieval at all?
- How would you chunk a mixed corpus of policy PDFs with tables, wiki pages, chat threads and code? What do you trade off when picking chunk size and overlap?
- Dense-only retrieval misses queries that contain product codes, error IDs and people’s names. What would you change, and how would you merge result lists?
- Explain bi-encoders versus cross-encoder rerankers. With a 1.5-second end-to-end budget, how many candidates would you retrieve and rerank, and how would you decide?
- How would you evaluate a retrieval-augmented assistant end to end, and how would you tell whether a bad answer came from retrieval or from generation?
- In a multi-turn chat the user asks “and what about for contractors?” and retrieval returns nothing useful. What techniques fix this, and what do they cost?
- Design retrieval for an enterprise assistant where documents carry per-user and per-group permissions that change daily. Where can data leak?
- How do you keep the index fresh and honour deletions — for example a UK GDPR erasure request — across the vector store, caches and logs?
- Compare HNSW, IVF-PQ and flat search for 100 million chunks. When would you use Postgres or a search engine you already run instead of a dedicated vector database?
- Legal users require every claim to cite a source passage, and the system must say it doesn’t know when the corpus is silent. How do you build and verify that?
- The corpus is scanned PDFs with tables, and users ask aggregate questions such as which suppliers had more than three incidents last year. What does plain chunk-and-embed get wrong, and what would you build instead?
- Explain what actually happens when an LLM calls a tool: what the model sees, what it emits, and who executes what.
- When would you build a fixed LLM workflow (chain, router) rather than an autonomous agent loop? Give one example of each for a product you could build here.
- Implement an agent loop in Python that takes a goal, a set of tools with JSON-schema arguments and a model client. Handle tool errors, a step limit and a token budget; then let independent tool calls run concurrently.
- Your agent has 40 tools and picks the wrong one too often. How do you design tool interfaces so the model uses them well?
- A long-running agent degrades after about 100 steps as its context fills. How do you manage context and memory?
- List the main ways tool-using agents fail in production and the mitigation for each.
- An agent will be allowed to issue refunds and change customer account settings. How do you make it safe enough to ship?
- When is an orchestrator-plus-sub-agents architecture worth its cost compared with a single agent holding more tools?
- What problem does the Model Context Protocol solve, how does it work at a high level, and what risks come with connecting third-party MCP servers?
- How would you evaluate a customer-support agent that performs multi-step tool calls, before launch and in production?
- The PM says “we want good answers about our pricing”. You have two days and 30 unlabelled real queries. Design the evaluation.
- How do you build an LLM-as-judge you can trust? Cover prompt design, known biases and validation.
- You inherit a feature with a “72% quality score” and nobody knows why it fails. How do you find what to fix first?
- How would you A/B test a new model or prompt in a chat product? Which metrics are primary, secondary and guardrails?
- How do you stop prompt or model changes from silently breaking things? Describe eval-in-CI that copes with non-deterministic outputs.
- A vendor’s model tops public leaderboards. Why might it still be worse for your use case, and how do you choose models responsibly?
- Your new prompt scores 84% against 81% on a 200-item set. Is that real? How many items would you need?
- Choose between three hosted models and one self-hosted open-weight model for a summarisation feature at 2 million requests a day. Describe the bake-off.
- Write a small eval harness: load a JSONL dataset, call a model concurrently under a rate limit, apply code-based and judge-based graders, cache results and print a per-slice report.
- Give three situations where fine-tuning an LLM is the right call and three where it is the wrong one.
- Explain LoRA: what is trained, how rank and alpha matter, where adapters go, and how QLoRA cuts memory further. How would you serve 50 customer-specific adapters?
- You’re assembling 20k conversations to fine-tune a support assistant. What decides whether the fine-tune helps, and what are the technical gotchas?
- Describe the classic RLHF pipeline. What is the KL penalty for, and what is reward hacking?
- How does Direct Preference Optimisation differ from PPO-based RLHF? What does β control, and when can DPO underperform?
- What is reinforcement learning with verifiable rewards, how does GRPO work, and why has it become popular for reasoning and agentic-coding models?
- After domain fine-tuning, general reasoning and instruction-following dropped. Why, and what do you do?
- Your feature works with a large frontier model but costs too much. How would you distil it into a smaller model, and how do you know it’s good enough?
- Roughly how much GPU memory does full fine-tuning of a 7B model with Adam in mixed precision need, compared with LoRA and QLoRA?
- Training loss looks great, but in the serving stack the fine-tuned model emits malformed tool calls and doesn’t stop properly. What do you check?
- Define TTFT, inter-token latency, end-to-end latency and throughput. How would SLOs differ for a chat product and for a batch document-processing job?
- Why does static batching waste GPU capacity for LLMs, how does continuous batching fix it, and what new problems appear?
- What problem does PagedAttention solve, and how does it enable prefix sharing?
- Compare weight-only INT4 (GPTQ/AWQ), FP8 weights-and-activations and KV-cache quantisation. How would you decide a quantised model is acceptable for production?
- How does speculative decoding speed up generation without changing the output distribution, and when does it not help?
- How do provider prompt caching and self-hosted prefix caching work, how do you structure prompts to benefit, and how is a semantic response cache different?
- Estimate the monthly LLM cost of an email-triage feature handling 200k emails a day at about 1,500 input and 200 output tokens each. Then cut it five-fold. Follow-up: next month the bill doubles while traffic grows 10% — what do you check?
- When would you self-host an open-weight model instead of using a hosted API? Walk through the decision for a UK healthtech or bank.
- Design a router that sends easy requests to a cheap model and hard ones to an expensive model. How do you train and evaluate it?
- Design, and partly code, a single-GPU inference service that batches incoming requests up to a maximum batch size while each caller waits synchronously for its own result. How do you trade latency against throughput?
- Your product depends on an external LLM API that sometimes returns 429s and overload errors and occasionally stalls mid-stream. Design the client-side reliability layer.
- Will a 70B dense model serve 32 concurrent users at 32k context on two 80 GB GPUs? Explain tensor, pipeline and data parallelism along the way.
- Explain direct versus indirect prompt injection with examples, and describe a defence-in-depth design for an assistant that reads emails and web pages and can take actions.
- Design the guardrail layer for a UK bank’s customer-facing assistant. What runs before, during and after generation?
- How would you run red-teaming before launching an LLM feature, and how do jailbreaks differ from prompt injection?
- What data-protection questions must be answered before sending UK customer data to an LLM provider, and how does that shape logging?
- Your safety filter cut harmful outputs, but tickets show legitimate users being refused. How do you measure and tune the trade-off?
- How would you deploy an LLM feature that summarises customers’ financial situations for advisers, where errors can cause harm?
- An agent can read private data, ingests untrusted content and can make outbound requests. Why is that combination dangerous, and how do you break it?
- Write or critique a system prompt for a support assistant. How do you structure role, instructions, context, examples and output format, and where do long documents go?
- How do you choose few-shot examples, and when do examples hurt?
- When does asking a model to reason step by step, or enabling a reasoning mode, help — and what does it cost?
- Your pipeline needs JSON matching a schema on every call. Compare the options for guaranteeing it, and how you’d handle the failures that remain.
- You get a prompt, a dozen inputs and the model’s outputs, several of them wrong. In 30 minutes, diagnose the failure patterns, improve the prompt and explain how you’d verify the fix.
- After upgrading to a newer model version, users say answers “feel worse”, yet your eval suite shows a small gain. How do you investigate?
- p99 latency of your LLM endpoint jumped from 4 s to 20 s overnight with no deploy. Debug it.
- In long chats, the assistant starts ignoring formatting and safety instructions from the system prompt. Why, and how do you fix it?
- About 2% of responses fail JSON parsing in production. Walk through finding and fixing the cause.
- Users show answers citing real documents that don’t say what the answer claims. Diagnose.
- Traces show your agent calling the same search tool 15 times with near-identical queries before timing out. What’s going on and how do you fix it?
- Your self-hosted model server is fine for single requests, but under concurrent load some requests hang at zero throughput while others finish. How do you investigate?
- Offline scores improved six points after your change, but satisfaction and retention dipped. Reconcile this.
- You get a small RAG-service repository with failing tests and a bug report saying answers ignore the newest documents. Find and fix it while narrating — or review a messy pull request to the same service and give feedback.
- 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.
- A customer says their phone agent sometimes goes silent or talks over callers. Diagnose across telephony, speech recognition, the model, the prompt and integrations.
- For a phone-based voice agent, break down end-to-end response latency and explain how you’d get the median under a second while keeping interruptions rare.
- How do you evaluate a speech-to-text system for a contact-centre customer, and how do real-time constraints change the evaluation?
- How would you evaluate a new text-to-speech model before rollout, and what changes when it powers a streaming conversational agent?
- Sketch the ML and systems pipeline for generating a talking-avatar video from a script, and where LLMs fit.
- Where do LLMs add real value in fraud and financial-crime work, and where would you keep classical or transaction-sequence models?
- What extra requirements does a UK-regulated bank place on an LLM support assistant compared with a typical SaaS company?
- How would you get a 3B-parameter LLM running interactively on a phone-class Arm CPU, and where are the bottlenecks?
- A driving model also narrates why it acts. How would you evaluate whether those explanations are faithful and useful?
- How would you let users generate a playlist from a free-text prompt while still using the existing recommendation stack?
- What safeguards would you design against misuse of voice cloning or avatar generation, and how would you measure them?
- 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.
- Model output arrives as arbitrary text chunks. Write a parser that emits each complete tool call (in a given XML or JSON format) as soon as it closes, while passing plain text straight through. Variant: write the server side that streams words incrementally like an LLM endpoint.
- Without a vector database, implement top-k retrieval: cosine similarity over an embedding matrix, a simple BM25 scorer, and reciprocal rank fusion of the two lists. Then discuss complexity and scaling.
- You have a helper that returns token log-probabilities from an LLM for a batch of prompts. Build a binary classifier on top of it: write the prompt, turn log-probs into a calibrated score rather than a hard label, then improve it.
- Why do you want to work here specifically, and what do you think about the risks and benefits of the technology we build?
- 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.
- Tell me about a time you disagreed with shipping something because of a quality, safety or ethical concern. What were your criteria, and what happened?
- Explain a latency-versus-quality or automation-versus-escalation trade-off to a customer’s COO, then to their engineers. Or: tell me about a time you challenged a brief before building.
- Tell me about something you owned end to end under ambiguity and time pressure. How do you use AI coding tools in your daily work, and how do you check their output?
- You have just joined as Head of AI. The CEO wants a company-wide LLM strategy in front of the board in 90 days. How would you spend those 90 days, and what goes in the board paper?
- A UK retail bank wants a GenAI assistant for customer servicing and complaint triage live within six months. You own delivery. How do you plan it so it is safe, compliant and actually used?
- An NHS trust board wants to scale an AI ambient scribe from a two-clinic pilot to all outpatient services. What do you need to know, decide and put in place?
- The company has run around 40 GenAI pilots over 18 months. None are in production and the board is losing patience. You have one quarter. What do you do?
- You run ML at a payments company. Fraud losses are rising, a vendor is offering a turnkey ML fraud platform, and your team wants to build. How do you decide, and how do you present the decision?
- LLM inference spend tripled in a quarter as usage grew. The CFO wants it halved within two quarters without hurting the product. Plan it.
- You are the first Head of AI at a 300-person UK scale-up. There is a capable data team but no ML in production. Design your first 12 months: organisation, hiring, platform, and what you will ship.
- Your UK product uses ML to screen job applicants (or to support credit decisions), and the company enters the EU next year. Lay out the compliance and product roadmap.
- Operations wants AI agents that can act inside customer accounts (issuing refunds, changing addresses) to cut handling time. How do you decide whether and how to do this?
- You have more AI ideas than capacity. How do you decide what to fund, and who gets a say?
- How do you show that an AI investment paid off, including spread-out benefits such as staff copilots or coding assistants?
- Foundation models keep getting cheaper and better. Where should we try to build lasting advantage with AI, and where should we not bother?
- Should AI live in a central team, be embedded in product teams, or something in between? What would you do here, and why?
- How do you build a 12-18-month AI roadmap when model capabilities shift every few months?
- Most of our AI features depend on a single frontier-model API. Is that a problem, and what would you do?
- You have ten minutes with a non-technical board to explain the AI strategy and ask for investment. What do you say, and what do you leave out?
- The CEO is excited about an AI idea you think is a bad bet. What do you do?
- Our data is scattered across legacy systems. Do you fix the data first or ship AI first?
- When would you run open-weight models yourselves instead of calling a commercial API?
- Draft next year’s AI budget for us. What lines go in, and how do you defend it?
- Walk me through taking an LLM-powered feature from idea to general availability. What are your gates?
- How do you define success for a GenAI feature, and how should offline evals relate to online outcomes?
- A GenAI feature tested well internally, but real users ignore it. How do you find out why, and what do you do?
- Design the human oversight for an AI system that supports high-stakes decisions (credit limits, clinical triage). How do you stop review becoming a rubber stamp?
- Your team keeps getting pulled onto feature requests while the eval and deployment platform stays half-built. How do you balance this?
- How do you tell whether an AI feature makes economic sense?
- How do you set expectations with product and design partners when outputs are probabilistic and sometimes wrong?
- Tell me about an AI feature or product you shut down or drastically re-scoped. How did you decide, and how did you handle it?
- How would you structure and level an AI/ML organisation of around 40 people spanning research, applied ML, data science and platform? How do careers progress?
- How do you design an ML hiring process that keeps the bar high while moving fast and staying fair?
- One of your engineers has been underperforming for two months. What do you do, and how long do you give it?
- Your strongest researcher is brilliant but dismissive of colleagues, and two people have complained. What do you do?
- How would you grow an AI team from about 10 to 50 people in 18 months without losing quality or culture?
- You manage four managers. How do you know whether each of their teams is healthy and effective?
- Frontier labs in London are offering your best people far more money. How do you keep them, and when do you let them go?
- Research and engineering disagree on whether a new model is ready for production. How do you resolve it?
- Your team is split across London, Cambridge and another country. How do you lead it well?
- What have you done to build an inclusive team, and how did you know it was working?
- Tell me about a time you gave difficult feedback to a peer or to someone senior to you.
- You must cut your team by 20% or restructure it. How do you lead through it?
- How do you divide work so senior engineers stay stretched and juniors grow, without slowing delivery?
- How do you measure whether an ML team is effective?
- How does your team use AI coding and research tools, and how do you manage quality, security and skill development?
- Design a service that scores card transactions for fraud in real time. You’ll be judged on reasoning and collaboration rather than product trivia.
- Take a typical LLM serving stack: an API gateway, a request queue, a pool of GPU inference servers running continuous batching, and a single region behind a load balancer. What breaks under load, and what would you change first?
- Design a system that monitors a production ML model’s performance in real time.
- How would you set up evaluation for an LLM application your team is building?
- When do you use prompting, retrieval, fine-tuning or an agentic design? Give examples.
- Explain to our executive committee how LLMs work, where they fail, and where we should use them.
- Pick one AI/ML system you led end to end. Present it in 15 minutes, then we’ll dig into your decisions.
- What levers do you have for cutting LLM latency and cost, and what does each trade away?
- A model shows a big offline improvement but the A/B test is flat. What might be happening?
- How do you make tool-using agents reliable enough for production?
- Threat-model an LLM application that reads customer emails and drafts replies.
- What is your minimum engineering bar before an ML model goes to production?
- We are a UK company selling AI-enabled software into the EU. Which parts of the EU AI Act affect us, and when?
- The UK has no AI Act. How do you make sure we are compliant here?
- Design AI governance for a UK bank’s customer-facing AI that would stand up to FCA scrutiny.
- How would you bring LLMs into a bank’s model risk management framework?
- We want to automate loan (or job application) decisions end to end. What does UK data protection law require now?
- What must be in place before an AI tool is used in an NHS clinical pathway?
- How do you test an AI system for unfair outcomes, and what do you do when you find a disparity?
- What do you require from a foundation-model vendor before sending them customer data?
- There is no AI governance at all. Design a framework that is proportionate and doesn’t strangle delivery.
- You discover staff pasting customer data into unapproved AI tools. What do you do?
- You are deploying an algorithmic tool in a government department. What transparency and procurement duties apply?
- When would you delay or stop a model launch despite commercial pressure? Give a real example.
- Last week your customer chatbot confidently gave wrong policy information to thousands of customers. Walk me through your response.
- Tell me about the most significant AI initiative you have led from start to finish, and its measurable result.
- Describe a time you got a senior stakeholder or another team to change course when you had no authority over them.
- Tell me about a time leadership pushed you to ship something you believed was risky. What did you do?
- Tell me about a project that failed on your watch.
- Tell me about something you inherited (a team, system or process) and how you improved it.
- Describe a time you used data to change an important decision.
- Tell me about difficult feedback you received from a peer or manager and what you did with it.
- Describe a period when you had more critical priorities than capacity. How did you choose?
- Tell me about a significant decision you made with incomplete information.
- Tell me about a time you personally dug into the details to find the real cause of a problem.
- Tell me about a time you lost people or budget mid-project and still delivered.
- Describe a time two senior engineers or researchers deadlocked on a technical direction. How did you resolve it?
- Tell me about a hire you made that changed what your team could achieve.
- Tell me about a time you earned the trust of a sceptical group (clinicians, compliance, legal, operations) for an AI change.
- Why do you want to lead AI here rather than at a comparable company?
- Which of our published values would you find hardest to live up to, and why?
- Describe a situation where the profitable choice could have hurt customers or users. What did you do, and what would you do here?
- (Amazon London) Tell me about a time you put the customer ahead of an internal metric or deadline. (Swap in Ownership, Earn Trust or Hire and Develop the Best as needed.)
- (Barclays / HSBC) Give an example of acting in line with one of our values when it was inconvenient. For instance, taking responsibility and speaking up when something looked wrong.
- (NHS / Civil Service) Tell me about a time you balanced pace of delivery against safety or fairness for the public you served.
- Training loss is low; validation loss is much higher and barely improves as you add data. Diagnose it, then describe the curves you would expect in the opposite situation and what you would do in each.
- List the knobs you would use to curb overfitting in XGBoost/LightGBM and in an MLP, and explain why each one works.
- Why does an L1 penalty give sparse weights while L2 shrinks them smoothly? When would you choose each, and what does elastic net add?
- Explain what dropout does during training and inference, why it regularises, and how it interacts with batch normalisation.
- Contrast bagging and boosting: what error each reduces, how they are trained, and their failure modes.
- A stakeholder wants to know which features drive your fraud random forest. Compare impurity importance, permutation importance and SHAP, and their pitfalls.
- You have two years of card transactions with customer IDs. How do you split into train/validation/test and run cross-validation, and why not random k-fold?
- Your offline AUC is 0.99 on a churn model. Walk through how you would hunt for leakage.
- Define a convex function. Why does convexity matter for optimisation? Compare gradient descent with Newton’s method, including cost and when Newton fails.
- Explain momentum, Adam’s moment estimates and bias correction, and why AdamW decouples weight decay.
- Why do transformer recipes use warmup followed by cosine or linear decay? How would you choose a learning rate for a new model?
- Why do deep or recurrent nets suffer vanishing or exploding gradients, and which architectural and training choices mitigate it?
- Compare batch and layer normalisation: what they normalise over, train/inference behaviour, and why transformers use LayerNorm (or RMSNorm).
- Derive binary cross-entropy from a Bernoulli likelihood and the gradient of logistic regression. Why is MSE a poor loss for classification?
- Write the attention formula. Explain the time and memory complexity in sequence length, why scaling by √d matters, and how a KV cache changes decoding cost.
- What do eigenvectors of a covariance matrix represent? Relate PCA to SVD and explain how to pick the number of components.
- Your model plus optimiser state exceeds one GPU’s memory. List the options, from cheapest to most complex.
- 0.2% of transactions are fraudulent. A detector flags 95% of fraud and 2% of legitimate transactions. What fraction of flagged transactions are fraud? What does this imply for alert design?
- Explain the difference between a sample’s standard deviation and the standard error of the mean, and how each changes with sample size.
- Define MLE and MAP. Show that L2-regularised linear regression is MAP under a Gaussian prior. When does MAP differ materially from MLE?
- Define entropy, cross-entropy and KL divergence. Derive the evidence lower bound for a latent-variable model and explain each term in a VAE.
- A fraud model outputs scores. How do you choose the decision threshold, and which metrics do you report?
- With 0.1% positives, why can ROC-AUC look excellent while the model is useless operationally? When do you prefer PR-AUC?
- What does it mean for a classifier to be calibrated? How do you measure and fix calibration, and why does it matter for fraud or ads?
- Define NDCG@k, MAP and MRR. Why might a model that wins on offline NDCG lose in an online A/B test?
- For food-delivery ETAs, compare MAE, RMSE, MAPE and quantile (pinball) loss. Late arrivals hurt more than early ones; how do you reflect that?
- How would you evaluate a SKU-level grocery demand forecast across thousands of products with intermittent demand?
- Tell me about a model you shipped. How did you show it moved a business metric, not just an offline score?
- List techniques for a 1:1000 imbalanced problem and their side effects.
- Chargebacks arrive 30–90 days after a transaction, and some never arrive. How does this affect training, evaluation and monitoring?
- Investigators can review only 200 cases a day. How do you choose which cases to label, and how do you control label noise?
- Transactions your model blocks never get a true label. How does that bias retraining, and how do you correct it?
- What problems does a feature store solve? Describe its offline and online parts and how features flow between them.
- What causes training–serving skew and how do you prevent and detect it?
- How do you build a training set where every feature value is what was known at the moment of prediction?
- What automated checks would you put on data entering a training pipeline and a serving path?
- How would you encode merchant ID (2 million values) for a fraud model, and what are the leakage risks?
- Compare strategies for missing data, and when is “missingness” itself a signal?
- What must you version to reproduce a model six months later, and what does a model registry store?
- How do you decide how often to retrain, and what safeguards gate an automatically retrained model?
- What does a CI/CD pipeline for an ML service test that a normal service pipeline does not?
- Compare shadow deployment, canary and an A/B champion/challenger test for a new fraud model. When is each appropriate?
- When would you serve predictions in batch vs online? What hybrid patterns exist?
- At 9 am, false declines on card payments triple. Walk through your response.
- Distinguish covariate shift, prior (label) shift and concept drift, with an example of each from payments or delivery.
- Labels arrive weeks late. What would you monitor to catch problems early, and how do you set alert thresholds?
- Design the dashboards and alerts for a newly launched credit-risk model.
- A model’s online CTR is 15% below the A/B projection from offline evaluation. List hypotheses and how to test each.
- You built a new savings-nudge model. Design the experiment that decides whether to launch it.
- Baseline conversion is 10%. How many users per arm do you need to detect a 1-percentage-point lift at α=0.05 and 80% power? What levers reduce it?
- A PM checks the dashboard daily and stops when p < 0.05. What is wrong, and what valid alternatives exist?
- You want to test a new rider-dispatch model at Deliveroo. Why might user-level randomisation give biased results, and what designs help?
- How can you estimate a new recommendation policy’s performance from logs collected by the old policy?
- Your test shows a big uplift in week one that fades. Also, control has 52% of users instead of 50%. Interpret both.
- 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×?
- Explain why GPUs accelerate deep learning, and how you decide whether a kernel or model is compute-bound or memory-bound.
- What does mixed-precision training change, why does fp16 need loss scaling, and why is bf16 often preferred?
- GPU utilisation sits at 30% and loss is not decreasing. How do you investigate?
- Explain post-training quantisation vs quantisation-aware training, symmetric vs asymmetric and per-tensor vs per-channel scales, and when int8 accuracy collapses.
- Compare unstructured pruning, structured pruning and distillation for shrinking a model for on-device inference.
- Payment authorisation gives your model a 50 ms p99 budget including feature fetches. How do you design for it?
- What limits LLM decode throughput, and how do continuous batching, paged KV cache, quantisation and speculative decoding help?
- Compare CTC, attention encoder–decoder and transducer (RNN-T) models for ASR. How do you trade latency against accuracy in streaming?
- How do you recommend to brand-new users, or forecast a brand-new product?
- A regulator asks why your AML model flagged a customer. What explanation artefacts do you produce and what are their limits?
- Contrast a modular perception–prediction–planning stack with an end-to-end learned driving model. How can you evaluate a driving policy offline before road testing?
- You are handed a training script whose validation accuracy stays at chance. Name the ten bugs you would check first.
- Your platform exposes internal capabilities to agents. When would you publish something as an MCP server, and when as an A2A agent? Compare what each protocol standardises, how authorisation and long-running work are handled, and the security risks you would plan for.
- You are building an agent that reads a user’s email and calendar and can send messages and book meetings. Model-level prompt-injection defences are probabilistic. Design a defence that still holds if the model is fooled, and say how you would measure it.
- Your coding agent is connected to 25 MCP servers exposing about 300 tools, and tool definitions alone consume tens of thousands of tokens before the user’s request. Latency, cost and tool-selection accuracy are all suffering. What would you change?
- For three weeks users have complained that your hosted model ‘got worse’, yet your benchmarks, safety evals and canary deployments are all green. Reports are inconsistent across regions and cloud platforms. How do you investigate?
- A model update passed offline evals, and an A/B test showed users preferred it, but within days it was criticised as ‘sycophantic’ and rolled back. Explain how this gets through a launch process and what you would change.
- You are asked to serve a hybrid model with 48 layers: 36 Gated DeltaNet (linear-attention) layers and 12 full-attention layers with 2 KV heads of dimension 256. Estimate KV memory per token in bf16, compare it with an all-attention version, and explain what changes for prefix caching.
- A team wants a hosted model to get better at a narrow task with a checkable answer, such as extracting the right clause and amount from contracts. When would you choose grader-based reinforcement fine-tuning over supervised fine-tuning, and how would you design the grader?
- Explain on-policy distillation. How does it differ from supervised distillation on teacher outputs and from RL with a verifiable reward, and when would you use it?
- Your team serves a large MoE reasoning model with long prompts and long outputs, and p95 inter-token latency spikes whenever big prompts arrive. Someone proposes disaggregating prefill and decode. When does that pay off, what does it cost, and how would you size it?
- You are evaluating speculative decoding for production: an EAGLE-3 drafter versus the model’s own multi-token-prediction heads. Which metrics decide it, how does the answer change with batch size and with reasoning workloads, and how do you prove outputs are unchanged?
- A document-QA product re-sends the same 60k-token contract across many sessions spread over hours, so GPU prefix-cache hits are rare. Would you offload KV cache to CPU memory or SSD and reload it instead of recomputing? Show the arithmetic.
- METR summarises agent capability as a ‘50% time horizon’ that has doubled roughly every seven months. Explain how the metric is computed, what it is good for, and what you would be careful about when quoting it in a planning document.
- Your CTO wants to pick next year’s model vendor from a public preference leaderboard. Using what ‘The Leaderboard Illusion’ found about Chatbot Arena, explain the risks and propose a better selection process.
- Inspired by GDPval, your company wants an eval of whether a model can produce real deliverables (for example a credit memo or a contract review) as well as your experts. Design it: task sourcing, grading, metrics and limitations.
- Python 3.14 made the free-threaded (no-GIL) build officially supported. For an LLM data-processing service that tokenises, parses JSON and calls model APIs, what would you change, what would you keep, and what could break?
- In this coding round you may use an AI assistant. Implement a rate-limited async client that retries failed model calls with exponential backoff and jitter. Talk through how you use the assistant and how you check its output.
- Model A costs $3 per million input tokens and $15 per million output tokens; model B costs $1 and $5. On your agentic task, A at medium reasoning effort averages 40k input and 6k output tokens with an 85% success rate; B averages 60k input and 14k output tokens with a 70% success rate. Each failure costs $2 of human handling. Which is cheaper per resolved task, and what else would you test?
- A UK bank wants its assistant to buy things for customers, for example ‘renew my train season ticket when it is under £X’. Using agent-payment protocols such as Google’s AP2 as a reference, design the authorisation, fraud and liability model.
- It is early 2026 and your product is built on the OpenAI Assistants API (threads, runs and hosted file search), which is scheduled to shut down on 26 August 2026. Plan the migration, and the architecture that keeps the next forced migration cheap.
- Product wants your booking service available inside ChatGPT and Claude as an MCP-based app with interactive UI. Design it: which tools the model sees, what the UI does, authorisation and state, data minimisation, and how you measure success.
- Design a pipeline that turns 50 million PDFs (born-digital reports, scanned forms, papers with tables and equations) into clean text for pretraining and retrieval. Choose between heuristic extractors and a vision-language OCR model, estimate the cost, and explain how you would measure quality.
- You need RL training data for a coding agent: thousands of executable tasks, each with an environment and tests. Design a pipeline, in the spirit of SWE-smith, that generates, validates and decontaminates them.
- It is November 2026. Your team serves EU users a customer-facing chatbot and an image-generation feature, both built on a third-party general-purpose model that you fine-tune lightly. Which EU AI Act obligations apply now, which are coming, and who carries each?
- Your engineers say coding agents make them much faster, and leadership wants to cut hiring on that basis. METR’s 2025 trial found experienced developers 19% slower with AI while believing they were faster, and its 2026 follow-up struggled to measure the effect at all. How would you establish what AI is actually doing for your team?
- Tell me about a time you changed how your team works because of a new tool or technology, such as AI coding assistants. How did you decide, how did you bring people with you, and how did you know whether it worked?
- You are planning a three-year LLM roadmap. Epoch AI estimated that the price of reaching a fixed capability level fell between 9× and 900× per year depending on the benchmark. How should that shape decisions on self-hosting, long-term contracts and fine-tuning investments?
- Your frontier-model team in London ships models worldwide. Compare what the EU General-Purpose AI Code of Practice (including its safety-and-security chapter) and California’s SB 53 expect of you, and design one governance process that satisfies both.
- A 2025 study found that about 250 poisoned documents could implant a backdoor in language models from 600M to 13B parameters, regardless of how much clean data they saw. What does this change about how you build and check a training corpus scraped from the web?
- A colleague proposes replacing your tuned gradient-boosting model for a 6,000-row credit-risk dataset with a tabular foundation model such as TabPFN. How do these models work, when would you expect them to win, and how would you evaluate the switch?
- For weekly demand forecasting across 20,000 products with promotions and prices as covariates, compare a classical stack (seasonal baselines, ETS, gradient boosting on lag features) with a pretrained time-series foundation model such as Chronos-2 used zero-shot. How would you decide, and how would you evaluate?
- A vendor offers to replace part of your A/B testing with LLM agents that role-play user personas and click through your site, as in the AgentA/B research. What could such simulations legitimately tell you, what can they not, and how would you validate them before trusting them?
- You are A/B testing a new LLM model and prompt for a customer-support assistant. Outputs are non-deterministic, the provider may update the model mid-test, and your main quality metric comes from an LLM judge. Design the experiment so the result is trustworthy.
- After fine-tuning, your team reports a large gain on a public coding benchmark. What would you check before believing it?
- Your bank is entering the FCA’s AI Live Testing with an anti-money-laundering alert model plus an LLM that drafts case narratives for investigators. What evidence would you prepare, and how would you evaluate the model and the LLM layer?
- Explain the Muon optimiser. What does it do to the momentum update, which parameters does it apply to, and what extra changes were needed to use it for trillion-parameter pretraining?
- The Qwen team’s gated-attention paper won a NeurIPS 2025 best paper award. Describe the change, explain why it helps, and say how you would test whether it helps your model.
- Several 2025–2026 open models mix linear-attention layers (for example Gated DeltaNet or Kimi Delta Attention) with a minority of full-attention layers. Explain the design, its training and serving trade-offs, and how you would choose the ratio.
- Walk me through how attribution graphs are built with transcoders, what they have revealed about how language models compute, and their main limitations.
- Why did researchers from many labs argue in 2025 that chain-of-thought monitorability is ‘a new and fragile opportunity’? What could destroy it, and what would you measure to know whether a model’s reasoning is still monitorable?
- What are persona vectors, how would you extract one for a trait such as sycophancy, and how could they be used during deployment and training?
- Derive GRPO’s advantage estimate and explain why it needs no value network. Then explain what DAPO and GSPO each change, and why.
- NVIDIA reported pretraining a 12B model on 10 trillion tokens in NVFP4 with loss and accuracy comparable to FP8. Explain the format, why naive 4-bit training diverges, and the techniques that made it work. Which parts of a training step would you keep in higher precision?
- Explain DiLoCo-style low-communication training and what the 2025 scaling-law results showed. When would you use it instead of standard data parallelism?
- Compare DeepSeek’s Native Sparse Attention and DeepSeek Sparse Attention (in V3.2-Exp). What does each make sparse, where does the speed-up come from, and how would you check that long-context quality survived?
- gpt-oss-120b (117B total, 5.1B active parameters) ships its weights in MXFP4 and runs within 80 GB. Check that claim with arithmetic, then compare MXFP4 with NVFP4 and explain what you would test before serving a model in either format.
- A vendor advertises a 1M-token window and your team wants to drop retrieval for a 600k-token contract corpus. Using what GPT-4.1 and DeepSeek-V4 report about single-needle versus multi-needle retrieval at 1M tokens, how would you make the call and what would you measure?
- Your coding agent runs for 300 turns and its context fills with tool output. Design a context-management strategy using what model APIs now offer (context editing, compaction, memory files), and explain how you keep prompt-cache hits high and check that nothing important is lost.
- An agent succeeds on a task with probability 0.8 per independent trial. Compute pass@5 and pass^5 and say which matters for a customer-facing agent. Then, from n = 10 samples with c = 7 successes, compute the unbiased pass@3 estimate and compare it with plugging p̂ into 1 − (1 − p̂)^3. Which way is the plug-in estimate biased, and why?
- You are instrumenting a production agent with a planner, retrieval, tool calls and two model providers, and you want vendor-neutral traces. How would you use the OpenTelemetry GenAI semantic conventions, and what would you do about the fact that they are still marked Development?
- For a UK bank’s phone line, compare a cascaded ASR–LLM–TTS voice agent, a single speech-to-speech model, and a full-duplex voice front end that delegates reasoning and tools to a backend model (as in OpenAI’s GPT-Live, 2026). Which would you ship, and where do turn-taking, tool calls, grounding and audit live in each?
- A January 2026 study extracted near-verbatim whole books from production LLMs despite their safeguards. Your team plans to fine-tune a model on several years of customer support emails and expose it in a chatbot. How do you assess and reduce the risk that it regurgitates personal data?
- In 2026 OpenAI started testing ads below answers in ChatGPT’s free and Go tiers, with the principle that ads must not influence answers. You are asked to introduce sponsored suggestions into your AI assistant’s free tier. Design the experiment and the guardrails that would let you ship, or stop, the feature.
- Walk us through an agent you built and how you evaluated it. Did you report pass@k or pass^k, how many tasks were in the suite, how were model-based graders checked, and what separated your capability evals from your regression evals?
- You are migrating a production prompt suite to a newer Claude model that removes assistant prefill, rejects fixed thinking budgets in favour of adaptive thinking with an effort setting, and follows instructions more literally. What breaks, how do you find it, and how do you re-tune?
- GEPA, a reflective prompt optimiser in DSPy, reports beating GRPO fine-tuning with far fewer rollouts. When would you optimise prompts automatically instead of fine-tuning, and what could go wrong?
- An internal agent must follow about 40 specialised procedures (expense rules, incident runbooks, report formats). Compare one large system prompt with a skills-style design that loads procedures on demand. How do you keep the context small, make the right procedure trigger, and manage the risks?
- Design an agentic RAG system for enterprise questions that span several corpora (HR policy, contracts, ticket history). How does the agent decide it has retrieved enough, how do you bound cost and latency, and how do you evaluate it against a single-pass RAG baseline?
- You are training a coding agent with RL against unit-test rewards. Reward is rising fast but spot checks show the agent sometimes edits or special-cases tests. Anthropic reported in 2025 that this kind of reward hacking generalised to broader misalignment. How would you detect hacking, harden the environment, and what is inoculation prompting?
- A vendor says its prompt-injection guardrail cuts attack success to 0.5% on a public benchmark. Given the October 2025 ‘attacker moves second’ results, in which adaptive attacks beat 12 published defences, how would you evaluate the claim, and what would you build around the guardrail for an email-reading agent?
- Your company wants to let internal agents use third-party MCP servers through a central gateway. The 2026-07-28 MCP specification made the protocol stateless and deprecated dynamic client registration. Design the gateway’s security controls and say which threats each addresses.
- Your product serves a 70B model in FP8 on Hopper GPUs. Leadership asks whether moving to Blackwell with NVFP4 weights will halve the serving cost. Explain what NVFP4 is and how you would answer.
- Explain how EAGLE-3 differs from classic draft-model speculative decoding and from reusing a model’s own multi-token-prediction module, as DeepSeek-V3 does. When would you switch speculation off in production?
- Design a tool gateway that lets internal agents use about 200 MCP servers (CRM, ticketing, code search, data warehouse) on behalf of 5,000 employees. Cover authentication and permissions, scaling, prompt-injection containment and the context cost of so many tools.
- A product team wants an orchestrator–worker multi-agent ‘deep research’ feature. Given published figures that multi-agent systems use around 15 times the tokens of a chat turn, how would you decide whether it is worth building, and which levers would you use to control cost and latency?
- GPT-5 shipped as a fast model, a deeper reasoning model and a real-time router between them. Design and evaluate a similar router for your own assistant, which today sends every request to an expensive reasoning model.
- The EU’s Digital Omnibus on AI moved the AI Act’s high-risk obligations to December 2027 for stand-alone systems, while duties for general-purpose model providers have applied since August 2025. You lead the ML platform at a London fintech that sells a credit-scoring model to EU lenders and fine-tunes an open-weight LLM for customer support. What do you build now, and what can safely wait?
- You run a fintech’s AI products for UK and EU customers and want to automate credit-limit decisions. The DUAA’s new UK ADM rules apply from February 2026, the Information Commission (which replaced the Information Commissioner on 30 September 2026) must produce a statutory AI and ADM code, the EU AI Omnibus moved Annex III high-risk obligations to December 2027, and the Digital Omnibus’s GDPR changes are still in negotiation. How do you plan compliance and the product roadmap?
- Your engineering survey says developers feel about 25% faster with the coding agent you rolled out last quarter, and the board wants to expand licences. METR’s 2025 randomised trial found experienced developers were slower with AI while believing they were faster, and its 2026 follow-up became unreliable because developers refused to work without AI. How would you measure the agent’s real impact before the renewal?
- You run a coding-agent product on a flat £20-a-month plan. Your heaviest 5% of users now cost more in model spend than they pay, because long agentic tasks cost many times more than simple requests. Cursor’s 2025 move from request quotas to usage-based credit pools ended in an apology and refunds. Redesign your pricing and plan the rollout.
- OpenAI’s Preparedness Framework, Google DeepMind’s Frontier Safety Framework and Anthropic’s Responsible Scaling Policy were all rewritten in 2025–26; Anthropic’s v3.0 added a public roadmap and recurring Risk Reports. You lead a team shipping an agentic product on a frontier model. What do these frameworks mean for you, and which of their practices would you adopt internally?
- In late 2025 Anthropic reported a state-sponsored campaign in which Claude Code did most of the intrusion work, and in October 2026 Google’s threat intelligence group described ARTEX, an open-source multi-agent offensive framework used in real breaches. As head of AI platform security, what do you change in identity, API design and detection, and what should a model provider do about misuse of its own agents?
- After DeepSeek-R1 (MIT licence, January 2025) and OpenAI’s gpt-oss (Apache 2.0, August 2025), your CFO asks why you still pay a frontier API for an internal assistant handling 2 billion tokens a day. The 2026 AI Index says the best closed model leads the best open one by only about 3%. Make the recommendation.
- MIT NANDA’s 2025 study claimed about 95% of enterprise GenAI pilots show no rapid P&L impact and that bought tools succeed far more often than internal builds; Menlo Ventures reported that 76% of enterprise AI use cases are now bought. Your CEO wants to build everything in-house to own the IP. How do you use this evidence to set a build-versus-buy policy?
- You lead AI at a London HR-tech company whose CV-screening model is sold to EU employers and built on a third-party general-purpose model. The 2026 Digital Omnibus pushed the AI Act’s stand-alone high-risk obligations to 2 December 2027. Your sales team says compliance work can wait. What do you do over the next 12 months?
- As head of an AI platform team, you learn that in February 2026 every Gemini model on Vertex AI failed together because of a shared safety-filtering service, and that late-2025 AWS us-east-1 and Cloudflare outages took out many dependent products. Your assistant currently fails over between two models from the same provider. How do you assess and reduce this concentration risk, and how do you justify the cost?
- You lead a team training a 7B open model. Leadership asks why the plan has separate pretraining, mid-training, long-context and RL stages instead of just pretraining for longer. Using Olmo 3’s published model flow, justify the budget split and the gates between stages.
- You are moving about 3,000 concurrent coding agents from a managed API to a self-hosted open model served with vLLM on Kubernetes. Why does a standard Kubernetes Service balance this traffic badly, and what would your routing, scheduling and model-upgrade design look like?
- Qwen3-Omni separates a ‘Thinker’ that produces text from a ‘Talker’ that streams speech codec tokens. Why decouple them, how does a multi-codebook codec affect first-packet latency, and how would you evaluate a streaming speech output stage like this?
- In an AI-assisted coding round you may use any assistant. It produces a plausible solution that passes the example but mishandles an edge case you have not yet noticed. Talk us through how you would work in this round and what you think the interviewer is scoring.
- Your corpus is 2 million pages of scanned reports full of charts and tables. Compare an OCR-and-chunk text pipeline with retrieving page images using a ColPali-style vision-language retriever: quality, index size, latency and how you would evaluate the choice.
- Your team retrieves candidates for a 50-million-item video catalogue with a two-tower model and ANN search. A research group proposes replacing it with generative retrieval over semantic IDs, as YouTube (PLUM) and Spotify (GLIDE) have deployed. How would you build the semantic IDs, serve the model within the retrieval latency budget, and decide whether to ship it?
- Meta trains one LLM-scale ads foundation model (GEM) but serves hundreds of smaller vertical models under tight latency budgets. Design the knowledge-transfer path from a large recommendation foundation model to a production ranker, and explain how you would know the transfer is actually working.
- Your GRPO run generates rollouts with a fast inference engine and computes gradients in a separate FSDP trainer, partly asynchronously. Reward climbs for a few hundred steps and then training collapses, although the same weights are loaded in both places. Explain training–inference mismatch, how you would confirm it is the cause, and what you would change.
- You must serve a DeepSeek-style mixture-of-experts model (hundreds of billions of parameters, 256 routed experts, MLA attention) for an agentic coding product. Explain why the large public deployments since 2025 use disaggregated prefill and decode with wide expert parallelism and data-parallel attention rather than tensor parallelism, and what new failure modes this design introduces.
- Anthropic’s September 2025 postmortem described routing, configuration and compiler bugs that degraded answer quality for weeks without raising error rates. Design the monitoring that would catch a model that is up but subtly wrong in your own serving stack.
- You are asked to move a pretraining run from FP8 to NVFP4 on Blackwell GPUs. Explain the NVFP4 format, what can go wrong numerically, and the recipe changes and monitoring you would put in place.
- Qwen3.5-397B-A17B activates 10 of 512 routed experts plus one shared expert per token. Compared with Mixtral-style 2-of-8 routing, what do fine-grained and shared experts buy you, what do they cost in training and serving, and how does DeepSeek-V3’s auxiliary-loss-free load balancing work?
- Compare Native Sparse Attention, DeepSeek Sparse Attention and DeepSeek-V4’s compressed attention. What does each select or compress, what does it cost, how is it trained, and why do these methods train sparsity in rather than applying it to a finished dense model?
- 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?
- GRPO normalises rewards within a group by subtracting the mean and dividing by the standard deviation. For binary rewards with pass rate p on a prompt, derive the advantages of correct and incorrect samples, the total advantage magnitude per prompt with and without the std division, and explain the difficulty bias that Dr. GRPO identified.
- Gemini Robotics 1.5 has its VLA write natural-language reasoning before it acts and transfers skills across different robot bodies. What does explicit reasoning buy a VLA, what does it cost at control rates, and how would you evaluate the cross-embodiment claim?
- Google’s VaultGemma (2025) was trained from scratch with sequence-level differential privacy at ε ≤ 2 and ended up roughly as capable as GPT-2 1.5B. Explain what ‘sequence-level’ protects and what it does not, why DP scaling laws favour smaller models with larger batches, and when you would use DP training rather than deduplication and PII filtering for a model fine-tuned on customer messages.
- Your CV lists a GRPO fine-tune of a small Qwen model that raised maths accuracy. Defend the result: what was the baseline, how do you know the base model could not already do this with a better prompt, and how did you rule out length bias and reward hacking?
- A 2025 Google DeepMind paper (LIMIT) argues that single-vector embedding retrieval has a ceiling set by the embedding dimension. Explain the claim, what the LIMIT experiments showed for dense models, BM25, multi-vector models and rerankers, and what you would change in a production retrieval stack because of it.
- Kuaishou’s OneRec replaced the retrieve-then-rank cascade with one generative encoder–decoder, aligned through a reward model and reinforcement learning, and reported operating cost at about a tenth of the cascade. Make the case for and against end-to-end generative recommendation, and say how you would test the idea at a company that runs a mature cascade today.
- Yue et al. (2025) report that RLVR-trained models beat their base models at pass@1 but lose to them at large k, while NVIDIA’s ProRL claims prolonged RL does widen the reasoning boundary. You have an RLVR checkpoint and its base model. Design the experiment that would tell you whether your run expanded what the model can solve or only sharpened what it could already sample.
- A paper reports that a new RL method lifts a 7B model from 40% to 46% on AIME 2024. Using what the 2025 ‘sober look’ re-evaluation of reasoning results found, critique the claim and list exactly what you would need to see before believing it.
- METR’s 2026 frontier risk report found that at least 16% of successful runs on its longest agent tasks were illegitimate on review. You are about to publish your agent’s success rate on a long-horizon software benchmark. Design the audit that makes the number trustworthy.
- AlphaEvolve improved known results on about a fifth of 50-plus open maths problems, and an automated ‘AI Scientist’ paper passed first-round review at a conference workshop. For your proposed research agenda, which parts would you hand to automated search or research agents, which would you keep, and how would you validate what they produce?
- In Anthropic’s 2025 agentic-misalignment scenarios, Claude Opus 4 chose blackmail far more often when its reasoning said the situation was real than when it said it was a test. Design an evaluation of scheming or sabotage propensity that still tells you something when the model may recognise it is being evaluated.
- A 2025 position paper from researchers across the major labs and the UK AI Security Institute called chain-of-thought monitorability a ‘new and fragile opportunity’. What makes it fragile, which training decisions would you avoid or measure, and how would you quantify monitorability?
- 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.
- Qwen3-Next and Qwen3.5 follow every three Gated DeltaNet (linear-attention) layers with one gated full-attention layer. What does a linear-attention layer keep instead of a KV cache, what is it bad at, and why ship a 3:1 hybrid rather than a fully linear model?
- The NeurIPS 2025 best paper on gated attention adds a head-specific sigmoid gate after scaled dot-product attention. Where exactly does the gate sit, why could such a small change stabilise training and remove attention sinks, and how would you test it on your own model?
- 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?
- 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?
- You need to solve Ax = b for a large matrix. Why is forming A⁻¹ explicitly usually a bad idea, and what would you do for a dense matrix, a symmetric positive-definite matrix, and a very large sparse matrix?
- Define linear independence and matrix rank. If a fine-tuning update to a d×d weight matrix is constrained to rank r, how many parameters does it use, and what does that constraint assume about the update?
- State the SVD, relate it to the eigen-decomposition of AᵀA, and explain why truncating it gives the best low-rank approximation.
- 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.
- 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.
- 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?
- Show that L2-regularised linear regression is MAP estimation under a particular prior. Which prior gives L1? What does the regularisation strength correspond to?
- Why does L1 regularisation push weights exactly to zero while L2 only shrinks them? Give a geometric and a gradient-based explanation.
- 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?
- 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.
- What is a probability density function, how does it differ from a probability mass function and a CDF, and can a density exceed 1?
- For X ~ N(0, σ²), compute E[X²] and E[eˣ] and explain your technique. Then state the change-of-variables formula for densities and where it appears in ML.
- 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.
- 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?
- Compare SGD, SGD with momentum and Adam. Why was AdamW introduced, and which settings (schedule, warmup, β values) matter most when training large models?
- 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?
- 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.
- 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?
- 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?
- 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?
- 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?
- What does a Bayesian network encode, how do you read conditional independences off the graph, and how does “explaining away” arise?
- Compare VAEs, GANs and diffusion models on training objective, sample quality, mode coverage, likelihood evaluation and sampling speed.
- Which inductive biases does a convolution build in, and what changes with a vision transformer? When would you expect each to win, including on-device?
- Your dataset is dominated by common, easy cases, and the events you care most about are rare (for example, near-misses in driving logs). How do you train and evaluate so the model handles the rare cases?
- 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.
- Why are attention logits divided by the square root of the key dimension, and what happens to training if you drop it?
- 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.
- 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)?
- 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?
- 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.
- 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?
- 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.
- 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.
- 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?
- 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?
- 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.
- 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?
- 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.
- Derive the REINFORCE policy-gradient estimator, explain why it has high variance, and show why subtracting a baseline reduces variance without adding bias.
- 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.
- When would you choose a value-based method (the Q-learning family) over a policy-gradient or actor-critic method? Discuss on-policy vs off-policy learning and sample efficiency.
- A driving policy trained by imitation looks excellent on held-out logs but fails on the road. Why can that happen, and how would you evaluate and fix it?
- 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?
- If high-quality text stops growing, what happens to scaling, and which research directions could keep capability improving?
- 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?
- A new model improves the overall benchmark, but you suspect it is worse on rare safety-critical scenarios. How do you find out with confidence?
- Your method beats the baseline by 0.8 points on a benchmark. What would you need to see before believing the improvement is real?
- 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?
- What is superposition in neural networks, why does it make neurons hard to interpret, and how do sparse autoencoders try to recover interpretable features? How would you check that a learned feature is genuinely meaningful?
- How could you tell experimentally whether a model is deliberately giving a misleading answer rather than simply being mistaken?
- Suppose a model behaves better when it can tell it is being evaluated. How would you detect this, and what would you change about your evaluations?
- Does a model’s written chain of thought reflect the computation that actually produced its answer? Design experiments to test faithfulness.
- Explain how training a model against a written set of principles using AI-generated feedback works. Then give the strongest critique of the approach and how you would test it.
- You discover a model can reproduce sensitive snippets from its training data. How do you measure the extent of the problem, and what do you do about it?
- Define hallucination in language models, propose a way to measure it, and outline approaches for reducing it.
- How would you supervise a model on tasks where it may know more than its human evaluators? Discuss at least two proposals and how you would test whether they work.
- 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.
- An interviewer outside your specialism describes an open problem in their area. Ask clarifying questions and sketch how you would attack it over a few months.
- If you joined this team, what would you work on in your first year, and why is it the right problem now?
- 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?
- Which recent paper changed how you think, and what is its biggest weakness?
- You claim your method improves results. How was it validated, and what evidence would convince a sceptical domain expert, such as a chemist or biologist?
- You suspect a training change improves long-context reasoning, but you only have compute for a handful of small runs. Design the experiment.
- Design a system that makes a language model much better at solving maths problems. Cover data, training stages and evaluation.
- Design a model to detect policy-violating images and videos at scale. Begin with how you would evaluate it.
- Design a retrieval-augmented generation system that serves many enterprise customers, each with private documents. How do you guarantee isolation and good answer quality?
- Design the serving stack for a large multimodal assistant used by millions of people. Where are the bottlenecks?
- How would you use implicit user feedback (clicks, edits, thumbs) to improve a recommendation or assistant model, and what biases does that feedback carry?
- 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.
- 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.
- 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.
- Why do you want to work here specifically, rather than at another frontier lab or in academia?
- 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?
- 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?
- Tell me about a technical disagreement with a colleague or manager. How was it resolved?
- Describe a time you had to choose between moving fast and being careful about safety, security or correctness. How did you decide?
- Tell me about a time your results contradicted your hypothesis, or you received hard negative feedback. What did you do next?
- Large research teams move fast and share credit. Give an example of helping a team succeed where your individual contribution was less visible.
No question matches these filters.