| Duels | |
|---|---|
| number of arms; in the search example, the candidate rankers | |
| number of rounds, the horizon | |
| the pair of arms dueled in round ; they may be the same arm | |
| probability that arm beats arm in a duel, ; fixed, with duels independent | |
| margin of arm over arm , ; skew-symmetric, | |
| margin for arms numbered in Yue et al.'s order; positive when | |
| Yue et al.'s total order of the arms, by which they are numbered; arm 1 is best | |
| strong regret over rounds, : the margins by which arm 1 would beat both arms shown | |
| Interleaved Filter | |
| incumbent: the arm that Interleaved Filter currently duels against every remaining arm | |
| challenger that beats the incumbent with confidence; it ends the round and becomes the incumbent | |
| fraction of the first duels of a match between arms and that arm won | |
| confidence half-width after duels of a match, | |
| number of duels each match of a round has reached when the round ends | |
| in Step 4, the number of duels the challenger won against the incumbent in the round | |
| in Step 4, the number of duels the incumbent won against arm in the round | |
| harmonic number , between and | |
| lower-bound instance in which arm is best and every better arm wins with probability (Step 5) | |
| number of duels that involve arm during the rounds (Step 5) | |
| Von Neumann winner and context | |
| margin matrix, with entries ; skew-symmetric, | |
| margin matrix of round in the contextual problem, drawn with the context and hidden from the learner; its entries are | |
| row player's probability vector over the arms, , ; a von Neumann winner if for every arm | |
| column player's probability vector over the arms | |
| value of the zero-sum game with payoff matrix , ; zero, because is skew-symmetric | |
| context of round , shown to the learner before it picks the duel | |
| a policy: a rule that maps each context to an arm | |
| a second policy, the opponent of in a duel of policies | |
| policy class, finite but typically exponentially large, such as all decision trees of a given size | |
| expected margin of policy over on a random context, | |
| probability distribution over the policies in ; a contextual von Neumann winner if for every | |
| regret against the best policy in hindsight, | |
| centered outcome of round , , with mean | |
| number of exploration rounds of uniformly random duels | |
| one-duel estimate of round 's margin matrix: on the dueled pair and 0 elsewhere; unbiased | |
| estimated policy matrix from the exploration rounds, | |
| policy vector in , : which arm picks on each exploration context | |
| block-diagonal matrix whose -th block is , so that | |
| policy hull: the convex hull of the policy vectors ; each point is a mixture of policies | |
| number of oracle calls an algorithm makes; its output mixes at most policies | |
| Constants | |
| margin of the best arm over the second best, ; sets IF's rate in result (a) | |
| common margin of the lower-bound instances in result (a) | |
| failure probability; in Interleaved Filter | |
| approximation level in result (c): the output wins with probability at least | |
| , the logarithm of the class size, which sets the sample sizes in result (c) | |
| Paper symbols | |
| Yue et al.'s names for the arms | |
| Yue et al.'s name for the best arm, arm 1 | |
| what Dudík et al. write for | |
| Dudík et al.'s symbol for the approximation level | |
| Dudík et al.'s symbol for the opposing policy | |
Context. Some feedback is reliable only as a comparison. A search engine can merge the outputs of two rankers into one interleavedmerged into a single result list that alternates documents from two rankings, so that a user's clicks show which ranking the user preferred (Radlinski et al., 2008) list so clicks show which ranker the user preferred. Absolute scores for a single ranker are noisy and lack a natural scale. A dueling bandita bandit in which each round pits two arms against each other in a duel and reveals only which of the two won keeps the exploration-exploitation problem of a multi-armed bandit, but each round pits two arms against each other and reveals only the winner. Both the best arm and regretthe reward lost, summed over rounds, against always playing the best arm; for duels it has to be defined from comparison probabilities. Reading note: UCB and Thompson sampling must then be defined from comparisons alone.
Yue et al. (2009) assume a total order over the arms with two regularity conditions and define regret against the top arm. Their Interleaved Filter matches a regret lower bound up to a constant factor. Dudík et al. (2015) add a contextthe side information observed before a choice, such as a description of the user and the query. Reading note: Contextual bandits, such as user and query, and drop the total order. Comparisons pooled across a population can cycle, leaving no single arm that beats all others. Dudík et al. target the von Neumann winnera probability distribution over arms (or policies) such that an arm drawn from it wins a duel against every fixed arm with probability at least . Reading note: Nash learning from human feedback and self-play preference optimization, a probability distribution over arms or policiesrules that map each context to an arm, and learn it over policy classes too large to enumerate.
Under a total order, learning from duels costs about as much as learning from numeric scores. Regret scales as the number of arms times the logarithm of the horizon, divided by the best arm's smallest winning margin. Eliminating weak arms early and focusing duels on strong contenders achieves this rate. Without the order the target becomes a randomized choice. An arm drawn from the von Neumann winner beats any fixed arm with probability at least one half. Such a distribution always exists because the comparison margins form a symmetric zero-sum gamea two-player game in which one player's gain is the other's loss; here each player picks a distribution over arms and the first receives the expected margin of its arm over the other's of value zero. In Dudík et al.'s web search ranker comparisons, an arm beating all others is often absent, yet the von Neumann winner mixes at most five rankers.
Setting. There are the number of arms; in the search example, the candidate rankers arms. In each of the number of rounds, the horizon rounds, the learner picks a pair the two arms dueled in round ; they may be the same arm, possibly the same arm twice, and observes which arm wins. Duels are independent. Arm beats arm with fixed probability the probability that arm wins a duel against arm ; a duel of an arm with itself is a tie, , where the margin, in : how far the duel is from a coin flip, positive when is the likelier winner is skew-symmetric, . Yue et al. assume a total order , so arm 1 is best and shorthand for in Yue et al.'s order; positive when whenever . For every triple , they also assumeThe first condition, strong stochastic transitivitywhy: under it a better arm is at least as likely as a worse one to beat the incumbent (Step 3), the best arm's smallest margin is (Step 2), and arms behind a beaten incumbent can be discarded (Step 4), requires wider gaps in the order to carry at least as large a margin. The second, the stochastic triangle inequalitywhy: it bounds the cost of the second arm of a duel in strong regret, which charges both arms (Step 2); the weak-regret bound needs only transitivity, caps how fast margins add along the order. Both hold under the Bradley-Terry modelcomparison probabilities of the form , or equivalently with logistic and scores (Bradley and Terry, 1952). Reading notes: InstructGPT, Nash learning from human feedback and self-play preference optimization, where for strengths . They also hold when each arm draws a unit-variance Gaussian utility with its own mean and the larger draw wins.
Yue et al. measure strong regret: the sum over rounds of the margins by which the best arm, arm 1, would beat each of the two arms dueled; a round costs nothing only when both are arm 1 by summing arm 1's margins over both dueled arms:In the search setting, is the fraction of users preferring the best ranker to , minus one half. They also bound weak regretthe same sum with only the smaller of the two margins in each round, , which charges only the smaller margin in each round, and obtain the same rates.
Dudík et al. drop the order and collect all margins into a skew-symmetric matrix the margin matrix, with entries ; skew-symmetric, , with , assuming nothing else. A Condorcet winneran arm that beats every other arm, for all ; Yue et al.'s arm 1 is one, an arm beating every other, then need not exist. A probability vector a probability vector over the arms, and over the arms is a von Neumann winner ifAn arm drawn from then beats any fixed arm , and hence any randomized opponent, with probability at least .
In the contextual setting, each round independently draws a context the context of round , shown to the learner before it picks the duel and a hidden margin matrix the margin matrix of round , hidden from the learner; is its entry from a fixed unknown distribution. The learner sees only before choosing the duel. Each policy in a finite, typically huge class the policy class, finite but typically exponentially large, such as all decision trees of a given size maps contexts to arms. Two policies duel by playing their arms on a random context. Their expected margins form the policy matrixA contextual von Neumann winner is a distribution a probability distribution over the policies in over that satisfies the von Neumann condition with in place of . Regret compares the dueled arms against the best policy in hindsight:where is the margin under . With one context, a policy is an arm, and under Yue et al.'s assumptions arm 1 maximizes every round's term, giving . That equality is derived here from strong stochastic transitivity; Dudík et al. state agreement up to constant factors.
Main results. (a) IF2's regret is optimal under a total order (Yue et al., Theorems 2 and 4). Interleaved Filter (IF) maintains an incumbent arm the incumbent, the arm that Interleaved Filter currently duels against every remaining arm and duels it in parallel against every other surviving arm. IF drops an arm once beats it with confidence. A challenger that beats with confidence becomes the new incumbent. IF2 also prunes every arm that the beaten incumbent was ahead of, confident or not. Once one arm remains, the learner duels it against itself. For why: it gives , which turns the length of a match into (Step 2), IF2 achieves, under both strong and weak regret,where is the margin between arms 1 and 2. Every algorithm suffers regret on instances whose margins all equal the common margin of the lower-bound instances, which is then also , so this rate is tight up to a constant factor. Without IF2's extra pruning, IF1 has expected regret .
(b) A von Neumann winner always exists (Dudík et al., Proposition 1). Consider the zero-sum game where the row player chooses a distribution , the column player chooses a distribution the column player's probability vector over the arms, and the row player earns . A distribution is a von Neumann winner of if and only if it is a maxmin strategya strategy that maximizes the payoff the row player can guarantee, of this game. Because this symmetric game has value 0, every margin matrix admits a von Neumann winner. Whenever a Condorcet winner exists, it is the unique von Neumann winner.
(c) Learning over a huge policy class (Dudík et al., Theorems 2, 4 and 5). Fix a failure probability a failure probability; the guarantees hold with probability . Interleaved Filter uses and write , the logarithm of the class size, which sets the sample sizes in (c). Two copies of Exp4.Pa contextual bandit algorithm (Beygelzimer et al., 2011) that keeps a weight on every policy in and, with probability , collects reward within of the best policy for rewards in , even when an adversary picks the rewards dueling each other achieve with probability , even against adversarial contexts and margins. Each copy, however, must keep a weight for every policy. To avoid enumerating , Dudík et al. assume a classification oraclea routine that, given a cost for each arm on each of recorded contexts, returns the policy with the least total cost ; any cost-sensitive multiclass learner can play this role. Reading note: Contextual bandits, a cost-sensitive multiclass learner over recorded contexts. Fix a target approximation level the approximation level of the computed distribution: it wins against every policy with probability at least and run the number of exploration rounds of uniformly random duels rounds of uniformly random duels, withWith probability , each of their two oracle algorithms makes the number of oracle calls an algorithm makes; its output mixes at most policies calls and returns a mixture of at most policies that beats every policy in with probability at least . Their call counts are and , respectively. For horizon , tuning and then exploiting the output yields with probability .
Consequences and limits. Under a total order, dueling regret matches the classical rate for scored arms with uniform gap , because IF places its duels selectively. A weak incumbent is expensive per duel and must be dethroned quickly, while weak challengers must leave early. IF therefore puts incumbents in expectation through matches each, and every other arm through at most matches. A knockout tournament, by contrast, can spend arbitrarily many duels separating two nearly equal bad arms. Every such duel pays regret, so the tournament can exceed the optimal bound by an arbitrary factor.
The total order is the fragile assumption. Among search rankers, larger subsets lose their Condorcet winner steadily until none exists for the full set (Step 7). Condorcet-based algorithms then have no target, while the von Neumann winner remains well-defined. The von Neumann winner is also invariant to clones. Duplicating an arm only splits its weight between the arm and its copy, whereas duplicates can overturn both the Copeland winnerthe arm that beats the largest number of other arms and the Borda winnerthe arm with the highest probability of beating an arm drawn uniformly at random (Step 6). That stability matters for policy classes, which routinely contain many policies that act identically.
Dudík et al. do not run their learning algorithms in experiments. Their oracle call counts, and , are already steep at ten arms, and both methods rely on uniform exploration. The authors note that large production systems often permit only fixed exploration anyway, because adaptive exploration needs a real-time feedback loop that existing infrastructure may lack. The same preference game underlies Nash learning from human feedbackfine-tuning a language model toward the policy that no other policy beats more than half the time under a learned preference model, a Nash equilibrium of the comparison game (Munos et al., 2024). Reading note: Nash learning from human feedback and self-play preference optimization (Munos et al., 2024), with language-model responses as arms and a judge's comparisons as duels.
Each match finds the better arm with probability , after a number of duels set by its margin. IF sets . After duels between arms and , it tracks arm 's win fraction the fraction of the first duels of a match that arm won and the confidence interval , with the confidence half-width after duels, . By Hoeffding's inequality, this interval misses with probability at most . The match ends once leaves the interval, naming the true winner with probability at least . The half-width drops below after duels. Any interval containing then excludes , so the match has stopped with high probability. Across at most matches, a union bound keeps the chance of any mistake at or less. A wrong final arm costs regret, so mistakes add to expected regret, leaving regret on the clean event to bound.
Every match costs regret of order , however bad the incumbent. Incumbent duels all surviving arms in parallel, so the round ends no later than its match against arm 1. By Step 1, that takes duels. Under weak regret, each duel costs at most , so every match costsusing for and from transitivity. A bad incumbent is costly per duel but exits quickly; a near-best incumbent lingers, yet each duel costs little. Strong regret also charges the opponent . If is better than , transitivity gives , at most doubling the per-duel cost. If is worse than , the triangle inequality gives . The match ends no later than when arm 1 beats or beats , taking at most duels. Multiplying gives at most three times the weak-regret bound, since .
The incumbent changes times, which gives IF1's bound. Each round installs a strictly better incumbent. Under strong stochastic transitivity, a better arm is at least as likely as a worse one to win the round. The worst case for the round count is therefore a random walk that jumps from the current incumbent to a uniformly random better arm. Started at arm , that walk visits any arm with probability , since its first jump into lands uniformly on those arms. These visit indicators are independent across . The round count equals one plus the number of visited arms below , giving mean , where the harmonic number , between and is about . By a Chernoff bound, the count is with high probability. Each round plays at most matches, so IF1 runs matches and Step 2 yields IF1's bound.
Removing the arms that were merely behind a beaten incumbent is safe and leaves matches. When a challenger the arm that beats the incumbent with confidence and ends the round beats incumbent with confidence after the number of duels each match of the round has reached when the round ends duels per match, IF2 also prunes every arm trailing . Suppose such an arm were actually better than . Transitivity then makes at least as likely to beat as is, so . Write the number of duels won against in the round for 's wins over and the number of duels won against arm in the round for 's wins over ; then . Yet the round ended with and , soHoeffding's inequality bounds the probability of this event by .
Pruning also cuts total matches to . An arm facing a better incumbent trails it at round's end with probability at least minus half the chance of a tie (see the technical notes). IF2 prunes any trailing arm when the incumbent falls, so each arm plays expected matches against better incumbents. To count matches against worse incumbents, sum over incumbents instead. Starting at arm gives at most such matches in round 1. Under Step 3's dominance, each later incumbent is visited with probability at most and faces at most better arms. Those later rounds contribute at most expected matches. Across all arms, IF2 plays matches in expectation, and Step 2 gives result (a).
Each worse arm must be dueled about times, which gives the lower bound. Consider instances the lower-bound instances; is the instance in which arm is best where arm is best in , the remaining arms keep their index order, and every better arm wins with probability . Under , every duel involving an arm other than arm 1 costs at least . Any algorithm whose regret grows slower than every power of across all instances must distinguish from each . By a change-of-measure inequality (Karp and Kleinberg, 2007), the -round history distributions under and must have total Kullback-Leibler divergence . Those two instances differ only in duels involving arm , and each such duel contributes at most for . Write the number of duels that involve arm during the rounds for the number of duels involving arm . Then
A von Neumann winner exists because a symmetric zero-sum game has value zero. For Dudík et al.'s game, set over probability vectors. Skew-symmetry gives , so the column player can hold the row player to 0 by copying . Hence . Applying von Neumann's minimax theoremfor any matrix , over probability vectors : with mixed strategies, the order of play does not matter (von Neumann, 1928) and givesso . Any maxmin strategy therefore satisfies against every , which is the von Neumann condition.
With three arms that beat each other in a cycle with probability 1, as in rock-paper-scissors, no Condorcet winner exists. Against any arm, the uniform distribution wins, ties, and loses with probability each, giving win probability . Suppose these three arms also beat every other arm, and add an exact copy of the first. The copy gives the arm that beats the first arm an extra win. Under all three tie-scoring conventions the paper considers, that leaves the arm beaten by the first arm strictly behind, so it stops being a Copeland winner. The von Neumann winner instead splits the first arm's share between it and its copy, keeping equal weight on all three behaviors.
Among search rankers a Condorcet winner is often missing, and von Neumann winners are small. Dudík et al. evaluate the 136 single-feature rankers from the MSLRthe Microsoft Learning to Rank datasets: web queries whose candidate documents are described by 136 numeric features and labeled for relevance learning-to-rank dataset. They compare pairs via probabilistic interleavinginterleaving in which each slot of the merged list is filled from one of the two rankings chosen at random, each ranking drawing documents with probabilities that fall with rank (Hofmann et al., 2011) with clicks simulated by an informational click model, mimicking a user exploring a broad topic. As subset size grows, the probability that a random subset has a Condorcet winner drops roughly linearly. It falls from near 1 for a few rankers to about one half at 80 and zero for all 136 (read from the plot).
Across more than a million sampled preference matrices, no von Neumann winner put weight on more than five rankers. Most put weight on one or three, and fewer than 0.03% put weight on five. Over 99.9% placed weight on at least one Copeland winner, though disagreement is possible. In a five-arm appendix example, the fourth arm is both the Copeland and Borda winner. The von Neumann winner is uniform over the first three arms and ignores the fourth.
Two no-regret learners dueling each other have low regret, at a cost that grows with the size of the policy class. Run a row copy and a column copy of Exp4.P over . Each round, both copies observe , the row copy picks , and the column copy picks . With centered outcome the centered outcome of round , , with mean , the row copy receives and the column copy receives . Each copy treats the other as an adversary, which Exp4.P handles. Apply Exp4.P's guarantee against any fixed policy , use Azuma's inequalitya sum of martingale differences, each bounded by , exceeds with probability at most (Azuma, 1967) to replace 's realized duel outcomes by expected margins, and invoke skew-symmetry for the column copy. With probability ,Adding the two inequalities cancels and gives . Averaging the row copy's distributions over rounds produces a mixture beating every policy with probability at least for . Because Exp4.P stores a weight per policy, its time and memory scale linearly in , ruling out classes like all decision trees.
Uniformly random duels estimate every entry of the policy matrix at once. The learner spends rounds dueling pairs drawn uniformly from all ordered pairs, recording centered outcomes as in Step 8. Each ordered pair appears with probability , so inverse-probability weighting by and averaging over the rounds givesEach the one-duel estimate of round 's margin matrix: on the dueled pair and 0 elsewhere is unbiased for round 's entire margin matrix with variance of order . Each , the estimate of from the exploration rounds: each round's one-duel estimate , read at the arms the two policies pick on that round's context is therefore unbiased for . Bernstein's inequalitya tail bound for a sum of independent bounded terms that scales with their variance: deviations of order plus times the bound on each term, for total variance and a union bound over all policy pairs control every entry simultaneously with rounds, a sample size that grows only logarithmically in . Any approximate maxmin strategy for is then an approximate von Neumann winner for , losing at most twice the uniform estimation error.
A classification oracle solves the estimated game over the policy hull. Although is , it is built from only small matrices. Represent each policy by the vector the policy vector, in , with entries : which arm picks on each exploration context with entries , and form the block-diagonal matrix the block-diagonal matrix whose -th block is whose -th block is . The two factors supply the average, so . Let the policy hull, the convex hull of the policy vectors ; each point is a mixture of policies be the convex hull of the policy vectors; its points are mixtures of policies, and the maxmin problem over becomesMinimizing a linear function over reduces to finding the vertex with smallest , a single classification-oracle call.
SparringFPL pits two copies of follow the perturbed leaderan online learner (Kalai and Vempala, 2003) that plays the decision with the least total past loss after adding a small random perturbation to that loss against each other. Each step calls the oracle on perturbed cumulative losses, and the algorithm returns the uniform mixture of the row copy's policies. ProjectedGD takes gradient steps for the row player against oracle best responsesfor the column player, the strategy that minimizes the row player's payoff against the row player's current strategy, projecting back onto via a short subgame solved with oracle calls. Both algorithms achieve the guarantees of result (c) in time outside the oracle. ProjectedGD uses fewer oracle calls whenever is small relative to .
Terms
- Dueling bandit
- each round duels two arms and reveals only the winner
- Margin
- ; antisymmetric
- Strong regret
- , the best arm's margins over both arms shown
- Transitivity and triangle inequality
- and for
- Interleaved Filter
- an incumbent duels every remaining arm; confident losers leave; a confident winner becomes the incumbent
- IF2 pruning
- when the incumbent loses, also drop every arm it was ahead of
- Optimal rate
- for IF2, against for any algorithm
- Condorcet winner
- an arm that beats every other arm; may not exist
- Von Neumann winner
- with for all ; a maxmin strategy of a value-0 game, so it always exists
- Uniform-exploration estimate
- on the dueled pair, 0 elsewhere; unbiased for the round's margin matrix
- Oracle algorithms
- rounds; or classification-oracle calls
Sources
- Yisong Yue, Josef Broder, Robert Kleinberg, and Thorsten Joachims. The K-armed Dueling Bandits Problem. COLT, 2009.
- Miroslav Dudík, Katja Hofmann, Robert E. Schapire, Aleksandrs Slivkins, and Masrour Zoghi. Contextual Dueling Bandits. COLT, 2015.
- Yisong Yue, Josef Broder, Robert Kleinberg, and Thorsten Joachims. The K-armed dueling bandits problem. Journal of Computer and System Sciences, 2012.
- John von Neumann. Zur Theorie der Gesellschaftsspiele. Mathematische Annalen, 1928.
- Kazuoki Azuma. Weighted sums of certain dependent random variables. Tohoku Mathematical Journal, 1967.
- Filip Radlinski, Madhu Kurup, and Thorsten Joachims. How does clickthrough data reflect retrieval quality? CIKM, 2008.
- Ralph Allan Bradley and Milton E. Terry. Rank Analysis of Incomplete Block Designs: I. The Method of Paired Comparisons. Biometrika, 1952.
- Alina Beygelzimer, John Langford, Lihong Li, Lev Reyzin, and Robert E. Schapire. Contextual Bandit Algorithms with Supervised Learning Guarantees. AISTATS, 2011.
- Rémi Munos et al. Nash Learning from Human Feedback. ICML, 2024.
- Katja Hofmann, Shimon Whiteson, and Maarten de Rijke. A probabilistic method for inferring preferences from clicks. CIKM, 2011.
- Adam Kalai and Santosh Vempala. Efficient Algorithms for Online Decision Problems. COLT, 2003.
Connected notes
- Direct preference optimizationLearning from human preferences · Aiming at many good answers
Expected reward is linear in the policy, so its maximum is a vertex of the simplex, all mass on the best sequence, even for a reward that ranks every sequence correctly; the KL penalty makes the target the tilt , which puts mass wherever the reference does and concentrates on the best sequences only as .
- RL and the set of solvable problemsReinforcement learning for reasoning · Aiming at many good answers
On a 0/1 reward, RL raises the chance of solving problems the model often solves and can push it to zero on problems it rarely solves; in Yue et al.'s runs the starting model overtakes the trained one in pass@ as grows, and longer training raises pass@1 while pass@256 falls.
- Dataset distillation via driftingDataset distillation · Aiming at many good answers
Classifier-confidence distillation collapses images onto typical prototypes and attraction-only drifting reduces to mean shift on density peaks (FID 177 against 8.5), while adding repulsion between synthetic views spreads ten images across each class and raises SigLIP2 coverage from under 10% to 77.0%.
- Popular and rare tokensRunning RL at scale · Aiming at many good answers
Standard policy gradients push answers in proportion to their probability and create rank bias that favors popular proofs, whereas unlikeliness rewards, pass@ objectives weighting prompts by , and RepExp's novelty bonus keep rarer solutions in play.