alphaFeedback

WorksComputer Science

Conservative Dueling Bandits: Preference Learning under Baseline Constraints

AI contributions
Not recorded for this paper
View details

Abstract

Contextual dueling bandits learn from pairwise comparisons, the same feedback used to fine-tune language models from human preferences. Standard algorithms explore aggressively and can show users two poor options. We study conservative contextual dueling bandits, which require that, at every round, the cumulative score of the better displayed item stay above a (1−α)(1-α) fraction of a trusted baseline's. An item's score is its probability of beating the best available item, so the constraint depends only on utility differences and needs no absolute rewards. This also changes how safety can be certified: we show that transferring the safety test of the conservative bandit algorithm CLUCB unchanged can incur linear regret, even when the baseline's utilities are known exactly. For linear utilities, we develop MaxInP-BC, which certifies scores through utility gaps and, when it must fall back, pairs the baseline with an informative partner so that fallback rounds still drive learning. It is safe with high probability at all times, with regret O~(dT/κ)\tilde{O}(d\sqrt{T}/κ) plus an additive cost of conservatism that does not grow with the horizon. For general utility classes, we develop BTIGW-BC, which turns the guarantee of an online logistic-regression oracle into cumulative safety certificates. It is safe at all times, makes finitely many fallbacks, and has sublinear regret whenever the oracle's logistic regret is sublinear. In experiments, both satisfy the constraint, which their unconstrained counterparts often violate, at a moderate cost in regret.

Introduction

Many learning systems that interact with people cannot rely on numerical rewards. When users are asked to rate a search result, a recommended item, or a piece of generated text on an absolute scale, the scores they give are noisy, poorly calibrated across individuals, and expensive to collect at scale. Asking the same users which of two options they prefer is easier for them and yields a more consistent signal [23]. This has motivated a large body of work on learning from pairwise preferences [4, 15, 2] (Yue et al. 2012; Wirth et al. 2017). Its applications include online evaluation and optimization of search rankers [22, 6, 19] (Radlinski et al. 2008; Yue and Joachims 2009), recommender systems [23] (Kalloori et al. 2016), human-in-the-loop design [5, 18] (Tucker et al. 2020), and learning from human comparisons [7], which has more recently become a standard way to fine-tune language models, either by reinforcement learning against a learned reward model [1] (Ziegler et al. 2020; Stiennon et al. 2020; Ouyang et al. 2022) or by optimizing the policy directly on the preference data (Rafailov et al., 2023).

The dueling bandit problem gives a clean abstraction of this interaction and has been studied for finitely many actions (Yue et al., 2012). In each round, the learner selects a pair of actions, presents them to a user, and observes only a noisy binary outcome indicating which one was preferred. Because no single observation reveals how good an action is, the learner must infer quality from patterns of wins and losses. A common way to add structure is to posit a probabilistic choice model. Under the Bradley–Terry–Luce (BTL) model [4, 20] (Luce 2005), each action has a latent utility, and the probability that one action beats another is a logistic function of their utility difference (cf. Assumption 1). The Plackett–Luce model extends this to comparisons among more than two items (Zhao et al., 2020). Contextual dueling bandits (Saha, 2021) let the utility also depend on observed side information, such as a query, a user profile, or a prompt. They have led to algorithms with sublinear regret guarantees for linear and more general utility classes, the latter typically through reductions to online regression oracles (Sekhari et al., 2023), an approach that extends to neural function classes in contextual bandits with cardinal rewards [8]. Constraints are far less understood under preference feedback. For dueling bandits with knapsack constraints, Deb et al. [9] show that relative feedback makes the problem harder than its bandit counterpart: without further assumptions on the budget, it is not learnable from a regret-minimization perspective.

However, all of this work measures performance by regret against the best comparison in hindsight. The resulting algorithms therefore explore as aggressively as they can. This sits uneasily with how preference-based learners are deployed in practice, because every comparison is shown to a real person. A user who is repeatedly offered two unappealing recommendations, or two unhelpful answers, has little reason to keep trusting the system, however informative those comparisons are for the learner. Moreover, a new learning system rarely starts from scratch. It usually replaces or augments an existing policy whose behavior is considered acceptable. In such settings, it is natural to require that algorithms avoid aggressive exploration, and ensure that the deployed policy performs at least comparably to an existing, trusted baseline strategy. Concretely, we ask that at every step, the better of the two displayed items be, in aggregate, at least a (1−α)(1-\alpha) fraction as good as what the baseline would have offered.

For bandits with numerical rewards, this kind of safe exploration is captured by conservative bandits [16] (Wu et al. 2016; Kazerouni et al. 2017). Conservative algorithms are now available for linear rewards under both optimism and Thompson sampling [11] (Kazerouni et al. 2017), and for general reward classes accessed through online regression oracles [10]. These methods keep a budget of permissible loss relative to the baseline: they lower-bound the cumulative reward of the actions played so far, credit the baseline’s reward on rounds where it is played, and explore only when this bound stays above the target. That bookkeeping requires knowing how good the learner’s actions are in absolute terms, and preference feedback does not provide it. A comparison reveals only the difference between two utilities, so a confidence set built from comparisons can leave the overall level of utility uncertain no matter how much data arrives. A lower bound on cumulative utility computed from such a set may then stay loose indefinitely. Indeed, we show that transferring CLUCB’s safety test unchanged can incur linear regret, even when the baseline’s utilities are known exactly. As with knapsack constraints [9], relative feedback changes what a constrained learner can certify. This shapes both the constraint and how it is enforced. We measure each item by its probability of beating the best available item, which depends only on utility differences, and we certify safety through utility gaps rather than estimated payoffs. A second difficulty arises when the budget runs out. A conservative bandit then plays the baseline, but the dueling analogue, showing the baseline against itself, yields a fair coin flip and no information. A learner that falls back this way stops learning exactly when it is uncertain enough to need the fallback. Because our constraint scores a pair by its better item, any pair containing the baseline is safe whatever its partner. We therefore pair the baseline with an informative partner, so that fallback rounds still sharpen the certificates that govern future exploration.

In this work, we study Preference Learning under Baseline Constraints. Our technical contributions are as summarized below.

  1. Framework: We formulate conservative contextual dueling bandits under Bradley–Terry feedback, requiring the cumulative preference score of the better displayed item to remain above a (1−α)(1-\alpha) fraction of the baseline’s at every prefix. This score-based constraint is invariant to utility shifts and requires no absolute reward observations.

  1. Linear utilities: We show that a direct CLUCB transfer can incur linear regret and develop MaxInP-BC, which certifies scores through utility gaps and uses informative baseline fallbacks. We prove anytime high-probability safety and regret O~(dT/κ+Δhd2/(κ2α2s2))\widetilde{O}\left(d\sqrt{T}/\kappa+\Delta_h d^2/(\kappa^2\alpha^2s^2)\right), where s=σ(−Δh)s=\sigma(-\Delta_h). The additive conservatism term is independent of the horizon, and known score bounds suffice in place of exact baseline scores.

  1. General utility functions: We develop BTIGW-BC, which converts online logistic-regression guarantees into cumulative score certificates and updates the oracle on both candidate and fallback comparisons. For realizable classes with oracle regret Rlog⁡(T)=o(T)\mathcal{R}_{\log}(T)=o(T), we prove anytime high-probability safety and regret O~(KT[Rlog⁡(T)/κ+1/κ2]+ΔhK[Rlog⁡(T)/κ+1/κ2]/(α2s2))\widetilde{O}\left(\sqrt{KT\left[\mathcal{R}_{\log}(T)/\kappa+1/\kappa^2\right]+\Delta_hK\left[\mathcal{R}_{\log}(T)/\kappa+1/\kappa^2\right]/(\alpha^2s^2)}\right).

  1. Experiments: On synthetic linear and general-utility instances, MaxInP-BC and BTIGW-BC empirically satisfy the baseline constraint at every round. Their unconstrained counterparts violate it in early rounds in nearly all settings. Conservatism costs some extra regret over the unconstrained learners, concentrated where the constraint is tight, but far less than the linear regret of always playing the baseline.

Problem Formulation

We consider a stochastic Contextual Dueling Bandit (CDB) problem. At each round t∈[T]t\in[T], the learner is presented with a context set St={xt,1,…,xt,K}⊂DS_t=\{x_{t,1},\ldots,x_{t,K}\}\subset\mathcal{D} of KK items (or arms), where each xt,ix_{t,i} is drawn i.i.d. from an unknown distribution PD\mathcal{P}_{\mathcal{D}} over a decision space D⊂Rd\mathcal{D}\subset\mathbb{R}^d. The agent selects an ordered pair (xt,yt)∈St×St(x_t,y_t)\in S_t\times S_t (repetitions are allowed), and receives noisy binary feedback ot∈{0,1}o_t\in\{0,1\} indicating which item is preferred. In the context of LLMs, (xt,yt)(x_t,y_t) correspond to the two responses shown to the user, and oto_t to the user’s recorded preference. Let Ht\mathcal{H}_t denote all information available immediately before observing oto_t, including all completed rounds, the current contexts and baseline information, and the selected pair. As in Saha (2021); Bengs et al. [3]; Li et al. (2024), we assume preferences are generated by a latent utility function f:D→Rf:\mathcal{D}\to\mathbb{R}, through the Bradley–Terry–Luce (BTL) model.

Assumption 1 (BTL Model). There exists a utility function f:D→Rf:\mathcal{D}\to\mathbb{R} such that the conditional preference probability satisfies

P(ot=1∣Ht−)=exp⁡(f(xt))exp⁡(f(xt))+exp⁡(f(yt))=σ(f(xt)−f(yt)),(1)\mathbb{P}(o_t=1\mid\mathcal{H}_t^{-})=\frac{\exp(f(\mathbf{x}_t))}{\exp(f(\mathbf{x}_t))+\exp(f(\mathbf{y}_t))}=\sigma\left(f(\mathbf{x}_t)-f(\mathbf{y}_t)\right), \tag*{(1)}

where σ(z)=1/(1+e−z)\sigma(z)=1/(1+e^{-z}) is the sigmoid function.

Two structural properties of (1) will be useful. The comparison law depends only on utility differences and is invariant to adding a constant to every utility. A self-duel has success probability 1/21/2, so its outcome provides no information about ff.

Assumption 2 (Bounded utility range). There is a known constant B>0B>0 such that the absolute difference ∣f(x)−f(y)∣≤B|f(\mathbf{x})-f(\mathbf{y})|\le B for all x,y∈D\mathbf{x},\mathbf{y}\in\mathcal{D}. In the linear case f(x)=⟨θ⋆,x⟩f(\mathbf{x})=\langle\boldsymbol{\theta}^{\star},\mathbf{x}\rangle with ∥θ⋆∥2≤S\|\boldsymbol{\theta}^{\star}\|_2\le S and ∥x∥2≤L\|\mathbf{x}\|_2\le L, one may take B=2LSB=2LS. We define the minimum slope of the logistic link on [−B,B][-B,B],

κ:=inf⁡∣z∣≤Bσ′(z)=σ(B)(1−σ(B))>0.\kappa:=\inf_{|z|\le B}\sigma'(z)=\sigma(B)(1-\sigma(B))>0.

Let xt⋆∈arg⁡max⁡x∈Stf(x)\mathbf{x}_t^\star\in\arg\max_{\mathbf{x}\in\mathcal{S}_t}f(\mathbf{x}) denote a best item in round tt, ties broken by a fixed rule. Next we define the regret of an algorithm following Saha (2021); Verma et al. (2025). It captures the cumulative gap between the best possible utility and the average utility of the learner’s choices over TT rounds.

Regret. Suppose an algorithm chooses the pair (xt,yt)(\mathbf{x}_t,\mathbf{y}_t) at time t∈[T]t\in[T]. The instantaneous regret incurred at round tt is the gap between the utility of the best item and the average utility of the compared pair, denoted Rt:=f(xt⋆)−12(f(xt)+f(yt))R_t:=f(\mathbf{x}_t^\star)-\frac{1}{2}(f(\mathbf{x}_t)+f(\mathbf{y}_t)), and the cumulative TT-round regret is

Reg⁡(T):=∑t=1TRt=∑t=1T(f(xt⋆)−12(f(xt)+f(yt))).(2)\operatorname{Reg}(T):=\sum_{t=1}^{T}R_t=\sum_{t=1}^{T}\left(f(\mathbf{x}_t^\star)-\frac{1}{2}(f(\mathbf{x}_t)+f(\mathbf{y}_t))\right). \tag*{(2)}

Next we define a performance constraint that the algorithm must satisfy so that the overall user experience stays above a threshold set by an existing trusted baseline policy.

Definition 2.1 (Baseline Performance Constraint). The preference score of an item x∈St\mathbf{x}\in\mathcal{S}_t is its probability of beating the best item of the round: st(x):=P{x≻xt⋆}=σ(f(x)−f(xt⋆))∈(0,12]s_t(\mathbf{x}):=\mathbb{P}\{\mathbf{x}\succ\mathbf{x}_t^\star\}=\sigma(f(\mathbf{x})-f(\mathbf{x}_t^\star))\in(0,\frac{1}{2}]. Suppose the agent has access to baseline items xbt∈St\mathbf{x}_{bt}\in\mathcal{S}_t, t∈[T]t\in[T], with known scores st(xbt)s_t(\mathbf{x}_{bt}). Given a risk parameter α∈(0,1)\alpha\in(0,1), a sequence of displayed pairs (xi,yi)(\mathbf{x}_i,\mathbf{y}_i), i∈[t]i\in[t] is α\alpha-conservative if

∑i=1tmax⁡{si(xi),si(yi)}≥(1−α)∑i=1tsi(xbi),for all t∈[T].(3)\sum_{i=1}^{t}\max\{s_i(\mathbf{x}_i),s_i(\mathbf{y}_i)\}\ge(1-\alpha)\sum_{i=1}^{t}s_i(\mathbf{x}_{bi}),\qquad\text{for all }t\in[T]. \tag*{(3)}

Assumption 3 (Baseline Gap and Bounds) Let Δt,bt:=f(xt⋆)−f(xbt)\Delta_{t,b_t} := f(x_t^\star) - f(x_{b_t}) denote the baseline gap. There are known constants 0≤Δl≤Δh≤B0 \le\Delta_l \le\Delta_h \le B with Δl≤Δt,bt≤Δh\Delta_l \le\Delta_{t,b_t} \le\Delta_h for all t∈[T]t \in[T]; equivalently

s‾:=σ(−Δh)≤st(xbt)≤σ(−Δl)=:s‾≤12.\underline{s} := \sigma(-\Delta_h) \le s_t(x_{b_t}) \le\sigma(-\Delta_l) =: \overline{s} \le\frac{1}{2}.

Remark 1 (Why the maximum and why scores) The constraint in (3) compares cumulative preference probabilities along the learner’s trajectory, rather than realized comparison labels. Using the maximum ensures that any pair containing the baseline has score at least that of the baseline, allowing its partner to be selected for information acquisition.

Linear Utilities: Conservative Maximum-Informative-Pair

Assumption 4 (Linear Utility) There is an unknown θ⋆∈Rd\theta^\star\in\mathbb{R}^d with ∥θ⋆∥2≤S\lVert\theta^\star\rVert_2 \le S such that f(x)=⟨θ⋆,x⟩f(\mathbf{x}) = \langle\theta^\star,\mathbf{x}\rangle, and ∥x∥2≤L\lVert\mathbf{x}\rVert_2 \le L, for every x∈D\mathbf{x} \in\mathcal{D}. The learner optimises over Θ={θ:∥θ∥2≤S}\Theta= \{\theta: \lVert\theta\rVert_2 \le S\}, so Assumption 2 holds with B=2LSB = 2LS and κ=σ(B)(1−σ(B))\kappa= \sigma(B)(1-\sigma(B)).

In the unconstrained setting, MaxInP (Saha (2021)) maintains a set of items that may still be optimal and displays the most uncertain pair among them. Such a pair is informative, but nothing prevents both of its items from being poor. We therefore design MaxInP-BC around a safety budget. The algorithm fits θ⋆\theta^\star by regularized maximum likelihood on the observed comparisons and uses the resulting confidence ellipsoid to identify promising items. It then proposes the most informative pair and displays it only if the baseline constraint remains certifiably satisfied. Otherwise, it falls back to a pair that contains the baseline item and is still informative for learning.

References

  1. [1]Yuntao Bai, Andy Jones, Kamal Ndousse, Amanda Askell, Anna Chen, Nova DasSarma, Dawn Drain, Stanislav Fort, Deep Ganguli, Tom Henighan, et al. Training a helpful and harmless assistant with reinforcement learning from human feedback, 2022.arxiv.org/abs/2204.05862
  2. [2]Viktor Bengs, Róbert Busa-Fekete, Adil El Mesaoudi-Paul, and Eyke Hüllermeier. Preference-based online learning with dueling bandits: A survey. Journal of Machine Learning Research, 22(7): 1–108, 2021.
  3. [3]Viktor Bengs, Aadirupa Saha, and Eyke Hüllermeier. Stochastic contextual dueling bandits under linear stochastic transitivity models. In International Conference on Machine Learning, pages 1764–1786. PMLR, 2022.arxiv.org/abs/2202.04593
  4. [4]Ralph Allan Bradley and Milton E. Terry. Rank analysis of incomplete block designs: I. the method of paired comparisons. Biometrika, 39(3/4):324–345, 1952. ISSN 00063444, 14643510. URL http://www.jstor.org/stable/2334029.DOI
  5. [5]Eric Brochu, Nando de Freitas, and Abhijeet Ghosh. Active preference learning with discrete choice data. In Advances in Neural Information Processing Systems 20 (NIPS), 2007.
  6. [6]Olivier Chapelle, Thorsten Joachims, Filip Radlinski, and Yisong Yue. Large-scale validation and analysis of interleaved search evaluation. ACM Transactions on Information Systems, 30(1): 6:1–6:41, 2012.DOI
  7. [7]Paul Christiano, Jan Leike, Tom Brown, Miljan Martic, Shane Legg, and Dario Amodei. Deep reinforcement learning from human preferences. In NeurIPS, 2017.arxiv.org/abs/1706.03741
  8. [8]Rohan Deb, Yikun Ban, Shiliang Zuo, Jingrui He, and Arindam Banerjee. Contextual bandits with online neural regression. In The Twelfth International Conference on Learning Representations, 2024a. URL https://openreview.net/forum?id=5ep85sakT3.arxiv.org/abs/2312.07145
  9. [9]Rohan Deb, Aadirupa Saha, and Arindam Banerjee. Think before you duel: Understanding complexities of preference learning under constrained resources. In Sanjoy Dasgupta, Stephan Mandt, and Yingzhen Li, editors, Proceedings of The 27th International Conference on Artificial Intelligence and Statistics, volume 238 of Proceedings of Machine Learning Research, pages 4546–4554. PMLR, 02–04 May 2024b. URL https://proceedings.mlr.press/v238/deb24a.html.arxiv.org/abs/2312.17229
  10. [10]Rohan Deb, Mohammad Ghavamzadeh, and Arindam Banerjee. Conservative contextual bandits: Beyond linear representations. In The Thirteenth International Conference on Learning Representations, 2025a. URL https://openreview.net/forum?id=SThJXvucjQ.arxiv.org/abs/2412.06165
  11. [11]Rohan Deb, Mohammad Ghavamzadeh, and Arindam Banerjee. Thompson sampling for constrained bandits. In Reinforcement Learning Conference, 2025b. URL https://openreview.net/forum?id=5HL4QaNQcf.
  12. [12]Rohan Deb, Udaya Ghai, Karan Singh, and Arindam Banerjee. Replicable bandits with ucb based exploration, 2026a. URL https://arxiv.org/abs/2604.20024.
  13. [14]Miroslav Dudík, Katja Hofmann, Robert E. Schapire, Aleksandrs Slivkins, and Masrour Zoghi. Contextual dueling bandits. In Peter Grünwald, Elad Hazan, and Satyen Kale, editors, Proceedings of The 28th Conference on Learning Theory, volume 40 of Proceedings of Machine Learning Research, pages 563–587. PMLR, 2015. URL https://proceedings.mlr.press/v40/Dudik15.html.arxiv.org/abs/1502.06362
  14. [15]Johannes Fürnkranz and Eyke Hüllermeier, editors. Preference Learning. Springer, 2010.
  15. [16]Evrard Garcelon, Mohammad Ghavamzadeh, Alessandro Lazaric, and Matteo Pirotta. Improved algorithms for conservative exploration in bandits. In AAAI, 2020a.arxiv.org/abs/2002.03221
  16. [17]Evrard Garcelon, Mohammad Ghavamzadeh, Alessandro Lazaric, and Matteo Pirotta. Conservative exploration in reinforcement learning. In Silvia Chiappa and Roberto Calandra, editors, Proceedings of the Twenty Third International Conference on Artificial Intelligence and Statistics, volume 108 of Proceedings of Machine Learning Research, pages 1431–1441. PMLR, 2020b. URL https://proceedings.mlr.press/v108/garcelon20a.html.arxiv.org/abs/2002.03218
  17. [18]Javier González, Zhenwen Dai, Andreas Damianou, and Neil D. Lawrence. Preferential Bayesian optimization. In Proceedings of the 34th International Conference on Machine Learning (ICML), volume 70 of PMLR, pages 1282–1291, 2017.arxiv.org/abs/1704.03651
  18. [19]Katja Hofmann, Lihong Li, and Filip Radlinski. Online evaluation for information retrieval. Foundations and Trends in Information Retrieval, 10(1):1–117, 2016.
  19. [20]David R Hunter. Mm algorithms for generalized bradley–terry models. Annals of Statistics, 32(1):384–406, 2004.DOI
  20. [21]Russell Impagliazzo, Rex Lei, Toniann Pitassi, and Jessica Sorrell. Reproducibility in learning. In Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing (STOC), pages 818–831. Association for Computing Machinery, 2022. doi: 10.1145/3519935.3519973.DOI
  21. [22]Thorsten Joachims. Optimizing search engines using clickthrough data. In Proceedings of the 8th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 133–142, 2002.
  22. [23]Nicolas Jones, Armelle Brun, and Anne Boyer. Comparisons instead of ratings: Towards more stable preferences. In 2011 IEEE/WIC/ACM International Conferences on Web Intelligence and Intelligent Agent Technology, volume 1, pages 451–456, 2011. doi: 10.1109/WI-IAT.2011.13.DOI

Paper details

vlnc:W_kb5efy95
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Computer Science

Not recorded for this paper · View statement →

Looking for related papers…
Contents