Skip to content

When checking the answer means learning the question

Contents
  1. The easy case
  2. Solving problems no one knows about
  3. Why this is not really P versus NP
  4. What the skeptic wants
  5. A new way to think about the cost of AI research
  6. Notes

If I can spot a good answer, I'm happy to ask a thousand agents to test a thousand ideas. That's a good use of compute. But what happens when I don't even know what I'm asking for?

The reason most people are excited about parallel agents is the asymmetry of cheap verification. An answer is hard and expensive to create, but easy to verify. If this asymmetry holds, you can create lots of guesses and discard any that fail. My goal in this essay is to explore what happens when the assumption doesn't work. I want to focus on one case I expect to appear more and more often as AIs get better at doing research. You stumble across a problem you didn't know about. You think you've fixed it and want to be believed.

The easy case

Let's begin with the case that works. You know something's not working: either you've got a broken test suite, or a testable bug, or a proof that has to be checked. You know how to verify answers quickly and without error: run tests, build code, send proofs to a checker. The tricky step is generating answers. And generating answers is something you can parallelize. Ask a thousand agents to each try their own thing. Your checker can winnow the list in seconds.

The economics are easy in that case. Basically, an accepted answer costs you the compute you expended generating candidates plus an effectively constant amount per check. So feel free to blow all the compute you want generating guesses. Your constant cost guarantees you truth. Much of the impressive stuff about creating huge numbers of attempts comes from this sort of case. I don't want to downplay its importance. If verification is inexpensive, brute force will work.

Implicit in this story is that the verifier has specified what's correct ahead of time, in a form that the machine can use. That assumption is sneakier than it seems.

Solving problems no one knows about

Suppose a machine finds a bug in some system everyone thinks they understand. It suggests a fix for the bug. The fix succeeds on all the tests we already perform. So did the previous system. How would we know things had improved? We'd need to reproduce the bug, or have a theory that would lead us to expect one. Creating either would be most of the work involved in deriving the fix ourselves.

Note how much this reverses the asymmetry. The tests we already had were designed to test for the bugs we already knew about. By construction, they're silent about this bug. That the fix passes them just means it hasn't broken anything we were testing for. It says nothing about whether the fix solves the bug it claims to solve, or whether the bug existed in the first place.

We can't verify that this claim is correct until we understand it enough to test it. Understanding a claim enough to test it is most of what discovering it consists of. Verification used to cost us a cheap canned test. Now it costs something more like the research itself.1

Why this is not really P versus NP

I first approached this problem through the lens of P versus NP, but there's an important difference. In the formal case, you start with a defined problem and know how to test a certificate. In my case, the reviewer is still working to determine what the claim is. Though a machine-generated description can be elegant, there is a distinction between reading it and understanding it.2

In the formal problem, you decide on the problem statement ahead of time and a certificate passes or fails. Everyone knows what they're testing. In the research problem, part of what the machine is suggesting is the problem statement itself. What the machine is really saying is "here is a thing you hadn't noticed, here is why it matters, and here is how to fix it." Each one of these is something the reviewer must test. Only the last one is analogous to a certificate.

Explanations are a dangerously lazy route. When you explain a failure mode in a clear and confident way, it seems like you understand it. If a reviewer reads your explanation, they are often quite capable of summarizing it aloud. But they won't be able to predict what the system will do in cases the explanation didn't cover. If you understand something, it means you could have discovered it yourself given only the explanation. And now you can discover its neighbors.

What the skeptic wants

If verification is going to be the costly part, we should try to specify what would reduce costs. In my role as a skeptical reviewer of one of a machine's discoveries, I'd want the following, more or less in decreasing order of effort saved:

  • A reproduction. Something that makes it so you can trigger this failure at will in a controlled setting. This is the most convincing thing, because it lets you observe the old system failing and the new one not.
  • A mechanism. An explanation that predicts something I've never seen before. If all your mechanism does is explain the thing it was trained on, you're just telling a story. If it predicts something new, you're modeling.
  • A boundary. Where does this fix not apply? You can trust a fix that tells you exactly where it stops working more than one that claims to work everywhere.
  • A cheap first experiment. Something I can run in an afternoon that would give a different result if the claim were wrong. This is what turns the reviewer from a passive reader into a participant.

Notice these are not the fix. They're all things you need in order to make the fix verifiable by someone who didn't generate it. This is where the real work lies (which is why it's tempting to ignore them when the fix itself looks good).

A new way to think about the cost of AI research

When counting the compute to produce some answer, you're not counting the effort to make that answer accessible to other people. Sometimes that expensive thing is a first experiment for a skeptic to run.

Some implications of all this, at least if you want to design systems of research agents the way I do:

  • Don't just ask for patches. When an agent says it has found a bug, we should reward it for delivering something that reliably reproduces the bug, separately from delivering a patch.
  • Account for verification. If you're going to do this, you should plan for it and include it in your budget, rather than assuming it's an extra cost someone will pick up later.
  • Involve the skeptic early. A reviewer who receives a reproduction before a patch is in a much better position than one who is presented with a fully baked argument.

Caveat: of course there will be instances where we go ahead with patches we don't fully understand, where the evidence that they work is solid and the cost of waiting is too great. We've been doing this forever in medicine. Sometimes it's fine. What I'm worried about is doing it without realizing it, because we're confusing an accidental green check with knowledge of failures we never tested for.3

If you have a thousand agents generating answers, you'll get lots and lots of them. Increasingly, the scarce commodity is an experiment that lets someone else believe one.

Notes

  1. 1

    I'm not claiming that no machine-made result can be verified. There will still be a lot of valuable stuff that can be. But the stuff that teaches us new things will disproportionately be the kind that can't. Back to the text

  2. 2

    NP is, informally, the class of problems for which it's easy to check whether a solution is correct, even if a solution may not be easy to find. I'm not drawing an analogy to the formal concept or its status, just to this asymmetry between finding and checking. Back to the text

  3. 3

    There's another easy trap here. Once you agree to a patch, it becomes easy to forget about the original bug. And that means it's hard to notice later when the patch hasn't been sufficient. Leaving the reproduction around as a continual test is one way to avoid that. Back to the text