Search

Search papers and lessons

AI safety via debate

Geoffrey Irving, Paul Christiano, Dario Amodei · 2018

Irving, Christiano and Amodei propose training AI by letting two agents debate while a judge checks only the disputed step, betting that lying is harder than refuting a lie.

On this page

  • Colour = topic mix
  • Reinforcement learning
  • Discrete math
  • Probability
  • Algorithms
  • Calculus
  • Linear algebra
  • ReadReady to readNot yet

TL;DR

Irving, Christiano and Amodei propose training AI systems through a debate. Two agents take turns making short statements that support opposite answers, and a human judge decides which one told the more true and useful information. The central bet is that in this game it is harder to lie than to refute a lie, so honest play should win even when the judge cannot understand the whole question. The paper gives a theoretical argument, a small machine-learning experiment on MNIST digits, and a prototype human experiment, and it lists the reasons the method could fail.

Builds on: AI Alignment, Self-Play, NP and PSPACE · Leads to: Debate Game

Why it mattered

The paper turned a vague hope into a concrete training protocol. Before it, the usual way to align a system relied on a human rating its answers. That works when a person can judge the answer, and it breaks when the answer is too long, too technical or too clever for a rater to check. Debate was one of the first concrete proposals that treated this problem as a game, with a training signal that comes from the opponent rather than from the rater's full understanding.

The idea sits inside the family of Scalable Oversight methods. It also connects alignment to the self-play methods that produced strong game players. The paper's Section 4.3 makes that link explicit: debate has a natural curriculum, because a weak debater is easy to beat and so pushes its opponent to improve. The same paper argues that debate and the amplification method of Christiano and colleagues are closely related, which made the two lines of work easier to study together.

The experiments are small, a digit classifier and a cat-or-dog prototype, so the lasting contribution is the framing and the list of open questions.

The problem

Suppose a system produces an answer that a human cannot check directly. Reinforcement learning from human feedback then gives the system a reward that reflects how convincing the answer looks to the rater, not whether it is true. The paper calls this the problem of a judge that is weaker than the agent. The paper compares this to complexity theory: just as some problems are harder than P or NP, judging whether an answer is aligned with human preferences can be harder still.

The paper's hope is that a judge who can only evaluate short pieces of a dispute can still settle a long question, provided the two sides are strong enough to reveal the decisive piece. This is a claim about the structure of arguments, which the rest of the paper tests in theory and in small experiments.

How it works

The method has a fixed pipeline. Each stage feeds the next, and the output of the whole pipeline is a winner, which serves as the training signal.

flowchart LR
  Q[Question q and optional context] --> C[Both agents state an answer a0 and a1]
  C --> T[Agents alternate statements s0 to sn-1]
  T --> J[Judge reads the debate and the revealed context]
  J --> W[Judge names the winner, which gives the reward]

Here is a toy instance, invented for illustration, that follows the stages from start to finish.

  1. Input. The question is "Which digit is in this image?" Both agents see the image; the judge does not. Agent Alice claims the digit is 8, and Agent Bob claims 3. Check: the two answers are different, so the game is about one fact.
  2. Statements. The agents take turns revealing evidence. Alice reveals a pixel that is lit in the upper loop of an 8. Bob reveals a pixel that is dark where an 8 would be lit. The judge sees only the revealed pixels. Check: each reveal is a real pixel, so neither side can lie about what it shows.
  3. Judge. The judge is a fixed classifier that scores each claimed label on the revealed pixels. Suppose the score for 8 is 1.2 and the score for 3 is 0.4. Check: the judge ignores the other labels when it compares the two claims.
  4. Output. Alice's claimed label has the higher score, so Alice wins and receives the reward. Check: the judge decided on the revealed evidence alone, without seeing the image.

The paper's real experiment follows the same stages, with a fixed trained judge and a budget of 4 or 6 pixels. The table in the results section shows what happens to the winning rate.

The step that makes the method work is the debate itself. A single line of argument, carried by the strongest agents, is taken as evidence for the whole tree of possible arguments. The paper's vacation example makes the same point: a debate follows one path through the arguments, and it does not need to list every argument for and against each option.

The math

The paper uses notation from computational complexity. Let QQ be a set of questions, AA the answers and SS the statements. A judge is a polynomial-time algorithm HH that reads a statement and outputs one bit, true or false.

Consider a debate of length two, where Alice picks a witness xx and Bob picks a reply yy. Alice wins when the judge accepts for every reply Bob can make. The paper writes this as a logical formula with two quantifiers:

∃x ∀y H(q,x,y)\exists x \, \forall y \, H(q, x, y)

The "exists" over xx is Alice's choice and the "for all" over yy is Bob's reply. Each extra round adds one more alternating quantifier.

Step 1 in symbols: the debate with one round

With a single round, Alice's statement xx is a witness, and the judge checks it with H(q,x)H(q, x). This is the setting of NP questions: a claim that has a short proof the judge can check. Here one agent offers a witness and the judge checks it, which is the case the paper ties to NP.

Step 2 in symbols: alternating rounds

With nn rounds, the formula becomes

∃x0 ∀x1 ∃x2⋯H(q,x0,x1,…)\exists x_0 \, \forall x_1 \, \exists x_2 \cdots H(q, x_0, x_1, \ldots)

with the quantifiers alternating between the two agents. A fixed nn climbs the polynomial hierarchy one level at a time. If nn may grow as a polynomial in the size of qq, the paper shows that the class of questions reached is PSPACE.

Step 3 in symbols: the main theorem

The paper's Theorem 1 says that for any problem LL in PSPACE, there is a polynomial-time judge HH and a number of rounds nn, polynomial in the size of the question, such that optimal play in the debate game decides LL. The result is a statement about what optimal play can reach, not about what a practical machine-learning system can learn.

Step 4 in symbols: the sparse classifier

In the MNIST experiment the judge is a fixed classifier JJ that reads a sparse mask of revealed pixels. Each agent claims a label, and the winner is the one whose claimed label has the higher logit ℓc\ell_c in the judge's output:

winner=arg⁡max⁡c∈{cA,cB}ℓc\text{winner} = \arg\max_{c \in \{c_A, c_B\}} \ell_c

The paper also runs a version without precommitment, where the judge takes the maximum over all ten logits and any incorrect guess counts as a liar's win. The precommitted version is the one that matches the intended protocol.

Results

The main numbers come from the MNIST experiment in Section 3.1 and Table 2.

  • With 6 pixels, the fixed judge alone reaches 59.4 percent accuracy on the MNIST test set. Under debate with precommitment, the honest side wins 88.9 percent on average over who moves first (87.4 percent when the honest player moves first, 90.4 percent when the liar does).
  • With 4 pixels, the judge alone reaches 48.2 percent, and debate with precommitment gives an average honest win rate of 85.2 percent.
  • Without precommitment the numbers are lower: the honest side's mean win rate is 74.4 percent with 6 pixels and 59.7 percent with 4 pixels.
  • The paper reports that precommitment matters, because a liar who cannot change the lie in each branch of the game does much worse.

The human experiment, a single-pixel cat-or-dog debate, is qualitative. The authors built a prototype website for the single-pixel game and leave formal tests of whether honesty wins to future work.

Limits. The MNIST debaters were prespecified as one honest and one liar, so the experiment tests whether honesty wins, not whether the honest equilibrium is reached by training. The judge was trained in advance and treated as fixed, and the optimal play was approximated with Monte Carlo Tree Search on the test set, with 10,000 rollouts per move. The authors note that averaging over seeds was needed to avoid favouring the liar. The experiment also restricts the game to nonzero pixels, which the authors say creates a systematic weakness in some digit pairs.

Reading guide

The paper has eight numbered sections. Each one needs the following prerequisite lessons.

  • Section 1, Introduction. Needs AI Alignment and the idea of learning from human preferences, which is covered in Reinforcement Learning from Human Feedback (RLHF).
  • Section 2, The debate game. The rules and the central claim. Needs Self-Play and Nash Equilibrium; the claim that optimal play is a Nash equilibrium depends on them.
  • Section 2.1, Short debates. The vacation example. No extra prerequisites; the key idea is that a debate follows one path through a tree of arguments.
  • Section 2.2, Complexity theory analogies. Needs NP-Completeness and PSPACE, and a reader needs the idea of a polynomial-time check. The paper's table on the polynomial hierarchy can be read as a table of how many alternating rounds each class needs.
  • Section 2.3, Removing oversimplifications. Needs Reward Model, since the paper proposes training a predictor to stand in for the human judge.
  • Section 3.1, The MNIST experiment. Needs Convolutional Neural Network for the judge and Monte Carlo Tree Search for the search; the selection rule is a PUCT variant from Silver et al.'s work on AlphaZero.
  • Section 3.2, The cat-or-dog experiment. No new prerequisites.
  • Section 4, Reasons for optimism. Needs Self-Play and Generative Adversarial Network for the comparison with competitive training.
  • Section 5, Reasons to worry. Needs Nash Equilibrium and Minimax Game for the stability of equilibria.
  • Section 6, Variations. Needs Minimax Game for the symmetry and payoff questions.
  • Section 7, Amplification. The paper's comparison with the amplification method of Christiano and colleagues. The lesson explains that method in words, since no separate node exists yet.
  • Section 8, Conclusions. Brief summary of the open questions.

Check yourself

QuestionIn one sentence, what does the paper claim makes debate work as an alignment method?Show answer
The central claim is that in the debate game it is harder to lie than to refute a lie, so optimal play should favour honest statements, and a judge who checks only the disputed step can settle the question.
QuestionUnder the paper's numbers, what is the gain in percentage points from debate with precommitment for 6 pixels, compared with the judge alone?Show answer
The judge alone reaches 59.4 percent and debate with precommitment reaches 88.9 percent, so the gain is 88.9 minus 59.4, which is 29.5 percentage points.
QuestionWhy does the paper insist on precommitment in the MNIST game?Show answer
Without precommitment, a liar can change the lie in each branch of the game. Precommitment fixes the claim in advance, which cuts down the space of arguments that must be covered, and this makes lying harder. The paper reports that the honest side wins more often with precommitment.
QuestionIn the formula for a two-round debate, which quantifier belongs to Alice and which to Bob, and what does the judge contribute?Show answer
The existential quantifier over xx belongs to Alice, who picks her witness. The universal quantifier over yy belongs to Bob, who may reply in any way. The judge HH is a polynomial-time check that accepts or rejects each full sequence of choices.

Sources

Read the full paper

Geoffrey Irving, Paul Christiano, Dario Amodei, 2018. arXiv:1805.00899