Jacob Steinhardt — Research as a Stochastic Decision Process
TL;DR. Jacob Steinhardt (now at UC Berkeley) describes the process that took him from more than a year of little research progress to finishing a project about every four months. A project has several uncertain parts that must all succeed. The natural plan, easiest parts first, wastes time when the hard part turns out to be impossible. Instead, order the parts by information per unit time: under a simple model, sort by failure rate log(1/p)/t, where p is the chance a part succeeds and t its duration. Then go further and de-risk each part cheaply before doing it properly: look at a sample of data, build “ceilings” that cheat on a hard component, run baselines. Treat ideas as a branching search tree, and prune whole branches by asking why something failed.
Why it matters now. LLM retrieval projects have many parts that must all work: a corpus, an index, a judge, a training loop, an evaluation. Each is expensive, and any one can sink the project. Academic compute makes a wasted month especially costly. As an adviser, you will see students do the comfortable parts first; this essay gives you a concrete way to reorder their plans, with numbers.
Key idea
Section titled “Key idea”Easiest-first fails. Steinhardt used to do the easy parts first and then hit a fundamental obstacle that forced him to scrap the whole plan. The easy work was wasted. Hardest-first is not right either, because “hard” mixes two things: how likely a part is to fail and how long it takes. You want to front-load failures: first do parts that are likely to fail and quick to check.
Method 1: expected time saved. If a step fails, you skip the later steps. In his Example 2, an easy task succeeds with probability 0.9 in 30 minutes, and a hard task succeeds with probability 0.4 in 4 hours. Doing the easy one first saves 0.1 × 240 = 24 minutes in expectation; doing the hard one first saves 0.6 × 30 = 18. So easy first. But if the hard task took 2 hours, or the easy one succeeded 95% of the time, the answer would flip. The essay says that with K tasks this method needs all K! orders, but that overstates it. Under the independent end-of-task-failure model, doing A then B costs in expectation and B then A costs , so A goes first iff . A shared prefix or suffix contributes the same amount in either order, so adjacent swaps show that sorting by , highest first, is optimal; no factorial search is needed.
Method 2: failure rate. Assume failures arrive at a constant rate while you work (a Poisson process). Then the chance of no failure after time t is exp(−λt) = p, so λ = log(1/p)/t. Sort tasks by λ, highest first. In Example 2, the easy task has λ ≈ 0.0035 per minute and the hard task 0.0038, so the hard task goes first, slightly. The two methods disagree because the first assumes failure is learned at the end and the second that it can appear at any moment. In practice, both are approximations. In his second example (A: 12 h, 90%; B: 2 h, 65%), both methods put B first by a wide margin (rates 0.009 and 0.215).
What the essay says
Section titled “What the essay says”Estimates. He admits the numbers are essentially invented in practice. He uses buckets: about 95% when he expects no unforeseen difficulties, 90% when only bad luck could stop it, 65% when he sees the path and every step should work, 30% for a murky intuition. Time estimates improve within a few weeks if you log estimated and actual times. Break work into pieces of 20 minutes to 2 hours.
De-risking. His example: you must set up a large dataset (slow) and then train a model on it. Rather than set up the whole dataset first, download a few thousand examples, inspect them by hand and compute statistics. That answers much of the question “is this dataset suitable?” for a fraction of the cost.
The general picture. Research is a multi-round game. Each action gives random information and takes random time. You want to maximize the chance of eventual success and minimize expected time. Tooling (scripts, faster systems) complicates this: it speeds up later work, but building it too early produces the wrong tools.
Practical patterns. Ceilings: in a system of three interacting components, replace a hard one with a cheating version (e.g. using test labels). If the system still fails, you saved the effort of building it properly, although the failure can come from other components, the evaluation, or the changed input that the cheat creates, so inspect examples before concluding. Choose what to cheat on by the same information-rate rule; if one component is the main uncertainty, cheat on everything else instead. Baselines give a quick reference point and a sanity check, because complicated methods often do worse than simple baselines. Brute force first when the fast solution is routine work. For theory, look for counterexamples, simplified instances and simulations.
Branching search. Approaches multiply: 10 ways to do each of 3 steps is 1000 combinations, or 30 if the steps can be solved separately. Since steps usually interact, prune at the level of the concept, not the instance. A failed experiment tests one implementation, which he puts at roughly 0.1% of the possible implementations of an idea. He once spent months on approaches that failed for the same reason, though the data to see it existed a couple of weeks in. Now his bottleneck is usually generating ideas, not implementing them.
Standards for ruling out. A feeling that an idea will not work does not rule it out. Pessimism is a reason to try to prove an approach cannot work. The point of ruling ideas out quickly is to make room for low-probability, high-value ideas, not to avoid them.
Limitations & open questions
Section titled “Limitations & open questions”- The probabilities are guesses. The method is only as good as p and t, and both are subjective. Its main value may be forcing you to write them down.
- Two models, two answers. In Example 2, end-of-task discovery and Poisson discovery disagree. Real tasks sit between them.
- Tasks are not independent. The model treats parts as separate bets; in practice, finishing one part changes the probabilities of others.
- Negative results. His skepticism about publishing negative results without causes fits idea exploration; IR reproducibility work, where the implementation is fixed, is a case where a careful failure is informative.
- Open question for a lab: how do you teach students to estimate p honestly when they are invested in their idea? A shared log of predicted and actual outcomes is one answer.
Connections
Section titled “Connections”- Schulman — An Opinionated Guide to ML Research — when to switch problems; Steinhardt’s ruling-out standard complements it.
- Hamming — You and Your Research — choosing a problem with an attack, before ordering the attack.
- BrowseComp-Plus — a fixed-corpus benchmark where oracle (gold-document) and BM25 baseline runs serve as diagnostics for agent performance.
- UMBRELA — LLM relevance judgments: the “does the judge agree with humans?” step to de-risk early.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
A student's project needs three things to work: (A) index a 100M-passage corpus, p = 0.95, 6 h; (B) show that an LLM judge agrees with human relevance labels, p = 0.5, 3 h; (C) show that RL training of a search agent beats the prompted baseline, p = 0.3, 20 h. (a) Compute Steinhardt's failure rate log(1/p)/t for each and give the order. (b) A "ceiling" version of C (give the agent the gold documents) takes 2 h with the same p = 0.3. Where does it go? (c) Why does the order differ from easiest-first?
What a strong answer covers
- (a) A: log(1/0.95)/6 = 0.051/6 ≈ 0.0085 per hour. B: log 2/3 = 0.693/3 ≈ 0.23. C: log(1/0.3)/20 = 1.204/20 ≈ 0.060. Order: B, then C, then A.
- (b) Ceiling C: 1.204/2 ≈ 0.60 per hour, the highest, so it goes first. It tests in 2 hours whether the agent can win when given the gold documents; if not, inspect why (questions, evidence, reasoning, context use or evaluation) before building the hard part.
- (c) Easiest-first would do A (most certain) first, spending 6 hours on the step least likely to reveal a problem. The rate rewards both a high failure chance and a short time.
- Caveats from the essay: his probability buckets (about 95/90/65/30%) are rough, time estimates have about 30% relative error, and the Poisson model is itself an approximation.
- Mechanism
In Steinhardt's Example 2 (easy: 90%, 30 min; hard: 40%, 4 h), the expected-time-saved method says easy first (24 vs 18 minutes saved) but the failure-rate method says hard first (0.0038 vs 0.0035 per minute). Explain what each method assumes about when failure is discovered, why that flips the answer, and which assumption better fits typical ML experiments.
What a strong answer covers
- Expected time saved assumes failure is learned only at the end of a task. Then a long task that fails wastes its whole length, and doing the reliable short task first saves 0.1 × 240 = 24 minutes versus 0.6 × 30 = 18.
- The failure-rate method assumes failure can appear at any minute with constant probability (a Poisson process), so success after t has probability exp(−λt) = p, giving λ = log(1/p)/t.
- Under the Poisson view, a task likely to fail usually fails early, so its expected cost is less than its full length. That favors the hard task slightly.
- ML experiments are mixed: some show failure early (crashes, a loss that does not move), others only at evaluation. Restructuring tasks so that failure shows early, with small runs and sanity checks, is the practical lesson.
- Neither method needs K! orders. Under the independent end-of-task-failure model, a pairwise exchange shows A goes before B iff (1−p_A)/t_A ≥ (1−p_B)/t_B, so sorting by (1−p)/t is enough (the essay overstates this). The Poisson model instead sorts by log(1/p)/t.
- Critique
Steinhardt says one failed experiment tests only a tiny fraction (he estimates about 0.1%) of the possible implementations of an idea, so he is less in favor than most of publishing negative results without insight into the cause. Criticize this position from the point of view of IR, where reproducibility papers and negative results are common and valued.
What a strong answer covers
- His point is about inference: one failed implementation does not refute the concept. A negative result is useful when it explains why (e.g. a failure mode, or a bound), and those are already publishable.
- IR counterpoint: reproducibility studies are not about a new idea but about whether a published claim holds. A careful failure to reproduce is informative because the target implementation is specified.
- Negative results also prevent duplicated effort across labs, which he does not weigh; publication bias toward positive results distorts the field.
- A synthesis: publish a negative result when the implementation space has been narrowed (strong baselines, tuned settings, multiple collections) or a cause is identified; do not publish "we tried X once".
- Design
Use Steinhardt's "de-risk all components, then execute" to plan the first two weeks of a new benchmark project: a fixed-corpus test set for deep-research agents, built from about 1,000 questions, a large web corpus and human relevance judgments. List the de-risking steps, the ceiling and baseline you would build, and the decision you would make at the end of week two.
What a strong answer covers
- Data: as in his example of downloading a few thousand examples first, take a small sample of questions and documents and inspect them by hand. Are answers verifiable? Are supporting documents actually in the corpus?
- Oracle diagnostic (Steinhardt's "ceiling"): give a strong model the gold supporting documents. Failure can implicate questions, evidence, reasoning, context use or evaluation; inspect examples to distinguish these. Gold-only contexts also change the input distribution, so treat the result as a diagnostic, not a guaranteed ceiling.
- Baseline: BM25 plus a simple prompted model. If it already solves most questions, the benchmark will not separate systems.
- Judgments: pilot a small batch with two assessors to estimate agreement and cost per question before committing to all 1,000.
- End of week two: go, change the question source, or stop, decided from the ceiling–baseline gap, assessor agreement and the cost estimate. Then switch from de-risking mode to execution mode.
- What if…
Your RL-trained search agent does no better than the prompted baseline. Three interacting choices could be wrong: the reward (exact match, F1, or an LLM judge), the retriever (BM25, dense, or web search), and the prompt or tool format; each has several variants. Using Steinhardt's branching-search argument, plan which ablations to run and how to prune at the level of concepts, not individual settings.
What a strong answer covers
- Count: with about 10 variants per choice and interacting choices, a grid is around 1000 runs. If the choices factored it would be about 30, so first check whether they interact.
- Use ceilings to isolate each part: an oracle retriever (gold documents) tests the reward and policy alone; a fixed scripted policy tests whether the retriever can find the evidence at all.
- For each failure, ask why at the concept level: e.g. "exact-match reward gives no signal because the agent never produces the answer string". That rules out all exact-match variants, not one.
- Stop rules: hold a high standard for ruling out ("feels unpromising" is not enough), but act on a clear argument immediately. The baseline and oracle results indicate roughly how much room there is, but an oracle is a diagnostic, not a guaranteed upper bound.