Contents
Key concepts
Choosing problems (research taste)
A good problem is important if solved, plausibly tractable now, and suited to your comparative advantage, such as data, tooling or insight others lack. Ask why it is solvable now (new scale, data, or tool), what the first experiment would be that could kill the idea within a week, and whether the approach gets better with more compute and data rather than relying on hand-built structure. AlphaEvolve-style results add a new test: if candidate solutions can be scored automatically, an LLM-guided search may do the exploration, so decide what you add beyond writing the evaluator. Strong candidates name a concrete first-year agenda with milestones and explain what they would stop doing.
Experiments that discriminate between hypotheses
Write the hypothesis and the result that would falsify it before running anything. Tune baselines with the same budget as your method; run ablations that remove one component at a time so the source of the gain is identified; control confounders such as data volume, training tokens and compute. Lipton and Steinhardt’s critique of ML scholarship, covering speculation presented as explanation, gains without ablations, mathiness and overloaded terminology, doubles as a checklist for critiquing a paper.
Statistics for evaluations
A benchmark score is a sample mean, so report a standard error: sqrt(p(1−p)/n) for accuracy. Compare models on the same questions with a paired test, since the per-question differences have far lower variance than two independent scores; cluster standard errors when questions come in groups (several questions per passage). Add seed-to-seed variance from training, and do a power calculation before claiming that a sub-point gain is real. Reasoning benchmarks make this acute: AIME has 30 problems a year, so one problem is 3.3 points, and a 2025 re-evaluation found that many claimed RL gains shrank to modest ones once seeds, decoding parameters, prompts and hardware were held fixed.
Leakage and contamination
Kapoor and Narayanan catalogue leakage in ML-based science: no clean train/test split, features that encode the label, preprocessing fitted on test data, temporal leakage, and duplicates across splits. For LLMs add benchmark contamination in pretraining data and test-set tuning through repeated evaluation. Defences: time-based splits, deduplication (n-gram or embedding), canary strings, held-out private sets, and checking whether the model can reproduce test items verbatim. Leaderboards leak too: The Leaderboard Illusion found Chatbot Arena let some providers test many private variants (27 before Llama 4) and publish only the best, and METR now finds agents that pass by exploiting the grader, so ask how many variants were tried and whether each success was legitimate.
Flow · 5 stepsHow a benchmark claim survives leakage and contamination
- Reported result A reported benchmark claim enters the audit.
- Name the leakage Name the leakage sources: splits, label features, preprocessing, temporal leakage, duplicates, pretraining contamination and repeated test-set tuning.
- Apply defences Apply time-based splits, deduplication, canary strings, held-out private sets and verbatim-reproduction checks.
- Check the grader Ask how many variants were tried and whether each success was legitimate.
- Survives the audit The claim survives the leakage audit; paired error bars, seeds and power still decide whether it is credible.
Data
| Step | Title | What happens |
|---|---|---|
| 1 | Reported result | A reported benchmark claim enters the audit. |
| 2 | Name the leakage | Name the leakage sources: splits, label features, preprocessing, temporal leakage, duplicates, pretraining contamination and repeated test-set tuning. |
| 3 | Apply defences | Apply time-based splits, deduplication, canary strings, held-out private sets and verbatim-reproduction checks. |
| 4 | Check the grader | Ask how many variants were tried and whether each success was legitimate. |
| 5 | Survives the audit | The claim survives the leakage audit; paired error bars, seeds and power still decide whether it is credible. |
Source: This page's text
| Box | Group | Detail |
|---|---|---|
| Reported benchmark claim | Claim | benchmark score |
| Leakage sources | Leakage audit | splits, preprocessing, pretraining contamination |
| Defences | Defences | time-based splits, dedup, canary strings |
| Grader check | Leakage audit | variants tried, legitimate successes |
| Survives leakage audit | Verdict | leakage audit only |
Source: This page's text
Reproducibility and determinism
To rebuild a model you need the code commit, the exact data snapshot and preprocessing, config and hyperparameters, seeds, library, driver and hardware versions, the base checkpoint, and the evaluation harness version; a model registry stores the artefact with this lineage, its metrics and its stage. Bitwise determinism also requires deterministic kernels (PyTorch’s use_deterministic_algorithms), fixed data order and worker seeding, and the same batch composition, because floating-point addition is not associative.
Stack · 5 layersWhat must be pinned to rebuild and reproduce a model
A model registry stores the artefact with this lineage, its metrics and its stage.
Rebuilding a model needs the code commit, the exact data snapshot and preprocessing, config and hyperparameters, the base checkpoint and the evaluation harness version.
You also need seeds, library, driver and hardware versions.
Bitwise determinism also requires deterministic kernels, fixed data order and worker seeding, and the same batch composition.
Greedy decoding is deterministic only if the logits are bit-identical; batch-invariant kernels remove this at some throughput cost.
Why temperature 0 is not deterministic in serving
Greedy decoding is deterministic only if the logits are bit-identical. In a serving engine the batch a request lands in depends on load, and many kernels (matmul split strategies, attention split over the KV dimension, normalisation reductions) change their reduction order with batch size. Tiny numerical differences flip near-tied argmaxes, and autoregression amplifies one flipped token into a different answer. Thinking Machines showed that batch-invariant kernels remove this at some throughput cost.
Flow · 4 stepsHow temperature 0 outputs differ in serving
- Request under load The same prompt is served at temperature 0; the batch it lands in depends on load.
- Reduction order changes Matmul split strategies, attention split over the KV dimension and normalisation reductions change with batch size, so logits differ in the last bits.
- Flip and amplify Tiny numerical differences flip near-tied argmaxes; autoregression amplifies one flipped token into a different answer.
- Remove the dependence Batch-invariant kernels or batch size 1 remove this at some throughput cost.
Data
| Step | Title | What happens |
|---|---|---|
| 1 | Request under load | The same prompt is served at temperature 0; the batch it lands in depends on load. |
| 2 | Reduction order changes | Matmul split strategies, attention split over the KV dimension and normalisation reductions change with batch size, so logits differ in the last bits. |
| 3 | Flip and amplify | Tiny numerical differences flip near-tied argmaxes; autoregression amplifies one flipped token into a different answer. |
| 4 | Remove the dependence | Batch-invariant kernels or batch size 1 remove this at some throughput cost. |
Source: This page's text
| Box | Group | Detail |
|---|---|---|
| Same prompt, temperature 0 | Input | greedy decoding |
| Serving load | Input | request lands in a batch |
| Batch composition | Compute | depends on load |
| Kernel reduction order | Compute | matmul, attention, normalisation |
| Logits differ in last bits | Compute | tiny numerical differences |
| Near-tied argmax flips | Compute | one token differs |
| Different answer | Output | autoregression amplifies the flip |
| Batch-invariant kernels | Mitigation | or batch size 1, at throughput cost |
Source: This page's text
Reading, critiquing and extending a paper
In two minutes state the problem, the claimed contribution and the key evidence. Then probe whether baselines were equally tuned, whether the gain survives seeds and other datasets, whether compute and data were matched, what the ablations isolate, and which result would change your mind. End with the next experiment: the cheapest test of the claim’s weakest assumption.
Communicating research
A good talk conveys one idea and why it matters, with an example before the general case, and keeps detail for questions. In interviews expect interruptions about design choices, failed experiments and what you would do differently; answer directly, name the evidence and its limits, and separate what you showed from what you believe. Failure stories should show how you noticed, what you salvaged and what changed in your process.
Worked examples
Is a 0.8-point benchmark gain real?
On a 1,000-question benchmark the baseline scores 72.0% and your method 72.8%. The two models disagree on 60 questions: yours is right and the baseline wrong on 34, and the reverse on 26. Is the gain significant? How many questions would you need to detect 0.8 points with 80% power?
1. Naive unpaired view. SE of one score = sqrt(0.72 × 0.28 / 1000) = sqrt(0.0002016) = 1.42 pp. SE of a difference of two independent scores ≈ sqrt(2) × 1.42 = 2.0 pp, so the 95% interval is about ±3.9 pp. A 0.8 pp gain is far inside the noise.
2. Paired view (correct here). Per question, d = +1 on 34, −1 on 26 and 0 on 940. Mean d = 8/1000 = 0.008. E[d²] = 60/1000 = 0.06, so Var(d) = 0.06 − 0.008² = 0.05994. SE = sqrt(0.05994 / 1000) = 0.0077, or 0.77 pp. z = 0.8 / 0.77 = 1.03, two-sided p ≈ 0.30. McNemar’s test agrees: (34 − 26)² / (34 + 26) = 64/60 = 1.07, p ≈ 0.30.
3. Power. To detect 0.8 pp at α = 0.05 with 80% power, you need SE ≈ 0.8 / (1.96 + 0.84) = 0.286 pp. With the same 6% disagreement rate, SE = sqrt(0.06 / n), so n = 0.06 / 0.00286² ≈ 7,350 questions.
4. Training noise. If seed-to-seed SD of the score is 0.5 pp, three seeds per arm give an SE of the difference of means = 0.5 × sqrt(2/3) = 0.41 pp from seeds alone, comparable to the effect itself.
Verdict: not yet credible. Report the paired CI, run 3–5 seeds per arm, test on a second benchmark or a larger pool, and check the gain is not concentrated in one subset or caused by contamination.
Explain why temperature-0 answers differ
A stakeholder sees two different answers to the same prompt at temperature 0 from your self-hosted endpoint. Explain the mechanism with numbers and propose what to do.
1. Floating-point addition is not associative. In float64, (0.1 + 0.2) + 0.3 = 0.6000000000000001, but 0.1 + (0.2 + 0.3) = 0.6. GPU reductions over thousands of terms inherit this: a different summation order gives slightly different results.
2. Reduction order depends on the batch. Under load the same request is batched with different numbers of other requests. Matmul tiling or split-K choices, attention kernels that split the KV dimension, and normalisation reductions can all change strategy with batch size, so the same prompt’s logits differ in the last bits.
3. Low precision magnifies near-ties. Suppose two candidate tokens have logits 20.03 and 19.97. In bf16 (8 significant bits), numbers between 16 and 32 are spaced 0.125 apart, so both round to exactly 20.0: the winner is decided by rounding noise. A difference of 0.06 is easily within the run-to-run noise of a long bf16 computation.
4. Autoregression amplifies it. Once one token differs, every later token is conditioned on a different prefix, so a single flip early on yields a visibly different answer.
5. What to do. (a) If bitwise reproducibility is a hard requirement (audit or regression tests), run batch-invariant kernels or batch size 1 with deterministic settings, and pin model, engine, driver and hardware versions. (b) Otherwise design for variability: store the exact output served for audit, cache responses keyed on the prompt, and evaluate quality as a distribution over several samples rather than a single golden string. (c) Hosted APIs add further sources (model updates, routing across hardware), so do not promise determinism you do not control.
Design a long-context experiment on a small compute budget
You think a training change improves long-context reasoning. You have 64 H100 GPU-hours. Design an experiment that could convince a sceptic.
1. Pre-register. Hypothesis: the change raises accuracy on synthetic multi-hop retrieval at 16k tokens and on a natural long-document QA set, without hurting short-context perplexity. Name the primary metric, the decision threshold and the stopping rule before training.
2. Cost one run with C ≈ 6ND. A 150M-parameter model on 3B tokens (20 tokens per parameter): 6 × 1.5e8 × 3e9 = 2.7e18 FLOPs. An H100 gives about 989 TFLOP/s dense bf16; at 40% utilisation that is 3.96e14 FLOP/s, so one run ≈ 6,800 s ≈ 1.9 GPU-hours.
3. Allocate the budget.
- Small scale: 2 arms × 3 seeds × 1.9 h = 11.4 h. Seeds give the noise floor.
- Trend check: a 400M model on 8B tokens costs 6 × 4e8 × 8e9 = 1.9e19 FLOPs ≈ 13.5 h; 2 arms × 1 seed = 27 h. If the gap grows or holds from 150M to 400M, the result is more likely to transfer.
- Reserve about 25 h for evaluation, one rerun and one ablation that removes the key component.
- Total ≈ 11.4 + 27 + 25 ≈ 63 h.
4. Control confounders. Same data order, tokens, optimiser, schedule and context length in both arms; only the change differs. Report paired, per-length accuracy curves (4k, 8k, 16k) with seed intervals.
5. Interpretation. Claim an effect only if it exceeds the seed spread at 150M and does not shrink at 400M. Say plainly that extrapolating to production scale remains a hypothesis.
What changed recently
Agents game evaluations at scale (METR frontier risk report)
In a pilot with Anthropic, Google, Meta and OpenAI, METR reported that agents often cheated on its hardest tasks, that at least 16% of successful runs on Time Horizon tasks longer than eight hours were illegitimate on review, and that checking for cheating was often most of the evaluation work. It links the behaviour to RL with automated graders. Research interviews now expect you to treat an agent benchmark score as a claim that needs auditing, not a number to quote.
Peer review under strain from LLMs (ICLR 2026 retrospective)
ICLR’s retrospective on 19,525 submissions and 76,139 reviews describes running two LLM-text detectors on every review and alerting area chairs, desk-rejecting papers with confirmed hallucinated references, and recovering from an OpenReview flaw that exposed reviewer identities mid-discussion. Disclosure of any LLM use was mandatory. Interviewers ask how you use AI assistance responsibly when reviewing and how you verify your own citations and claims.
End-to-end automated AI research published in Nature
The AI Scientist paper describes a system that proposes ideas, writes code, runs experiments, writes the manuscript and reviews it; one generated paper passed first-round review at a major ML conference workshop with a 70% acceptance rate. The authors themselves flag the risk of overloading review systems and adding noise to the literature. Expect to discuss what such systems can validate, where they fail, and how you would check an automatically produced result.
Natural-language IMO gold for Gemini Deep Think
An advanced Gemini Deep Think scored 35 of 42 at IMO 2025, solving five of six problems end to end in natural language within the 4.5-hour limit, with results graded and certified by IMO coordinators. In 2024 AlphaProof and AlphaGeometry reached silver only after experts translated problems into Lean and the systems ran for days. It is the standard example when interviewers ask how far reasoning models have come and what makes such a claim credible (independent grading, fixed time limits).
AlphaEvolve: LLM-guided search with automatic evaluators
DeepMind’s AlphaEvolve pairs Gemini models with automated evaluators in an evolutionary loop. It found a 48-multiplication algorithm for 4x4 complex matrices, improved the best known solution on about 20% of more than 50 open maths problems, and produced a scheduling heuristic recovering about 0.7% of Google’s worldwide compute. The lesson for research taste is that any problem with a cheap, trustworthy scorer is now open to automated search.
Pitfalls
- Comparing two scores on the same benchmark as if they were independent samples, which throws away the paired structure and misstates significance.
- Tuning your method more than the baseline, or choosing the best of many seeds or checkpoints and reporting it as the result.
- Claiming a mechanism (‘the model learns to plan’) when the experiment only shows a metric moved; label speculation as speculation.
- Believing a fixed random seed guarantees reproducibility while ignoring nondeterministic kernels, data-loader workers, batch composition and library versions.
- Ignoring contamination or leakage, for example preprocessing statistics fitted on the full dataset or test items present in pretraining data, or quoting an agent benchmark’s success rate without checking how many successes came from gaming the grader.
- In a research talk, defending every choice instead of acknowledging limitations and saying what you would do differently.
How interviewers probe it
- You are sent a recent paper: summarise it in two minutes, attack its evidence, and propose the next experiment.
- Here is a 0.8-point gain: what would you need to see before believing it? Expect follow-ups on paired tests, seeds and contamination.
- Design an experiment with only a handful of small runs, and explain how you would argue that the result transfers to scale.
- What would you work on in your first year here and why now? Interviewers probe prioritisation, risk and how you would know you were wrong, and increasingly which parts you would hand to automated search or AI research agents and how you would check their output.
- Tell me about a research idea that failed: how you noticed, what you salvaged and what you changed.
- Applied variant: outputs differ at temperature 0, or a model must be rebuilt six months later; what exactly do you version and pin?
Quiz
Three questions from this guide. Answer each in your head or out loud, show the model answer, then rate yourself. The cards join your practice deck and come back when they are due.
Your method beats the baseline by 0.8 points on a benchmark. What would you need to see before believing the improvement is real?
Model answer, written in a candidate's voice
- Treat 0.8 points as a hypothesis, not a result.
- Repeat across seeds/runs; report mean, confidence intervals, and a paired test.
- Give the baseline the same tuning budget, compute, and early stopping.
- Ablate the component and use matched controls to isolate the gain.
- Audit for leakage, contamination, and test-set-driven tuning.
- Check several datasets including out-of-distribution ones; compare effect size to noise floor.
You suspect a training change improves long-context reasoning, but you only have compute for a handful of small runs. Design the experiment.
Model answer, written in a candidate's voice
- Hypothesis: the change improves long-context reasoning, not just training loss; metric: held-out long-context multi-hop accuracy vs context length, with a short-context control.
- Small proxy runs at 2-3 model sizes, same data and token budget, baseline vs changed recipe, with 2-3 seeds if compute allows.
- Matched-compute controls: equal FLOPs/tokens/steps and identical evaluation, reported as compute-normalised curves rather than raw loss.
- Trend argument: require the same direction across sizes, not one lucky run; treat the result as a screen, not proof.
- Isolation: held-out long-context eval, fixed prompts/decoding, no eval leakage, plus short-context/perplexity controls to rule out generic improvement.
- Pre-registered decision and falsification: thresholds, minimum size/seed consistency, and stop rules fixed before seeing results.
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.
Model answer, written in a candidate's voice
- One-sentence contribution: state the claim plainly without inventing numbers.
- Method in own words: data, objective, training/evaluation pipeline, and what is held fixed.
- Evidence check: baselines, compute matching, seeds, contamination, ablations, and metric sensitivity.
- Alternative explanations: leakage, tuning, scale/compute confounds, and metric artefacts.
- Follow-up experiment: concrete design and predicted outcome.
- Team link: connect to our work and the decision it informs.
- Honesty: flag what is not verified from memory.
You have finished this topic.
Reading
- You and Your Research (Richard Hamming)The classic talk on choosing important problems and working on them well.
- How to give a great research talk (Simon Peyton Jones et al.)Slides and video on structuring a talk around one idea with examples first.
- Troubling Trends in Machine Learning ScholarshipA checklist of common weaknesses to look for when critiquing papers, including your own.
- Adding Error Bars to Evals: A Statistical Approach to Language Model EvaluationsPractical formulas for standard errors, paired comparisons, clustering and power in LLM evals.
- A Sober Look at Progress in Language Model Reasoning: Pitfalls and Paths to ReproducibilityA 2025 case study in critique: re-runs reasoning claims under one harness and shows how seeds, decoding and small benchmarks inflate RL gains.
- Leakage and the Reproducibility Crisis in ML-based ScienceA taxonomy of data leakage with a checklist you can apply to any evaluation.
- Reproducibility (PyTorch notes)The concrete switches for seeds, deterministic algorithms and data-loader workers.
- Defeating Nondeterminism in LLM InferenceExplains batch-dependent reduction order as the real cause of temperature-0 variation, and the fix.
Practise this topic
- Your method beats the baseline by 0.8 points on a benchmark. What would you need to see before believing the improvement is real?
- You suspect a training change improves long-context reasoning, but you only have compute for a handful of small runs. Design the experiment.
- 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.
- 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.
- 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?
- 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?
- 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.
- What must you version to reproduce a model six months later, and what does a model registry store?