 Bayesian Optimization from Human Feedback: Near-Optimal Regret Bounds


                  Aya Kayal 1 Sattar Vakili 2 Laura Toni 1 Da-shan Shiu 2 Alberto Bernacchia 2


                          Abstract                                 et al., 2024), which aims to efficiently identify the best
                                                                   prompt for black-box Large Language Models (LLMs),
     Bayesian optimization (BO) with preference-
                                                                   thereby significantly enhancing their performance (Chen
     based feedback has recently garnered significant
                                                                   et al., 2024; Lin et al., 2024; 2023). Obtaining a numeric
     attention due to its emerging applications. We
                                                                   score to evaluate each prompt’s performance is often un-
     refer to this problem as Bayesian Optimization
                                                                   realistic, but human users are generally much more reli-
     from Human Feedback (BOHF), which differs
                                                                   able at providing preference feedback between pairs of
     from conventional BO by learning the best actions
                                                                   prompts (Lin et al., 2024). Since human feedback is costly,
     from a reduced feedback model, where only the
                                                                   it becomes essential to develop efficient methods that can se-
     preference between two actions is revealed to the
                                                                   quentially select favorable pairs of actions while minimizing
     learner at each time step. The objective is to iden-
                                                                   the number of feedback instances required.
     tify the best action using a limited number of pref-
     erence queries, typically obtained through costly             The theoretical framework for learning from preference-
     human feedback. Existing work, which adopts                   based feedback (see, e.g., Pásztor et al., 2024; Xu et al.,
     the Bradley-Terry-Luce (BTL) feedback model,                  2024) can be modeled as Bayesian Optimization from Hu-
     provides regret bounds for the performance of                 man Feedback (BOHF). Similarly to conventional BO (Fra-
     several algorithms. In this work, within the same             zier, 2018; Shahriari et al., 2015; Srinivas et al., 2010),
     framework we develop tighter performance guar-                the learner leverages previously collected samples through
         p Specifically, we derive regret bounds of
     antees.                                                       kernel-based regression to learn an unknown black-box func-
     Õ( Γ(T )T ), where Γ(T ) represents the maxi-                tion. However, unlike conventional BO methods that rely
     mum information gain—a kernel-specific com-                   on direct evaluations of the target function, this approach
     plexity term—and T is the number of queries.                  collects pairwise comparisons instead of direct evaluation
     Our results significantly improve upon existing               feedback, adding further complexities to the problem.
     bounds. Notably, for common kernels, we show
                                                                   In the BOHF framework, at each time step t = 1, 2, · · · , T ,
     that the order-optimal sample complexities of
                                                                   the learner selects a pair of actions (xt , x′t ) and receives
     conventional BO—achieved with richer feedback
                                                                   binary feedback yt ∈ {0, 1} representing the preference
     models—are recovered. In other words, the same
                                                                   between the two actions. This binary feedback is mod-
     number of preferential samples as scalar-valued
                                                                   eled as a Bernoulli random variable, where the parameter
     samples is sufficient to find a nearly optimal solu-
                                                                   is determined by applying a link function (here, sigmoid)
     tion.
                                                                   to the difference in the unobserved utilities corresponding
                                                                   to each action, quantifying the preference between them.
                                                                   Performance is measured in terms of regret, defined as the
1. Introduction                                                    cumulative loss in the selected pairs of actions compared
Optimizing a black-box function using only preference-             to the optimal action (details are provided in Section 2).
based feedback between pairs of candidate solutions has            Kernel-based models employed within the BOHF frame-
recently emerged as an interesting problem. This approach          work allow for powerful and versatile modeling of prefer-
finds application, for instance, in prompt optimization (Lin       ences among actions, leveraging structures, and handling
                                                                   continuous domains or very large action spaces.
   Aya Kayal’s work was part of her research place-
                              1
ment at MediaTek Research.      University College Lon-            Existing  work establishes a regret bound of
don, UK 2 MediaTek Research. Correspondence to: Aya
                                                                     
                                                                            2
                                                                              √
                                                                   Õ Γ(T )κ T     for the BOHF problem (Pásztor
Kayal <aya.kayal.21@ucl.ac.uk>, Sattar Vakili <sat-
tar.vakili@mtkresearch.com>.                                       et al., 2024), where we use the O and the Õ notations
                     nd                                            to hide constants and logarithmic terms respectively, for
Proceedings of the 42 International Conference on Machine
Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025        simplicity of presentation. In this expression, κ is the
by the author(s).                                                  maximum of the derivative of the inverse link function (see

                                                               1
                                         Bayesian Optimization from Human Feedback

Equation (2)) and Γ(T ) is the maximum information gain,              based confidence intervals, contributing to improvements in
a kernel-specific and algorithm-independent complexity                both Γ(T ) and κ.
term (see Equation (13)).
                                                                      We present experimental results on the performance of MR-
It is insightful to compare the existing BOHF
                                            pregret bound
                                                                     LPF on synthetic functions that closely align with the ana-
with the order-optimal regret bounds of Õ      Γ(T )T in             lytical assumptions, as well as on a dataset of Yelp reviews,
                                                                      demonstrating the utility of the proposed algorithm in real-
conventional BO. In comparison, an additional κ2 factor
                                                                      world applications (Section 5).
arises due to the feedback model. While this constant is
independent   of T , it can be very large. There is also an
      p                                                               1.1. Related Work
extra Γ(T ) factor, which introduces potential challenges.
To better understand this, let us take a closer look at Γ(T ).        Two works closely related to ours are Pásztor et al. (2024)
For smooth kernels with exponentially decaying eigenval-              and Xu et al. (2024), which consider the exact same BOHF
ues, such as the Squared Exponential (SE) kernel, Γ(T )               framework. The work by Pásztor et al. (2024) proposed
is polylogarithmic in T . However, for more general ker-              the MaxMinLCB algorithm, which takes a game-theoretic
nels of both practical and theoretical interest, such as the          approach to selecting the pair of actions (xt , x′t ) at each
Matérn family (Borovitskiy et al., 2020) and Neural Tangent          time step t. Specifically, xt and x′t are selected according
                             √ Γ(T ) grows polynomially
(NT) kernels (Arora et al., 2019),                                    to a game, with the objective function defined as a lower
with T , possibly faster than T , making the regret bounds            confidence bound (LCB) on the probability of favoring xt
vacuous (linear in T ).                                               over x′t . Hence, the name: xt is chosen to Maximize and x′t
Our  contribution                                                     to Minimize the LCB (see, Pásztor et al., 2024, Algorithm 1).
                 is that we establish regret bounds of                                                           2
                                                                                                                    √ 
                                                                      Their regret bound scales as Õ Γ(T )κ T , which may
   p
Õ    Γ(T )T for the BOHF problem (Theorem 4.1),
             p                                                        be vacuous for some commonly used kernels and scales
achieving a Γ(T ) improvement and eliminating the depen-
                                                                      with κ2 , which can be a large constant.
dency on κ, resolving both issues and matching the regret
bounds of conventional BO. From our regret bounds, we                 Another closely related work is Xu et al. (2024), which
derive the sample complexities—the number of preference               develops Principled Optimistic Preferential Bayesian Opti-
query samples required to identify near-optimal actions.              mization (POP-BO), an algorithm based on the optimism
Our sample complexities match the lower bounds obtained               principle. Specifically, at each time step t, x′t is set to xt−1 ,
in Scarlett et al. (2017) for conventional BO, which benefits         one of the actions from the previous time step, and xt is set
from a richer feedback model with a different noise distri-           to the maximizer of an upper confidence bound on the pref-
bution. We will provide a technical discussion on this in             erence between the two actions (see, Xu et al., 2024, Algo-    
Section 4.                                                            rithm 1). They establish a regret bound of Õ (Γ(T )T )3/4 ,
                                                                      which is larger than the one in Pásztor et al. (2024) by a
In summary, we establish the intriguing result that the
                                                                      factor of (T /Γ(T ))1/4 and similarly may be vacuous for
number of preferential feedback samples required to iden-
                                                                      many cases of interest.1 Their definition of regret is based
tify near-optimal actions is of the same order as the num-
                                                                      directly on the utility function and slightly differs from ours.
ber of scalar-valued feedback samples. This is in sharp
                                                                      However, it remains equivalent to our regret definition up to
contrast and a significant improvement over the existing
                                                                      a constant factor, as discussed in Pásztor et al. (2024).
work (Pásztor et al., 2024; Xu et al., 2024).
To obtain the improved regret bounds, we propose an algo-
rithm referred to as Multi-Round Learning from Preference-
based Feedback (MR-LPF). The proposed algorithm pro-                          Table 1. Comparison of regret bounds in BOHF.
ceeds in rounds. In each round, pairs of actions are sequen-                                                               This
tially selected based on the highest uncertainty in their pref-               et al.,√2024)
                                                                        (Pásztor                 et al., 2024)
                                                                                                 (Xu                       p work 
                                                                          Õ Γ(T )κ2 T          Õ (Γ(T )T )3/4       Õ       Γ(T )T
erence. This method effectively reduces uncertainties about
the preferences between actions by the end of each round.
The uncertainties are represented by kernel-based standard
deviations. At the end of each round, the kernel-based con-
fidence intervals are used to eliminate actions unlikely to           Some other preferential BO methods mainly propose heuris-
be the best. Our multi-round structure is inspired by the             tics without formal theoretical guarantees on regret or con-
BPE algorithm of Li & Scarlett (2022), though the details             vergence proofs (González et al., 2017; Mikkola et al., 2020;
and analysis differ significantly due to the preference-based         Takeno et al., 2023).
feedback model. Details are provided in Section 3. We show               1
                                                                           Xu et al. (2024) does not explicitly report the scaling of the
that this structure allows for a more efficient use of kernel-        regret bound with κ.

                                                                  2
                                          Bayesian Optimization from Human Feedback

1.1.1. C ONVENTIONAL BO                                                 1.1.3. R EINFORCEMENT L EARNING FROM H UMAN
                                                                               F EEDBACK (RLHF)
Classical BO algorithms include strategies based on the
upper confidence bound (UCB), Thompson sampling                         Another related line of work is RLHF (Griffith et al., 2013;
(TS) (Thompson, 1933), expected improvement (EI) (Jones                 Novoseller et al., 2020; Xu et al., 2020b; Wu & Sun, 2024;
et al., 1998), and probability of improvement (PI) (Brochu              Saha et al., 2023; Chen et al., 2022), which has gained
                                                  regret bounds
et al., 2010). A line of research has established √                     popularity due to its success in fine-tuning LLMs (Ouyang
for BO algorithms, including the Õ(Γ(T ) T ) bounds                    et al., 2022). In this context, preference-based feedback is
for GP-UCB (Srinivas et al., 2010) and GP-TS (Chowd-                    provided for Markov decision process trajectories or policies
hury & Gopalan,
            p         2017). Several works have achieved                rather than pairs of actions. However, these results are
tighter Õ( Γ(T )T ) bounds, including Sup variations of                primarily limited to tabular (finite state-action) or linear
UCB (Valko et al., 2013), the domain-shrinking algorithm                settings and are not directly related to our kernel-based
GP-ThreDS (Salgia et al., 2021), and Batch Pure Explo-                  setting.
ration (BPE) (Li & Scarlett, 2022). The latter also features
a multi-round structure and has inspired our MR-LPF algo-               2. Preliminaries and Problem Formulation
rithm. However, there are differences in the inference pro-
cedure and analysis, due to the use of a reduced preference-            In this section, we provide details of the BOHF framework.
based feedback model, which introduces additional com-                  We also outline the methods used to predict preference func-
plexities in both algorithm design and theoretical analysis.            tions and estimate uncertainty, which form the foundation
                                                                        of our algorithm’s design and analysis.
1.1.2. D UELING BANDITS
                                                                        2.1. BOHF Framework
The BOHF framework can be viewed as an extension of
bandits with preference-based feedback, also known as duel-             At each step t = 1, 2, · · · , T , the agent selects a pair of
ing bandits (Yue & Joachims, 2009; Yue et al., 2012), where             actions xt and x′t , from the set X , which can either be a
the goal is to identify the best action from a set of actions           continuous space or a (possibly very large) discrete set. We
using only pairwise comparisons. For a comprehensive sur-               consider the following feedback model: Let yt ∈ {0, 1} be a
vey on dueling bandits, see Bengs et al. (2021). Dueling                binary random variable indicating the preference between xt
bandit problems focus on multi-armed settings and learning              and x′t , defined as yt = 1{xt ≻ x′t }. The notation xt ≻ x′t
the pairwise preference matrix by applying noisy sorting                denotes that action xt is preferred over action x′t and 1 is
or tournament algorithms (Ailon et al., 2014; Zoghi et al.,             the indicator function. Specifically, following the existing
2014; Falahatgar et al., 2017; Zoghi et al., 2015). These               work, for each pair (x, x′ ) ∈ X × X , the random variable
approaches are typically limited to scenarios where the num-            y = 1 {x ≻ x′ } is modelled as a Bernoulli random vari-
ber of arms is small, and their regret can become unbounded             able satisfying P(y = 1|x, x′ ) = µ (f (x) − f (x′ )). Here,
as the number of arms approaches infinity. The simplest                 µ : R → [0, 1] is a known monotonically increasing link
structured variation is the linear contextual dueling ban-              function satisfying µ(0) = 12 that is assumed to be the sig-
dit, studied in Dudı́k et al. (2015); Saha & Krishnamurthy              moid function µ(·) = (1 + e−· )−1 , and f : X → R is an
(2022); Das et al. (2024); Li et al. (2024); Bengs et al. (2022),       unknown latent utility function that quantifies the value of
which allows for a large number of actions but under the                each action. This preference feedback model is referred to
limiting assumption of linear structure. Several works have             as the Bradeley-Terry-Luce (BTL) model (Bradley & Terry,
extended the dueling bandit problem to kernel-based set-                1952) and is widely utilized in bandit and RL problems with
tings, which differ from our BOHF framework. For instance,              preference feedback (Pásztor et al., 2024; Xu et al., 2024;
Xu et al. (2020a); Mehta et al. (2023a;b) consider the Borda            Zhan et al., 2024; Wu & Sun, 2024).
score, representing the probability that a selected action is
preferred over a uniformly sampled action from the domain.              We note that when f (x) > f (x′ ), we have P(x ≻ x′ ) =
They make strong assumptions about the Borda function,                  P(y = 1|x, x′ ) = µ (f (x) − f (x′ )) > 12 , and vice versa.
which effectively reduces the problem to conventional BO.               We also emphasize that this feedback model is weaker than
In contrast, our analytical requirements are significantly dif-         the standard BO where the per-step utility signal (the quan-
ferent from these approaches. A recent extension (Verma                 titative value of f ) is revealed, typically as a scalar value.
et al., 2025) considers neural dueling bandits with a wide              The goal is to sequentially select favorable action pairs over
neural network for preference prediction. Their approach                a horizon of T steps, and converge to the globally preferred
differs in both modeling and action selection, with regret              action x⋆ , defined as x⋆ = arg maxx∈X f (x). A common
bounds depending on the model’s effective dimension and                 objective adopted in the literature is to design an algorithm
the curvature parameter κ.                                              with sublinear cumulative regret over the horizon T , defined
                                                                        as the sum of the average sub-optimality gap between the

                                                                    3
                                             Bayesian Optimization from Human Feedback

selected pair and the globally optimal action:                            of Hk , respectively. The reproducing property implies that
                                                                          for all f ∈ Hk , and x ∈ X , ⟨f, k(·, x)⟩Hk = f (x). Mercer
                 T
                 X P(x⋆ ≻ xt ) + P(x⋆ ≻ x′ ) − 1        t                 theorem implies, under certain mild conditions, k can be
       R(T ) =                                              .   (1)
                                         2                                represented using an infinite dimensional feature map:
                 t=1
                                                                                                    ∞
                                                                                                    X
It can be shown that the value of regret above is equiv-                                     ′
                                                                                     k(x, x ) =          γm φm (x)φm (x′ ),                   (3)
alent toPa variation of regret defined on the utility func-                                        m=1
           T        ⋆                   ′
tion:      t=1 (f (x ) − (f (xt ) + f (xt )) /2)—used in Xu                                       √
et al. (2024)—up to constants that depend on the link func-               where γm > 0, and γm φm ∈ Hk form an orthonor-
tion (Saha, 2021).                                                        mal basis of Hk . In particular, any f ∈ Hk can be
                                                                          represented
                                                                               P∞ using       this basis and weights P   wm ∈ R as
The notion of regret accounts for the entire sequence of                                    √                              ∞
                                                                          f = m=1 wm γm φm , where ∥f ∥2Hk = m=1 wm             2
                                                                                                                                  . A
query points throughout steps t = 1, 2, . . . , T . Alternatively,
                                                                          formal statement and the details are provided in Appendix A.
one may be interested solely in the final performance. In this
                                                                          We refer to γm and φm as (Mercer) eigenvalues and eigen-
case, the algorithm outputs x̂T at the end of T samples, and
                                                                          features of k, respectively.
the performance is measured in terms of P(x⋆ ≻ x̂T ) − 12 .
We refer to the number of samples T required to ensure                    Let us use the notation z = (x, x′ ) and h(z) = f (x)−f (x′ ),
P(x⋆ ≻ x̂T ) − 12 ≤ ϵ, for some 0 < ϵ < 1/2, as the sample                for (x, x′ ) ∈ X × X . As shown in Pásztor et al. (2024), we
complexity and also remark on the sample complexity of                    can define a dueling kernel
different algorithms.
                                                                          k(z1 , z2 ) = k(x1 , x2 ) + k(x′1 , x′2 ) − k(x1 , x′2 ) − k(x′1 , x2 ),
An important quantity that appears in the analysis is
                                                                                                                                              (4)
                                         1                                where, we have: ∥f ∥Hk = ∥h∥Hk (Pásztor et al., 2024,
               κ = sup                              ,           (2)       Proposition 4).
                     x,x′ ∈X   µ̇ (f (x) − f (x′ ))

where µ̇ denotes the derivative of the link function µ and κ              Below is a formal statement of our assumptions on f .
captures its curvature. The dependence on κ has been exten-               Assumption 2.1. We assume that the utility function is
sively studied in linear logistic bandits, with recent works              in the RKHS of a known kernel k satisfying ∥f ∥Hk ≤ B
successfully removing the regret dependency on κ (Faury                   for some constant B > 0. Without loss of generality, we
et al., 2020). To emphasize the significance of this quantity,            assume that the kernel function is normalized k(., .) ≤ 1
consider the case where f is bounded within the interval                  everywhere in the domain.
[−5, 5]. In this scenario, κ can become extremely large
(> 22028). When the algorithm selects an action pair (x, x′ )             2.3. Preference Function Prediction and Uncertainty
that are nearly equally favorable, f (x) − f (x′ ) will be close               Estimation
to 0, in which case the inverse derivative of the sigmoid
function is almost a constant 4. However, when one action                 The preference-based feedback model in BOHF is weaker
is clearly preferred over the other, |f (x) − f (x′ )| becomes            than the standard BO, where quantitative observations of
large, making the inverse derivative of the sigmoid function              utility are available at each step. Before discussing the case
very large. Therefore, a crucial aspect of algorithm design               with preference feedback, we briefly review kernel ridge
is to remove the dependency on κ defined in (2) by ensuring               regression in the standard BO setting.
that the algorithm gradually queries only closely preferred               Hypothetically, assume a dataset {(xi , oi )}ti=1 of observa-
actions.                                                                  tions of f is available, where oi = f (xi ) + εi , with obser-
                                                                          vation noise εi . Kernel ridge regression would provide a
2.2. Preliminaries and Assumptions                                        powerful predictor and uncertainty estimate of f , as follows:
Similar to Pásztor et al. (2024); Xu et al. (2024), we assume
                                                                                  fˆt (x) = kt⊤ (x)(Kt + λI)−1 ot
that the utility function f belongs to a known Reproduc-
ing Kernel Hilbert Space (RKHS). This is a very general                          σ̂t2 (x) = k(x, x) − kt⊤ (x)(Kt + λI)−1 kt (x),              (5)
assumption, considering that the RKHS of common ker-
nels can approximate almost all continuous functions on the               where kt (x) = [k(x, xi )]ti=1 represents the pairwise kernel
compact subsets of Rd (Srinivas et al., 2010) . Consider                  values between the prediction point x and the observation
a positive definite kernel k : X × X → R. Let Hk be                       points, Kt = [k(xi , xj )]ti,j=1 is the kernel (or covariance)
the RKHS induced by k, where Hk contains a family of                      matrix, λ > 0 is a free parameter, and ot = [oi ]ti=1 is
functions defined on X . Let ⟨·, ·⟩Hk : Hk × Hk → R and                   the vector of observation values. The prediction function fˆt
∥ · ∥Hk : Hk → R denote the inner product and the norm                    here is the solution to the following regularized least squares

                                                                      4
                                                  Bayesian Optimization from Human Feedback

error optimization (see, e.g., Schölkopf et al., 2001):                          Similar to (5), we have an uncertainty estimation for each
                            t
                                                                                  z ∈ X × X as follows
                           X                    λ
         fˆt = arg min         (g(zi ) − oi )2 + ∥g∥2Hk ,            (6)               σt2 (z) = k(z, z) − k⊤                  −1
                 g∈Hk                           2                                                           t (z)(Kt + λκI)        kt (z),      (10)
                           i=1
                                                                                  where the notation Kt = [k (xi , x′i ), (xj , x′j ) ]ti,j=1 repre-
                                                                                                                                     
where λ is the same parameter as in (5). Confidence inter-
                                                                                  sents the (dueling) kernel matrix on the space of pair obser-
vals of the form |f (z) − fˆt (z)| ≤ β̂(δ)σ̂t (z), where β̂(δ) is
                                                                                  vations X ×X . Note the subtle difference in the definition of
a confidence interval width multiplier for a 1 − δ confidence
                                                                                  σt2 above for the preference-based feedback case compared
level, have been shown in several works (Abbasi-Yadkori,
                                                                                  to the conventional kernel-based regression case, where the
2013; Chowdhury & Gopalan, 2017; Vakili et al., 2021a;
                                                                                  free parameter λ is multiplied by κ, reflecting the effect of
Whitehouse et al., 2024) under various assumptions, and
                                                                                  the sigmoid nonlinearity on the quality of prediction.
serve as key building blocks in the analysis and algorithm
design of standard BO.                                                            Centered around the prediction µ(ht (·)) and incorporating
                                                                                  the uncertainty estimate from kernel ridge regression, as
In the absence of straightforward observations ot and
                                                                                  defined in Equation (10), we can construct 1 − δ confidence
with preference-based feedback, a closed-form prediction
                                                                                  intervals of the form:
is no longer available. Intuitively, this case resembles
a classification-like problem with binary outputs, where                                      |µ(ht (z)) − µ(h(z))| ≤ βt (δ)σt (z),
we can employ a logistic negative log-likelihood loss.
Specifically, for a history of preference feedback Ht =                           for a pair of interest z = (x, x′ ). In Theorem 4.7, we prove
(x1 , x′1 , y1 ), . . . , (xt , x′t , yt ) in the BOHF framework, we              a novel confidence interval of this form applicable to the
define the following loss:                                                        analysis of our algorithm.
                 t
                 X
 Lk (h, Ht ) =         −yi log µ(h(xi , x′i ))                                    3. Algorithm Description
                 i=1
                                                                                  In this section, we present the Multi-Round Learning from
                                                             λ
                − (1 − yi ) log(1 − µ(h(xi , x′i )) +          ||h||2Hk           Preference-based Feedback (MR-LPF) algorithm, inspired
                                                             2
                                                                                  by Li & Scarlett (2022), designed to achieve low regret
A prediction ht of the preference function h (difference in                       within the BOHF framework described in Section 2.1.
the utilities) can be obtained as:
                                                                                  The algorithm partitions the time horizon T into R rounds,
                   ht = arg min Lk (h, Ht ),                         (7)          indexed by r = 1, 2, . . . , R. During each round r, a to-
                                h∈Hk
                                                                                  tal of Nr samples are collected, ensuring that the cumu-
which represents the minimizer of the regularized negative                        lative
                                                                                  PR number of samples across allP       rounds equals T , i.e.,
                                                                                                                           r
log-likelihood loss.                                                                 r=1 N r  = T .  We  define  t r =     j=1 Nj as the time
                                                                                  step at the end of round r. The√   size of   p round is de-
                                                                                                                             each
To solve this minimization problem, we apply the Represen-                        termined as follows: N1 = ⌈ T ⌉, Nr = ⌈ Nr−1 T ⌉ for
ter Theorem, similar to Pásztor et al. (2024), which provides                                                   p
                                                                                  1 < r < R, and NR = min{⌈ NR−1 T ⌉, T − tR−1 }.
a parametric representation of ht :
                             t
                                                                                  We introduce the notations σ(n,r) (x, x′ ) and h(n,r) (x, x′ )
                  ht (·) =
                             X
                                   θi k (·, (xi , x′i )) ,           (8)          to represent the kernel-based uncertainty estimate and pre-
                             i=1
                                                                                  diction, respectively, from the first n samples in round r
                                                                                  according to Section 2.3.
in terms of θt = [θ1 , θ2 , · · · , θt ]⊤ ∈ Rt . With a slight
                                                                                  MR-LPF maintains a set Mr of actions in each round that
abuse of notation, replacing h with θ in Lk , the regularized
                                                                                  are likely to be the most preferable. Initially, M1 is set to
negative log-likelihood loss can then be rewritten in terms
                                                                                  X and is updated at the end of each round while satisfying a
of the parameter vector θ as follows:
                                                                                  nested structure, Mr ⊆ Mr−1 , as subsequently described.
                t
                                                                                  Within each round r, the n-th sample is chosen as the pair
                X
Lk (θ, Ht ) =          −yi log µ(θ ⊤ kt (xi , x′i ))
                 i=1
                                                                                  of actions within Mr that maximizes uncertainty :
                                                                λ                     (x(n,r) , x′(n,r) ) = arg max σ(n−1,r) (x, x′ ).
              − (1 − yi ) log(1 − µ(θ ⊤ kt (xi , x′i )) +         ||θ||22 ,                                      ′
                                                                                                               x,x ∈Mr
                                                                                                                                               (11)
                                                                2
                                                                     (9)
                                                                                  The preference feedback for this pair y(n,r) = 1{x(n,r) ≻
where kt (z) = [k(z, (xj , x′j ))]tj=1 is the kernel values be-                   x′(n,r) } is then revealed to the algorithm. The tuple
tween the pair z and observation pairs.                                           (x(n,r) , x′(n,r) , y(n,r) ) is added to the observations specific

                                                                              5
                                            Bayesian Optimization from Human Feedback

to round r: Hn,r = Hn−1,r ∪ {(x(n,r) , x′(n,r) , y(n,r) )},                Algorithm 1 MR-LPF
which is initialized as an empty set at the beginning of                   Require: ∀r, β(r) ; time horizon T
the round: H0,r = ∅.                                                         M1 ← X , t ← 1
At the end of round r, we compute the prediction function                    for r = 1, 2, · · · , R do
h(Nr ,r) based on observations HNr ,r , following the method                   Initialize H0,r = {}
of minimizing the regularized negative log-likelihood loss                     for n = 1, 2, · · · , Nr do
described in Section 2.3. Subsequently, we update Mr                              Select the pair of actions (x(n,r) , x′(n,r) ) that maxi-
according to the following rule:                                                  mizes the variance, with ties broken arbitrarily:
                                                                                  (x(n,r) , x′(n,r) ) = arg maxx,x′ ∈Mr σ(n−1,r) (x, x′ )
  Mr+1 = {x ∈ Mr |∀x′ ∈ Mr :                                                      t←t+1
          µ(h(Nr ,r) (x, x′ )) + β(r) σ(Nr ,r) (x, x′ ) ≥ 0.5}.                   if t ≥ T then
                                                             (12)                    Terminate
                                                                                  end if
The round specific parameters β(r) are designed in a way                          Observe y(n,r) = 1{x(n,r) ≻ x′(n,r) }
that the left hand side of the inequality is an upper confi-
                                                                                  Hn,r = Hn−1,r ∪ {(x(n,r) , x′(n,r) , y(n,r) )}
dence bound on the probability of favoring x over x′ (the
                                                                               end for
values are given in Theorem 4.1). The rationale here is
                                                                               Update h(Nr ,r) based on observations in HNr ,r
that when an upper confidence bound on the probability of
                                                                               Update the set of maximizers Mr+1 by removing ac-
preferring x to any x′ is greater than 0.5, x is plausible to
                                                                               tions unlikely to be optimal:
be the most preferred action. Therefore, we keep it in the
                                                                               Mr+1 = {x ∈ Mr |∀x′ ∈ Mr : µ(h(Nr ,r) (x, x′ )) +
update of Mr+1 . All other actions are removed as they are
                                                                               β(r) σ(Nr ,r) (x, x′ ) ≥ 0.5}
unlikely to be the most preferred. More precisely, as we
                                                                             end for
will show in the analysis, with high probability, the removed
actions are not the most preferred, while the most preferred
actions remain within the sets Mr and are not removed. A                   where, B is the upper bound on the RKHS norm of f given
pseudocode is provided in Algorithm 1.                                     in Assumption 2.1, L = maxx,x′ ∈X µ̇(h(x, x′ )), κ1 = κ
When the confidence intervals shrink at a sufficiently fast                defined in Equation (2), ∀r > 1, κr = 6, λ is the regu-
rate, only near-optimal actions remain in Mr as the rounds                 larization parameter of the kernel-based regression. Then,
progress. This is a key aspect of our algorithm’s design,                  for some constant T0 > 0, independent of T (specified in
which eliminates the dependency of regret scaling on κ by                  Appendix B), and for all T ≥ T0 , with probability at least
ensuring that the algorithm gradually queries only closely                 1 − δ:
preferred actions. Recall the discussion following Equa-                                              q                     
tion (2). In the next section, we provide an analysis of the                     R(T ) ≤ 2CRβ(R) (δ) Γ(4λ) (T ) T 1/2 + 1 ,
performance guarantees of the algorithm.
                                                                           where R ≤ ⌈log2 log
                                                                                            q 2 (T )⌉ + 1 is the maximum number of
                                                                                                      2
4. Analysis of MR-LPF                                                      rounds and C = 2 log(1+4(6λ)   −1 ) is a constant.



In this section, we present our main results on the perfor-                Remark 4.2. The value of Γλ (T ) is kernel-specific and
mance of MR-LPF (Algorithm 1). The performance is given                    algorithm-independent. This term is a common complexity
in terms of the maximum information gain defined as                        measure that appears in the analysis of both BO and BOHF
                                                                           in the existing literature (e.g., see Srinivas et al., 2010;
                                     1               −1
                                                            
                                                                           Pásztor et al., 2024; Xu et al., 2024). Bounds on Γλ (T ) have
 Γλ (T ) =          max                log det I + λ    K T   , (13)
             (x1 ,x1 ),...(xT ,x′T ) 2
                  ′
                                                                           been established for various kernels. In particular, for linear
where KT is the kernel matrix of T observations.2                          kernels, Γλ (T ) = O(d log(T )). For kernels with exponen-
                                                                           tially decaying Mercer eigenvalues, such as the Squared
Theorem 4.1 (Regret bound for MR-LPF). Consider the                        Exponential (SE) kernel, Γλ (T ) = O(poly log(T )). For
BOHF framework described in Section 2.1 and the MR-LPF                     kernels with polynomially decaying eigenvalues, Γλ (T )
algorithm presented in Algorithm 1. For δ ∈ (0, 1), in                     grows polynomially (though sublinearly) with T . For exam-
MR-LPF, let                                                                ple, in the case of the Matérn family of kernels, Γλ (T ) =
                           r                   !                                  d
                              κr       2R|X |                              Õ(T 2ν+d ), where d is the input dimension and ν > 0.5 is
        β(r) (δ) = L B +          log(        ) ,  (14)                    the smoothness parameter (see, e.g., Vakili et al., 2021b). In
                               λ         δ
                                                                           Proposition 4 of Pásztor et al. (2024), it is shown that the
    2
      Unlike in Section 1, where λ was omitted from the expression         eigenvalues of the dueling kernel k are exactly twice those
of Γ, we include it here for clarity.                                      of the original kernel k (see their Appendix C.1). Since the

                                                                       6
                                                Bayesian Optimization from Human Feedback

maximum information gain Γλ (T ) scales with the decay                          These bounds apply to scalar-valued feedback, which is
rate of the kernel eigenvalues (Vakili et al., 2021b), both                     richer than the binary preference feedback used in BOHF.
kernels exhibit the same scaling of the information gain
                                                                                For technical details, consider a standard BO setting with
with T .
                                                                                scalar observations oi = f (xi ) + εi , where εi are i.i.d.,
Remark 4.3. By substituting the value of β(R) (δ), the ex-                      zero-mean noise terms (following the notation in Sec-
pression of the regret bound can be simplified to                               tion 2.3). Suppose that at each step t, instead of observing
                         r                     !                                ot = f (xt ) + εt and o′t = f (x′t ) + ε′t , we receive binary
                                         |X |                                   preference feedback yt = 1{ot > o′t }. Under the BTL
           R(T ) = Õ      Γλ (T )T log(      ) ,      (15)
                                          δ                                     model, this corresponds to the case where the noise differ-
                                                                                ence ε′t −εt follows a logistic distribution, which can arise if
as T becomes large. This represents a sublinear regret                          the individual noise terms εt are Gumbel-distributed. Thus,
growth rate for a broad class of commonly used kernels                          the lower bound on sample complexity in the BOHF setting
where Γλ (T ) grows sublinearly with T .                                        should be at least half of that of conventional BO under
                                                                                Gumbel noise for achieving at most ϵ loss in the value of
Our regret bounds eliminate the dependency on κ. MR-LPF                         the target function.
gradually queries only closely preferred actions, reducing
the effective impact of the curvaturep of the link function.                  Since the lower bound construction in Scarlett et al. (2017)
Our regret bounds also show an O       Γ(T ) improvement                        assumes Gaussian noise, a formal comparison is not strictly
                                                                               valid (as the BTL model corresponds to Gumbel noise). We
compared to Pásztor et al. (2024) and an O (Γ(T )T )1/4                        therefore present this connection as an informal justifica-
improvement over Xu et al. (2024). This becomes particu-                        tion of the tightness of our bounds, rather than a formal
larly crucial for kernels with polynomially decaying eigen-                     optimality proof.
values, where existing results may become vacuous, failing
to guarantee sublinear regret in T .
                                                                                4.2. Confidence Intervals and Proofs
4.1. Sample Complexity and Simple Regret                                        An important building block in analyzing the performance of
                                                                                MR-LPF is the confidence intervals applied to the samples
In certain applications, the learner may be primarily con-
                                                                                collected in each round. We now present a formal statement
cerned with eventual performance, specifically the simple
                                                                                of this result.
regret after T observations. Accordingly, we can pose the
dual question: How many samples are required to achieve ϵ                       Theorem 4.7 (Confidence Bounds). Consider the kernel-
simple regret? This aspect of our algorithm’s performance                       based prediction ht and uncertainty estimate σt for a
is formalized in the following corollary.                                       dataset Ht and a known kernel k, as given in Equations (7)
                                                                                and (10) satisfying Assumption 2.1. Assume the observa-
Corollary 4.4. Under the setting of Theorem 4.1, assume
                                                                                tion points {(xi , x′i )}ti=1 are independent of the observation
T = tR , the time step at the end of round R. For any action
                                                                                values {yi }ti=1 . For a fixed (x, x′ ) ∈ X × X and for any
x̂T ∈ MR+1 , we have, with probability at least 1 − δ,
                                                                                δ ∈ (0, 1), we have, with probability at least 1 − δ,
                                            r
          ⋆       1                             RΓ(4λ) (T )                        |µ(ht (x, x′ )) − µ(h(x, x′ ))| ≤ β(δ)σt (x, x′ ), (17)
     P(x ≻ x̂T ) − ≤ 2β(R) (δ)C                             .      (16)
                  2                                T                                                            q              
                                                                                where β(δ) = L B + 12 2κ            λ log(2/δ) , L      =
The proof is given in Appendix B, that follows from Theo-
                                                                                supx,x′ ∈X µ̇(h(x, x′ )) as defined in Theorem 4.1, B is the
rem 4.1.
                                                                                RKHS norm bound specified in Assumption 2.1, λ is the
Corollary 4.5. As a consequence of Corollary 4.4, assume                        parameter in kernel-based regression, and κ is defined in
we run MR-LPF for T = tR rounds and select x̂T ∈ MR+1                           Equation (2).
arbitrarily.     In the case of a linear kernel with some T1 =
     d log( δ1 )
                                                                     
                                                             log( δ )           A key distinction in our results is that our confidence interval
Õ       ϵ 2       , an SE kernel  with some  T  =   Õ         2       ,
                                                             ϵ                                the one presented in Pásztor et al. (2024) by
                                                                                is tighter thanp
                                                   log( δ1 )
                                                 
and a Matérn kernel with some T = Õ 2+ d , with                               a factor of O( Γ(T )). This improvement comes from the
                                                    ϵ ν
probability at least 1 − δ, at most ϵ error is guaranteed:                      multi-round structure and action selection rule within each
P (x⋆ ≻ x̂T ) − 12 ≤ ϵ.                                                         round of the algorithm, which ensures that the observation
                                                                              points used for confidence intervals at the end of rounds
Remark 4.6. Our sample complexities match the Ω 2+1 d                           are independent of the observation values within that round.
                                                               ϵ ν
lower bounds for conventional BO with Matérn kernels, as                       This removes certain intricate dependencies in deriving the
established in Scarlett et al. (2017) (up to logarithmic terms).                confidence interval. Recall that the observation points in

                                                                            7
                                          Bayesian Optimization from Human Feedback




               (a) SE kernel (RKHS)            (b) Matérn kernel with ν = 2.5 (RKHS) (c) Matérn kernel with ν = 1.5 (RKHS)




               (d) SE kernel (Ackley)          (e) Matérn kernel with ν = 2.5 (Ackley) (f) Matérn kernel with ν = 1.5 (Ackley)

Figure 1. Average Regret against T with RKHS test functions (top row) and Ackley test function (bottom row). The shaded area represents
the standard error.


each round, (x(n,r) , x′(n,r) ), are collected solely based on        2024, Algorithm 1) on various test functions, including
the variance, which is independent of the observation values          both synthetic and real-world cases. Our implementation is
by definition. In contrast, both the MaxMinLCB algorithm              publicly available.3
in Pásztor et al. (2024) and the POP-BO algorithm in Xu
                                                                      We first select the test function f as an arbitrary function
et al. (2024) select observation point at step t based on
                                                                      in the RKHS of a known kernel. To do this, we choose 10
statistics that depend on {yi }t−1i=1 . We emphasize that our         points in the [0, 1] interval and assign them random values.
algorithm is by no means a pure exploration algorithm; it
                                                                      We then fit a standard kernel ridge regression to these sam-
effectively balances exploration and exploitation by learning
                                                                      ples using a kernel k and use its mean as f . The kernel k is
and updating Mr at the end of each round.
                                                                      set to the SE kernel and Matérn kernels with smoothness pa-
Given the confidence intervals in Theorem 4.7, the update             rameters ν = 2.5 and ν = 1.5. This is a common approach
rule of Mr in MR-LPF ensures that the best action is not              to constructing functions in an RKHS (see, e.g., Chowd-
eliminated (Lemma B.2). Additionally, we can use the                  hury & Gopalan, 2017). We also test the algorithms on the
confidence intervals to bound the regret for each action              Ackley function, similar to Pásztor et al. (2024). The Ack-
in Mr , based on the maximum variance in predictions from             ley function has a diverse optimization landscape, featuring
previous rounds. By summing up the regret over all rounds,            multiple local minima, flat plateaus, and valleys, making it a
we achieve the overall regret bound, with details provided            popular choice in non-convex optimization literature (Jamil
in Appendix B. For proof of Theorem 4.7, see Appendix C.              & Yang, 2013).
                                                                      To showcase the utility of our approach in real-world ap-
                                                                      plications, we experimented using the Yelp Open Dataset4
                                                                      of restaurant reviews. This serves as a proof of concept,
                                                                      demonstrating both the potential integration of BOHF with
                                                                      LLM-generated vector embeddings and the scalability of
                                                                      the method to higher-dimensional domains. The objective
                                                                      is to learn user preferences from comparative feedback and
                                                                      recommend restaurants tailored to each user’s choices. Af-
                                                                      ter data filtering and pre-processing, the dataset consists of
                                                                      275 restaurants, 20 users, and 2563 reviews. Each restau-
Figure 2. Average regret against T for the experiment with Yelp       rant is represented by a 32-dimensional vector embedding
Open Dataset. The shaded area represents the standard error.          of its text-based reviews, generated using OpenAI’s text-
                                                                         3
                                                                          https://github.com/ayakayal/BOHF_code_
5. Experiments                                                        submission
                                                                        4
                                                                          Yelp Open Dataset
We run numerical experiments to evaluate the performance
of MR-LPF and compare it to MaxMinLCB (Pásztor et al.,

                                                                  8
                                         Bayesian Optimization from Human Feedback

embedding-3-large model5 . Users rate restaurants on a scale          References
from 1 to 5. We adopt the experimental setup and Yelp
                                                                      Abbasi-Yadkori, Y.        Online learning for linearly
data preprocessing from Pásztor et al. (2024) to ensure a
                                                                        parametrized control problems. 2013.
fair evaluation. While we implemented our own version
instead of using their code6 directly, we acknowledge their           Ailon, N., Karnin, Z., and Joachims, T. Reducing dueling
contribution in establishing this benchmark, which inspired             bandits to cardinal bandits. In International Conference
our experiment. We frame this problem within the BOHF                   on Machine Learning, pp. 856–864. PMLR, 2014.
framework, where the action set X consists of 275 restau-
rants, each represented as a 32-dimensional vector, and the           Arora, S., Du, S. S., Hu, W., Li, Z., Salakhutdinov, R. R.,
utility values f correspond to user ratings. SE kernel is used          and Wang, R. On exact computation with an infinitely
for these experiments. For details on the experimental setup,           wide neural net. Advances in Neural Information Pro-
see Appendix D.                                                         cessing Systems, 32, 2019.

We plot the average regret at each time step, averaged over           Balandat, M., Karrer, B., Jiang, D. R., Daulton, S., Letham,
60 independent runs. Figure 1 shows the results on the                  B., Wilson, A. G., and Bakshy, E. BoTorch: A Framework
RKHS and Ackley test functions, while Figure 2 presents                 for Efficient Monte-Carlo Bayesian Optimization. In
the results on the Yelp Open Dataset. MR-LPF consis-                    Advances in Neural Information Processing Systems 33,
tently achieves lower regret than MaxMinLCB across all                  2020.
test functions. The initial regret of MR-LPF reflects highly
                                                                      Bengs, V., Busa-Fekete, R., El Mesaoudi-Paul, A., and
exploratory behavior during the early rounds. At the end
                                                                        Hüllermeier, E. Preference-based online learning with
of each round r, suboptimal actions are removed from Mr ,
                                                                        dueling bandits: A survey. Journal of Machine Learning
leading to the sharp drops that eventually result in near-
                                                                        Research, 22(7):1–108, 2021.
optimal actions in later rounds. Relatively constant behavior
within rounds represents exploration, while sharp drops in-           Bengs, V., Saha, A., and Hüllermeier, E. Stochastic con-
dicate exploitation.                                                    textual dueling bandits under linear stochastic transitivity
                                                                        models. In International Conference on Machine Learn-
6. Conclusion                                                           ing, pp. 1764–1786. PMLR, 2022.

We proposed MR-LPF for the BOHF problem and proved                    Borovitskiy, V., Terenin, A., Mostowsky, P., et al. Matérn
regret bounds and sample complexities, significantly im-                gaussian processes on riemannian manifolds. Advances
proving upon existing work. We established that the number              in Neural Information Processing Systems, 33:12426–
of preferential feedback samples required to identify near-            12437, 2020.
optimal actions is of the same order as the number of scalar-         Bradley, R. A. and Terry, M. E. Rank analysis of incom-
valued feedback samples. Numerical experiments on both                  plete block designs: I. the method of paired comparisons.
synthetic and real-world examples support our analytical                Biometrika, 39(3/4):324–345, 1952.
results.
                                                                      Brochu, E., Cora, V. M., and De Freitas, N. A tutorial
Acknowledgments                                                         on bayesian optimization of expensive cost functions,
                                                                        with application to active user modeling and hierarchical
We thank the reviewers and the Area Chair of ICML for their             reinforcement learning. arXiv preprint arXiv:1012.2599,
valuable feedback. We are especially grateful for the Area              2010.
Chair’s thorough and insightful comments, which clearly
reflect a significant investment of time and have substantially       Chen, L., Chen, J., Goldstein, T., Huang, H., and Zhou, T.
improved the final version of this work.                                Instructzero: Efficient instruction optimization for black-
                                                                        box large language models. In International Conference
                                                                        on Machine Learning, pp. 6503–6518. PMLR, 2024.
Impact Statement
                                                                      Chen, X., Zhong, H., Yang, Z., Wang, Z., and Wang, L.
This work presents analytical research aimed at advancing               Human-in-the-loop: Provably efficient preference-based
the field of Machine Learning. While the work has potential             reinforcement learning with general function approxima-
societal implications, none are considered immediate or                 tion. In International Conference on Machine Learning,
require specific emphasis at this time.                                 pp. 3773–3793. PMLR, 2022.
   5
       OpenAI Vector Embeddings                                       Chowdhury, S. R. and Gopalan, A. On kernelized multi-
   6
       https://github.com/lasgroup/MaxMinLCB.                           armed bandits. In International Conference on Machine
                                                                        Learning, pp. 844–853. PMLR, 2017.

                                                                  9
                                         Bayesian Optimization from Human Feedback

Christmann, A. and Steinwart, I. Support Vector Machines.              Lin, X., Wu, Z., Dai, Z., Hu, W., Shu, Y., Ng, S.-K., Jaillet,
  Springer New York, NY, 2008.                                           P., and Low, B. K. H. Use your instinct: Instruction opti-
                                                                         mization using neural bandits coupled with transformers.
Das, N., Chakraborty, S., Pacchiano, A., and Chowdhury,                  In NeurIPS 2023 Workshop on Instruction Tuning and
  S. R. Active preference optimization for sample efficient              Instruction Following, 2023.
  rlhf. In ICML 2024 Workshop on Theoretical Foundations
  of Foundation Models, 2024.                                          Lin, X., Dai, Z., Verma, A., Ng, S.-K., Jaillet, P., and Low,
                                                                         B. K. H. Prompt optimization with human feedback. In
Dudı́k, M., Hofmann, K., Schapire, R. E., Slivkins, A., and              ICML 2024 Workshop on Models of Human Feedback for
  Zoghi, M. Contextual dueling bandits. In Conference on                 AI Alignment, 2024.
  Learning Theory, pp. 563–587. PMLR, 2015.
                                                                       Mehta, V., Das, V., Neopane, O., Dai, Y., Bogunovic, I.,
Falahatgar, M., Orlitsky, A., Pichapati, V., and Suresh, A. T.          Schneider, J., and Neiswanger, W. Sample efficient re-
  Maximum selection and ranking under noisy compar-                     inforcement learning from human feedback via active
  isons. In International Conference on Machine Learning,               exploration. arXiv preprint arXiv:2312.00267, 2023a.
  pp. 1088–1096. PMLR, 2017.
                                                                       Mehta, V., Neopane, O., Das, V., Lin, S., Schneider, J.,
Faury, L., Abeille, M., Calauzènes, C., and Fercoq, O. Im-             and Neiswanger, W. Kernelized offline contextual du-
  proved optimistic algorithms for logistic bandits. In In-             eling bandits. In ICML Workshop The Many Facets of
  ternational Conference on Machine Learning, pp. 3052–                 Preference-Based Learning, 2023b.
  3060. PMLR, 2020.
                                                                       Mercer, J. Functions of positive and negative type, and their
Frazier, P. I. A tutorial on bayesian optimization. arXiv               connection with the theory of integral equations. Philo-
  preprint arXiv:1807.02811, 2018.                                      sophical Transactions of the Royal Society of London.
                                                                        Series A, Containing Papers of a Mathematical or Physi-
Gardner, J. R., Pleiss, G., Bindel, D., Weinberger, K. Q., and          cal Character, 209:415–446, 1909. ISSN 02643952.
  Wilson, A. G. Gpytorch: Blackbox matrix-matrix gaus-
                                                                       Mikkola, P., Todorović, M., Järvi, J., Rinke, P., and Kaski, S.
  sian process inference with gpu acceleration. In Advances
                                                                        Projective preferential bayesian optimization. In Interna-
  in Neural Information Processing Systems, 2018.
                                                                        tional Conference on Machine Learning, pp. 6884–6892.
González, J., Dai, Z., Damianou, A., and Lawrence, N. D.               PMLR, 2020.
  Preferential bayesian optimization. In International Con-            Novoseller, E., Wei, Y., Sui, Y., Yue, Y., and Burdick, J.
  ference on Machine Learning, pp. 1282–1291. PMLR,                      Dueling posterior sampling for preference-based rein-
  2017.                                                                  forcement learning. In Conference on Uncertainty in
                                                                        Artificial Intelligence, pp. 1029–1038. PMLR, 2020.
Griffith, S., Subramanian, K., Scholz, J., Isbell, C. L., and
  Thomaz, A. L. Policy shaping: Integrating human feed-                Ouyang, L., Wu, J., Jiang, X., Almeida, D., Wainwright, C.,
  back with reinforcement learning. Advances in Neural                   Mishkin, P., Zhang, C., Agarwal, S., Slama, K., Ray, A.,
  Information Processing Systems, 26, 2013.                              et al. Training language models to follow instructions
                                                                         with human feedback. Advances in Neural Information
Jamil, M. and Yang, X.-S. A literature survey of benchmark
                                                                         Processing Systems, 35:27730–27744, 2022.
  functions for global optimisation problems. International
  Journal of Mathematical Modelling and Numerical Opti-                Pásztor, B., Kassraie, P., and Krause, A. Bandits with
  misation, 4(2):150–194, 2013.                                           preference feedback: A stackelberg game perspective. In
                                                                          Advances in Neural Information Processing Systems 38,
Jones, D. R., Schonlau, M., and Welch, W. J. Efficient global             2024.
  optimization of expensive black-box functions. Journal
  of Global optimization, 13:455–492, 1998.                            Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V.,
                                                                         Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P.,
Li, X., Zhao, H., and Gu, Q. Feel-good thompson sampling                 Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cour-
   for contextual dueling bandits. In Forty-first International          napeau, D., Brucher, M., Perrot, M., and Duchesnay, E.
  Conference on Machine Learning, 2024.                                  Scikit-learn: Machine learning in Python. Journal of
                                                                         Machine Learning Research, 12:2825–2830, 2011.
Li, Z. and Scarlett, J. Gaussian process bandit optimiza-
  tion with few batches. In International Conference on                Saha, A. Optimal algorithms for stochastic contextual prefer-
  Artificial Intelligence and Statistics, pp. 92–107. PMLR,              ence bandits. Advances in Neural Information Processing
  2022.                                                                  Systems, 34:30050–30062, 2021.

                                                                  10
                                         Bayesian Optimization from Human Feedback

Saha, A. and Krishnamurthy, A. Efficient and optimal algo-             Verma, A., Dai, Z., Lin, X., Jaillet, P., and Low, B. K. H.
  rithms for contextual dueling bandits under realizability.             Neural dueling bandits: Preference-based optimization
  In International Conference on Algorithmic Learning                    with human feedback. In The Thirteenth International
  Theory, pp. 968–994. PMLR, 2022.                                       Conference on Learning Representations, 2025.

Saha, A., Pacchiano, A., and Lee, J. Dueling rl: Reinforce-            Vershynin, R. High-dimensional probability: An introduc-
  ment learning with trajectory preferences. In Interna-                 tion with applications in data science, volume 47. Cam-
  tional Conference on Artificial Intelligence and Statistics,           bridge university press, 2018.
  pp. 6263–6289. PMLR, 2023.
                                                                       Whitehouse, J., Ramdas, A., and Wu, S. Z. On the sublin-
Salgia, S., Vakili, S., and Zhao, Q. A domain-shrinking                 ear regret of gp-ucb. Advances in Neural Information
  based bayesian optimization algorithm with order-                     Processing Systems, 36, 2024.
  optimal regret performance. Advances in Neural Infor-
                                                                       Wu, R. and Sun, W. Making RL with preference-based
  mation Processing Systems, 34:28836–28847, 2021.
                                                                        feedback efficient via randomization. In The Twelfth
Scarlett, J., Bogunovic, I., and Cevher, V. Lower bounds on             International Conference on Learning Representations,
  regret for noisy gaussian process bandit optimization. In             2024.
  Conference on Learning Theory, pp. 1723–1742. PMLR,                  Xu, W., Wang, W., Jiang, Y., Svetozarevic, B., and Jones,
  2017.                                                                  C. Principled preferential bayesian optimization. In In-
Schölkopf, B., Herbrich, R., and Smola, A. J. A general-                ternational Conference on Machine Learning, pp. 55305–
  ized representer theorem. In International conference on               55336. PMLR, 2024.
  computational learning theory, pp. 416–426. Springer,                Xu, Y., Joshi, A., Singh, A., and Dubrawski, A. Zeroth order
  2001.                                                                  non-convex optimization with dueling-choice bandits. In
                                                                         Conference on Uncertainty in Artificial Intelligence, pp.
Shahriari, B., Swersky, K., Wang, Z., Adams, R. P., and
                                                                         899–908. PMLR, 2020a.
  De Freitas, N. Taking the human out of the loop: A review
  of bayesian optimization. Proceedings of the IEEE, 104               Xu, Y., Wang, R., Yang, L., Singh, A., and Dubrawski, A.
  (1):148–175, 2015.                                                     Preference-based reinforcement learning with finite-time
                                                                         guarantees. Advances in Neural Information Processing
Srinivas, N., Krause, A., Kakade, S. M., and Seeger, M.
                                                                        Systems, 33:18784–18794, 2020b.
  Gaussian process optimization in the bandit setting: No
  regret and experimental design. In International Confer-             Yue, Y. and Joachims, T. Interactively optimizing informa-
  ence on Machine Learning, 2010.                                        tion retrieval systems as a dueling bandits problem. In
                                                                         Proceedings of the 26th Annual International Conference
Takeno, S., Nomura, M., and Karasuyama, M. Towards                       on Machine Learning, pp. 1201–1208, 2009.
  practical preferential bayesian optimization with skew
  gaussian processes. In International Conference on Ma-               Yue, Y., Broder, J., Kleinberg, R., and Joachims, T. The
  chine Learning, pp. 33516–33533. PMLR, 2023.                           k-armed dueling bandits problem. Journal of Computer
                                                                         and System Sciences, 78(5):1538–1556, 2012.
Thompson, W. R. On the likelihood that one unknown
  probability exceeds another in view of the evidence of               Zhan, W., Uehara, M., Kallus, N., Lee, J. D., and Sun, W.
  two samples. Biometrika, 25(3-4):285–294, 1933.                        Provable offline preference-based reinforcement learning.
                                                                         In The Twelfth International Conference on Learning
Vakili, S., Bouziani, N., Jalali, S., Bernacchia, A., and Shiu,          Representations, 2024.
  D.-s. Optimal order simple regret for gaussian process
  bandits. Advances in Neural Information Processing                   Zoghi, M., Whiteson, S., Munos, R., and Rijke, M. Rel-
  Systems, 34:21202–21215, 2021a.                                        ative upper confidence bound for the k-armed dueling
                                                                         bandit problem. In International Conference on Machine
Vakili, S., Khezeli, K., and Picheny, V. On information                  Learning, pp. 10–18. PMLR, 2014.
  gain and regret bounds in gaussian process bandits. In
  International Conference on Artificial Intelligence and              Zoghi, M., Whiteson, S., and de Rijke, M. Mergerucb:
  Statistics, pp. 82–90. PMLR, 2021b.                                    A method for large-scale online ranker evaluation. In
                                                                         Proceedings of the Eighth ACM International Conference
Valko, M., Korda, N., Munos, R., Flaounas, I., and Cris-                 on Web Search and Data Mining, pp. 17–26, 2015.
  tianini, N. Finite-time analysis of kernelised contextual
  bandits. In Uncertainty in Artificial Intelligence, 2013.

                                                                  11
                                         Bayesian Optimization from Human Feedback

A. RKHS and Mercer Theorem
Mercer’s theorem (Mercer, 1909) provides a way to represent a kernel using an infinite-dimensional feature map (see, e.g.,
Christmann & Steinwart, 2008, Theorem 4.49). Let Z be a compact metric space, and let ν be a finite Borel measure on Z
(in this context, we consider the Lebesgue measure in a Euclidean space). Denote by L2ν (Z) the set of square-integrable
functions on Z with respect to ν. Additionally, we say that a kernel is square-integrable if
                                           Z Z
                                                  k 2 (z, z ′ ) dν(z)dν(z ′ ) < ∞.
                                                Z   Z

Theorem A.1. (Mercer Theorem) Let Z be a compact metric space and ν be a finite Borel measure on Z. Let k be a
continuous and square-integrable kernel, inducing an integral operator Tk : L2ν (Z) → L2ν (Z) defined by
                                                        Z
                                          (Tk f ) (·) =   k(·, z ′ )f (z ′ ) dν(z ′ ) ,
                                                               Z

                                                                                                     ∞
where f ∈ L2ν (Z). Then, there exists a sequence of eigenvalue-eigenfeature pairs {(γm , φm )}m=1 such that γm > 0, and
Tk φm = γm φm , for m ≥ 1. Moreover, the kernel function can be represented as
                                                              ∞
                                                              X
                                              k (z, z ′ ) =         γm φm (z)φm (z ′ ) ,
                                                              m=1

where the convergence of the series holds uniformly on Z × Z.

According to the Mercer representation theorem (e.g., see, Christmann & Steinwart, 2008, Theorem 4.51), the RKHS
induced by k can consequently be represented in terms of {(γm , φm )}∞
                                                                     m=1 .
                                                                           ∞
Theorem A.2. (Mercer Representation Theorem) Let {(γm , φm )}i=1 be the Mercer eigenvalue-eigenfeature pairs. Then,
the RKHS of k is given by
                                     ∞                                     ∞
                           (                                                            )
                                    X       1                             X
                                                                    2            2
                       Hk = f (·) =     wm γm φm (·) : wm ∈ R, ∥f ∥Hk :=
                                            2
                                                                               wm < ∞ .
                                          m=1                                              m=1

                                                                       √
Mercer representation theorem indicates that the scaled eigenfeatures { γm φm }∞
                                                                               m=1 form an orthonormal basis for Hk .
Definition A.3. A kernel k is said to have a polynomial (exponential) eigendecay if γm = O(m−p ) (γm = O(cm )), for
some p > 1 (c < 1), where γm are the Mercer eigenvalues in decreasing order.

Specific kernel functions:

 1. Linear kernel: k(x, x′ ) = xT x′
                                                                         ′ 2
                                                                            
 2. Squared Exponential (SE) kernel: k(x, x′ ) = σ 2 exp − |x−x       2l2
                                                                          |
                                                                               where σ 2 is a scalar and l > 0 is referred to as the
    length-scale of the kernel.
                                         √         ′
                                                        ν    √
                                                                    |x−x′ |
                                     1−ν
                                                                             
 3. Matérn kernel: k(x, x′ ) = 2Γ(ν)       2ν |x−x
                                                  l
                                                      |
                                                           Kν    2ν    l       where ν > 0.5 is the smoothness parameter of the
    kernel, l is referred to as the length-scale, Kν is the modified Bessel function, and Γ is the Gamma function.
     For the Matérn kernel, the eigenvalues decay polynomially with p = 1 + 2ν
                                                                              d where d is the input dimension.


B. Proof of The Regret Bound and Sample Complexities
In this section, we provide a detailed proof of Theorem 4.1 on the regret bound of MR-LPF and following corollaries.

B.1. Proof of Theorem 4.1
To prove this theorem, we bound the regret for each round and then sum these bounds over all the rounds.

                                                                    12
                                            Bayesian Optimization from Human Feedback
                                                                   √
Regret in the first round:       The first round consists of N1 = ⌈ T ⌉ samples. We note that for all t,

                                            P(x⋆ ≻ xt ) + P(x⋆ ≻ x′t ) − 1    1
                                                                             ≤ .                                         (18)
                                                           2                  2
                                                                       √
Consequently, the regret incurred in the first round in bounded by 12 ⌈ T ⌉.
For the second round onwards (r ≥ 2), we introduce some notation and preliminaries that will assist in bounding the regret.

High probability events: Let us define the event Er as the event that all the confidence intervals used in the round r of the
MR-LPF algorithm hold true. Specifically,
                                                                                                      
                              ′                          ′               ′                           ′
                  Er = ∀x, x ∈ Mr : µ(h(Nr ,r) (x, x )) − µ(h(x, x )) ≤ β(r) (δ)σ(Nr ,r) (x, x )                         (19)

                                  q                    
                                       κr    2R|X |                                SR
Recall that β(r) (δ) = L B +           λ log( δ )           . We also define E =      r=1 Er .


Sum of the posterior variances for a sequence of observations: We apply the following bound on the sum of posterior
variances in each round (see, e.g., Pásztor et al., 2024, Lemma 14).
                                 Nr
                                 X                                              8
                                        2
                                       σ(n−1,r) (x(n,r) , x′(n,r) ) ≤                       Γ(λκr ) (Nr ).               (20)
                                 n=1
                                                                        log(1 + 4(λκr )−1 )


By the selection rule of (x(n,r) , x′(n,r) ) in MR-LPF as the points with the highest variance, we have that ∀x, x′ ∈ Mr , and
∀n ≤ Nr , σ(Nr ,r) (x, x′ ) ≤ σ(n−1,r) (x(n,r) , x′(n,r) ). Combining this with Equation (20), we conclude that ∀x, x′ ∈ Mr ,

                                                            s                         s
                                                    ′                   8                 Γ(λκr ) (Nr )
                                       σ(Nr ,r) (x, x ) ≤                                               .                (21)
                                                                log(1 + 4(λκr )−1 )           Nr

The value of κr , r ≥ 2:       Recall the update rule for Mr in MR-LPF:

                                                                                                               1
                      Mr+1 = {x ∈ Mr |∀x′ ∈ Mr : µ(h(Nr ,r) (x, x′ )) + β(r) σ(Nr ,r) (x, x′ ) ≥                 }       (22)
                                                                                                               2

Assuming E1 , for all x, x′ ∈ M2 , we have

                       µ(h(x, x′ )) + 2β(1) σ(N1 ,1) (x, x′ ) ≥ µ(h(N1 ,1) (x, x′ )) + β(1) σ(N1 ,1) (x, x′ )
                                                                1
                                                              ≥ ,                                                        (23)
                                                                2

where the first inequality holds under E1 and the second inequality is a consequence of the update rule. Similarly, we have
                                                                                             1
                                               µ(h(x′ , x)) + 2β(1) σ(N1 ,1) (x′ , x) ≥        .                         (24)
                                                                                             2
We note that ∀x, x′ ∈ X , µ(h(x′ , x)) = 1 − µ(h(x, x′ )). Thus, Equation (24) implies that
                                                                  1
                                               µ(h(x, x′ )) ≤       + 2β(1) σ(N1 ,1) (x′ , x).                           (25)
                                                                  2

Combining with (23), we obtain that
                                                                                1
                                 −2β(1) σ(N1 ,1) (x, x′ ) ≤ µ(h(x, x′ )) −        ≤ 2β(1) σ(N1 ,1) (x′ , x).             (26)
                                                                                2
                                                                        13
                                         Bayesian Optimization from Human Feedback

We previously established a√bound on the standard deviation at the end of rounds in (21). Applying this to the first
round, with length N1 = ⌈ T ⌉, we can bound µ(h(x, x′ )) for all x, x′ ∈ M2 within the interval [ 14 , 34 ] by ensuring
2β(1) σ(N1 ,1) (x′ , x) ≤ 14 . Specifically, let T0 be the smallest integer satisfying
                                                  s                     s           √
                                                             8             Γ(λκ) (⌈ T0 ⌉)  1
                                        2β(1) (δ)                   −1
                                                                                 √        ≤ .                      (27)
                                                     log(1 + 4(λκ) )           ⌈ T0 ⌉      4

Then, for any T ≥ T0 , for all x, x′ ∈ M2 , we have µ(h(x, x′ )) ∈ [ 14 , 34 ]. Recall that the derivative of the sigmoid function
is given by µ̇(x) = µ(·)(1 − µ(·)). Consequently, the inverse of the derivative of the sigmoid applied to h, for the values of
x, x′ ∈ M2 , is bounded as follows. For all x, x′ ∈ M2 ,
                                                          1                     16
                                                                            ≤      < 6.                                       (28)
                                           µ(h(x, x′ ))(1 − µ(h(x, x′ )))       3

Thus, we can use κr = 6 for all r ≥ 2, maintaining the validity of the confidence intervals.
Lemma B.1. For T ≥ T0 specified in Equation (27), we have P(E) ≤ 1 − δ.

The proof follows from Theorem 4.7, a union bound over all action pairs and rounds, and the bound on κr derived above.
We condition the remainder of the proof on the event T ≥ T0 and E.

The best action x⋆ will not be removed. Assuming E, the best action will not be removed from the sets Mr by the
MR-LPF algorithm in any round. We formalize this observation in the following lemma.
Lemma B.2. Under event E, x⋆ ∈ MR .

The proof follows from the observation that µ(h(x⋆ , x)) ≥ 12 for all x. Combining with the confidence intervals in E, ∀r,
∀x ∈ Mr , µ(h(Nr ,r) (x⋆ , x)) + β(r) (δ)σ(Nr ,r) (x⋆ , x) ≥ 12 . Consequently, the best action x⋆ will not be removed.
We are now ready to bound the regret in rounds r ≥ 2.

Regret bound in each round r ≥ 2: For each x ∈ Mr , we use the update rule of Mr in MR-LPF to bound the regret
with respect to the optimal action. Recall that in Lemma B.2, we showed that the optimal action remains in Mr for all r.
We have

          µ(h(x, x⋆ )) + 2β(r−1) (δ)σ(Nr−1 ,r−1) (x, x⋆ ) ≥ µ(h(Nr−1 ,r−1) (x, x⋆ )) + β(r−1) (δ)σ(Nr−1 ,r−1) (x, x⋆ )
                                                            1
                                                          ≥ ,                                                                 (29)
                                                            2
where the first inequality holds under E, and the second inequality follows from the update rule of Mr . Then, we have

                                      µ(h(x⋆ , x)) = 1 − µ(h(x, x⋆ ))
                                                     1
                                                   ≤ + 2β(r−1) (δ)σ(Nr−1 ,r−1) (x, x⋆ ),                                      (30)
                                                     2
The equality follows from µ(−·) = 1 − µ(·), and the inequality follows from (29).
We thus have for all x ∈ Mr ,
                                                     1
                                    µ(h(x⋆ , x)) −     ≤ 2β(r−1) (δ)σ(Nr−1 ,r−1) (x, x⋆ )
                                                     2                s
                                                                            Γ(λκr−1 ) (Nr−1 )
                                                       ≤ 2β(r−1) (δ)C                         ,                               (31)
                                                                                 Nr−1
                                                                   q
                                                                              8
where the second inequality is proven in (21), and we use C = log(1+4(6λ)          −1 ) to simplify the notation. This bound holds

for all points in round r. Therefore, to obtain the regret in round r, it is sufficient to multiply this bound by Nr . This results
in the following bound on the regret in round r:

                                                                14
                                        Bayesian Optimization from Human Feedback


                                                                  s
                                                                      Γ(λκr−1 ) (Nr−1 )
                         Regret in Round r ≤ 2β(r−1) (δ)CNr
                                                                           Nr−1
                                                                                                   !
                                                                 q                 1   q
                                           ≤ 2β(r−1) (δ)C        T Γ(4λ) (T ) + p       Γ(4λ) (T )
                                                                                  Nr−1
                                                            q                       q          
                                           ≤ 2β(r−1) (δ)C       T Γ(4λ) (T ) + T −1/4 Γ(4λ) (T ) ,         (32)
                                                                     p
where the second inequality is obtained by substituting Nr = ⌈ Nr−1 T ⌉ and using ⌈·⌉ ≤ · + 1. We also use that
                                                                                   √
Γ(λκr−1 ) (.) ≤ Γ(4λ) (.) since κr−1 ≥ 4. The third inequality follows from Nr ≥ T for all r ≥ 1.

Total regret: The number of rounds R is at most ⌈log log2 (T )⌉ + 1 (Li & Scarlett, 2022, Proposition 1). Using the bound
on regret in each round, we can bound the total regret of MR-LPF algorithm as follows
                                              q                                q
                           R(T ) ≤ 2CRβ(R) (δ) T Γ(4λ) (T ) + 2CRβ(R) (δ)T −1/4 Γ(4λ) (T ).                                       (33)

This completes the proof of Theorem 4.1.

B.2. Proof of Corollary 4.4
Since the size Nr of rounds increase with r, we have NR ≥ T /R. In the proof of Theorem 4.1, in (31), we showed that, for
all x ∈ Mr                                                        s
                                                  1                  Γ(λκr−1 ) (Nr−1 )
                                   µ(h(x⋆ , x)) − ≤ 2β(r−1) (δ)C
                                                  2                       Nr−1

Thus, for x ∈ MR+1 , we have
                                                                            s
                                              ⋆     1                           Γ(4λ) (NR )
                                       µ(h(x , x)) − ≤ 2β(R) (δ)C
                                                    2                              NR
                                                                            r
                                                                            RΓ(4λ) (NR )
                                                             ≤ 2β(R) (δ)C                                                         (34)
                                                                          r     T
                                                                            RΓ(4λ) (T )
                                                             ≤ 2β(R) (δ)C               ,                                         (35)
                                                                               T
                                               T
where, for the second inequality, we used NR ≥ R , and for the third inequality, we used NR ≤ T .

B.3. Proof of Corollary 4.5
Following the bounds obtained in Corollary 4.4, we determine T that ensures µ(h(x̂T , x)) − 12 ≤ ϵ, after T steps. For this,
we need specification of Γλ (T ).
                                                                                                                   
                                                                                                        d log( δ1 )
In the case of linear kernels, we have Γλ (T ) = O(d log(T )). Consequently, a choice of T = Õ             ϵ2        ensures
µ(h(x⋆ , x)) − 12 ≤ ϵ.
                                                                                                                         
                                                         d+1                                                  log( δ1 )
In the case of SE kernel, we have Γλ (T ) = O(log               (T )). Consequently, a choice of T = Õ          ϵ2            ensures
µ(h(x , x)) − 12 ≤ ϵ.
      ⋆

                                                                                                               log( δ1 )
                                                                 d
                                                                                                                          
In the case of Matérn kernel, we have Γλ (T ) = Õ(T 2ν+d ). Consequently, a choice of T = Õ                     d           ensures
                                                                                                               ϵ2+ ν
µ(h(x , x)) − 12 ≤ ϵ.
      ⋆


For the bound on Γλ (T ) see, e.g., Vakili et al. (2021b).

                                                                 15
                                         Bayesian Optimization from Human Feedback

C. Proof of Theorem 4.7
Recall the conventional kernel-based regression discussed in Section 2. Various confidence intervals of the form |f (z) −
fˆt (z)| ≤ β̂(δ)σ̂t (z), where fˆt (z) and σ̂t (z) are the conventional prediction and standard deviation, and β̂(δ) is a confidence
interval width multiplier for a 1 − δ confidence level, have been demonstrated in several works (Abbasi-Yadkori, 2013;
Chowdhury & Gopalan, 2017; Vakili et al., 2021a; Whitehouse et al., 2024). As discussed in the preference-based case,
the problem becomes more similar to a classification problem with binary feedback, and these confidence intervals are not
directly applicable. Moreover, a closed-form solution for ht is not available, as it is only provided as the minimizer of the
loss function given in Equation (7). Additionally, as discussed, this loss and its solution can be parameterized using the
representer theorem.
                                                 t
                                                 X
                                 Lk (θ, Ht ) =         −yi log µ(θ ⊤ kt (xi , x′i ))
                                                 i=1
                                                                                                 λ
                                              − (1 − yi ) log(1 − µ(θ ⊤ kt (xi , x′i )) +          ||θ||22 ,                        (36)
                                                                                                 2
and
                                                               t
                                                               X
                                                  ht (·) =           θi k (·, (xi , x′i )) .                                        (37)
                                                               i=1

For the remainder of the proof, and for simplicity of presentation, we use the notation z = (x, x′ ) and similarly zi = (xi , x′i ).
In both Xu et al. (2020b) and Pásztor et al. (2024), confidence intervals for |h(z) − ht (z)| are derived, with Pásztor et al.
(2024) establishing tighter bounds. Their confidence intervals are based on the results of Faury et al. (2020) for logistic
bandits and Whitehouse et al. (2024) for confidence intervals in kernel pbandits. In comparison, our confidence intervals are
tighter than those presented in Pásztor et al. (2024) by a factor of O( Γλ (T )). We achieve this improvement by assuming
that the sequence of observation points {zi }ti=1 is independent of the observation values {yi }ti=1 , inspired by Vakili et al.
(2021a). This assumption is made possible in our work due to the design of the MR-LPF algorithm, where within each
round, the observation points are selected based solely on kernel-based variance, which, by definition, does not depend on
the observation values.
The main steps of the proof are similar to those in the proof of the confidence interval in Pásztor et al. (2024), and we will
highlight the key differences in our proof. The key idea is that the derivative of the loss Lk , as given in Equation (36), is the
null operator at the minimizer of the loss:
                                                             t
                                                             X
                                         ∇L(θt , Ht ) =             −yi k(zi , ·) + gt (θt ) = 0,                                   (38)
                                                              i=1

where gt (θ) : Hk → Hk is a linear operator defined as
                                                       t
                                                       X
                                           gt (θ) =          k(zi , ·)µ(θ ⊤ k(zi , ·)) + λθ.                                        (39)
                                                       i=1
                                                                                                               Pt
Recall that θt is the minimizer of the loss in Equation (36). Consequently, we have gt (θt ) =                  i=1 yi k(zi , ·).

Then, confidence intervals are proven for the gradient and extended to the preference function itself. We now introduce some
auxiliary notation that will be helpful throughout the rest of the proof. Let Φt = [k(z1 , ·), k(z2 , ·), . . . , k(zt , ·)]⊤ , from
which we define the kernel matrix Kt = Φt Φ⊤                                ⊤
                                                t and the operator St = Φt Φt . We also use It to denote the t-dimensional
identity matrix and IH to denote the identity operator in the RKHS. Finally, we define Vt = St + κλIH .
We also use the auxiliary notation Gt as in Appendix B of Pásztor et al. (2024), where
                                                                t
                                                                X
                                      Gt (θ1 , θ2 ) = λIH +            α(zi ; θ1 , θ2 )ϕ(zi )ϕ⊤ (zi ),
                                                                 i=1

and                                                    Z 1
                                                             µ̇ ν θ2⊤ ϕ(z) + (1 − ν) θ1⊤ ϕ(z) dν
                                                                                             
                                    α(z, θ1 , θ2 ) =
                                                        0

                                                                      16
                                           Bayesian Optimization from Human Feedback

is the coefficient arising from the mean value theorem, such that

                                 µ(θ2⊤ ϕ(z)) − µ(θ1⊤ ϕ(z)) = α(z, θ1 , θ2 )(θ2 − θ1 )⊤ ϕ(z).

See Pásztor et al. (2024, Lemma 11) for details. It then follows that

                                            gt (θ2 ) − gt (θ1 ) = Gt (θ1 , θ2 )(θ2 − θ1 ),                                           (40)

as shown in the proof of Lemma 12 in Pásztor et al. (2024). We use this relation, along with the inequality

                                                       Gt (θ1 , θ2 ) ⪰ κ−1 Vt ,                                                      (41)

where ⪰ denotes the Loewner order, also from the proof of Lemma 12, in our analysis.
We use the notation h(z) = ϕ⊤ (z)θ ⋆ for the underlying preference function and εi = yi − µ(h(zi )) to represent the
sequence of observation noise.
Inspired by the proof of confidence intervals in Vakili et al. (2021a), we express the prediction error as



             |µ(ht (z)) − µ(h(z))| ≤ L |ht (z) − h(z)|
                                    = L ϕ⊤ (z)(θt − θ ⋆ )
                                    = L ϕ⊤ (z) Gt (θ ⋆ , θt )−1 (gt (θt ) − gt (θ ⋆ ))
                                                                         t
                                                                                                                    !
                                                                         X
                                    = L ϕ⊤ (z) Gt (θ ⋆ , θt )−1                  (yi − µ(h(zi ))) ϕ(zi ) − λθ ⋆
                                                                           i=1
                                                                         t
                                                                                                       !
                                                                         X
                                              ⊤          ⋆       −1                                ⋆
                                    = L ϕ (z) Gt (θ , θt )                       εi ϕ(zi ) − λθ
                                                                         i=1
                                                                          t
                                                                                            !
                                                                         X
                                              ⊤                  −1
                                                         ⋆
                                    ≤ L ϕ (z) Gt (θ , θt )                       εi ϕ(zi )       + Lλ ϕ⊤ (z) Gt (θ ⋆ , θt )−1 θ ⋆
                                                                           i=1
                                                                                                   |          {z                 }
                                       |                       {z                            }                Bias Term
                                                         Stochastic Term


The first line follows from the Lipschitz continuity of the sigmoid function. The second line uses the representer theorem
to express ht (z) = ϕ⊤ (z)θt and h(z) = ϕ⊤ (z)θ ⋆ , where ϕ(z) = k(z, ·), defined similarly to (Pásztor et al., 2024,
Appendix A). The third line uses (40). The fourth line uses that θt is the minimizer of the loss in Equation (36). The fifth
line uses the notation εi = yi − µ(h(zi )) for the observation noise. Finally, the expression is split into a stochastic term and
a bias term, allowing us to follow the proof structure of the confidence bound in (Vakili et al., 2021a, Theorem 1).
The stochastic term is a sub-Gaussian random variable and can be bounded with high probability using standard concentra-
tion results. In particular, the sub-Gaussian parameter is determined by the norm of the coefficients applied to the independent
noise terms εi , which are 1/2-sub-Gaussian. This follows from the fact that εi = yi − µ(h(zi )) ∈ [−µ(h(zi )), 1 − µ(h(zi ))],
and therefore the noise sequence has bounded support of length 1.

                     1                               1
                       L ϕ⊤ (z) Gt (θ ⋆ , θt )−1 Φt ≤ L∥ϕ(z)∥Gt (θ⋆ ,θt )−1 ∥Φt Gt (θ ⋆ , θt )−1 Φ⊤  1/2
                                                                                                  t ∥op
                     2                               2
                                                     1
                                                    ≤ Lκ∥ϕ(z)∥V −1 ∥Φt Vt−1 Φ⊤      1/2
                                                                                 t ∥op
                                                     2 r         t

                                                     1   κ
                                                    ≤ L    σt (z),                                                                   (42)
                                                     2   λ

where ∥ · ∥op denotes the operator (spectral) norm. The first inequality follows from matrix arithmetic and the definition of
operator norm. The second uses (41). The third uses the identity ∥ϕ(z)∥V −1 = √1λκ σt (z) (see, e.g., Pásztor et al., 2024),
                                                                                        t

along with ∥ϕt Vt−1 ϕ⊤                                                          ⊤       −1
                     t ∥op ≤ 1, which follows from the eigenvalue bounds of ϕt ϕt and Vt .


                                                                    17
                                        Bayesian Optimization from Human Feedback

Therefore, by the concentration inequality for sub-Gaussian random variables (see, e.g., Vershynin, 2018), with probability
at least 1 − δ,
                                                     t
                                                                 !      r
                              ⊤          ⋆     −1
                                                   X                1      κ       p
                         L ϕ (z) Gt (θ , θt )           εi ϕ(zi ) ≤ L        σt (z) 2 log(2/δ).
                                                    i=1
                                                                    2      λ

The bias term is bounded as:

                           Lλ ϕ⊤ (z) Gt (θ ⋆ , θt )−1 θ ⋆ ≤ Lλ∥ϕ(z)∥Gt (θ⋆ ,θt )−1 ∥θ ⋆ ∥Gt (θ⋆ ,θt )−1
                                                          ≤ Lλκ∥ϕ(z)∥V −1 ∥θ ⋆ ∥V −1
                                                                              t          t

                                                          ≤ LBσt (z),                                                      (43)

where the second line uses (41), and the third line uses ∥ϕ(z)∥V −1 = √1λκ σt (z), as discussed above. It also uses the bound
                                                                t
∥θ ⋆ ∥V −1 ≤ √1λκ B, which follows from:
      t

                                                                              r
                                                          λ                       λ
                                                  ⋆
                                             λ∥θ ∥V −1 ≤ √ ∥θ ⋆ ∥ ≤                 B,                                     (44)
                                                   t
                                                          λκ                      κ

where the first inequality follows from the fact that the smallest eigenvalue of Vt is at least λκ, and the second follows from
the RKHS norm bound ∥θ ⋆ ∥ ≤ B.
Combining both bounds gives the following expression for β(δ):
                                                                 r
                                                           L         2κ
                                               β(δ) = LB +              log(2/δ).                                          (45)
                                                           2         λ

D. Experimental Details
In this section, we provide details on the experimental setting. We describe the RKHS test functions, the Ackley function, and
the Yelp Open Dataset used in our experiments. Additionally, we outline the selected hyperparameters and the computational
resources utilized in our simulations. We also present the MaxMinLCB algorithm of Pásztor et al. (2024).

RKHS test functions: In Section 5, we outlined the procedure for generating the test function f as an arbitrary function
within the RKHS of a given kernel. In Figure 3, we display the test functions generated in the RKHS for the SE kernel and
the Matérn kernels with ν = 2.5 and ν = 1.5. The figure includes plots of the utility function f , the preference function
h(x, x′ ) = f (x) − f (x′ ), and the probability of preference µ(h(x, x′ )).

Ackley test function: It is defined as follows (with d = 1 and X = [−5, 5]):
                                          v                                                !
                                           u d                            d
                                           u1 X                        1X
                      f (x) = −20 exp −0.2t      x2  exp                   cos(2πxi )          + 20 + exp(1)
                                             d i=1 i                   d i=1

The preference function h (difference in utilities) is then scaled to the range [−3, 3]. The Ackley function is shown in
Figure 3.

Yelp Dataset We use a subset of the Yelp Dataset, filtering it to include only restaurants in Philadelphia, USA, with at least
500 reviews and users who review at least 90 restaurants. The final dataset consists of 275 restaurants, 20 users, and 2563
reviews. Reviews for each restaurant are concatenated and processed using OpenAI’s TEXT-EMBEDDING-3-LARGE
model to generate 32-dimensional vector embeddings, which serve as the action set in the BOHF framework. User ratings
(ranging from 1 to 5) are considered as the utility function f , which are then scaled to the range [−3, 3]. Missing ratings are
handled using collaborative filtering. In each experimental run, we sample a random user from the set of 20 and conduct the
experiment independently. We average the regret over 60 runs to produce the final plot.

                                                               18
                                              Bayesian Optimization from Human Feedback




                   (a) f (x), SE kernel                     (b) h(x, x′ ), SE kernel                 (c) µ(h(x, x′ )), SE kernel




               (d) f (x), Matérn (ν = 2.5)             (e) h(x, x′ ), Matérn (ν = 2.5)         (f) µ(h(x, x′ )), Matérn (ν = 2.5)




               (g) f (x), Matérn (ν = 1.5)             (h) h(x, x′ ), Matérn (ν = 1.5)         (i) µ(h(x, x′ )), Matérn (ν = 1.5)




                (j) f (x), Ackley function               (k) h(x, x′ ), Ackley function           (l) µ(h(x, x′ )), Ackley function

Figure 3. Plots of the utility function f (x), the preference function h(x, x′ ) = f (x) − f (x′ ), and the probability of preference µ(h(x, x′ ))
for synthetic experiments. The rows correspond to: (1st row) SE kernel (RKHS), (2nd row) Matérn kernel with ν = 2.5 (RKHS), (3rd
row) Matérn kernel with ν = 1.5 (RKHS), and (4th row) Ackley function.

                                                                       19
                                       Bayesian Optimization from Human Feedback

Loss function optimization: To minimize the loss function given in (9) and obtain the parameters θ, any standard optimiza-
tion algorithm can be used. In our experiments, we employ gradient descent. The learning rate is individually tuned for each
algorithm, kernel, and test function by selecting the best-performing value from the grid {0.01, 0.005, 0.001, 0.0005, 0.0001}
in each scenario.

Hyperparameters: We choose l = 0.1 as the length scale and λ = 0.05 as the kernel-based learning parameter across all
cases. The horizon T is set to 300 for RKHS test functions and 2000 for the Ackley function and the Yelp Dataset. For the
RKHS and Ackley functions, the confidence interval width β is fixed at 1 for both MR-LPF and MaxMinLCB. For the Yelp
dataset, we conduct a grid search to tune β over {0.01, 0.1, 0.5, 1, 2} for both MR-LPF and MaxMinLCB algorithms. We
determine β = 2 as optimal for MaxMinLCB and β = 0.1 for MR-LPF.

Computational Resources: For the experiments with the synthetic RKHS and Ackley functions, we utilize the Scikit-
Learn library (Pedregosa et al., 2011) for implementing Gaussian Process (GP) regression. The code is executed on a cluster
with 376.2 GiB of RAM and an Intel(R) Xeon(R) Gold 5118 CPU running at 2.30 GHz. In the case of the Yelp Dataset
experiments, we use the BoTorch library (Balandat et al., 2020) and its dependencies, including GPyTorch (Gardner et al.,
2018), which offer efficient GP regression tools with GPU support. The simulations are carried out on a computing node
equipped with an NVIDIA GeForce RTX 2080 Ti GPU featuring 11 GB of VRAM, an Intel(R) Xeon(R) Gold 5118 CPU
running at 2.40 GHz with 24 cores, and 92 GB of RAM.

MaxMinLCB algorithm: Pásztor et al. (2024) proposed a zero-sum Stackelberg (Leader–Follower) game for action
selection, where the leader xt maximizes the lower confidence bound (LCB), and the follower x′t minimizes it, according to
the following:

                                     xt = arg max µ(ht (x, x′ (x)) − βt σt (x, x′ (x)),
                                               x∈Mt
                                         ′
                                       x (x) = arg min
                                                   ′
                                                       µ(ht (x, x′ )) − βt σt (x, x′ ).
                                                    x ∈Mt




                                                             20
