Skip to content

Envelope sampling: recalibrating LLM judges with a small amount of ground-truth labels to mitigate reward hackingHow to post-train on a surrogate: Envelope sampling mitigates reward hacking

arXiv: Alignment, Deception & Oversight· arXiv:2610.11281· Sanjit Dandapanthula, Shuvom Sadhuka, Samir Khan, Michael Oberst, Aaditya Ramdas, Alexandra Chouldechova·Indexed by this site · 2026-10-09· Originally publishedAlignment

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

Envelope sampling recalibrates the judge: at clinical T=128, the ≥3 fabrication rate is 1.0%, while the base query is 19.8%.

Questions
When true rewards are too expensive, post-training often optimizes an LLM judge. If miscalibration only occurs on outputs that the base model rarely generates, on-policy labeling cannot detect the divergence, and optimization concentrates on overestimated outputs. The question is from what query distribution these n ground-truth labels are drawn.
Methods
The authors state that when the true reward and the recalibrated reward lie within a clipped L2 ball around the current judge, the envelope distribution ρ* minimizes the worst-case coverage factor. The closed form depends on the proxy and the base model only through πj, and shifts mass toward the tail of πj. Sampling can be done by rejection from πj, or by fine-tuning on a bonus.
Experiments and results
Clinical notes n=8, T=128: envelope's ≥3 fabrication proportion 1.0%, base query 19.8% (Table 2). Sycophancy panel 4, 27B, 256 draws: envelope error rate 2.06%, base query 33.49% (Table 3).
Limitations and future work
The authors state that the theory idealizes post-training as exact exponential tilting, the case study uses a stylized output space, and the clinical reference is LLM review rather than physician review. Follow-up includes other domains, more recalibration rules, iterating the loop, richer reward classes, and connections to active learning. The paper reports 95% intervals and does not report hypothesis-test p-values.
Experimental setupQwen3-4B、Qwen3.8-27B et al. · ACI-Bench、TriviaQA · reference quality、severe fabrication % et al.
Evaluated models
Qwen3-4BQwen3.8-27BQwen2.5-14B-Instruct
Benchmarks
ACI-BenchTriviaQA
Metrics
reference qualitysevere fabrication %completenesserror %regret
AI summaryTo address the problem that post-training with cheap surrogate signals such as LLM judges easily leads to reward hacking, the authors propose envelope sampling, a theoretically grounded method for judge recalibration. Under the assumption that the human reward and the recalibrated reward lie within the judge's L2 ball, the method minimizes an upper bound on the regret of the post-trained model, and provides practical algorithms for sampling from the envelope via rejection sampling or fine-tuning on a modified reward. Experiments on clinical note generation and controlled sycophancy tasks show that recalibration based on envelope samples mitigates reward hacking, whereas recalibration based on base model samples does not.

To address the problem that post-training with cheap surrogate signals such as LLM judges easily leads to reward hacking, the authors propose envelope sampling, a theoretically grounded method for judge recalibration. Under the assumption that the human reward and the recalibrated reward lie within the judge's L2 ball, the method minimizes an upper bound on the regret of the post-trained model, and provides practical algorithms for sampling from the envelope via rejection sampling or fine-tuning on a modified reward. Experiments on clinical note generation and controlled sycophancy tasks show that recalibration based on envelope samples mitigates reward hacking, whereas recalibration based on base model samples does not.

Related events and news

1 events · 0 news mentions

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    How should the query distribution for true-label annotation be chosen so that the recalibrated proxy is suitable for optimization.

    How to choose the query distribution for these n ground-truth labels so that the recalibrated proxy is suitable for optimization.

    • Scenario: True rewards such as doctors reviewing clinical notes are too expensive, so practice often optimizes proxies like LLM judges. The authors state that when the proxy is miscalibrated, the model can score high on the proxy but low on the true reward, i.e., reward hacking.
    • Existing shortcomings: The authors state that previous judge recalibration is costly or relies on heuristics, and iterated RLHF requires new labels and new training each round. The authors also state that on-policy sampling fails when the proxy is miscalibrated only on rare outputs, because typical samples do not reveal the divergence between j and h.
    • Protocol: Draw n i.i.d. outputs from ρ and label them with h, recalibrate j to r, then obtain πr ∝ π e^{βr}. The authors do not fix the recalibration algorithm; the bound depends on the recalibration error Varρ(h−r) on ρ.
    • Method: The authors assume h and r are close to j, and give an envelope distribution ρ* (envelope sampling) that minimizes the worst-case coverage factor on a clipped L2 ball. Experiments compare clinical note generation and a controlled sycophancy task.
  2. What related research exists?

    Related work involves reward hacking, KL-regularized post-training, annotation budgets, and the Shtarkov envelope.

    Reward hacking and overoptimization

    • Goodhart (1975) proposed the law; Manheim and Garrabrant (2018) classified its variants. Gao et al. (2023) measured how true reward declines as optimization pressure increases on a learned proxy. Subsequent work documented reward hacking in RLHF, LLM-as-a-judge, automated benchmarks, and rubric judges.
    • Theoretical work analyzes the harms of misspecified optimization proxies and regularization [27–29]. Zhang et al. (2026) place the harm in the tail of high reward that is scarce under the base model, and use rubrics elicited from off-policy examples to cover that tail. The authors state that this paper instead studies how to spend a ground-truth labeling budget, fix the proxy before optimization, and how the query distribution determines regret.

    RLHF, RLAIF, and exponential tilting

    • Ouyang et al. (2022), Rafailov et al. (2023), and others optimize KL-regularized objectives, whose overall solution is an exponential tilt of the base model. Bai et al. (2022)'s Constitutional AI and Lee et al. (2024)'s RLAIF replace human labels with language model judgments, which is this paper's proxy setting.
    • Iterated RLHF retrains the reward model on preference data from the latest optimized model [9, 35, 36]. The authors state that Appendix F connects this to the envelope and applies Theorem 1 to arbitrary recalibration procedures, as well as to any post-training that yields an exponential tilt.

    Reward modeling with reduced labeling

    • Active preference learning, routing uncertain comparisons to stronger judges, reward model ensembles with uncertainty penalties, and calibrating LLM judges with human ratings [6, 10, 37–48]. The authors state that these sampling laws are driven by model uncertainty, whereas the envelope's sampling law comes from a minimax analysis over an explicit reward class.
    • Rubric refinement rewrites criteria based on preference feedback, or decomposes and filters rubrics [49, 50]. The authors use this method for judge recalibration in some experiments.

    Universal prediction and offline coverage

    • Shtarkov (1987)'s normalized maximum likelihood measure minimizes worst-case regret in universal coding. The authors state that the normalized envelope in Theorem 2 is this measure, but this paper treats it as a sampling target rather than a coding tool.
    • Offline RL uses density ratio coefficients to control how error on the data distribution transfers to the distribution induced by the optimized policy [55–57]. The authors state that the coverage factor C(ρ) plays a similar role, but the test distribution is a one-dimensional tilt path between πr and πh, and ρ is a design variable rather than a fixed dataset.

    Baselines and benchmarks

    • The main baseline is on-policy querying ρ=π; Appendix F additionally compares the judge-optimized model πj, and the mixture (π+πj)/2. Environments are ACI-Bench, the sycophancy evaluation split of TriviaQA, and the finite output spaces of Section 5 and Appendix C.

    The authors position this paper as: under the assumption that h and r are close to the current judge, spending a finite ground-truth labeling budget with the envelope distribution makes the regret bound after recalibration-then-optimization controlled by the recalibration error on ρ*.

  3. How does the paper address this problem?

    Clipping the envelope on the L2 ball minimizes the worst-case coverage factor and can be sampled from πj via rejection sampling.

    The authors propose envelope sampling: when both the true reward h and the recalibrated reward r are close to the current proxy j, collect n true labels using the query distribution ρ* that minimizes the worst-case coverage factor, then perform KL-regularized post-training after recalibration.

    Setting and exponential tilting

    The authors write post-training for a reward f as exponential tilting πf ∝ π e^{βf}. The authors state it is the unique solution to the variational problem: πf=argmaxμ𝔼x∼μ[f(x)]−1/βKL(μ∥π). The meaning is a balance between reward and staying close to the base π. The authors state this corresponds to the population objective of PPO-type RLHF and DPO under the Bradley-Terry model; Appendix A.1 has the derivation.

    X is a finite output space. The goal is to improve the pretrained model π with respect to the relatively expensive h; the cheap proxy j can be queried arbitrarily. The protocol is: draw n i.i.d. samples from ρ and label them with h; recalibrate j to r; then optimize to obtain πr. Quality is measured by the same KL-regularized objective J under h, whose maximum is at πh, with regret J(πh)−J(πr). The authors do not specify the recalibration algorithm; the bound depends on Varρ(h−r).

    Coverage factor and envelope

    Theorem 1: If supp(π) is contained in supp(ρ), the regret is at most (β/2) times the supremum of the density ratio of the tilted distribution for the interpolated reward rt=(1−t)r+th relative to ρ, times Varρ(h−r). The former factor is called the coverage factor. The authors state that under bounded rewards the recalibration error is bounded, but the coverage term can be arbitrarily large; as labels increase the error shrinks, so the main effort is to reduce the coverage factor.

    To remove dependence on the unknown h, the authors introduce a reward class F, with worst-case coverage factor C(ρ)=sup over f in F of the supremum of the density ratio. If F is convex and r, h belong to F, then the regret is at most (β/2) C(ρ) Varρ(h−r). The unnormalized envelope is π̄(x)=supf∈ Fπf(x), and dividing by Z_F gives ρ. The meaning is that each output takes the largest tilted probability that any function in the class can give it. Theorem 2 states that ρ minimizes C(ρ), with minimum value Z_F.

    Closed form on a clipped L2 ball

    The authors take F to be a clipped L2 ball around j: variance under πj no more than M squared, and oscillation on supp(πj) no more than S. σ(s) is the smaller of M divided by the square root of s(1−s) and S. Theorem 3 states that the supremum is achieved by a single-point perturbation u=σ(s) times the indicator of that point; the envelope depends on the proxy and base only through πj(x), not on the unknown h.

    This envelope can be written as πj(x) times a weight w(πj(x)). The authors state that w is strictly decreasing on (0,1) and lies between 1 and e^{βS}, so mass shifts toward the tails of πj. Appendix B.1 states that without clipping, the weight on rare outputs tends to 1/s, making the tail nearly uniform and hard to sample when the output space is exponentially large. Appendix B.2 gives a similar closed form for the sup-norm ball. Appendix B.3: β is the inverse of the post-training KL coefficient; the authors state that setting M at the scale of the root-mean-square deviation between h and j under πj works well, and then calibrate S to a target acceptance rate using a pilot. The clinical experiment's target acceptance rate is 80%.

    Two sampling methods

    Proposition 4: Propose from πj and accept with probability e^{−βS} w(πj(x)); accepted samples exactly follow ρ, with acceptance probability e^{−βS} Z_F. No training is needed, but sequential probabilities are required. Proposition 5: the bonus is (1/β) log w(πj(x)), taking values between 0 and S; the tilting of the base by adding the bonus to j equals ρ.

    The clinical experiment uses rejection sampling. Section 6.2 and Appendix C compute or sample the envelope directly in finite settings. Appendix C.4 tests in these finite settings whether optimizing the bonus recovers ρ*.

    Recalibration rules in a stylized model

    Section 5 uses a label-complexity case with one good output and K bad outputs. h penalizes bad outputs, j instead gives bad outputs positive margin, and the base generates bad outputs only with total probability ε. Local recalibration replaces j with h on the set of already-obtained true labels. The specific n thresholds and probability bounds are in Theorem 6, with experimental comparisons in question 4.

  4. What experiments did the paper conduct?

    The authors report that envelope recalibration has lower clinical fabrication and sycophancy error rates than on-policy.

    Experimental setup

    • Clinical model and data: The post-trained transcription model is Qwen3-4B, temperature 1. The proxy j is Qwen3-8B, with nine document completeness items summed and divided by 18. The reference h is GPT-5.6 Terra, with quality scores in [0,1], and counts fabricated numeric vital signs; ≥3 is recorded as severe fabrication in the paper. Data comes from the ACI-Bench training split, with 16 encounters each in the training pool and held-out evaluation.
    • Clinical recalibration and optimization: GPT-5.6 Sol rewrites the rubric based on n=8 notes that have both j and h scores; Appendix D.5 gives the full prompt. The base query samples from ρ=π. The envelope uses rejection sampling from πj per Proposition 4, M=1, envelope weight β=10, and S is tuned per encounter to acceptance rate α=0.8, with S search range [2, 256]. Post-training is offline DPO with LoRA (rank 8), update counts T of 32, 64, 128, seeds 101, 202, 303. Each model generates 4 notes per 16 evaluation encounters. The log-odds difference coefficient is 0.1, which is not the same quantity as the envelope's β=10. Appendix D.1 states that the experiments are finite-step DPO, not the exact exponential tilt of the theory.
    • Sycophancy task: A frozen Qwen3.8-27B actor answers questions from the TriviaQA sycophancy evaluation split, where the user expresses belief in a wrong answer. Outputs keep only the correct answer and the user's answer, π is read from logits, the tilt is computed in closed form, and no weights are trained. The main judge is also Qwen3.8-27B; the appendix additionally uses Qwen3.5-9B; both are prompted to reward agreement with the user. h is 0 on correct answers and −1 on wrong answers. Recalibration replaces j with h on the labeled question-answer pairs. Four mutually exclusive panels, with support question counts 15/16, 29/32, 27/32, 58/64; the main text uses panel 4. Actor temperature 1.5, judge temperature 1. The envelope uses M=1.5, S=3. The main comparison uses β=4 with 512 label draws; Table 3 notes panel 1 uses 256 draws.
    • Metrics and intervals: Clinical metrics are reference quality, proportion of ≥3 fabricated vital signs, and original judge completeness. Sycophancy is the expected probability that πr selects the wrong answer. Numerical simulations use regret, equal to (1/β) KL(πr relative to πh). Clinical intervals are percentile intervals from 2,000 paired bootstrap resamples; sycophancy ± is the Monte Carlo half-width of label draws. The paper does not report hypothesis test p-values.
    • Controls: on-policy ρ=π, unrecalibrated judge, untrained model. Appendix F adds labeling from πj. Appendix G additionally uses Qwen2.5-14B-Instruct, Qwen2.5-72B-Instruct-AWQ, and Claude Opus 4.8.

    Main results

    Swipe horizontally to read the table

    ConditionMetricbase ρ=πenvelope ρ*Reference
    Clinical T=128 (Table 2)Reference quality0.5630.658Untrained 0.651
    Clinical T=128 (Table 2)≥3 fabrication proportion19.8%1.0%Untrained 1.6%
    Clinical T=128 (Table 2)Original judge completeness0.8750.852Untrained 0.830
    Clinical T=64 (Table 2)Reference quality0.5890.666Untrained 0.651
    Clinical T=64 (Table 2)≥3 fabrication proportion15.1%2.1%Untrained 1.6%
    Panel 4, 27B, 256 draws (Table 3)error %33.49±0.162.06±0.10No labels 37.74; actor 3.08
    • The authors summarize Figure 2 as: both recalibration arms improve completeness, but only the base query does so at the cost of fabrication and reference quality decline. In Table 2, this separation appears at T=64 and T=128; at T=32 both sides have ≥3 fabrication at 0.5%, and quality difference −0.004, interval [−0.055, 0.042] crossing 0.
    • Paired differences at T=128: quality +0.095, interval [0.049, 0.150]; ≥3 fabrication −18.8 percentage points, interval [−40.6, −4.7]; completeness −0.023, interval [−0.053, 0.003] crossing 0 (Table 2). The authors state that the difference between the two sides is in what the recalibrated reward buys.
    • Figure 3 by different label counts: with 58 distinct labels, base query error rate 36.9%, envelope 19.4%. After collecting all 116 answer labels, each query reaches the true-optimal error rate; base query requires over 14,000 draws, envelope 450 (Section 6.2). The authors state that base query lands on the correct answer about 97% of the time, envelope about half on wrong answers. The main text writes the error rates after 256 draws as above 33% and 2.1%, Table 3 as 33.49% and 2.06%.

    Comparison with labeling from πj

    • Appendix F: the envelope is a decreasing reweighting of πj; as S tends to 0 it degenerates to πj. The authors state that when overestimated outputs are overestimated to similar degrees, labeling πj directly suffices; when degrees differ, reweighting is necessary.
    • Sycophancy task (Figure 12): with the 27B judge, at 256 draws envelope 2.1%, πj query 4.8%. With the 9B judge, up to 64 draws the two differ by no more than 0.2 percentage points, at 256 draws 2.3% vs 3.3%. Collecting all 116 labels, envelope averages 450 draws; πj under 27B takes 1,055, under 9B at least 3,960.
    • Clinical T=64, n=8 (Table 5, 192 per query): πj query quality 0.680, ≥3 fabrication 1/192; envelope 0.666, 4/192; base 0.589, 29/192. Envelope minus πj quality difference −0.014, interval [−0.057, 0.029] crossing 0; unsupported statements per note 1.06 more, interval [0.28, 2.03] not containing 0. The authors state that in this task πj query is at least not worse than envelope. In the heterogeneous rare simulation (Figure 13), πj query regret remains above 3.4 at all budgets, envelope below 0.2 at 64 labels and all support sizes.

    Numerical simulations and label complexity

    • Appendix C simulates Section 5 on N of 5, 9, 17, with K=4 bad states. The base model puts 0.99 on good states and 0.01 on bad states. β of 0.5, 2, 6, three problem seeds, 128 label draws per cell.
    • The authors report that base query keeps regret near the unrecalibrated level across budgets. At N=5, 64 labels, envelope regret is 0.000 in both regimes and all β; same-cell base query in the equal regime is 0.72, 3.39, 1.80, and in the heterogeneous regime 0.77, 3.96, 2.01 (corresponding to β=0.5, 2, 6). Figure 6: at N=17, equal regime, 16 labels, envelope's gain over base drops to none.
    • Section 5 summarizes Theorem 6: any query requires Ω(K log K) labels, envelope succeeds at that order, ρ=π requires Ω((K/ε) log K). The authors state that the sycophancy experiment matches this, with actor bad-mode quality ε≈0.03. Appendix C.3: at β=2, N=5, the expected number of proposals for rejection sampling is 2.4×10^5 in the equal regime and 1.3×10^7 in the heterogeneous regime. Table 1: natural gradient reduces total variation to within 0.01 in 1,458/1,458 fits; at β=6, full-gradient Adam is 270/486.

    Another model generation

    • Appendix G uses one seed: transcription model Qwen2.5-14B-Instruct, auditor Qwen2.5-72B-Instruct-AWQ, reference and editor both Claude Opus 4.8. Reference scores are 0–18, different from the main experiment's [0,1]. Each arm has 1,600 generations, post-training is listwise DPO.
    • Table 6: unrecalibrated post-training raises ≥3 fabricated vital signs from 0.81% to 22.12%, and lowers average reference score from 12.36 to 10.25. Base query is 17.38% and 10.70. Envelope query is 0.19% and 12.62. Wilson intervals are in Table 6.
    • The authors state that both instantiations show the same type of failure and fix; and state that this seed does not support comparing effect sizes with the main experiment.

    Other ablations and analyses

    • Acceptance rate α: T=64, n=8, α=0.8 and 0.5 give quality 0.666 and 0.630, ≥3 fabrication 4/192 and 11/192; base is 0.589 and 29/192. Paired difference +0.036, interval [−0.011, 0.078] (Appendix D.3).
    • No recalibration: seed 101 quality 0.528, 15/64; same-seed base is 0.573 and 13/64, envelope 0.651 and 0/64.
    • Seeds: at T=128, all three base seeds have reference quality below untrained; seed 202 has 26/64 notes with ≥3 fabrication, envelope at most 3/64 across seeds (Appendix D.2).
    • 9B judge: panel 4, 256 draws, no labels 44.98%, base query 36.98%±0.18, envelope 2.25%±0.12 (Table 3).
    • Optimization pressure: panel 4, 27B, 64 draws (Table 4, not 256): at β=4, no labels 37.74%, base 37.36%±0.10, envelope 20.32%±0.20; at β=8, 89.54%, 87.25%±0.20, 47.29%±0.44.
    • Denying correct answers: 27B unrecalibrated 3.4% (actor 4.3%), envelope after fix 2.4%, base after fix 4.6%; 9B is 4.9%, 3.0%, 5.7% (Appendix E.3).
  5. What are some points that can be further explored?

    The authors state that the analysis idealizes exponential tilting, and the clinical reference is LLM review rather than physician review.

    Limitations and future directions noted by the authors

    • The theoretical analysis idealizes post-training as exact exponential tilting (Limitations and future work).
    • The case study uses a stylized output space (same section).
    • The clinical experiment uses an LLM as the reference, not physician review (same section).
    • Future directions listed by the authors: applications in other domains, recalibration rules beyond rubric editing, iterative recalibrate-then-optimize loops, envelopes over richer reward classes, and connections to active learning (same section).
    • Appendix C.4 states that a scalable implementation of sampling envelopes with bonus optimization on neural network language models remains to be demonstrated.

    Experimental coverage

    • The clinical main experiment post-trains Qwen3-4B, with the agent as Qwen3-8B, the reference as GPT-5.6 Terra, and the editor as GPT-5.6 Sol; ACI-Bench training pool and evaluation each have 16 encounters, n=8, T is 32, 64, 128, and 3 seeds (Section 6.1, Appendix D).
    • The sycophancy experiment uses Qwen3.8-27B as the actor, with the judge being that model and Qwen3.5-9B; four panels, main comparison β=4, panel 4 uses 512 label draws, panel 1 uses 256 (Table 3).
    • Compared queries include ρ=π and ρ=ρ*, and Appendix F also includes ρ=πj and (π+πj)/2. Clinical recalibration is rubric rewriting; sycophancy and stylized settings replace j with h on labeled outputs.
    • Appendix G uses Qwen2.5-14B-Instruct, Qwen2.5-72B-Instruct-AWQ, and Claude Opus 4.8, one seed, 1,600 generations per arm, reference scores 0–18 (Table 6).
    • Section 4 states that the assumption that h and r are close to j is generally unverifiable. Clinical post-training is finite-step offline DPO with LoRA, not exact exponential tilting (Appendix D.1). The paper reports 95% intervals and does not report hypothesis test p-values.
  6. Summarize the main content of the paper

    Envelope sampling spends ground-truth labels on the proxy's tail, mitigating reward hacking under the same budget.

    The authors study how to choose the query distribution for ground-truth annotation before post-training, so that the recalibrated cheap proxy is more suitable for optimization. When the true reward is expensive, practitioners use LLM judges instead of humans; if miscalibration occurs only on outputs that the base model rarely generates, on-policy annotation cannot fix these points, and subsequent KL-regularized optimization concentrates quality on overestimated outputs.

    Methodologically, the authors formulate post-training as exponential tilting and control regret using a coverage factor and recalibration error over the query distribution. Within a clipped L2 ball around the judge, the query that minimizes worst-case coverage is the Shtarkov envelope ρ*. Its closed form depends only on πj, obtained by optimizing against the current judge, and shifts mass toward outputs that remain rare under πj. Sampling can be done by rejection from πj, or by fine-tuning on a bonus reward. The clinical experiments use rejection sampling.

    In clinical notes, with Qwen3-4B, n=8, T=128, the envelope query's proportion of ≥3 fabricated vital signs is 1.0%, base query 19.8%, and untrained 1.6%; reference quality is 0.658, 0.563, 0.651 (Table 2). The paired quality difference is +0.095, 95% interval [0.049, 0.150]. In the sycophancy task with panel 4, 27B judge, and 256 draws, the envelope error rate is 2.06%, base query 33.49%, unrecalibrated 37.74%, and the actor itself 3.08% (Table 3). With all 116 answer labels collected, the envelope averages 450 draws, while base query exceeds 14,000 draws. The authors state that in the stylized model, the envelope achieves the best label-complexity order among all queries, whereas on-policy does not.

    The authors conclude that under the assumption that h and r are both close to j, the envelope minimizes the coverage term in the regret upper bound. With the same annotation budget, on-policy recalibration leaves the judge's errors in place and they are exploited by post-training, whereas envelope-sample recalibration mitigates reward hacking. This assumption is generally unverifiable; the post-training in the theory is exact exponential tilting, while the clinical experiments use finite-step DPO.

Read originalarxiv.org