How BADR works

A verifier scores 64 of 256 completions, and the weight of every one of the 256 is rebuilt from those scores.

Anonymous authors, under double-blind review

Scroll to begin

1The pool

256 completions, one verifier

For one prompt, a model writes N=256 completions. Each stem is one of them. Its height is its share of the update, and at \beta=0 every share is 1/256.

The pool is synthetic and seeded. Every height is computed live from the formulas of the paper.

1The pool

The target is a Gibbs law

A verifier gives completion x a reward R(x). At inverse temperature \beta its share is the tempered reward, normalized over the pool.

\pi(x)=\frac{p_0(x)\,e^{\beta R(x)}}{\sum_{y\in U}p_0(y)\,e^{\beta R(y)}}

1The pool

Temperature sets how much the tail holds

Raise \beta and the mass gathers in a few tall stems. Lower it and the long tail carries most of the update.

Pool

2The shortlist floor

Keep the best k, drop the rest

Line the stems up from heaviest to lightest. A shortlist scores a subset S_k and renormalizes. Give it every advantage and let an oracle pick the k heaviest.

\widehat\pi_{S_k}(x)=\frac{\pi(x)}{\pi(S_k)}\,\mathbf 1_{x\in S_k}

2The shortlist floor

The lost mass is the error, exactly

Every law on S_k gives the stems behind the plane probability zero. Its total variation from \pi is at least their mass, and conditioning attains it.

\min_{\nu:\,|\operatorname{supp}\nu|\le k}\mathrm{TV}(\pi,\nu)=\sum_{i>k}\pi_{(i)}

Proposition 1. The ledger computes the left side from the two laws and the right side from the sorted tail.

2The shortlist floor

No reranker can do better

The same lost mass sets the log-partition gap. Slide the plane and change the temperature to see when a shortlist is enough.

\log Z-\log\widehat Z_{S_k}=-\log\bigl(1-\pi(S_k^c)\bigr)

3Tail mass and shape

Score 64, keep all 256

Let S be the 64 completions one BADR run scored. They need not be the heaviest. Write a=\pi(S^c) for the true mass of the 192 unseen ones, and s and p for the true laws inside and outside S.

\pi=(1-a)\,s+a\,p

3Tail mass and shape

A dense estimate picks a mass and a shape

It keeps the verified weights in exact proportion. Then it gives the unseen side a mass b and a law r. The filled layers are the estimate. The stems are the truth.

\widehat\pi_{\mathrm{dense}}=(1-b)\,s+b\,r

3Tail mass and shape

The error has two parts

Let d=\mathrm{TV}(p,r) and c=\min(a,b). The orange band has area |a-b|, the mass error. The purple band has area 2cd, the shape error.

\max\{|a-b|,\,c\,d\}\ \le\ \mathrm{TV}\ \le\ |a-b|+c\,d

Proposition 2. The ledger computes the exact error two ways.

3Tail mass and shape

Every weighted average inherits the split

Write P(u) for the mean of an observable u under P. The signed error is a mass term plus a shape term. The ledger checks it for the reward.

\begin{aligned}\widehat\pi_{\mathrm{dense}}(u)-\pi(u)&=(b-a)\,[r(u)-s(u)]\\&\quad+a\,[r(u)-p(u)]\end{aligned}

3Tail mass and shape

Set the mass and the shape

Move b away from a and the orange band grows. Flatten r and the purple band grows. With b=0, as in every shortlist, the whole error is a.

Presets

4BADR

Predict every score from the ones bought

The stems return to the ground. BADR fits kernel ridge to the scores it holds. For every other completion it predicts a mean \mu_x and a variance v_x.

\mu_x=u_x+\bar e+k_x^{\top}C^{-1}(e-\bar e\,\mathbf 1)

k_x is the kernel row of x against the bought ones, C=\widetilde K_{SS}+\lambda I, and e holds the bought scores minus the prior u. Leave-one-out error picks \lambda.

4BADR

Buy where uncertainty moves the weight

A weight changes with reward at rate \beta e^{\beta\mu_x}, so e^{2\beta\mu_x}v_x tracks its variance. Each draw mixes that with a uniform floor over the remaining set A, with \varepsilon=0.05.

q_t(x)=(1-\varepsilon)\,\frac{e^{2\beta\mu_x}v_x}{\sum_{j\in A}e^{2\beta\mu_j}v_j}+\frac{\varepsilon}{|A|}

The area of a halo is proportional to q_t(x). A ring marks a bought completion.

4BADR

Rebuild the whole pool

Bought stems are exact and turn teal. Every other stem gets a predicted height, the open dot beside the faded true one. All 256 are normalized together, so none drops to zero.

\widehat m(x)=\begin{cases}e^{\beta R(x)}/N&x\in S\\ e^{\beta\mu_x+\beta^2\hat\sigma^2/2}/N&x\notin S\end{cases}

4BADR

Back on the wall, against the best shortlist

The teal layer is the BADR estimate. The orange plane is the oracle shortlist at the same 64 scores. At low \beta BADR lands under the floor. At high \beta the oracle wins.

Batch size B
Replay

5Measured

FreshStack, all 672 test queries

Each method weights the same 256 retrieved passages. BADR is under the oracle floor at \beta=0.3 and 0.5. At \beta=1.0 the oracle wins on both metrics.

Metric

Measured, Table freshstack. Regret is \mathrm{KL}(\widehat\pi\,\|\,\pi)/\beta.

5Measured

Confirmation seeds, 64 of 256 scores

On UltraFeedback, four requests of 16 reach TV 0.19964, under the oracle floor of 0.35427. GSM8K is the negative control. Its floor is 0.14842, BADR reaches 0.24085, and the oracle wins.

Measured at \beta=0.3, seeds 40 to 49. Table batches and Table badr-ablation.

5Measured

Four requests come close to 64

Batches of 16 need four requests. They move TV from 0.19393 to 0.19964 on UltraFeedback and from 0.22556 to 0.24085 on GSM8K. One request of 64 reaches 0.26062 and 0.33957.

Measured, Table batches. Bars span one sample SD. Dashed lines are the oracle floors.

5Measured

A quarter of the scores, 30.0% of the energy

Scoring every FreshStack pair took 4,115.7 s and 2,785.6 kJ. Live BADR at \beta=0.3 took 1,227.6 s and 835.1 kJ. It was 3.35 times faster.

Measured on three H100 and two H200 workers, seed 0. The live run reached TV 0.1423.

5Measured

Where a shortlist is still the better tool

Under diversity selection at \beta=0.3, both shortlists cover more annotated nuggets than the census and BADR. Generated answer quality, multi-round training and routing accuracy under BADR are untested.

Measured, FreshStack section. Limits from Scope and limitations.