# When the Proxy Is Wrong: Mismatch-Corrected Bandits for Adaptive Data Sampling

> Mismatch-corrected bandits with paired audits and paced querying repair proxy-target ranking inversions, achieving optimal regret and improving worst-group accuracy by up to 10.5 points.

- **Source:** [arXiv](https://arxiv.org/abs/2611.34707)
- **Published:** 2026-11-28
- **Permalink:** https://picx.dev/p/RTC6cK
- **Whiteboard:** https://picx.dev/p/RTC6cK/image

## Summary

## Summary (Overview)

- **Core problem**: Data allocation methods often use a small proxy model to select training data for a larger target model, but the proxy can rank data differently from the target, leading to suboptimal training performance.
- **Key contribution**: The authors formulate this as a multi-fidelity bandit problem with *arm-dependent, possibly rank-inverting mismatch* between proxy and target rewards, and propose **mismatch-corrected bandits** that use paired audits (observing both proxy and target rewards on the same update) to estimate and correct the mismatch.
- **Main algorithmic components**: A corrected confidence index combining proxy estimates with paired residual estimates, a query gate that requests target feedback only when mismatch uncertainty can change the decision, and audit pacing under a hard budget.
- **Theoretical results**: Under stationarity, regret decomposition shows proxy-only allocation incurs linear regret, and $\Omega(\sigma_\beta^2/\Delta^2)$ paired audits are necessary. Under piecewise stationarity, front-loaded audits incur linear regret, while pacing with a sliding window achieves $O(\sqrt{\Gamma_T T \log T})$ regret.
- **Empirical validation**: On CivilComments-WILDS, mismatch correction improves worst-group accuracy over a target-only policy with the same budget (+2.5 points), and pacing improves it by +6.3 to +10.5 points at the same audit count.

---

## Introduction and Theoretical Foundation

### Background and Motivation

Language models are trained on heterogeneous mixtures of data sources (web text, code, books, dialogue, domain-specific collections), and the allocation of optimization budget across these sources shapes the final model's capabilities. Since measuring the effect of data choices on large models is expensive, most allocation methods rely on a cheaper signal: a small proxy model, a reference model, or training-time statistics.

The implicit assumption is that the proxy signal ranks candidate data as the target model would. However, **this assumption can fail even when the proxy is informative**. A proxy may be accurate on average yet attribute the largest gains to the wrong data, because its error depends on the data group.

> A policy that trusts the proxy can then estimate its own signal very precisely while repeatedly favoring data helping the proxy rather than the target.

### Problem Formulation

The problem is cast as a **multi-fidelity bandit**. Let $\mathcal{D}$ be a pool of candidate training data and $[K] = \{1, \ldots, K\}$ a finite library of **interventions**. Intervention $k$ is a sampling distribution $w_k$ over $\mathcal{D}$. At each round $t = 1, \dots, T$, a controller selects $A_t \in [K]$, a training block $B_t \sim w_{A_t}$ is drawn, and this same block updates both a small proxy model and the large target model.

**Two-fidelity feedback**: Every round reveals a proxy reward $Y_t$ (improvement of the proxy model on a proxy validation set). The target reward $Z_t$ is expensive and revealed only when the controller audits the round. The means are:

$$p_k = \mathbb{E}[Y_t \mid \mathcal{H}_{t-1}, A_t = k] \tag{1}$$

$$r_k = \mathbb{E}[Z_t \mid \mathcal{H}_{t-1}, A_t = k] \tag{2}$$

The **mismatch** of intervention $k$ is:

$$\beta_k = r_k - p_k \tag{3}$$

**Key distinction from prior work**: Multi-fidelity bandits assume the bias of each fidelity is bounded by a known constant; bandits with sparse feedback assume an offset common to all arms. This setting makes **neither assumption**—the proxy–target mismatch may vary across arms and can reverse their ranking.

**Paired audits**: When $Q_t = 1$, both rewards are observed for the same intervention and update, yielding the paired difference:

$$D_t = Z_t - Y_t = \beta_{A_t} + \eta_t \tag{4}$$

The budget $B$ limits target information revealed to the controller, not the number of target updates.

**Objective**: Minimize the target pseudo-regret:

$$R_T = \sum_{t=1}^{T} \left(r_{k^\star} - r_{A_t}\right) = \sum_{k \neq k^\star} \Delta_k N_T(k) \tag{5}$$

where $k^\star = \arg\max_k r_k$ is the target-optimal intervention and $\Delta_k = r_{k^\star} - r_k$.

---

## Methodology

### Mismatch-Corrected Index

The method maintains three statistics per intervention. With $N_{t-1}(k)$ pulls and $M_{t-1}(k)$ audits of intervention $k$ before round $t$:

$$\hat{p}_t(k) = \frac{1}{N_{t-1}(k)} \sum_{s < t, A_s = k} Y_s \tag{6}$$

$$\hat{\beta}_t(k) = \frac{1}{M_{t-1}(k)} \sum_{s < t, A_s = k, Q_s = 1} (Z_s - Y_s) \tag{7}$$

$$\hat{r}_t(k) = \frac{1}{M_{t-1}(k)} \sum_{s < t, A_s = k, Q_s = 1} Z_s \tag{8}$$

The decomposition $r_k = p_k + \beta_k$ suggests estimating the target value by $\hat{p}_t(k) + \hat{\beta}_t(k)$: the proxy term uses every pull and quickly separates interventions, while rare audits are spent only on the part of the target utility the proxy does not capture. Writing $\bar{Y}_t(k)$ for the proxy average over audited rounds of $k$:

$$\hat{p}_t(k) + \hat{\beta}_t(k) = \hat{r}_t(k) + \left(\hat{p}_t(k) - \bar{Y}_t(k)\right) \tag{9}$$

This is a **control-variate estimator**. The variance is:

$$\frac{\sigma_\beta^2}{M} + \frac{2C - \sigma_p^2}{N} = \frac{\sigma_r^2}{M} - (2C - \sigma_p^2)\left(\frac{1}{M} - \frac{1}{N}\right)$$

where $C = \text{Cov}(Y, Z)$ and $\sigma_\beta^2 = \sigma_p^2 + \sigma_r^2 - 2C$. Pairing improves on $\hat{r}_t(k)$ (variance $\sigma_r^2/M$) as soon as $C > \sigma_p^2/2$.

### Confidence Radii and Clipping

Two intervals are built and intersected through their endpoints:

$$I_t^{\text{corr}}(k) = \hat{p}_t(k) + \hat{\beta}_t(k) \pm \left(c_t^p(k) + c_t^\beta(k)\right) \tag{10}$$

$$I_t^r(k) = \hat{r}_t(k) \pm c_t^r(k) \tag{11}$$

$$L_t(k) = \max\{L_t^{\text{corr}}(k), L_t^r(k)\}, \quad U_t(k) = \min\{U_t^{\text{corr}}(k), U_t^r(k)\} \tag{12–13}$$

The confidence radii use $\ell_{T,\delta} = \log(6KT/\delta)$:

$$c_t^p(k) = \sigma_p \sqrt{\frac{2\ell_{T,\delta}}{N_{t-1}(k)}}, \quad c_t^\beta(k) = \sigma_\beta \sqrt{\frac{2\ell_{T,\delta}}{M_{t-1}(k)}}, \quad c_t^r(k) = \sigma_r \sqrt{\frac{2\ell_{T,\delta}}{M_{t-1}(k)}} \tag{15–16}$$

### Query Gate and Audit Pacing

The **query gate** requests an audit only when it can change the decision:

$$G_t = \mathbf{1}\{L_t(A_t) \leq U_t(J_t)\} \cdot \mathbf{1}\{c_t^\beta(A_t) \geq \rho_q c_t^p(A_t)\} \tag{17}$$

where $J_t$ is the most optimistic competitor and $\rho_q > 0$ is a threshold. The first factor is a certification test; the second ensures mismatch uncertainty dominates proxy uncertainty.

**MC (unpaced)**: audits every query-eligible round while the budget lasts:

$$Q_t = G_t \mathbf{1}\{b_t > 0\} \tag{18}$$

**MC-Paced**: accepts an eligible audit with probability equal to remaining budget per remaining round:

$$Q_t = G_t \mathbf{1}\{V_t \leq \pi_t\}, \quad \pi_t = \mathbf{1}\{b_t > 0\} \min\left\{1, \frac{b_t}{h_t}\right\} \tag{19}$$

**SW-MC-Paced**: runs MC-Paced on statistics computed over the last $\tau$ rounds only (sliding window).

---

## Empirical Validation / Results

### Synthetic Environments

Three regimes are tested with $K = 6$ arms, $T = 3000$, and budget $B = 150$:

| Regime | Proxy-UCB | MC | MC-Paced |
|--------|-----------|-----|----------|
| Stationary mismatch (late regret) | 71.95 | 3.10 | — |
| Smooth mismatch (late regret) | 65.51 | 28.67 | **5.50** |
| Aligned (late regret) | 0.03 | — | 7.77 |

**Key findings**:
- When proxy and target are aligned, proxy-only suffices; correction adds calibration cost.
- A rank-inverting mismatch makes the proxy fail (as predicted by Proposition 2).
- Under drift, pacing is decisive: MC exhausts audits by $t \approx 149$, while MC-Paced keeps audits until the end.

**Varying mismatch intensity** ($\alpha$): At $\alpha = 0$, Proxy-UCB (2.77) beats MC-Paced (7.77). The order reverses as mismatch grows: 27.70 vs 10.00 at $\alpha = 0.5$, 65.51 vs 5.50 at $\alpha = 1$.

### CivilComments-WILDS Proof of Concept

**Setup**: BERT-Small (28.8M parameters) guides training of BERT-Large (335M parameters) on a toxicity benchmark. Eight interventions correspond to identity groups. Proxy reward is class-balanced cross-entropy decrease on 2,001 examples; target reward on 20,005 examples.

**Short adaptation (H64)**: At equal target budget ($B = 48$), MC-DUCB improves WGA-16 over Sparse-Target by **+2.52 points** (95% CI [+0.96, +4.28], $p = 0.018$):

| Method | CE ↓ | WGA-16 ↑ | Acc. ↑ |
|--------|------|----------|--------|
| Proxy-only | .4493 ±.0064 | .6564 ±.0232 | .9111 ±.0032 |
| Sparse-Target, B=48 | .4500 ±.0076 | .6563 ±.0322 | .9099 ±.0044 |
| Static | .4452 ±.0027 | .6658 ±.0257 | .9098 ±.0027 |
| MC-DUCB, B=48 | .4452 ±.0038 | **.6815 ±.0197** | .9095 ±.0024 |

**Long training regimes (audit timing)**: MC and MC-Paced consume exactly the same number of audits but differ in timing:

| Regime | MC WGA-16 | MC-Paced WGA-16 | Δ (points) |
|--------|-----------|-----------------|------------|
| n0 | .579 | .642 | **+6.32** |
| n25 | .589 | .661 | **+7.20** |
| n100 | .624 | .729 | **+10.54** |

Pacing places the median audit at 32–43% of the phase (vs 12.5% for MC) and the last audit at 99–100%. The proxy shows ~66% sign agreement with the target—about one-third of per-round gains have opposite signs for the two models.

---

## Theoretical and Practical Implications

### Theoretical Results

**Under stationarity (Theorem 1)**: On the good event $\mathcal{E}_T$, every suboptimal arm $k$ satisfies:

$$N_T(k) \leq m_0 + 2 + H_k^p + H_k^\beta + \Phi_T(k)$$

where $H_k^p$ and $H_k^\beta$ are observation thresholds:

$$H_k^p = \frac{8(1+\rho_q)^2\sigma_p^2\ell}{\Delta_k^2}, \qquad H_k^\beta = \frac{8(1+\rho_q)^2\sigma_\beta^2\ell}{\rho_q^2\Delta_k^2} \tag{20}$$

The regret decomposes as:

$$R_T \leq \sum_{k \neq k^\star} \Delta_k\left(m_0 + 2 + H_k^p + H_k^\beta\right) + \sum_{k \neq k^\star} \Delta_k \Phi_T(k) \tag{21}$$

**Lower bounds**:
- **Proposition 2**: Proxy-only allocation incurs **linear regret** when proxy-optimal and target-optimal arms differ.
- **Proposition 3**: Any policy needs more than $\sigma_\beta^2/\Delta^2$ audits in expectation to achieve regret below $\Delta T/4$.
- **Proposition 4**: Front-loaded audits cannot follow a late change—a policy exhausting its budget before a change incurs regret at least $\Delta(T-\tau_0+1)/2$.

**Under piecewise stationarity (Theorem 2)**: SW-MC-Paced with window $\tau$ achieves:

$$\mathbb{E}[R_T] \leq \Delta_{\max}\left(T_0 + \Gamma_T \tau + \frac{8}{q} + \delta T + K\left\lceil\frac{T}{\tau}\right\rceil\left(H^p + 1 + \frac{2}{q}(H^\beta + 1)\right)\right) \tag{22}$$

**Corollary 1**: With $\tau = \lceil\sqrt{T\log T/\Gamma_T}\rceil$, the regret is $O(\Delta_{\max} C_q \sqrt{\Gamma_T T \log T})$, matching the rate of sliding-window UCB.

### Practical Implications

1. **Proxy correction is valuable when mismatch exists**: Correction is not free—when proxy and target are aligned, spending audits only adds calibration cost.
2. **Audit timing matters as much as audit count**: At identical audit count, pacing improves worst-group accuracy by 6.3–10.5 points.
3. **The trade-off is measurable**: Pacing raises test accuracy of toxic cells by +5.96 to +7.98 points while lowering non-toxic cells by 3.7–4.5 points and overall accuracy by ~0.8 points.

---

## Conclusion

**Main takeaways**:
- A small model can guide the data allocation of a larger one while ranking the data differently.
- Paired audits make the arm-dependent mismatch identifiable, and mismatch-corrected bandits use them to repair the proxy ranking.
- When the proxy–target relation is stationary, audits are best spent as soon as the gate requests them.
- When the relation changes, a policy that has exhausted its audit budget cannot detect a later change from proxy feedback alone.
- Pacing combined with a sliding window reaches the rate of sliding-window UCB.

**Limitations**: The proof of concept uses BERT models on a classification benchmark (not generative LLMs), eight interventions, and 3–10 seeds per campaign. The controller optimizes local cross-entropy while WGA measures a different property. Noise scales are assumed known.

**Future directions**: Evaluation of the sliding-window policy, adaptive windows for unknown change counts, variance-adaptive confidence radii without known noise scales, and experiments on language model data mixing.

---

_Markdown view of https://picx.dev/p/RTC6cK, served by PicX — AI-generated visual whiteboard summaries of research papers._
