                                          Transfer Learning for Nonparametric Contextual Dynamic Pricing
                                                               Fan Wang1 , Feiyu Jiang2 , Zifeng Zhao3 , and Yi Yu1
                                                                 1
                                                                 Department of Statistics, University of Warwick
                                                                   2
                                                                     School of Management, Fudan University
                                                            3
                                                              Mendoza College of Business, University of Notre Dame
arXiv:2501.18836v1 [cs.LG] 31 Jan 2025




                                                                                     February 3, 2025


                                                                                          Abstract
                                                  Dynamic pricing strategies are crucial for firms to maximize revenue by adjusting prices
                                              based on market conditions and customer characteristics. However, designing optimal pricing
                                              strategies becomes challenging when historical data are limited, as is often the case when launch-
                                              ing new products or entering new markets. One promising approach to overcome this limitation
                                              is to leverage information from related products or markets to inform the focal pricing decisions.
                                              In this paper, we explore transfer learning for nonparametric contextual dynamic pricing under
                                              a covariate shift model, where the marginal distributions of covariates differ between source
                                              and target domains while the reward functions remain the same. We propose a novel Trans-
                                              fer Learning for Dynamic Pricing (TLDP) algorithm that can effectively leverage pre-collected
                                              data from a source domain to enhance pricing decisions in the target domain. The regret upper
                                              bound of TLDP is established under a simple Lipschitz condition on the reward function. To
                                              establish the optimality of TLDP, we further derive a matching minimax lower bound, which
                                              includes the target-only scenario as a special case and is presented for the first time in the lit-
                                              erature. Extensive numerical experiments validate our approach, demonstrating its superiority
                                              over existing methods and highlighting its practical utility in real-world applications.


                                         1    Introduction
                                         Dynamic pricing is a fundamental strategy used across many industries to maximize revenue by
                                         adjusting prices based on market conditions (e.g. Araman and Caldentey, 2009; Besbes and Zeevi,
                                         2009). In recent years, the rapid growth of online marketplaces and advances in data collection
                                         have further enabled sellers to use contextual information, such as customer characteristics, product
                                         features and market trends, to make more informed pricing decisions. This has fostered research
                                         in contextual dynamic pricing (e.g. Wang et al., 2023; Luo et al., 2024; Fan et al., 2024), which
                                         further incorporates in-depth information to optimize pricing strategies.
                                             Effective dynamic pricing involves balancing the exploration of the unknown revenue model
                                         with the exploitation of the estimated revenue model to maximize rewards. The revenue model,
                                         representing the relationship between covariates, prices and revenue, has been explored under both
                                         parametric and nonparametric settings in the literature. The parametric settings impose specific
                                         assumptions on the revenue model and have been widely studied (e.g. Qiang and Bayati, 2016;
                                         Javanmard and Nazerzadeh, 2019; Ban and Keskin, 2021; Wang et al., 2021; Zhao et al., 2024).

                                                                                              1
The nonparametric settings provide more flexibility, making them more suitable for real-world
applications where customer behaviour and market conditions are diverse and unpredictable (e.g.
Chen and Gallego, 2021; Chen et al., 2023).
    Despite the wide applications of contextual dynamic pricing, collecting sufficient data to design
an optimal pricing strategy can be challenging, particularly when launching a new product or
entering a new market with limited historical data. In contrast, abundant data may be available
from related products or markets, from which one may leverage information to achieve improved
decision-making. For instance, historical data from other platforms or existing markets can help
sellers optimize pricing strategies more efficiently when entering new environments. This naturally
falls in the territory of transfer learning (e.g. Pan and Yang, 2009), where datasets from similar
but different distributions are utilized to enhance learning of a target dataset.
    Transfer learning, as a research area, has been extensively studied in the machine learning
literature, with applications in areas such as recommendation systems (e.g. Pan et al., 2010),
language models (e.g. Han et al., 2021) and disease detection (e.g. Maqsood et al., 2019). It has
recently also gained attention in statistics and has been explored in various problems, such as
nonparametric regression (Cai and Pu, 2022), contextual multi-armed bandits (Suk and Kpotufe,
2021; Cai et al., 2024a) and functional data analysis (Cai et al., 2024b). In statistical transfer
learning, two common settings are posterior drift, where the conditional distributions of responses
given covariates vary (e.g. Maity et al., 2022; Reeve et al., 2021), and covariate shift, where the
conditional distributions remain consistent but the marginal distributions of covariates differ (e.g.
Hanneke and Kpotufe, 2019; Kpotufe and Martinet, 2021).

1.1   List of contributions
In this paper, we study transfer learning for nonparametric contextual dynamic pricing under the
covariate shift model. The main contributions of this paper are summarized as follows.
    Firstly, to the best of our knowledge, this is the first study to explore transfer learning in
dynamic pricing. We introduce a novel algorithm, the Transfer Learning for Dynamic Pricing
(TLDP) algorithm, which effectively leverages source domain data to enhance pricing decisions in
the target domain.
    Secondly, we establish theoretical guarantees for the proposed transfer learning algorithm and
further derive a minimax lower bound. We demonstrate that the proposed algorithm achieves
minimax optimal regret, with the cumulative regret (up to logarithmic factors) given by
                                       n             d+3
                                                          o− 1
                                                            d+3
                                     nQ nQ + (κnP ) d+3+γ       ,

where nQ ∈ Z+ represents the length of the target horizon, nP ∈ N represents the number of
observations in the pre-collected source dataset, γ ∈ [0, ∞] (see Definition 1 later) denotes the
transfer exponent quantifying the similarity between source and target covariate distributions and
κ ∈ [0, 1] (see definition 2 later) represents the exploration coefficient quantifying the minimal level
to which the source data adequately explores the price space.
    Thirdly, as an important byproduct, our study covers the special case of nonparametric con-
textual dynamic pricing without transfer learning under the setting of a Lipschitz reward function.
                                                                           (d+2)/(d+3)
Our proposed algorithm achieves the regret upper bound of order nQ                     (up to logarithmic
factors) with an accompanying minimax lower bound. To the best of our knowledge, this is the first


                                                   2
minimax lower bound result under the Lipschitz condition for nonparametric contextual dynamic
pricing with a general dimension d ≥ 1.
    Finally, we validate the proposed approach through extensive numerical experiments, demon-
strating its effectiveness compared to existing methods and highlighting its practical utility in
real-world applications.

1.2   Notation and organization
Denote X = [0, 1]d as the covariate space, P = [0, 1] as the price space and Z = [0, 1]d+1 as the
joint space of covariates and prices. All balls in this paper are defined with respect to the ℓ∞ -
norm. Let B(s, r), BX (s, r) and BP (s, r) denote the balls in Z, X and P, respectively, centred
at s with radius r. For any ball B, let r(B) denote its radius and c(B) its centre. For n ∈ Z+ , let
[n] = {1, . . . , n}. For any distribution P , let supp(P ) be its support.
    The remainder of the paper is organized as follows. In Section 2, we formally define the problem.
Section 3 introduces the TLDP algorithm. In Section 4, we present theoretical results on the regret
bounds of the proposed method, followed by a matching minimax lower bound. We demonstrate the
practical performance of our approach through comprehensive numerical experiments in Section 5
and conclude in Section 6.


2     Problem formulation
In this section, we introduce a nonparametric contextual dynamic pricing model under the transfer
learning framework. Our goal is to minimize the regret for the target data by leveraging pre-
collected data from a related source domain.
    For the target domain, the seller sells a product to nQ ∈ Z+ sequentially arriving consumers.
At each time t ∈ [nQ ], the seller observes contextual information Xt ∈ X drawn from the distribu-
tion QX . Based on Xt , the seller sets a price pt ∈ P and then receives a random revenue Yt ∈ [0, 1]
with its conditional expectation
                                       E{Yt |Xt , pt } = f (Xt , pt ),                           (1)
where f : Z → [0, 1] is the unknown reward function.
   In the context of transfer learning, we further assume that the seller has access to a pre-collected
source dataset
                                DP = {(XtP , pPt , YtP )}nt=1
                                                           P
                                                              ⊂ Z × [0, 1],                         (2)
where XtP ∈ X is drawn from a distribution PX , pPt ∈ P is the price and YtP corresponds to the
observed random revenue with its conditional expectation

                                    E{YtP |XtP , pPt } = f P (XtP , pPt ).

As mentioned in the introduction, this paper focuses on the covariate shift model, where the
marginal distributions of covariates between the source and target domains are different, i.e. PX ̸=
QX , but the conditional distributions of rewards are identical, i.e.

                            f (x, p) = f P (x, p),   ∀(x, p) ∈ [0, 1]d × [0, 1].                   (3)

   Our primary objective is to design a pricing strategy that minimizes the cumulative regret over
the selling horizon in the target domain by effectively utilizing both the source data DP and the

                                                      3
observed target data. Formally, let Π denote the family of all price policies π = {pπ1 , . . . , pπnQ }
where each price pπt is Ft−1 -measurable, t ∈ Z+ . The field Ft−1 is the σ-algebra generated by the
history target data {(Xs , ps , Ys )}t−1                      P    P    P nP
                                     s=1 , all source data {(Xs , ps , ys )}s=1 and covariate Xt . For any
price strategy π ∈ Π, the cumulative regret over nQ steps is defined as
                                              nQ
                                              X
                                                 E f ∗ (Xt ) − f (Xt , pπt ) ,
                                                  
                               R = Rπ (nQ ) =                                                                (4)
                                                  t=1

where f ∗ (x) = maxp∈P f (x, p) is the maximum expected revenue for any x ∈ X . We further impose
the following assumptions on the reward function and the underlying distributions.

Assumption 1. Assume that the reward function f : Z → [0, 1] is Lipschitz continuous with respect
to the ℓ∞ -norm, i.e. there exists an absolute constant CLip > 0 such that

         |f (x1 , p1 ) − f (x2 , p2 )| ≤ CLip ∥(x⊤       ⊤    ⊤       ⊤
                                                 1 , p1 ) − (x2 , p2 ) ∥∞ ,   ∀(x1 , p1 ), (x2 , p2 ) ∈ Z.

   Assumption 1 regulates the changes in the reward function led by the changes in covariates
and prices. This is commonly used in the literature of online learning with nonparametric reward
function (e.g. Slivkins, 2011; Chen and Gallego, 2021; Chen et al., 2023), facilitating theoretical
analysis of the estimation and learning processes. Assumption 2 below is a regularity condition on
QX to ensure the covariate space will be explored sufficiently.

Assumption 2. Assume that for the target distribution QX , there exist constants 0 < cQ < CQ
such that
               cQ rd ≤ QX BX (x, r) ≤ CQ rd , ∀x ∈ supp(QX ), r ∈ (0, 1].
                                   

    To quantify the potential benefit of transfer learning from the source domain to the target
domain, we introduce the notion of transfer exponent, a parameter widely used in the transfer
learning literature with covariate shift (e.g. Kpotufe and Martinet, 2021; Suk and Kpotufe, 2021;
Cai et al., 2024a). It quantifies the degree of similarity between the source and target covariate
distributions, regulating the potential of effective knowledge transfer.

Definition 1 (Transfer exponent). The transfer exponent γ ∈ [0, ∞] of the source covariate distri-
bution PX with respect to the target covariate distribution QX is defined as
              n
       γ = inf γ ′ ≥ 0 ∃ a constant 0 < cγ ′ ≤ 1 such that
                                                ′
                                                                                          o
                          PX BX (x, r) ≥ cγ ′ rγ QX BX (x, r) , ∀x ∈ supp(QX ), r ∈ (0, 1] .
                                                             


     The transfer exponent γ quantifies the extent to which the source covariate distribution PX
covers the target covariate distribution QX . A smaller γ indicates a greater overlap, enabling more
efficient information transfer. In an extreme case where PX and QX are identical, γ = 0 indicating
a perfect overlap. This parameter is crucial for analyzing the potential performance improvements
achievable by transfer learning in our framework.
     To ensure that the source data provides sufficient variability in prices across different covariates,
we further introduce the exploration coefficient. This parameter quantifies the minimal extent to
which the source data adequately explores the price space. It is essential for accurately estimating
the reward function over various price levels.

                                                        4
Definition 2 (Exploration coefficient). Let µ denote the joint distribution of the source covariate-
price pairs and let PX be the marginal distribution of the source covariates. Define the exploration
coefficient κ ∈ [0, 1] as                                               
                                            µ [p − r, p + r] × BX (x, r)
                            κ=     inf                                    .
                               x∈supp(PX ),      2r · PX (BX (x, r))
                                      r∈(0,1/2],
                                      p∈[r,1−r]

    The exploration coefficient κ measures the minimal conditional probability density of the price
given the covariates. A larger κ indicates that the source data provides better exploration of the
price space for each covariate. This coefficient is crucial in assessing the usefulness of the source data
for learning the reward function in the target domain. The definition of κ extends the exploration
coefficient introduced in Cai et al. (2024a) for multi-armed bandits (MAB) to continuous action
spaces in dynamic pricing. To illustrate this concept, consider the following example.
Example 1. Suppose that the source dataset DP is defined in (2) and the source prices are drawn
independently of source covariates from a distribution with density hP given by

                              hP (p) = δi ,                 for i ∈ [m],
                                                   if p ∈ (ai−1 , ai ],
                                                                       R1
where 0 = a0 < a1 < · · · < am−1 < am = 1 and δi > 0 such that 0 hP (p) dp = 1. This is a
piecewise uniform distribution and the exploration coefficient is κ = mini∈[m] δi , which holds for
any source covariate distribution PX .


3    Transfer learning algorithm
In this section, we introduce the Transfer Learning for Dynamic Pricing (TLDP) algorithm, detailed
in Algorithm 1. TLDP borrows the idea of contextual zooming from Slivkins (2011) proposed for
MAB problems with only target data, and addresses the unique challenge of leveraging source
data to refine the exploration of the covariate-price space in the target domain. At a high level,
TLDP is an upper confidence bound (UCB) type algorithm that handles the nonparametric setting
through an adaptive partitioning strategy. Unlike approaches relying on predefined partitions,
TLDP sequentially refines partitions of the covariate-price space in response to observed data. The
key components of TLDP are outlined following Algorithm 1.
A head start by the source data. At the core, the pricing is conducted by sequentially dis-
cretizing the continuous covariate-price space Z. To be specific, this is to produce a collection of
active l∞ -balls in Z, namely At at step t ∈ [nQ ]. The source data provide a head start for such
partitioning, starting with the entire space A1 = {Z}. TLDP sequentially refines the partition
and adds smaller balls into At . This partitioning is to be detailed later. We first introduce some
necessary notation. For a ball B ⊂ Z, let its count and cumulative revenue utilizing the source
dataset DP be

                             1{(X, p) ∈ B} and rePB (DP ) =                 Y 1{(X, p) ∈ B}.
                       X                                            X
        nPB (DP ) =                                                                              (5)
                    (X,p,Y )∈DP                                           (X,p,Y )∈DP

For any ball B ∈ At , let its domain be

                                  dom(B, At ) = B\(∪B ′ ∈At : r(B ′ )<r(B) B ′ ),                     (6)

                                                            5
Algorithm 1 Transfer Learning for Dynamic Pricing (TLDP)
INPUT: horizon length nQ , source dataset DP and the smallest radius to explore r̃
Initialise: t ← 1, At ← {Z}, nt (B) ← nPB (DP ), ret (B) ← rePB (DP ), ∀B ∈ At                     ▷ See (5)
 1: while t ≤ nQ do
 2:     Observe Xt
 3:     revelantt ← {B ∈ At : (Xt , p) ∈ dom(B, At ) for some p ∈ [0, 1]} ▷ See (6) for dom(B, At )
 4:     B sel ← uniformly choose from arg maxB∈revelantt It (B)                          ▷ See (8) for It (B)
 5:     pt ← uniformly choose p such that (Xt , p) ∈ dom(B , At )      sel

 6:     while nt (B sel ) − nPB sel (DP ) ≥ TBQsel and r(B sel ) ≥ 2r̃ do               ▷ See (10) for TBQsel
            B ′ ← B (Xt , pt ), r(B sel )/2 , At ← At ∪ {B ′ }
                                               
 7:
 8:         nt (B ′ ) ← nPB ′ (DP ), ret (B ′ ) ← rePB ′ (DP ), B sel ← B ′
 9:     end while
10:     for B ∈ At \{B sel } do
11:          nt+1 (B) ← nt (B), ret+1 (B) ← ret (B)
12:     end for
13:     nt+1 (B sel ) ← nt (B sel ) + 1, ret+1 (B sel ) ← ret (B sel ) + Yt , t ← t + 1
14: end while


excluding any overlaps caused by strictly smaller balls in At , thereby preventing redundant coverage.
Dynamic pricing via UCB. At each time t ∈ [nQ ], after observing the covariate Xt , TLDP sets
a price by first selecting a ball B in the covariate-price space from the current candidate set At
that maximizes the revenue potential It (B) - defined below, then randomly chooses a price such
that the covariate-price pair (Xt , p) is in B, to be specific, in dom(B, At ) as defined in (6).
Definition of It . Let nt (B) and ret (B) denote the cumulative count and revenue of B from the
target data before time t and the source data DP , defined as
                          t−1                                                     t−1
                                1{(Xs , ps ) ∈ B} and                                   Ys 1{(Xs , ps ) ∈ B},
                          X                                                       X
   nt (B) = nPB (DP ) +                                  ret (B) = rePB (DP ) +
                          s=1                                                     s=1

with nPB (DP ) and rePB (B) defined in (5). For any B ⊂ Z, let its UCB uncertainty level be
                                             v
                                             u                  d+3
                                             u log n ∨ (κn ) d+3+γ
                                                     Q      P
                               conft (B) = 2                         .                                          (7)
                                             t
                                                       nt (B)

As nt (B) grows, i.e. more samples are collected in B, conft (B) decreases, reflecting increasing in
confidence. The revenue potential index is then defined as
                                             pre ′
                     It (B) = CI r(B) + min
                                        ′
                                              It (B ) + CI ∥c(B) − c(B ′ )∥∞ ,                   (8)
                                           B ∈At

where CI > 0 is a constant and the pre-index Itpre (B) is given by

                                                                                   ret (B)
                  Itpre (B) = vt (B) + CI r(B) + conft (B),     with vt (B) =              .                    (9)
                                                                                   nt (B)


                                                     6
The index It (B) is adapted from its MAB counterpart proposed in Slivkins (2011) to balance the
estimated reward vt (B), the radius of the ball r(B), the uncertainty level conft (B) and its distance
to its neighbours ∥c(B) − c(B ′ )∥∞ - the choice of the norm is reflected in the Lipschitz condition
to be imposed. The selection of inputs κ and CI is further discussed in Section 5.1.
Partitioning. The last ingredient is the sequential partitioning. A ball is further refined when
enough samples are collected and its radius is not too small. The refinement is conducted by adding
a smaller sub-ball to the candidate set At . To be specific, the partitioning is summoned when the
target sample count nt (B) − nPB (DP ) exceeds TBQ , where
                                              (
                                                0,      ω(B) < nPB (DP ),
                           TBQ := TBQ (DP ) =                                                  (10)
                                                ω(B), ω(B) ≥ nPB (DP ),

with                                                   d+3
                                       log nQ ∨ (κnP ) d+3+γ
                                                            
                                ω(B) =                         .                                 (11)
                                              r(B)2
This threshold incorporates the contributions from the source data. Note that when there is
sufficient source data within the ball, no additional target data is required for exploration.


4      Minimax optimality
In this section, we establish theoretical guarantees for the TLDP algorithm presented in Algo-
rithm 1. Specifically, we derive an upper bound on the cumulative regret and a matching minimax
lower bound, demonstrating that TLDP achieves minimax optimality under the given assumptions.
We also compare our findings with existing literature to highlight the contributions of our approach.
We begin by presenting the upper bound on the regret achieved by TLDP.

Theorem 1. Suppose that the source dataset DP = {(XtP , pPt , YtP )}nt=1  P
                                                                            is defined in (2) with
triplets independent across time. Assume that the target dataset, defined in (1), satisfies (3), and
that Assumptions 1 and 2 hold, with CI ≥ CLip where CI , CLip > 0 are constants defined in (8) and
Assumption 1, respectively. Let Algorithm 1 have input r̃ satisfying that
                                         "                   d+3  # 1
                                                                    d+3
                                             log nQ + (κnP ) d+3+γ
                               r̃ = Cr                        d+3         ,                      (12)
                                                 nQ + (κnP ) d+3+γ

and Cr4 cγ cQ ≥ 8, where Cr > 0 is a constant and cγ , cQ > 0 are constants defined in Definition 1
and Assumption 2, respectively. Let π denote the TLDP policy given by Algorithm 1. Recall the
cumulative regret R defined in (4) and it holds that
                         n             d+3
                                            o− 1       1              d+3
                                              d+3
                  R ≤ CnQ nQ + (κnP ) d+3+γ       log d+3 nQ + (κnP ) d+3+γ ,

where C > 0 is a constant only depending on constants CI , Cr , CLip , cγ and cQ .

    The smallest radius to explore r̃ mediates an exploration-exploitation trade-off. A smaller r̃
leads to finer partitions and more precise local estimates but increases exploration cost, while a


                                                       7
larger r̃ reduces the exploration cost at the expense of estimation accuracy. The choice of r̃ in (12)
strikes a balance in this trade-off, ensuring the algorithm achieves optimal regret bounds.
    The regret bound in Theorem 1 elucidates the dependence of the cumulative regret on the
transfer exponent γ and the exploration coefficient κ. A lower transfer exponent γ indicates higher
similarity between the source and target covariate distributions PX and QX , leading to a larger
                                   d+3
adjusted source data size (κnP ) d+3+γ and thus reducing the regret.

Remark 1. As an alternative to the global exploration coefficient in Definition 2, one can instead
define a scale-dependent exploration coefficient κr ∈ [0, 1] for any radius r ∈ (0, 1/2] as

                                             µ [p − r′ , p + r′ ] × BX (x, r′ )
                                                                               
                          κr =      inf                                          .
                                x∈supp(PX ),      2r′ · PX (BX (x, r′ ))
                                      r′ ∈[r,1/2],
                                      p∈[r′ ,1−r′ ]

Note that κr is non-decreasing in r and satisfies that κ = inf r∈(0,1/2] κr . It quantifies how well the
source data explores the covariate-price space at a given scale.
   Under the conditions of Theorem 1, for any choice of the smallest radius to explore r̃ ∈ (0, 1/2],
with the local coefficient κr̃ , the regret satisfies that
                                                              d+3
           
           
           
            nQ r̃ + r̃−(d+2) log(nQ ), nQ ≥ (κr̃ nP ) d+3+γ ,
                                                                           n 8 log (κ n ) d+3+γ   d+3 o 1
                                                              d+3
      R ≲ n r̃,                            n   < (κ    n   ) d+3+γ and r̃ ≥
                                                                                         r̃ P            d+3+γ
                                                                                                               ,
               Q                            Q      r̃   P                           c γ c Q κr̃ n P
           
            −(d+2)
           
             r̃       log(κr̃ nP ),        otherwise.

These three regimes illustrate how both the sample size and the exploration radius r̃ jointly influence
the overall regret. While we focus on the global coefficient κ in this paper for simplicity, the local
coefficient κr characterizes tighter performance guarantees in scenarios where exploration quality
varies across different scales, particularly useful when the source data do not uniformly cover the
entire price space.

    We now show that the regret upper bound in Theorem 1 is minimax optimal (up to a logarithmic
factor) by presenting the following matching lower bound.

Theorem 2. Let I(γ, cγ , κ, CLip , cQ ) denote the class of nonparametric dynamic pricing problems
such that (i) the source dataset DP = {(XtP , pPt , YtP )}nt=1
                                                            P
                                                               , defined in (2), satisfies Definition 2 with
triplets independent across time; (ii) the target dataset, defined in (1), satisfies Assumption 2; and
(iii) both datasets satisfy (3), Definition 1 and Assumption 1. It holds that
                                                                              d+3   − 1
                     inf        sup            Rπ,I (nQ ) ≥ cnQ nQ + (κnP ) d+3+γ     d+3
                                                                                            ,
                      π I∈I(γ,c ,κ,C ,c )
                               γ    Lip Q


where c > 0 is a constant only depending on constants CLip , cγ and cQ .

    Theorems 1 and 2 together exhibit a phase transition depending on the relative sizes of the
                              d+3                                           d+3
adjusted source data (κnP ) d+3+γ and the target data nQ . When (κnP ) d+3+γ ≫ nQ , the algorithm
significantly benefits from transfer learning, otherwise the regret is of the same rate as when only
the target data are used.


                                                        8
   The most relevant work is Cai et al. (2024a), which studied transfer learning for nonparametric
contextual MAB under covariate shift. In their setting, actions (i.e. arms) are discrete and for
simplicity are treated as a constant (i.e. the number of arms K ≍ 1). They established a regret
bound of order
                                                   d+2 − β
                                   nQ nQ + (κnP ) d+2+γ d+2β ,                               (13)
with β denoting the smoothness parameter of the reward function (β = 1 in our setting). The
simplification K ≍ 1 results in their regret bound losing explicit control of K, making their approach
inapplicable to infinite or uncountable action spaces. In contrast, dynamic pricing presents a unique
challenge due to its continuous action space (i.e. prices), requiring more intricate methodologies
than that in Cai et al. (2024a). Our approach effectively addresses this by adaptively partitioning
the joint covariate-price space. This adaptation ensures optimal regret scaling while accounting for
both the covariates (of dimension d) and price (of dimension 1). Substituting d + 1 for d in (13)
shows that their regret bound aligns with the one established in Theorem 1.
    When only target data are utilized, several existing studies have developed methods and an-
alyzed regret bounds for dynamic pricing under semi-parametric forms (e.g. Luo et al., 2022; Xu
and Wang, 2022; Fan et al., 2024) or additional shape constraints beyond Lipschitz continuity (e.g.
Chen and Gallego, 2020), with detailed comparisons in Appendix A.
    We conclude with a minimax lower bound for the scenario where only target data is available.

Corollary 3. Let I(CLip , cQ ) denote the class of nonparametric dynamic pricing problems such
that target data satisfy (1), Assumptions 1 and 2. It holds that
                                                                    d+2
                                                                    d+3
                                     inf    sup      Rπ,I (nQ ) ≥ cnQ   ,
                                      π I∈I(C ,c )
                                             Lip Q


where c > 0 is a constant only depending on constants CLip and cQ .

    It is worth noting that even without considering transfer learning (i.e. when only target data are
available), the minimax lower bound in Corollary 3 is, to the best of our knowledge, the first result
established under the Lipschitz assumption stated in Assumption 1. Previous works have only
established minimax lower bounds either for the case with a semi-parametric form of the expected
revenue function (e.g. Luo et al., 2022; Xu and Wang, 2022) or with additional assumption beyond
Lipschitz condition on the reward function (e.g. Chen and Gallego, 2020).


5        Numerical experiments
In this section, we conduct numerical experiments to support our theoretical findings. Synthetic
and real data analysis are in Sections 5.1 and 5.2, respectively. The code and datasets are available
online1 .

5.1       Simulation studies
We conduct simulation studies under the covariate shift model as stated in (3). The target co-
              nQ
variates {Xt }t=1 are independently and identically distributed (i.i.d.) according to QX , a uniform
distribution over [0, 1]d . For the source domain, covariate-price pairs {XtP , pPt }nt=1
                                                                                       P
                                                                                          are generated
    1
        https://github.com/chrisfanwang/dynamic-pricing


                                                      9
          A                                                       B
                   3000                                                    400


                                                                                                                           Method (Panel A)

          Regret




                                                                  Regret
                   2000
                                                                           300
                                                                                                                               TLDP
                                                                                                                               Target−Only TLDP
                   1000
                                                                           200
                                                                                                                               ABE
                                                                                                                               ExUCB
                          10000   20000   30000   40000   50000                   0      10000     20000   30000   40000
                                           nQ                                                       nP

          C                                γ                      D                                 CI
                          0.5      1      1.5      2      2.5                    0.25        0.5   0.75      1     1.25
                                                                           250



                   250                                                     200




                                                                  Regret
                                                                                                                           Method (Panels B, C & D)
          Regret




                                                                                                                               TLDP (varies w/ bottom axis)
                                                                           150                                                 TLDP (varies w/ top axis)
                   200


                                                                           100
                                                                                 0.15    0.20      0.25    0.30    0.35
                          0.2     0.4     0.6     0.8     1.0
                                           κ                                                        Cr



Figure 1: Results for Configuration 1 in Scenario 1. Panel (A) and (B): varying source data size nP
and target data size nQ , respectively. Panel (C) varying the transfer exponent γ (top axis) and the
exploration coefficient κ (bottom axis). Panel (D): varying the index constant CI (top axis) and
the exploration radius constant Cr (bottom axis). For Panels (B), (C) and (D), we fix nQ = 10000.


i.i.d. from a joint distribution µ. We let the source marginal covariate distribution PX be chosen
such that the density function pX (x) obeys pX (x) = c∥x − x∗ ∥γ∞ , with x∗ = (1/2, . . . , 1/2) ∈ Rd
and a normalization constant c = 2γ (γ + d)/d. This choice of pX (x) ensures that PX satisfies
Definition 1. The generation of the source prices is detailed in each scenario below. We consider
the source data size nP ∈ {10000(k − 1) : k ∈ [5]}, the target data size nQ ∈ {10000k : k ∈ [5]} and
the transfer exponent γ ∈ {0.5k : k ∈ [5]}.
     To assess the performance of TLDP (Algorithm 1) in reducing target-domain regret, we compare
it with TLDP utilising the target data only (Target-Only TLDP), the Adaptive Binning and Explo-
ration (ABE) algorithm proposed in Chen and Gallego (2020) and the Explore-then-UCB (ExUCB)
algorithm developed in Luo et al. (2022).
     Through this subsection, TLDP represents the Algorithm 1 with nP = 2nQ . Note that TLDP
and Target-Only TLDP require the smallest exploration radius r̃ as an input and the constant CI
to construct the index defined in (8). Specifically, we let CI = 1 and r̃ be defined in (12) with
Cr = 1/4. To show the sensitivity of the choice of the constants, additional simulation studies are
conducted for varying CI and Cr . For the ABE algorithm, we set M = 0.1, the constant used to
define the maximal number observed in a level-k bin in the partition, as suggested by Chen and
Gallego (2020). For ExUCB, parameter choices include the phase exponent β = 2/3, the UCB
exponent γ = 1/6, the exploration phase constant C1 = 1, the discretization constant C2 = 20
and the regularization parameter in UCB λ = 0.1, as suggested by Luo et al. (2022). In addition,
we fix the maximum price pmax = 1 and the maximum possible revenue B = 1 for the ExUCB
implementation.



                                                                                        10
Scenario 1. The conditional density of the source price, given the source covariates, is defined as
follows for any x ∈ [0, 1]d and p ∈ [0, 1],
                                       (
                                         κ,      p ∈ [p∗ − r∗ /2, p∗ + r∗ /2],
                            hP (p|x) = 1−κr∗
                                          1−r∗ , otherwise,

with p∗ = 1/2, r∗ = 1/4 and κ ∈ {0.2k : k ∈ [5]}. Furthermore, conditioned on the covariate
x and price p, the observed rewards for both target and source datasets are independently and
uniformly distributed in the interval [f (x, p) − ν, f (x, p) + ν], where f (·, ·) denotes the expected
reward function and ν = 0.1. The expected reward function f is constructed as
                                          f (x, p) = θ0 + θ⊤ xp + θ̃p2 ,
for any x ∈ [0, 1]d , p ∈ [0, 1], where θ0 , θ̃ ∈ R and θ ∈ Rd are specified for each configuration.
    • Configuration 1. Let the covariate space dimension be d = 2. The parameters of the reward
      function are set as θ0 = 0.2, θ = (0.3, 0.2)⊤ and θ̃ = −0.1.
    • Configuration 2. Let the covariate space dimension be d = 3. The parameters of the reward
      function are set as θ0 = 0.3, θ = (0.1, 0.4, −0.2)⊤ and θ̃ = −0.1.
Scenario 2. The conditional density of the source price, given the source covariates, is defined as
follows for any x ∈ [0, 1]d and p ∈ [0, 1],
                                       1−κ(1−r∗ )
                                     (
                                            r∗    , p ∈ [p∗ − r∗ /2, p∗ + r∗ /2],
                          hP (p|x) =
                                       κ,           otherwise,
with p∗ = 1/2, r∗ = 1/4 and κ ∈ {0.2k : k ∈ [5]}. Further, conditioned on the covariate x and
price p, the observed rewards for both target and source datasets are independently distributed
Y ∼ N (f (x, p), σ 2 ) with σ = 0.01. For the expected reward function f , we adopt the setting from
Cai et al. (2024a). Define a function ϕ : R+ → [0, 1] by
                                         
                                         1,
                                                    0 ≤ z < 1/12,
                                  ϕ(z) = 2 − 12z, 1/12 ≤ z < 1/6,
                                         
                                           0,        otherwise.
                                         

The reward function f : [0, 1]d × [0, 1] → [0, 1] is then set to be
                                m
                                      3/4ϕ ∥(x⊤ , p)⊤ − ((x∗i )⊤ , p∗i )⊤ ∥∞ 1 x ∈ BX (x∗i , r∗ ) ,
                                X                                            
             f (x, p) = 1/4 +
                                i=1

where m > 0, r∗ ∈ (0, 1] and {((x∗i )⊤ , p∗i )⊤ }m
                                                 i=1 are specified for each configuration.
   • Configuration 1. Let the covariate space dimension be d = 2. Let m = 4, r∗ = 1/4 and
     centres be
                                              n 1 1 1   3 1 1   1 3 3   3 3 1 
                    {((x∗i )⊤ , p∗i )⊤ }m
                                        i=1 =     , , , , , , , , , , , }.
                                                 4 4 4     4 4 4     4 4 4     4 4 4
   • Configuration 2. Let the covariate space dimension be d = 3. Let m = 8, r∗ = 1/4 and
     centres be
                                        n 1 1 1 1   3 1 1 1   1 3 1 1   3 3 1 1 
             {((x∗i )⊤ , p∗i )⊤ }m
                                 i=1  =      , , , , , , , , , , , , , , , ,
                                            4 4 4 4     4 4 4 4     4 4 4 4      4 4 4 4
                                           1 1 3 3   3 1 3 3   1 3 3 3   3 3 3 3 o
                                             , , , , , , , , , , , , , , ,                .
                                            4 4 4 4     4 4 4 4     4 4 4 4      4 4 4 4

                                                        11
    In Scenario 1, the reward function is linear in covariates and quadratic in price, while in
Scenario 2, it is fully nonparametric. The simulation results for Configuration 1 of Scenario 1
are presented in Figure 1 with additional results provided in Appendix D. Some key observations
are highlighted in order.
    In both scenarios, TLDP outperforms the alternatives. In Scenario 1, ExUCB outperforms
ABE and Target-Only TLDP due to the linear structure of the reward function in the covari-
ates. The ExUCB algorithm is specifically designed to leverage such linear relationships, thereby
achieving superior performance. In Scenario 2, ABE and Target-Only TLDP demonstrate better
performance than ExUCB. These findings align with the discussion in Section 4 and Appendix A.
    In Panel (A), as the target data size nQ increases, the regret for all four methods increases.
TLDP, however, exhibits a significantly slower rate of regret increase compared to its competitors,
due to its ability to leverage information from the additional source data. Moreover, both TLDP
and Target-Only TLDP demonstrate sublinear growth in regret as nQ increases, aligning with the
theoretical regret order established in Theorem 1. In Panel (B), as the source data size nP increases,
the regret of TLDP decreases, reflecting improved performance with larger source datasets. This
trend aligns with the theoretical results in Theorem 1, where the regret is expected to decrease at
           −1/(d+3+γ)
the rate nP           , further validating the algorithm’s performance.
    In Panel (C), as the transfer exponent γ increases, reflecting reduced overlap between source
and target covariate distributions, the regret of TLDP also increases. This indicates less efficient in-
formation transfer from the source to the target domain. Moreover, as the exploration coefficient κ
increases, the source data provide better exploration of the price space for each covariate. Conse-
quently, the regret of TLDP decreases, indicating more effective information transfer. Panel (C)
is consistent with Theorem 1, demonstrating the impact of these parameters on the efficiency of
the transfer learning framework. It is evident from Panel (D) that the performance of TLDP re-
mains relatively stable across different values of the index constant CI and the exploration radius
constant Cr , indicating that TLDP is robust to the choice of the two constants.

5.2   Real data analysis
In this section, we evaluate the practical utility of our proposed algorithm using the auto loan
dataset (Phillips et al., 2015), which consists of 208, 085 applications submitted to a major online
lender in the United States between July 2002 and November 2004. This dataset has been exten-
sively studied in previous works, such as Phillips et al. (2015), Luo et al. (2024) and Zhao et al.
(2024), to assess various dynamic pricing algorithms. The performance of TLDP is still compared
against the two benchmark algorithms, ABE and ExUCB.
    The loan price is calculated as the net present value of future payments adjusted by the loan
amount, as follows
                                                Term
                                                 X
                  Price = Monthly Payment ×         (1 + Rate)−i − Loan Amount,
                                                  i=1

where Rate = 0.12% represents the average monthly London interbank offered rate during the
study period. The reward metric is defined as the product of the consumer’s decision (whether the
loan is accepted) and the computed price, capturing the total revenue generated for the lender.
   For this analysis, five covariates identified as significant in prior studies (e.g. Luo et al., 2024;
Zhao et al., 2024) are included: the loan amount approved, the approved term, the prime rate,

                                                  12
Table 1: Results for the auto loan dataset with East South Central data as the target division.
Columns correspond to the source divisions utilized in TLDP. Here, nP represents the number of
the source data utilized in TLDP and n denotes the total number of source observations. Each cell
reports the mean and standard deviation over 100 simulations.

    Methods               Mountain      East North Central    West South Central        Pacific
    ABE                  70.81 (1.40)      70.81 (1.40)           70.81 (1.40)       70.81 (1.40)
    ExUCB                64.91 (5.31)      64.91 (5.31)           64.91 (5.31)       64.91 (5.31)
    TLDP(nP = 0)         71.95 (2.87)      71.95 (2.87)           71.95 (2.87)       71.95 (2.87)
    TLDP(nP = 0.25n)     55.63 (8.04)      56.80 (8.59)           53.95 (8.26)       51.61 (8.89)
    TLDP(nP = 0.5n)      54.29 (7.06)      55.31 (8.60)           54.07 (7.44)       51.44 (7.12)
    TLDP(nP = 0.75n)     51.38 (6.92)      51.52 (7.43)           50.67 (7.19)       49.40 (7.40)
    TLDP(nP = n)         50.23 (7.34)      51.92 (7.09)           49.85 (7.97)       48.72 (8.27)


the competitor’s rate and the customer’s FICO score. All features, including rewards, prices and
covariates, are normalized to the range [0, 1]. Additionally, U.S. states are grouped into nine
divisions following the United States Census Bureau classification: East North Central, East South
Central, Middle Atlantic, Mountain, New England, Pacific, South Atlantic, West North Central
and West South Central. Table 2 in Appendix D provides a sample of the processed dataset.
    For this study, the East South Central division (8, 062 applications) is designated as the tar-
get domain due to its smallest data size. The Mountain (12, 527 applications), East North Cen-
tral (20, 686 applications), West South Central (25, 695 applications) and Pacific (34, 870 applica-
tions) divisions are used as source domains for the TLDP algorithm. The true reward function is
approximated using a random forest model implemented in R (R Core Team, 2021), leveraging the
randomForest package (Liaw and Wiener, 2002), trained on the target data. Optimal prices for
each observation are determined by numerically optimizing the approximated reward function.
    The results are averaged over 100 simulations, with each simulation randomly selecting 90% of
the target data as the test data. The results are summarized in Table 1 with the key findings as
follows. When no source data are utilized (np = 0), TLDP incurs slightly higher regret compared
to ABE and ExUCB. While ExUCB achieves the lowest average cumulative regret, it exhibits
significantly higher variance. Conversely, ABE demonstrates low variance but relatively high regret.
As the source data size (nP ) increases, TLDP’s cumulative regret consistently decreases, indicating
its ability to effectively leverage data from other divisions.


6     Conclusion
In this paper, we study transfer learning for nonparametric contextual dynamic pricing under
covariate shift, which, to the best of our knowledge, is the first time seen in the literature. We
propose the TLDP algorithm, which adaptively partitions the covariate-price space and leverages
source data information to guide pricing for the target data. We show that TLDP achieves optimal
regret by establishing a matching minimax lower bound.
    Our work offers several interesting directions for future research. First, the optimality of TLDP


                                                 13
depends on prior knowledge of the transfer exponent γ and the exploration coefficient κ, which
are often unknown in practice. A natural extension is to estimate κ from the source data before
analyzing the target data and to adaptively update an estimate of γ by measuring empirical overlaps
between the source and target covariate distributions. Second, in many applications, multiple
source datasets (K > 1) may be available, each with distinct transfer exponents γk and exploration
coefficients κk . A straightforward approach is to combine all sources into a single dataset before
running TLDP. A more refined approach is to weight sources adaptively by estimating κk and γk .
Establishing regret bounds for such methods would be more challenging. Lastly, it is intriguing to
explore transfer learning for nonparametric contextual dynamic pricing under posterior drift. In
this framework, we need to quantify the discrepancies between the reward functions in the source
and target domains and to develop novel methods that effectively leverage transferable information.


References
Victor F Araman and René Caldentey. Dynamic pricing for nonperishable products with demand
  learning. Operations research, 57(5):1169–1188, 2009.

Gah-Yi Ban and N Bora Keskin. Personalized dynamic pricing with machine learning: High-
 dimensional features and heterogeneous elasticity. Management Science, 67(9):5549–5568, 2021.

Omar Besbes and Assaf Zeevi. Dynamic pricing without knowing the demand function: Risk
 bounds and near-optimal algorithms. Operations research, 57(6):1407–1420, 2009.

Changxiao Cai, T Tony Cai, and Hongzhe Li. Transfer learning for contextual multi-armed bandits.
 The Annals of Statistics, 52(1):207–232, 2024a.

T Tony Cai and Hongming Pu. Transfer learning for nonparametric regression: Non-asymptotic
  minimax analysis and adaptive procedure. arXiv preprint arXiv:0000.0000, 2022.

T Tony Cai, Dongwoo Kim, and Hongming Pu. Transfer learning for functional mean estimation:
  Phase transition and adaptive algorithms. The Annals of Statistics, 52(2):654–678, 2024b.

Ningyuan Chen and Guillermo Gallego. Nonparametric pricing analytics with customer covariates,
  2020. URL https://arxiv.org/abs/1805.01136.

Ningyuan Chen and Guillermo Gallego. Nonparametric pricing analytics with customer covariates.
  Operations Research, 69(3):974–984, 2021.

Xi Chen, Sentao Miao, and Yining Wang. Differential privacy in personalized pricing with non-
  parametric demand models. Operations Research, 71(2):581–602, 2023.

Jianqing Fan, Yongyi Guo, and Mengxin Yu. Policy optimization using semiparametric models for
  dynamic pricing. Journal of the American Statistical Association, 119(545):552–564, 2024.

Wenjuan Han, Bo Pang, and Yingnian Wu. Robust transfer learning with pretrained language
 models through adapters, 2021. URL https://arxiv.org/abs/2108.02340.

Steve Hanneke and Samory Kpotufe. On the value of target data in transfer learning. Advances in
  Neural Information Processing Systems, 32, 2019.

                                                14
Adel Javanmard and Hamid Nazerzadeh. Dynamic pricing in high-dimensions. Journal of Machine
 Learning Research, 20(9):1–49, 2019.

Samory Kpotufe and Guillaume Martinet. Marginal singularity, and the benefits of labels in
  covariate-shift, 2020. URL https://arxiv.org/abs/1803.01833.

Samory Kpotufe and Guillaume Martinet. Marginal singularity and the benefits of labels in
  covariate-shift. The Annals of Statistics, 49(6):3299–3323, 2021.

Andy Liaw and Matthew Wiener. Classification and regression by randomforest. R News, 2(3):
 18–22, 2002. URL https://CRAN.R-project.org/doc/Rnews/.

Yiyun Luo, Will Wei Sun, and Yufeng Liu. Contextual dynamic pricing with unknown noise:
  Explore-then-ucb strategy and improved regrets. Advances in Neural Information Processing
  Systems, 35:37445–37457, 2022.

Yiyun Luo, Will Wei Sun, and Yufeng Liu. Distribution-free contextual dynamic pricing. Mathe-
  matics of Operations Research, 49(1):599–618, 2024.

Subha Maity, Yuekai Sun, and Moulinath Banerjee. Minimax optimal approaches to the label shift
  problem in non-parametric settings. Journal of Machine Learning Research, 23(346):1–45, 2022.

Muazzam Maqsood, Faria Nazir, Umair Khan, Farhan Aadil, Habibullah Jamal, Irfan Mehmood,
 and Oh-young Song. Transfer learning assisted classification and detection of alzheimer’s disease
 stages using 3d mri scans. Sensors, 19(11):2645, 2019.

Sinno Jialin Pan and Qiang Yang. A survey of transfer learning. IEEE Transactions on knowledge
  and data engineering, 22(10):1345–1359, 2009.

Weike Pan, Evan Xiang, Nathan Liu, and Qiang Yang. Transfer learning in collaborative filtering for
 sparsity reduction. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 24,
 pages 230–235, 2010.

Robert Phillips, A Serdar Şimşek, and Garrett Van Ryzin. The effectiveness of field price discretion:
  Empirical evidence from auto lending. Management Science, 61(8):1741–1759, 2015.

Sheng Qiang and Mohsen Bayati.         Dynamic pricing with demand covariates.         arXiv preprint
  arXiv:1604.07463, 2016.

R Core Team. R: A Language and Environment for Statistical Computing. R Foundation for
  Statistical Computing, Vienna, Austria, 2021. URL https://www.R-project.org/.

Henry WJ Reeve, Timothy I Cannings, and Richard J Samworth. Adaptive transfer learning. The
  Annals of Statistics, 49(6):3618–3649, 2021.

Aleksandrs Slivkins. Contextual bandits with similarity information. In Proceedings of the 24th
  annual Conference On Learning Theory, pages 679–702. JMLR Workshop and Conference Pro-
  ceedings, 2011.

Joseph Suk and Samory Kpotufe. Self-tuning bandits over unknown covariate-shifts. In Algorithmic
  Learning Theory, pages 1114–1156. PMLR, 2021.

                                                  15
Alexander Tsybakov. Introduction to Nonparametric Estimation. Springer, 2009.

Martin J Wainwright. High-dimensional statistics: A non-asymptotic viewpoint, volume 48. Cam-
 bridge University Press, 2019.

Chi-Hua Wang, Zhanyu Wang, Will Wei Sun, and Guang Cheng. Online regularization toward
 always-valid high-dimensional dynamic pricing. Journal of the American Statistical Association,
 pages 1–13, 2023.

Hanzhao Wang, Kalyan Talluri, and Xiaocheng Li. On dynamic pricing with covariates. arXiv
 preprint arXiv:2112.13254, 2021.

Jianyu Xu and Yu-Xiang Wang. Towards agnostic feature-based dynamic pricing: Linear policies
  vs linear valuation with unknown noise. In International Conference on Artificial Intelligence
  and Statistics, pages 9643–9662. PMLR, 2022.

Zifeng Zhao, Feiyu Jiang, and Yi Yu. Contextual dynamic pricing: Algorithms, optimality, and
  local differential privacy constraints. arXiv preprint arXiv:2406.02424, 2024.



Appendices
All technical details of this paper can be found in the Appendices. A detailed comparison of our re-
gret bound in Theorem 1 with those from non-transfer learning studies is presented in Appendix A.
The proofs of Theorem 1 and Theorem 2 are included in Appendices B and C, respectively. Addi-
tional details and results for Section 5 are collected in Appendix D.


A     Comparisons with non-transfer learning regret bounds
We compare the regret bound established for TLDP in Theorem 1 with those from relevant studies
on dynamic pricing and contextual bandits that do not incorporate transfer learning:
   • Slivkins (2011) studied contextual bandits with similarity information, where both contexts
     and actions are embedded in a metric space equipped with a distance function. The regret
     bounds in Slivkins (2011), adapted to our notation, are of order
                                               d+2
                                               d+3
                                              nQ   log(nQ ),

      matching our result up to a logarithmic factor;
    • Chen and Gallego (2020) investigated nonparametric dynamic pricing with covariates and
      proposed the ABE algorithm, which adaptively partitions the covariate space based on ob-
      served data to balance exploration and exploitation. They showed that the ABE algorithm
      achieves a regret bound of order
                                               d+2
                                              d+4
                                             nQ   log2 (nQ ),
      which grows more slowly than ours due to additional assumptions beyond the standard Lip-
      schitz condition stated in Assumption 1, such as the local strong concavity of the reward
      function;

                                                16
    • Several studies on nonparametric dynamic pricing (e.g., Luo et al., 2022; Xu and Wang, 2022;
      Fan et al., 2024) consider a specific form of the expected revenue function,

                                            f (x, p) = p{1 − F (p − x⊤ θ)},

      where F is a nonparametric cumulative distribution function (CDF) of noise influencing
      customer valuations and θ ∈ Rd is an unknown parameter vector representing customer
      sensitivity. For instance, Luo et al. (2022) developed the ExUCB algorithm and derived a
      regret bound of order
                                                    3/4
                                                  nQ .
      independent of d in the exponent. This independence arises from the linear parametric form of
      x⊤ θ, which reduces the intrinsic complexity of the problem and mitigates the curse of dimen-
      sionality often encountered in fully nonparametric settings. In contrast, our results address
      a more general nonparametric reward function, which introduces additional complexity in
      capturing the covariate-price relationship without structural simplifications. Consequently,
      this leads to dimensional dependence, reflected in the d appearing in the exponent of our
      regret bound.


B     Proof of Theorem 1
The proof of Theorem 1 is in Appendix B.1 with all necessary auxiliary results in Appendix B.2.

B.1    Proof of Theorem 1
Proof. For any t ≤ nQ , let At denote the set of active balls at the beginning of time t. For any
B ∈ At , let ret (B) and nt (B) denote the cumulative revenue and the cumulative count of B from
the target data before time t and the source data DP . Further, define
                           n                                                o
                      E1t = ∀B ∈ At : vt (B) − f (B) ≤ CLip r(B) + conft (B) ,

and                 n                  o                                     
            E2t =    ∀B ∈ At : EB holds             P  P
                                         with EB = nB D ) ≥ CE κnP r(B) d+γ+1
                                                                               ,

where CE = cγ cQ and f (B) = f (c(B)). Intuitively speaking, E1t represents the good event where
the empirical average revenue vt (B) for every active ball B ∈ At lies within the upper confidence
bound around the true expected revenue f (B), while E2t states that the source data (measured by
the number) can still provide sufficient information up to time t.
Consequences of E1t : Suppose for any time point t, E1t holds. Then by (9), the condition CI ≥ CLip
and the event E1t , for any B ∈ At , we have

                                               Itpre (B) ≥ f (B).                               (14)

For any x ∈ X , denote p∗ (x) = min{p′ ∈ arg maxp∈P f (x, p)}. By Lemma 6, there exists a B ∈ At
such that (Xt , p∗ (Xt )) ∈ dom(B, At ). Let Btsel denote the selected ball at time t, then we derive
that for such B,

                      It (Btsel ) ≥It (B)

                                                       17
                                               pre ′
                              =CI r(B) + min
                                         ′
                                                It (B ) + CI ∥c(B) − c(B ′ )∥∞
                                        B ∈At
                                                f (B ′ ) + CI ∥c(B) − c(B ′ )∥∞
                                              
                              ≥CI r(B) + min
                                         ′B ∈At
                              ≥CI r(B) + f (B) ≥ f ∗ (Xt ),                                          (15)

where the first inequality follows from the selection rule in Algorithm 1 (Step 4 therein), the
first equality follows from (8), the second inequality follows from (14), and the third and the last
inequalities follow from Assumption 1 and CI ≥ CLip .
     Let Btpar be the parent of Btsel , we have that (due to step 9 in Algorithm 1)

                                  ∥c(Btpar ) − c(Btsel )∥∞ ≤ r Btpar .
                                                                    
                                                                                               (16)

Further note that Btpar must satisfy the condition in Step 7 in Algorithm 1 (in order to produce
Btsel ), we have nt (Btpar ) − nPB par (DP ) ≥ TBQpar (DP ). Then
                               t              t

                            v                                    v
                            u                   d+3              u                     d+3
                            u log n ∨ (κn ) d+3+γ               u log n ∨ (κn ) d+3+γ
                      par           Q       p                             Q        p
              conft (Bt ) =2                                  ≤ 2t
                            t                                    u
                                    nt (Btpar )                      TBQpar + nPB par (DP )
                                                                         t        t
                               v
                               u                  d+3
                               u log n ∨ (κn ) d+3+γ
                                       Q      p
                                                              ≤ 2r Btpar ,
                                                                        
                            ≤2                                                                       (17)
                               t
                                        ω(Btpar )

where the second inequality follows from (10) and the last form (11). Note that

  Itpre Btpar =vt Btpar + CI r Btpar + conft Btpar
                                                  

               ≤f Btpar + (CI + CLip )r Btpar + 2conft Btpar
                                                              

               ≤f Btpar + (4 + CI + CLip )r Btpar ≤ f Btsel + (4 + CI + 2CLip )r Btpar ,
                                                                                   
                                                                                                     (18)

where the first equality follows from (9), the first inequality follows from the event E1t , the second
inequality follows form (17) and the last inequality follows from Assumption 1 and (16). Note that

   It Btsel ≤CI r Btsel + Itpre Btpar + CI ∥c(Btsel ) − c(Btpar )∥∞
                                    

             ≤CI r Btsel + Itpre Btpar + CI r Btpar
                                                    

             ≤CI r Btsel + f Btsel + (4 + 2CI + 2CLip )r Btpar
                                                                

             ≤f Btsel + (8 + 5CI + 4CLip )r Btsel ≤ f Xt , pt + (8 + 5CI + 5CLip )r Btsel ,
                                                                                           
                                                                                                    (19)

where the first inequality holds due to (8), second  inequality  follows from (16), the third inequality
                                                sel        par 
follows from (18), the forth holds due to r Bt       = r Bt      /2, and the last inequality follows from
Assumption 1 and that (Xt , pt ) ∈ Btsel .
    Combining (15) and (19), we have that

                                  f ∗ (Xt ) − f Xt , pt ≤ C1 r Btsel ,
                                                                     
                                                                                                      (20)

where C1 = (8 + 5CI + 5CLip ).
                                                        d+3
Step 1: Consider the case where nQ ≥ (κnP ) d+3+γ .

                                                   18
Regret decomposition: We then decompose the regret into several terms
                   nQ n
                  X                         o
                        ∗
       Rπ (nQ ) =E     f (Xt ) − f (Xt , pt )
                     t=1
                  nQ n
                 X                         o               nQ n
                                                            X                         o        
               =E     f (Xt ) − f (Xt , pt ) 1{(E1t )c } + E
                       ∗
                                                                 f (Xt ) − f (Xt , pt ) 1{E1t }
                                                                  ∗

                     t=1                                                   t=1
               :=(I) + (II).                                                                             (21)

   In the following, we deal with the above two terms separately.
Step 1.1: Bound for (I). By a union bound argument and Lemma 4, we have that
                     X
         P (E1t )c ≤    18n−2   −2
                                   log(nQ ) ≤ 18tn−2   −3
                                                          log(nQ ) ≤ 18n−1   −3
          
                           Q r̃                   Q r̃                  Q r̃    log(nQ ),                (22)
                       B∈At

where the second inequality holds by noting |At | ≤ tr̃−1 since the smallest radius is lower bounded
by r̃ and hence at most r̃−1 balls can be activated at each time point; and the third inequality
holds by t ≤ nQ .
   Therefore, recall that 0 ≤ f (Xt , pt ) ≤ f ∗ (Xt ) ≤ 1, it holds that
                                   nQ
                                   X
                           (I) ≤         P{E1c } ≤ 18r̃−3 log(nQ ) ≤ 4C1 r̃−3 log(nQ ).                  (23)
                                   t=1


Step 1.2: Bound for (II). For any r ∈ (0, 1], let Fr = {B ∈ AnQ : r(B) = r}. For any B ⊂ Z,
let S Q (B) be the set of times s ∈ [nQ ] when ball B was selected for the target data. By Lemma 6,
we have that                                                   d+1
                                         Pack                   2
                               |Fr | ≤ Nr (Z) ≤ Nr/2 (Z) ≤             ,                       (24)
                                                                r
where NrPack (Z) and Nr (Z) denote r-packing number and r-covering number of Z, respectively,
                                                      Pack (Z) ≤ N (Z).
and the second inequality follows from the fact that N2r          r
   Then, note that
                          nQ n
                         X                         o        
                  (II) =E     f (Xt ) − f (Xt , pt ) 1{E1t }
                               ∗

                               t=1
                          X                                                               
                                                          f (Xt ) − f (Xt , pt ) 1{E1t }
                                           X      X       ∗
                       ≤E
                               r:r̃≤r≤1 B∈Fr t∈S Q (B)
                          X                                                       
                                                  f (Xt ) − f (Xt , pt ) 1{E1t }
                                          X       ∗
                       =E
                               B∈Fr̃ t∈S Q (B)
                                  X                                                                 
                                                                    f (Xt ) − f (Xt , pt ) 1{E1t }
                                                  X      X          ∗
                               +E
                                         r:r̃<r≤1 B∈Fr t∈S Q (B)
                                     X                                           
                                                                       C1 r1{E1t } ,
                                                       X       X
                       ≤C1 nQ r̃ + E                                                                     (25)
                                             r:r̃<r≤1 B∈Fr t∈S Q (B)


                                                          19
where the second inequality holds due to (20).
                                   d+3
   When nQ ≥ (κnP ) d+3+γ , by (10) and (11), for any r(B) > r̃, we have

                                                                                log(nQ )
                                             |S Q (B)| ≤ TBQ ≤ ω(B) ≤                    + 1.                               (26)
                                                                                 r(B)2

as otherwise a new ball within B will be activated due to Step 6 in Algorithm 1. As a consequence,
by (24), (25) and (26), we have that
                                                                d+1              
                                                        X       2       log(nQ )
                                (II) ≤C1 nQ r̃ +          C1 r                   +1
                                                                r          r2
                                                 r:r̃<r≤1
                                                           X n                           o
                                     ≤C1 nQ r̃ + 2d+1 C1          r−(d+2) log(nQ ) + r−d
                                                                 r:r̃<r≤1
                                                          n                        o
                                       ≤C1 nQ r̃ + 2d+2 C1 r̃−(d+2) log(nQ ) + r̃−d ,                                       (27)

where the last inequality follows from the fact that
                                  ⌈− log2 (r̃)⌉−1
          X
                       −d
                                       X                    2⌈− log2 (r̃)⌉d − 1   2d r̃−d − 1     2d −d
                   r        =                       2kd =                       ≤             ≤        r̃ ≤ 2r̃−d .
                                                                 2d − 1             2d − 1      2d − 1
        r:r̃<r≤1                       k=0


                                                                                                        d+3
   Combining (21), (23) and (27), we have that in the case where nQ ≥ (κnP ) d+3+γ ,
                                                            n                         o
            Rπ (nQ ) ≤4C1 r̃−3 log(nQ ) + C1 nQ r̃ + 2d+2 C1 r̃−(d+2) log(nQ ) + r̃−d
                                  ≤C1 nQ r̃ + 2d+4 C1 r̃−(d+2) log(nQ ).                                                    (28)

                                                                   d+3
Step 2: Consider the case where nQ < (κnP ) d+3+γ and
                                                                       d+3
                                                       n 8 log (κn ) d+3+γ o             1
                                                                     p                  d+3+γ
                                                r̃ ≥                                            ,                           (29)
                                                                 CE κnP
where CE = cγ cQ .
Regret decomposition: We then decompose the regret into several terms
                 nQ n
                X                         o
                      ∗
     Rπ (nQ ) =E     f (Xt ) − f (Xt , pt )
                            t=1
                nQ n
               X                         o               nQ n
                                                          X                           o                                
             =E     f (Xt ) − f (Xt , pt ) 1{(E1t )c } + E
                     ∗
                                                               f ∗ (Xt ) − f (Xt , pt ) 1 t
                                                                                                              E1 ∩E2t
                        t=1                                                         t=1
                      nQ n
                     X                           o                                 
                   +E     f ∗ (Xt ) − f (Xt , pt ) 1 t
                                                                      E1 ∩(E2t )c
                              t=1
             :=(I) + (II) + (III).                                                                                          (30)


                                                                    20
In the following, we deal with the above three terms separately.
Step 2.1: Bound for (I). Similar to (22), we have that
               X           d+3                        d+3                          d+3
   P (E1t )c ≤   3{(κnP ) d+3+γ }−2 ≤ 3tr̃−1 {(κnP ) d+3+γ }−2 ≤ 3nQ r̃−1 {(κnP ) d+3+γ }−2 .
    
                                                                                                      (31)
                 B∈At

Therefore, recall that 0 ≤ f (Xt , pt ) ≤ f ∗ (Xt ) ≤ 1, it holds that
                                        nQ
                                        X                                   d+3
                               (I) ≤           P{E1c } ≤ 3n2Q r̃−1 {(κnP ) d+3+γ }−2 .                (32)
                                        t=1


Step 2.2: Bound for (II). By similar arguments as (25), we have
                               X X X                                                            
                                                 f (Xt ) − f (Xt , pt ) 1 t
                                                 ∗
            (II) ≤C1 nQ r̃ + E                                                                 t  .   (33)
                                                                                         E1 ∩E2
                                     r:r̃<r≤1 B∈Fr t∈S Q (B)

                                  d+3
Note that under nQ < (κnP ) d+3+γ and (29), if E2t holds, by Lemma 7, we have that TBQ = 0 for any
B ∈ At . This implies that S Q (B) = ∅. Therefore, the second term in (33) vanishes and thus we
have,
                                         (II) ≤ C1 nQ r̃.                                     (34)

Step 2.3: Bound for (III). Note that by Lemma 7 and a union bound argument, under nQ <
        d+3
(κnP ) d+3+γ and (29), it holds that
                                                                 d+3
                                    P (E2t )c ≤ nQ r̃−1 {(κnP ) d+3+γ }−2 .
                                     

Therefore,
                                      nQ
                                      X                                d+3
                                         P (E2t )c ≤ n2Q r̃−1 {(κnP ) d+3+γ }−2 .
                                          
                              (III) ≤                                                                 (35)
                                        t=1


   Combining (30), (32), (34) and (35), we can conclude that
                                                   d+3                                   d+3
                Rπ (nQ ) ≤3n2Q r̃−1 {(κnP ) d+3+γ }−2 + C1 nQ r̃ + n2Q r̃−1 {(κnP ) d+3+γ }−2
                                                   d+3
                          ≤4n2Q r̃−1 {(κnP ) d+3+γ }−2 + C1 nQ r̃ ≤ 2C1 nQ r̃,                        (36)

where the last inequality follows from (29).
                                                                  d+3
Step 3: Consider the case where nQ < (κnP ) d+3+γ and
                                                               d+3
                                               n 8 log (κn ) d+3+γ o      1
                                                            p            d+3+γ
                                        r̃ <                                     .
                                                         CE κnP

Regret decomposition: We then decompose the regret into several terms
                 nQ n
                X                         o
                      ∗
     Rπ (nQ ) =E     f (Xt ) − f (Xt , pt )
                        t=1


                                                           21
                  nQ n
                 X                           o               nQ n
                                                              X                           o        
               =E     f ∗ (Xt ) − f (Xt , pt ) 1{(E1t )c } + E     f ∗ (Xt ) − f (Xt , pt ) 1{E1t }
                     t=1                                                t=1
               :=(I) + (II).                                                                            (37)

In the following, we deal with the above two terms separately.
Step 3.1: Bound for (I). By the same argument as (22), we can show that
                                                                           d+3
                                    P (E1t )c ≤ 18n−1    −3
                                                               
                                                   Q  r̃    log   (κn p ) d+3+γ ,                       (38)

which implies that
                                       nQ
                                       X                                      d+3
                                             P{(E1t )c } ≤ 18r̃−3 log (κnp ) d+3+γ .
                                                                     
                               (I) ≤                                                                    (39)
                                       t=1


Step 3.2: Bound for (II). By similar arguments as (25), we have
                                       X X X                        
                    (II) ≤C1 nQ r̃ + E                    C1 r1{E1t } .                                 (40)
                                                    r:r̃<r≤1 B∈Fr t∈S Q (B)

                     d+3
When nQ < (κnP ) d+3+γ , similar to (26), we have
                                                                         d+3
                                                        log       (κnp ) d+3+γ
                           |S   Q
                                    (B)| ≤ TBQ ≤ ω(B) ≤                               + 1.              (41)
                                                                   r(B)2

As a consequence, by (24), (40) and (41), we have that
                                                 d+1             d+3       
                                         X       2       log (κnp ) d+3+γ
                 (II) ≤C1 nQ r̃ +          C1 r                             +1
                                                 r              r2
                                  r:r̃<r≤1
                                            X n                         d+3
                                                                                  o
                      ≤C1 nQ r̃ + 2d+1 C1          r−(d+2) log (κnp ) d+3+γ + r−d
                                                              

                                                 r:r̃<r≤1
                                                               d+3
                                         n                                o
                      ≤C1 nQ r̃ + 2d+2 C1 r̃−(d+2) log (κnp ) d+3+γ + r̃−d .
                                                      
                                                                                                        (42)

                                                                                    d+3
   Combining (37), (39) and (42), in the case where nQ < (κnP ) d+3+γ and
                                                               d+3
                                               n 8 log (κn ) d+3+γ o     1
                                                            p           d+3+γ
                                        r̃ ≤                                    ,                       (43)
                                                      CE κnP
we have that
                                    d+3                                           d+3
                                                            n                                 o
      Rπ (nQ ) ≤18r̃−3 log (κnp ) d+3+γ + C1 nQ r̃ + 2d+2 C1 r̃−(d+2) log (κnp ) d+3+γ + r̃−d
                                                                        

                                             d+3
               ≤2d+4 C1 r̃−(d+2) log (κnp ) d+3+γ ,
                                    
                                                                                                (44)

where the last inequality follows from (43).

                                                            22
Step 4: Combining all results. Combining (28), (36) and (44), we have that

   Rπ (nQ ) ≤
                                                               d+3
     C   n   r̃  +  2 d+3 C r̃ −(d+2) log(n ), if n ≥ (κn ) d+3+γ ,
   
   
      1   Q               1                Q       Q      P
                                                                                             d+3
                                                                              n 8 log (κn ) d+3+γ o 1
                                                                d+3                       p         d+3+γ
     2C   n     r̃,                            if n   < (κn  ) d+3+γ and r̃ ≥                             ,
        1 Q                                        Q      P                           CE κnP
   
                                       d+3
     2 C1 r̃−(d+2) log (κnp ) d+3+γ , otherwise.
    d+4                       


   By (12), Cr4 cγ cQ ≥ 8, we can conclude that
                              n             d+3
                                                 o− 1       1              d+3
                                                   d+3
                Rπ (nQ ) ≤ CnQ nQ + (κnP ) d+3+γ       log d+3 nQ + (κnP ) d+3+γ ,

where C > 0 is a constant only depending on constants CI , Cr , CLip , cγ and cQ . We complete the
proof.

B.2    Auxiliary results
Lemma 4. For Algorithm 1, at the beginning of the round t for t ≤ nQ , if ball B ∈ At , then under
Assumptions 1 and 2 , we have that
                       
                     P |vt (B) − f (B) ≤ CLip r(B) + conft (B) ≥ 1 − ϵr̃ ,

where CLip > 0 is defined in Assumption 1 and
                                                     d+3
           −2 −2
      
      
      18n Q r̃    log(n Q ),        if n Q ≥ (κnP ) d+3+γ ,
                                                                                     d+3
                                                                      n 8 log (κn ) d+3+γ o 1
                  d+3                                 d+3
 ϵr̃ = 3{(κnP ) d+3+γ }−2 ,          if n Q < (κnP ) d+3+γ   and r̃ ≥
                                                                                  p         d+3+γ
                                                                                                  , (45)
      
                                                                              CE κnP
                                d+3
       18n−2
      
                −2 log (κn ) d+3+γ , otherwise.
                      
           Q r̃
      
                              p

Here CE = cγ cQ with constants cγ defined in Definition 1 and Assumption 2, respectively.

Proof. Fix time t and a ball B ∈ At , and recall its centre as c(B). Let StQ (B) be the set of times
s ∈ [t − 1] when ball B was selected for the target data, with |StQ (B)| = nQ            P
                                                                            t (B). Let S (B) be the
                                                                             P         P
set of times s ∈ [nP ] when ball B was fallen for the source data, with |S (B)| = nB (DP ). Note
that nt (B) = nQ         P   P
                t (B) + nB (D ) and
                                             X                        
                                        1                    X
                                                                     P
                            vt (B) =                  Ys +         Ys .
                                     nt (B)      Q            P
                                                       s∈St (B)             s∈S (B)

Denote                                                                                               
                                     1           X                            X
                      ṽt (B) =                            f (Xs , ps ) +               f (XsP , pPs ) .
                                  nt (B)
                                               s∈StQ (B)                    s∈S P (B)

By Lemma 5, it holds that
        n                                                                 o
       P vt (B) − ṽt (B) > U nQ       P    P                P    P nP            Q
                                                       
                               t (B), nB (D   ), δ ,
                                                  1 2δ   {(Xt  , pt )} t=1 ≤ 8δ1 TB + 2δ2 ,



                                                              23
where TBQ is defined in (10) and
                                              r
                                                     2 log(1/δ1 )
                                              
                                              
                                              nQ          P     P
                                                                                 if nQ
                                                                                     t (B) > 0,
                     Q       P   P                 t (B)+nB (D )
                  U nt (B), nB (D ), δ1 , δ2 = r
                                                 2 log(1/δ2 )
                                                                                 if nQ
                                                                                     t (B) = 0.
                                              
                                              
                                                  nP (DP )
                                              
                                                                 B


                                              d+3
Let δ1 = n−2
          Q and δ2 = {nQ ∨ (κnP )
                                  d+3+γ }−2 . By (7), we have that


                                                                                   d+3
      n                                                o
                                                                Q
     P vt (B) − ṽt (B) > conft (B) {(XtP , pPt )}nt=1
                                                    P
                                                         ≤ 8n−2
                                                             Q TB + 2{nQ ∨ (κnP )
                                                                                  d+3+γ }−2 .                          (46)

Furthermore, note that
                                                                                                                  
                          1           X                                       X
     ṽt (B) − f (B) ≤                          f (Xs , ps ) − f (c(B)) +              f (XsP , pPs ) − f (c(B))
                       nt (B)
                                    s∈StQ (B)                               s∈SP (B)

                    ≤CLip r(B),                                                                                        (47)

where the second inequality follows form Assumption 1. Finally, combining (46) and (47), we have
that
                     n                                                          o
                    P vt (B) − f (B) > CLip r(B) + conft (B) {(XtP , pPt )}nt=1
                                                                             P


                                                          d+3
                         Q
                   ≤8n−2
                      Q TB + 2{nQ ∨ (κnP )
                                           d+3+γ }−2 .                                                                 (48)

In what follows, we consider different cases in (45).
                                                           d+3
Case 1. In this case, we consider nQ ≥ (κnP ) d+3+γ . Then, we have that
                                      d+3
           Q
      8n−2
        Q TB + 2{nQ ∨ (κnP )
                             d+3+γ }−2 ≤8n−2 ω(B) + 2n−2 ≤ 8n−2 r(B)−2 log(n ) + 10n−2
                                          Q           Q      Q              Q       Q
                                                    ≤8n−2
                                                       Q r̃
                                                            −2
                                                               log(nQ ) + 10n−2
                                                                             Q
                                                    ≤18n−2
                                                        Q r̃
                                                             −2
                                                                log(nQ ),                                              (49)

where the first inequality follows from (10), the second inequality follows from (11), and the third
inequality follows from r(B) ≥ r̃. Then combining (48) and (49), we have that
                      n                                       o
                    P vt (B) − f (B) > CLip r(B) + conft (B)
                      h n                                                        oi
                  =E P vt (B) − f (B) > CLip r(B) + conft (B) {(XtP , pPt )}nt=1
                                                                               P



                 ≤18n−2
                     Q r̃
                          −2
                             log(nQ ).                                                                                 (50)

                                                           d+3
Case 2. In this case, we consider nQ < (κnP ) d+3+γ , and
                                                              d+3   1
                                                  8 log (κnp ) d+3+γ  d+3+γ
                                       r̃ ≥                                 .
                                                        CE κnP


                                                           24
Define the event
                                                                 
                               EB =    nPB DP ) ≥ CE κnP r(B)d+γ+1 .

By Lemma 7, we have that
                                                       d+3
                                      P EBc ≤ {(κnP ) d+3+γ }−2 ,
                                       
                                                                                                   (51)

and that under the event EB , we have TBQ = 0. Then it holds that
    n                                       o
   P vt (B) − f (B) > CLip r(B) + conft (B)
    h n                                                         oi
 =E P vt (B) − f (B) > CLip r(B) + conft (B) {(XtP , pPt )}nt=1
                                                             P

    h n                                                             o                         i
 =E P vt (B) − f (B) > CLip r(B) + conft (B) {(XtP , pPt )}nt=1
                                                             P
                                                                , EB P EB {(XtP , pPt )}nt=1
                                                                                          P

          h n                                                              o                        i
      + E P vt (B) − f (B) > CLip r(B) + conft (B) {(XtP , pPt )}nt=1
                                                                    P
                                                                      , EBc P EBc {(XtP , pPt )}nt=1
                                                                                                  P

    h n                                                             oi
 ≤E P vt (B) − f (B) > CLip r(B) + conft (B) {(XtP , pPt )}nt=1 , EB + P EBc
                                                             P
                                                                            

             d+3
 ≤3{(κnP ) d+3+γ }−2                                                                               (52)
where the second inequality follows from (48) and (51).
                                                    d+3
Case 3. In this case, we consider nQ < (κnP ) d+3+γ , and
                                                   d+3   1
                                       8 log (κnp ) d+3+γ  d+3+γ
                                r̃ <                             .
                                             CE κnP
Then, we have that
                                                    d+3
                            Q
                       8n−2
                         Q TB + 2{nQ ∨ (κnP )
                                              d+3+γ }−2

                                              d+3
                     ≤8n−2
                        Q ω(B) + 2{(κnP )
                                             d+3+γ }−2

                                                d+3                     d+3
                     ≤8n−2       −2
                                    log (κnp ) d+3+γ + 8n−2            d+3+γ }−2
                                       
                        Q r(B)                           Q + 2{(κnP )
                                             d+3              d+3
                     ≤16n−2   −2
                                 log (κnp ) d+3+γ + 2{(κnP ) d+3+γ }−2
                                     
                         Q r̃
                                             d+3
                     ≤18n−2   −2
                                     
                         Q r̃    log (κnp ) d+3+γ ,                                                (53)
where the first inequality follows from (10), the second inequality follows from (11), the third
                                                                                           d+3
inequality follows from r(B) ≥ r̃ and the last inequality follows from nQ < (κnP ) d+3+γ . Then
combining (48) and (53), we have that
                     n                                       o
                    P vt (B) − f (B) > CLip r(B) + conft (B)
                     h n                                                         oi
                  =E P vt (B) − f (B) > CLip r(B) + conft (B) {(XtP , pPt )}nt=1
                                                                              P


                                           d+3
                  ≤18n−2    −2
                                  
                       Q r̃    log (κnp ) d+3+γ .                                           (54)

Finally, combining (50), (52) and (54), we complete the proof.

                                                    25
Lemma 5. Let {Xi }i≥1 be bounded martingale difference sequence with Xi ∈ [−1, 1]. Then for any
δ1 , δ2 > 0, and integers T ≥ 0 and n ≥ 1, it holds that
                                                  n
                                                   X                n+t
                                                                    X                                 
                 P ∃0 ≤ t ≤ T :                          Xi +                  Xi > U (t, n, δ1 , δ2 ) ≤ 8T δ1 + 2δ2 ,
                                                   i=1              i=n+1

where                                                    (p
                                                            2(n + t) log(1/δ1 )                      if t > 0,
                                     U (t, n, δ1 , δ2 ) = p
                                                            2n log(1/δ2 ),                           if t = 0.

Proof. The proof here is a minor modification of Lemma 12 in Cai et al. (2024a). For completeness,
we provide the details.
   We start with the case T = 0. Following the Azuma–Hoeffding inequality (e.g. Corollary 2.20
in Wainwright, 2019), it holds that
                                                    n
                                                   X
                                                                  p
                                                                                
                                              P               Xi > 2n log(1/δ2 ) ≤ 2δ2 .                                                 (55)
                                                        i=1

   We consider the case T > 0. Note that
                        Xn       n+t
                                  X                          
        P ∃0 ≤ t ≤ T :      Xi +      Xi > U (t, n, δ1 , δ2 )
                                       i=1              i=n+1
               n
              X
                          p
                                                        n+t
                                                          X       p
                                                                                      
        ≤P            Xi > 2n log(1/δ2 ) + P ∃0 < t ≤ T :     Xi > 2(n + t) log(1/δ1 )
                i=1                                                                         i=1
                                           n+t
                                            X          p
                                                                           
        ≤2δ2 + P ∃t ∈ [T ] :                       Xi > 2(n + t) log(1/δ1 ) ,                                                            (56)
                                             i=1

where the second inequality follows from a union bound argument and the final inequality follows
from (55).
   It remains to control the second term in (56). Note that for any δ > 0 and T ′ > 0, by Azuma–
Hoeffding inequality (e.g. Corollary 2.20 in Wainwright, 2019), we have that
                                 n+t                          T ′
                                                                                        δ2                                δ2
                                X                           X                                                                 
                          ′                                                                             ′
        P ∃t ∈ [T ] :                  Xi > δ            ≤          2 exp          −                ≤ 2T exp         −               .   (57)
                                                                                     2(n + t)                          2(n + T ′ )
                                 i=1                          t=1

Note that
                                                   n+t
                                                    X         p
                                                                                                    
                              P ∃t ∈ [T ] :               Xi > 2(n + t) log(1/δ1 )
                                                    i=1
                              ⌊log2 (T )⌋                                      n+t                                     
                                 X                                              X         p
                                                    j                j+1
                      ≤                     P ∃2 ≤ t ≤ 2                   :          Xi > 2(n + t) log(1/δ1 )
                                 j=0                                            i=1
                              ⌊log2 (T )⌋
                                                                   n + 2j
                                 X                                                    
                      ≤                     2j+2 exp          −2             log(1/δ 1 )
                                                                  n + 2j+1
                                 j=1


                                                                               26
                      ⌊log2 (T )⌋
                         X
                  ≤                 2j+2 δ1 ≤ 2log2 (T )+3 δ1 = 8T δ1 ,                          (58)
                         j=1

where the second inequality follows from (57) and the third inequality follows from the fact that
(n + 2j )/(n + 2j+1 ) ≥ 1/2 for any integers n, j ≥ 0.
   Combining (56) and (58), we complete the proof.


Lemma 6. For any t ∈ [nQ ],
                                                  Z ⊂ ∪B∈At dom(B, At ).                         (59)
Moreover, for any two different balls B1 , B2 ∈ AnQ with the same radius r, their centres are at a
distance of at least r.

Proof. Note that for any t ∈ [nQ ],

                                            ∪B∈At dom(B, At ) = ∪B∈At B,

By construction, Z ⊂ ∪B∈At B. This completes the proof of (59).
    For the second part, consider two distinct balls B1 , B2 ∈ AnQ with radius r. By construction,
they cannot be activated at the same time t ∈ [nQ ]. Without loss of generality, let B1 be activated
at time t, with parent B par , and B2 be activated earlier. Denote the centre of B1 as (x⊤ , p)⊤ .
We have that (x⊤ , p)⊤ ∈ dom(B par , At \{B1 }). Since r(B par ) > r(B2 ) and B2 is activated earlier,
we have that (x⊤ , p)⊤ ∈
                       / B2 , which establishes the required separation between B1 and B2 , and
completes the proof.

Lemma 7. For any t ∈ [nQ ] and B ∈ At , denote
                               n                            o
                          EB = nPB DP ) ≥ CE (κnP )r(B)d+γ+1 ,

where CE = cγ cQ . Under Assumption 2, it holds that
                                            n                  o
                          P EB ≥ 1 − exp − 4−1 CE (κnP )r̃d+γ+1 .
                            
                                                                                                 (60)

                                     d+3
Furthermore, if nQ < (κnP ) d+3+γ and
                                                                  d+3   1
                                                      8 log (κnp ) d+3+γ  d+3+γ
                                           r̃ ≥                                 ,                (61)
                                                            CE κnP

we have that                                                    d+3
                                            P EB ≥ 1 − {(κnp ) d+3+γ }−2 ,
                                             
                                                                                                 (62)
and under the event EB ,
                                                            TBQ = 0,                             (63)
where TBQ is defined in (10).




                                                               27
Proof. Fix time t and a ball B ∈ At , and recall its centre as c(B) = (x⊤       ⊤
                                                                        B , pB ) . By Step 8
of Algorithm 1, we have that xB ∈ supp(QX ). Note that nPB DP is a sum of i.i.d. zero mean
                                                                 

Bernoulli random variables with
                                                                        
        E nPB DP =nP µ(B) = nP µ [pB − r(B), pB + r(B)] × BX xB , r(B)
                

                    ≥2nP κr(B)PX BX (xB , r(B)) ≥ 2cγ nP κr(B)γ+1 QX BX (xB , r(B))
                                                                                   

                     ≥2cγ cQ nP κr(B)d+γ+1 = 2CE κnP r(B)d+γ+1 ,

where the first inequality follows from Definition 2, the second inequality follows from Definition 1
and the third inequality follows from Assumption 2. As a consequence, by Chernoff’s bound, we
have that
                                                                 
                           c         P  P                  d+γ+1
                                          
                      P{EB =P nB D < CE nP κr(B)
                                                                             
                                      P P         P    P
                                                                P P
                               ≤P E nB D        − nB D > E n B D           /2
                                                              
                                         −1              d+γ+1
                               ≤ exp − 4 CE κnP r(B)             .

   Since r(B) ≥ r̃, it holds that
                                             n                    o
                                  P EBc ≤ exp − 4−1 CE κnP r̃d+γ+1 ,
                                   
                                                                                                (64)

which completes the proof of (60).
   Now we consider the case where
                                                                      d+3   1
                                    d+3                   8 log (κnp ) d+3+γ  d+3+γ
                    nQ < (κnP )    d+3+γ   and r̃ ≥                                 .
                                                                CE κnP

Note that
                                           d+3   1                    d+3   1
                               8 log (κnp ) d+3+γ  d+3+γ     8 log (κnp ) d+3+γ  d+1+γ
             r(B) ≥ r̃ ≥                                 ≥                             .        (65)
                                     CE κnP                        CE κnP

Combining (64) and (65), it holds that
                                                        d+3
                                       P EBc ≤ {(κnp ) d+3+γ }−2 ,
                                        


which proves (62). Under the event EB , we have that

                      ω(B) − nPB DP
                                      
                                 d+3
                      log (κnp ) d+3+γ
                    ≤                   + 1 − CE κnP r(B)d+γ+1
                           r(B)2
                                 d+3
                      log (κnp ) d+3+γ
                    ≤                   + 1 − CE κnP r̃d+γ+1
                             r̃2


                                                   28
                           2
                           CE d+3+γ             2       d+1+γ        d+3
                        ≤              (κnP ) d+3+γ log d+3+γ (κnp ) d+3+γ + 1
                            8
                                 d+1+γ     2             2      d+1+γ        d+3
                             − 8 d+3+γ CEd+3+γ (κnP ) d+3+γ log d+3+γ (κnp ) d+3+γ
                                       2           2       d+1+γ         d+3
                        ≤1 − 21/2 CEd+3+γ (κnP ) d+3+γ log d+3+γ (κnp ) d+3+γ < 0,

where the first inequality follows from (11) and the event EB , the second inequality follows from
r(B) ≥ r̃ and the third inequality follows from (61). Thus by (10), we have under the event EB ,
TBQ = 0, which proves (63).



C     Proof of Theorem 2
The proof of Theorem 2 is in Appendix C.1 with all necessary auxiliary results in Appendix C.2.

C.1     Proof of Theorem 2
Proof. Let r̃ ∈ (0, 1/2) be specified later and define
                  n                                                                               o
         SX ,r̃ = x = (x1 , x2 , . . . , xd ) ∈ X | xi = (ki − 1/2)2r̃, ki ∈ [⌊1/(2r̃)⌋], ∀i ∈ [d] ,

with cardinality ⌊1/(2r̃)⌋d . We define a grid set of covariates as

                                     SX ,r̃ = x∗1 , . . . , x∗⌊1/(2r̃)⌋d .
                                             


Next, define the integer m = ⌊cm /r̃⌋d for s constant 0 < cm < 1/2. Using Varshamov-Gilbert bound
(e.g. Lemma 2.9 in Tsybakov, 2009), we can find a set of well-separated vectors Ωm = {ω (i) }M
                                                                                             i=0 ⊂
      m
{±1} such that
                                    m                              m
                      log2 (M ) ≥        and ρ(ω (i) , ω (j) ) ≥     ,   ∀0 ≤ i < j ≤ M,               (66)
                                    8                              8
where ρ(ω, ω ′ ) = |{k ∈ [m] : ωk ̸= ωk′ }| is the Hamming distance between ω and ω ′ .
   In the same spirit of SX ,r̃ , we define the grid set for price as
                                  n                        o n                     o
                         SP,r̃ = (k − 1/2)r̃, k ∈ [⌊1/r̃⌋] = p∗1 , . . . , p∗⌊1/r̃⌋ .

    In the following proof, we first construct a collection HΩm = {(QωX , µω , f ω ) | ω ∈ Ωm } of
probability distributions, where QωX is a probability distribution over X representing the covariate
distribution in target data, µω is a probability distribution over Z representing the joint distribution
of covariate-price pairs in source data, and f ω : Z → [0, 1] is the reward function for both target
and source data. We then verify the constructed HΩm ⊂ I(γ, cγ , κ, CLip , cQ ), from which the lower
bound follows by applying Proposition 8, which is Proposition 1 in Kpotufe and Martinet (2020).
Step 1. Constructing the distribution collection HΩm = {(QωX , µω , f ω ) : ω ∈ Ωm }.




                                                       29
Constructing the target covariate distribution. Let the target covariate distribution be
independent of ω, with the density denoted by qX , defined for any x ∈ X as follows
                                     
                                                   m         ∗
                                     q1 , if x ∈ ∪i=1 BX (xi , r̃/4),
                                     
                            qX (x) = q0 , if x ∈ X \ ∪m            ∗                 (67)
                                                       i=1 BX (xi , r̃),
                                      0, otherwise,
                                     

where
                                cQ r̃d                                  1 − mcQ r̃d
                   q1 =                             and q0 =                                 ,
                           Leb BX (x∗1 , r̃/4)                    Leb X \ ∪m        ∗
                                              
                                                                           i=1 BX (xi , r̃))
with cQ > 0 defined in Assumption 2.
Constructing the source covariate-price pair distribution. Let the distribution of the source
covariate-price pairs be independent of ω. The density of the source covariate, denoted by pX , is
defined for any x ∈ X as follows
                                
                                 cγ r̃γ q1 , if x ∈ ∪m        ∗
                                                     i=1 BX (xi , r̃/4),
                                
                                
                                
                                             if x ∈ ∪m        ∗            ∗
                                
                                δ,
                                                     i=1 BX (xi , r̃)\BX (xi , r̃/2),
                       pX (x) =                                      ∗
                                                                                            (68)
                                
                                
                                q0 ,        if x ∈ X \ ∪m
                                                         i=1 BX (xi , r̃),
                                
                                0,          otherwise,

where
                   1 − cγ r̃γ q1 Leb ∪m        ∗                           m    ∗
                                                                                       
                                      i=1 BX (xi , r̃/4) − q0 Leb X \ ∪i=1 BX (xi , r̃)
                δ=                                    ∗         ∗
                                                                                          .
                                    Leb ∪m
                                                                         
                                          i=1 BX (xi , r̃)\BX (xi , r̃/2)
   Let p̃ ∈ SP,r̃ be defined later. The density of the conditional distribution of the source price
p ∈ [0, 1] given the source covariate x ∈ X is defined as
                                        (
                                         κ,      if p ∈ [p̃ − r̃/2, p̃ + r̃/2],
                             pP (p|x) = 1−r̃κ                                                  (69)
                                          1−r̃ , otherwise.

Constructing the reward distributions. For both target and source data, let the random
reward, conditional on the covariate x and price p, be a Bernoulli random variable with parameter
f ω (x, p). The reward functions {f ω }ω∈Ωm are constructed as follow. First, define the function
ϕ : R+ 7→ [0, 1] by                    
                                       1,
                                                 if 0 ≤ z < 1/4,
                               ϕ(z) = 2 − 4z, if 1/4 ≤ z < 1/2,
                                       
                                         0,       otherwise.
                                       

Next, define the function φ : Z 7→ [0, 1/4] via

                                     φ(x, p) = Cφ r̃ϕ ∥(x⊤ , p)⊤ ∥∞ /r̃ ,
                                                                       

where Cφ = (CLip ∧ 1)/4. For any ω ∈ Ωm , the reward function f ω : Z 7→ [0, 1] is defined as follows
                                           m
                                                  ωi φ x − x∗i , p − p̃ 1 x ∈ BX (x∗i , r̃)
                                           X
                       ω
                                                                        
                     f (x, p) = 1/2 +                                                            (70)
                                           i=1


                                                         30
By construction, we note that if x ∈SBX (x∗i , r̃/4) for some i ∈ [m], then f ω (x, p) only depends on
the value of p and ω; and if x ∈ X \ m             ∗
                                       i=1 BX (xi , r̃/2),
                                                             ω
                                                          f′ (x, p) = 1/2 for any  p and ω.
                                         ω,∗
    For any ω ∈ Ωm and x ∈ X , let p (x) = min p ∈ arg maxp∈[0,1] f ω (x, p) be the optimal
price. Furthermore, recall that p̃ ∈ SP,r̃ , we define the function h : [0, 1] → {0, 1} as
                                             n                       o
                                 h(p) = 1 p ∈ (p̃ − r̃/2, p̃ + r̃/2] .

   We now make the following remarks:
                                                        S⌊1/r̃⌋ ∗
   • For any ω ∈ Ωm , x ∈ m            ∗                                  ∗
                           S
                             i=1 BX (xi , r̃/4) and p ∈  i=1 [pi − r̃/4, pi + r̃/4],

                        f ω x, pω,∗ (x) − f ω (x, p) =Cφ r̃1 h pω,∗ (x) ̸= h(p) .
                                                                     
                                                                                                       (71)

     To see this, we first note that x ∈ BX (x∗i , r̃/4) for some i ∈ [m]. If ωi = −1, we have
     pω,∗ (x)                                        ω,∗
             = 0 ̸∈ (p̃ − r̃/2, p̃ + r̃/2], and h(p  (x))  = 0. Therefore, f ω x, pω,∗ (x) − f ω (x, p) =
     Cφ r̃1 |p − p̃| ≤ r̃/2 = Cφ r̃h(p) = Cφ r̃1 h p (x) ̸= h(p) where the first equality holds
                                                          ω,∗
                 S⌊1/r̃⌋
     since p ∈ i=1 [p∗i − r̃/4, p∗i + r̃/4].        Next, if ωi = 1,  we have pω,∗ (x) = p̃ − r̃/4, and
     h(pω,∗(x)) = 1. Hence   f ω x, pω,∗ (x) −f ω (x, p) = Cφ r̃[1− 1 |p− p̃| ≤ r̃/2 ] = Cφ r̃[1−h(p)] =
                                              

     Cφ r̃1 h p (x) ̸= h(p) .
                ω,∗
                       

   • For any ω ∈ Ωm , p ∈ [0, 1], if x ∈ X \ m               ∗
                                                 S
                                                   i=1 BX (xi , r̃/2),

                                                 f ω (x, p) = 1/2.                                     (72)

   • For any ω ∈ Ωm and x ∈ X , if p ∈ [0, 1]\[p̃ − r̃/2, p̃ + r̃/2],

                                                 f ω (x, p) = 1/2.                                     (73)

   • For any two different ω ̸= ω ′ ∈ Ωm , if x ∈ BX (x∗i , r̃/4) for some i ∈ [m] such that ωi ̸= ωi′ ,
                                                               ′
                                        h pω,∗ (x) ̸= h pω ,∗ (x) .
                                                                   
                                                                                                    (74)

Step 2. Verifying HΩm ⊂ I(γ, cγ , κ, CLip , cQ ).
Transfer exponent. Recall that the support of QX is the union of the set ∪m                    ∗
                                                                                      i=1 BX (xi , r̃/4) and
     m          ∗
X \ ∪i=1 BX (xi , r̃). Therefore, we only need to check Definition 1 for x in these sets.
    First, if x ∈ BX (x∗i , r̃/4) for some i ∈ [m], and r ≤ 3r̃/4, by (67), it holds that

                              QX BX (x, r) = q1 Leb BX (x, r) ∩ BX (x∗i , r̃/4) .
                                                                              

By (68), it follows that

                           PX BX (x, r) ≥cγ r̃γ q1 Leb BX (x, r) ∩ BX (x∗i , r̃/4)
                                                                                 

                                         ≥cγ rγ QX BX (x, r) .
                                                             

   Second, for any x ∈ X \ ∪m        ∗
                            i=1 BX (xi , r̃) and r ≤ 3r̃/4, by (67), it holds that
                                                                          ∗
                   QX BX (x, r) = q0 Leb BX (x, r) ∩ X \ ∪m
                                                                              
                                                                i=1 BX (xi , r̃) .

By (68), it holds that
                                                             ∗
             PX BX (x, r) ≥ q0 Leb BX (x, r) ∩ X \ ∪m
                                                                                  
                                                    i=1 BX (xi , r̃)   = QX BX (x, r) .

                                                     31
Thus, for small r ≤ 3r̃/4, the transfer exponent defined in Definition 1 equals γ with respect to the
constant 0 < cγ ≤ 1.
   Furthermore, since we set

                            PX BX (x∗i , r̃) = QX BX (x∗i , r̃) , ∀i ∈ [m],
                                                              


we can verify that the above inequalities hold for 3r̃/4 < r ≤ 1. Thus, the transfer exponent of
the constructed source covariate distribution with respect to the target covariate distribution is γ,
with the corresponding constant cγ .
Exploration coefficient. For any x ∈ X , r ∈ (0, 1] and p ∈ [r, 1 − r], we have that
                                                                    
                                                           1 − r̃κ                  
     µ [p − r, p + r] × BX (x, r) ≥ PX BX (x, r) 2r min κ,              = PX BX (x, r) 2rκ,
                                                              1 − r̃

where the first inequality follows from (69) and the final equality holds beacuse

                                               1 − r̃κ   κ−1
                                          κ−           =        ≤ 0.
                                                1 − r̃   1 − r̃
As a result, the exploration coefficient defined in Definition 2 for the constructed source covariate-
price pair distribution equals κ.
Lipschitz condition. By the construction in (70), it suffices to show that the function φ : Z 7→
[0, 1/4] satisfies Assumption 1 with respect to the Lipschitz constant CLip > 0. For any (x, p), (x′ , p′ ) ∈
Z, we have that

                 |φ(x, p) − φ(x′ , p′ )| = Cφ r̃ ϕ(∥(x⊤ , p)⊤ ∥∞ /r̃) − ϕ(∥(x′⊤ , p′ )⊤ ∥∞ /r̃)          (75)

Since ϕ is a Lipschitz function with Lipschitz constant 4, it follows that

        |φ(x, p) − φ(x′ , p′ )| ≤4Cφ r̃ ∥(x⊤ , p)⊤ ∥∞ /r̃ − ∥(x′⊤ , p′ )⊤ ∥∞ /r̃
                               ≤4Cφ ∥(x⊤ , p)⊤ − (x′⊤ , p′ )⊤ ∥∞ ≤ CLip ∥(x⊤ , p)⊤ − (x′⊤ , p′ )⊤ ∥∞ ,

where the first inequality follows from the triangle inequality and the last inequality holds since
Cφ = (CLip /4) ∧ (1/4). Thus, for any ω ∈ Ωm , the reward function f ω satisfy Assumption 1 with
respect to the Lipschitz constant CLip > 0.
Lower-bounded density. It is straightforward to see that

                                                     cQ r̃d
                                             q1 =           = 2d cQ ,
                                                    (r̃/2)d

and
                       1 − mcQ r̃d   1 − ⌊cm /r̃⌋d cQ r̃d       ⌊cm /r̃⌋d r̃d (2d − cQ )
                q0 =               =                      = 1 +                          > 1.
                       1 − m(2r̃)d   1 − ⌊cm /r̃⌋d (2r̃)d        1 − ⌊cm /r̃⌋d (2r̃)d
Thus, we confirm that the constructed target covariate distribution satisfies Assumption 2.
Step 3. Applying Proposition 8. We now verify the conditions required for applying Proposi-
tion 8.


                                                        32
Step 3.1. Verification of condition (i) in Proposition 8. For any admissible price policy
π = {pπ1 , . . . , pπnQ } and for ω ∈ Ωm , let
                                                    nQ
                                                    X
                                                          Eω f ω Xt , pω,∗ (Xt ) − f ω (Xt , pπt ) ,
                                                                               
                                Rπ,ω (nQ ) =
                                                    t=1

where Eω denotes the expectation under the distribution (QωX , µω , f ω ). Note that for any price
policy π, if there exists a time point t′ ∈ [nQ ] such that
                                          ⌊1/r̃⌋
                                           [
                                 pπt′ ∈            [p∗i − r̃/2, p∗i + r̃/2]\[p∗i − r̃/4, p∗i + r̃/4],
                                          i=1

then there exists a policy π ′ with
                                                            ⌊1/r̃⌋
                                                      ′
                                                             [
                                                   pπt′ ∈            [p∗i − r̃/4, p∗i + r̃/4],
                                                            i=1

            π′
and pπt = pt for all t ̸= t′ , which satisfies

                                     Rπ′ ,ω (nQ ) ≤ Rπ,ω (nQ ),                  for any ω ∈ Ωm .

To see this, suppose pπt′ ∈ [p∗i − r̃/2, p∗i + r̃/2]\[p∗i − r̃/4, p∗i + r̃/4], for some i ∈ [⌊1/r̃⌋]. If ωi = −1,
                               ′
then one simply chooses pπt′ ∈ [p∗j − r̃/4, p∗j + r̃/4] for some      Smj ̸= i; otherwise   if ωi = 1, then one
                                                                                   ∗
chooses the same index j = i. Furthermore, if x ∈ X \ i=1 BX (xi , r̃), then f ω (x, p) = 1/2 is
universal for all p ∈ [0, 1] due to (72).
                                                                                ⌊1/r̃⌋
    Therefore, it suffices to consider price policies where pπt ∈ ∪i=1 [p∗i − r̃/4, p∗i + r̃/4] for all
t ∈ [nQ ]. By (71), we have that
                                     nQ       h                                                     i
                                            Eω 1 h pω,∗ (Xt ) ̸= h(pπt ) 1 Xt ∈ ∪m
                                     X
                                                                                           ∗
                                                                         
             Rπ,ω (nQ ) =Cφ r̃                                                   i=1 BX (x i , r̃/4)
                                     t=1
                                     nQ m             h                                                i
                                                    Eω 1 h pω,∗ (Xt ) ̸= h(pπt ) 1 Xt ∈ BX (x∗i , r̃/4) .
                                     X   X                                       
                         =Cφ r̃
                                     t=1 i=1
                                                                                       ′
Let Π denote the space of all price policies. For any pπ , pπ ∈ Π, define the semi-metric
                                           nQ m             h                                           i
                                                          Eω 1 h(pπt ) ̸= h(pπt ) 1 Xt ∈ BX (x∗i , r̃/4) .
                            ′                                       ′
                                           X  X
                 ρ̄(pπ , pπ ) =Cφ r̃
                                                                                   
                                           t=1 i=1

For any ω ∈ Ωm , denote p̃ω,∗ = {pω,∗ (X1 ), . . . , pω,∗ (XnQ )}. For any ω, ω ′ ∈ Ωm we have that
                            n
                            Q m
                              X h                                                        i
                                Eω 1 h pω,∗ (Xt ) ̸= h pω ,∗ (Xt ) 1 Xt ∈ BX (x∗i , r̃/4)
                 ′                                      ′
                            X
   ρ̄ p̃ω,∗ , p̃ω ,∗ =Cφ r̃
                                                                  
                            t=1 i=1
                            nQ m
                  (a)                       h                                   i
                                          Eω 1 Xt ∈ BX (x∗i , r̃/4) )1 ωi ̸= ωi′
                            X  X                                      
                  ≥ Cφ r̃
                            t=1 i=1


                                                                         33
                 (b)                              (c)                m   Cφ cQ
                 =Cφ cQ nQ r̃d+1 ρ(ω, ω ′ ) ≥ Cφ cQ nQ r̃d+1           =       nQ r̃d+1 ⌊cm /r̃⌋d ≥ Cρ nQ r̃,     (76)
                                                                     8    8
where (a) holds by (74), (b) follows from (67), (c) is derived from (66), and Cρ > 0 is a constant
only depending on constant Cφ , cQ and cm .
Step 3.2. Verification of condition (ii) in Proposition 8.
   Fix a policy π, for any u ∈ [⌊1/r̃⌋], let
                                              nQ
                                                    1{pπt ∈ [p∗u − r̃/2, p∗u + r̃/2]}.
                                              X
                                 Ou =                                                                             (77)
                                              t=1

Since
                                          M ⌊1/r̃⌋
                                          X  X
                                                          Eω(i) (Ou ) ≤ M nQ ,
                                              i=1 u=1

it follows that for at least ⌊M/2⌋ elements in {ω (i) }M
                                                       i=1 , there must exist at least one index u ∈ [⌊1/r̃⌋]
such that
                                                            2nQ
                                          Eω(i) (Ou ) ≤          .                                      (78)
                                                          ⌊1/r̃⌋
                                                                                                       ⌊M/2⌋
Therefore, we can choose one such u and without loss of generality, assume that {ω (i) }i=1 satisfy
(78). Define p̃ = p∗u to construct the density of the conditional distribution of the source price given
the source covariate in (69) in Step 1.
                                                                           nQ
    Denote the target data and source data by DnQQ = {Xt , pπt , Yt }t=1      , DP = {XtP , pPt , YtP }nt=1
                                                                                                         P
                                                                                                            ,
                            (i)                      i                                                   Q
respectively. For each ω ∈ Ωm , let Θ be the joint distribution of the random variables in DnQ
and DP induced by QX      ω (i) , µω (i) , f ω (i) , i.e. under Θi :
                                                  

   • the target data DnQQ follow the target covariate distribution QX with density qX , the price
      policy π is represented by its conditional density π̃(·|Xt , Ft−1 ) and rewards drawn from
                    (i)
      Bernoulli f ω (Xt , pπt ) , whose likelihood is denoted by θf ω(i) ;
                                   
                                                                                                            (i)
   • the source data DP follow the source covariate distribution PX (the marginal from µω ) with
                                                                                       (i)
     density pX , the source price distribution with conditional density denoted by pωP (·|Xt ) and
                                        (i)
     rewards drawn from Bernoulli f ω (XtP , pPt ) again with likelihood denoted by θf ω(i) .
                                                   

We denote by θi the density corresponding to Θi , then
                                        nQ
                                        Y
                  θi (DnPP , DnQQ ) =         qX (Xt )π̃ pπt Xt , Ft−1 θf ω(i) Yt Xt , pπt
                                                                                          
                                        t=1
                                                  nP
                                                  Y
                                                        pX (XtP )pP pPt XtP θf ω(i) YtP XtP , pPt .
                                                                                                 
                                              ×                                                                   (79)
                                                  t=1

   Note that the densities involving the policy π̃ pπt Xt , Ft−1 are identical since π is fixed. For
                                                                 

any i ∈ [⌊M/2⌋], and ω (0) ∈ Ωm ,
                               nQ
                                         θf ω(i) Yt Xt , pπt               θf ω(i) YtP XtP , pPt
                                                             )                                  )
                                                                 nP
         (                 )           (                                 (
           dΘi P               X                                 X
     log      (D , DQ ) =          log                        +     log                          .
           dΘ0 nP nQ                     θf ω(0) Yt Xt , pπt               θf ω(0) YtP XtP , pPt
                               t=1                               t=1


                                                              34
Taking the expectation with respect to Θi , we obtain
                       " nQ
                                   θf ω(i) Yt Xt , pπt                  θf ω(i) YtP XtP , pPt
                                                        )                                         )#
                                                              nP
                                 (                                    (
                        X                                     X
   KL(Θi , Θ0 ) =Eω(i)       log                      π
                                                         +       log               P X P , pP
                                                                                                  
                         t=1
                                   θ f ω (0) Yt Xt , pt
                                                              t=1
                                                                        θ f ω (0) Yt       t    t
                       " nQ                           π                            θf ω(i) YtP XtP , pPt
                                 (                       )#         "n          (                         )#
                        X          θf ω(i) Yt Xt , pt                 X P

                =Eω(i)       log                      π
                                                            + Eω(i)        log                P X P , pP
                                                                                                          
                         t=1
                                   θ f ω (0) Yt Xt , pt
                                                                      i=1
                                                                                   θ f ω (0) Yt     t   t

                     =KLQ + KLP .                                                                            (80)

    Note that
                       " nQ
                                            θf ω(i) Yt x, pπt
          Z                             (                          )#
                        X
KLQ =          Eω(i)          log                  π
                                                      qX (x)dx
           X         t=1
                                 θ f ω (0) Yt x, pt
                                    " nQ
                                                                                θf ω(i) Yt x, pπt
          Z                                                                   (                    )#
                                           1 pπt ∈ p∗u − r̃/2, p∗u + r̃/2 log
                                      X                                
        = S                   Eω(i)                                                                qX (x)dx
            m         ∗
            j=1 BX (xj ,r̃/4)          t=1
                                                                                θf ω(0) Yt x, pπt
               X
                            QX BX (x∗j , r̃/4) Eω(i) (Ou )KL Bernoulli(1/2 + Cφ r̃), Bernoulli(1/2 − Cφ r̃)
                                                                                                            
        ≤
                     (i)   (0)
          j∈[m] : ωj ̸=ωj
                            X
        ≤32Cφ2 r̃2                                QX BX (x∗j , r̃/4) Eω(i) (Ou )
                                                                    
                                  (i)       (0)
                     j∈[m] : ωj ̸=ωj
                      nQ
        ≤64Cφ2 cQ           mr̃d+2 ≤ CQ nQ r̃d+3 m,                                                          (81)
                     ⌊1/r̃⌋
where
   • the second equality follows from (67), (72), (73) and p̃(x) = p∗u ,
   • the first inequality follows from (70) and (77),
   • the second inequality follows from Lemma 15 in Cai et al. (2024a),
   • the third inequality follows from (67) and (78),
   • and CQ > 0 is a constant only depending on constants Cφ and cQ .
We also have that
                                   θf ω(i) YtP x, pPt
                   "n            (                      )#
         Z            X  P

 KLP =       Eω(i)           log                        pX (x)dx
          X           t=1
                                   θf ω(0) YtP x, pPt
                                                                             θf ω(i) Yt x, pPt
                                     "n                                    (                     )#
         Z                               P

                                           1 pt ∈ pu − r̃/2, pu + r̃/2 log
                                      X      P  ∗           ∗
                                                                      
      =                        Eω(i)                                                          P
                                                                                                 pX (x)dx
          ∪mj=1 BX (x ∗ ,r̃/4)
                      j                i=1
                                                                             θ f ω (0) Yi x, pt
                       X
                                              ∗
                                                                                                     
      ≤κnP r̃                     PX BX (xj , r̃/4) KL Bernoulli(1/2 + Cφ r̃), Bernoulli(1/2 − Cφ r̃)
                            (i)         (0)
                  j∈[m]:ωj ̸=ωj
                                        X
         ≤32Cφ2 nP κr̃3                                   PX BX (x∗i , r̃/4)
                                                                            
                                            (i)     (0)
                            j∈[m]:ωj ̸=ωj

         ≤32Cφ2 cQ cγ nP κmr̃d+γ+3 = CP κnP r̃d+γ+3 m,                                                       (82)

where

                                                                         35
   • the second equality follows from (68), (72) and (73),
   • the first inequality follows from (69) and (70),
   • the second inequality follows from Lemma 15 in Cai et al. (2024a),
   • the third inequality follows from (68),
   • and CP > 0 is a constant only depending on constants Cφ , cQ and cγ .
   Combining (80), (81) and (82), it holds that
                               [⌊M/2⌋]
                                X
                          −1
                  ⌊M/2⌋                  KL(Θi , Θ0 ) ≤CQ nQ r̃d+3 m + CP κnP r̃d+γ+3 m.                 (83)
                                i=1

Now set                                                         − 1
                                                           d+3
                                             
                                                                  d+3
                                      r̃ = cr nQ + (κnP ) d+3+γ       ,                                  (84)

where cr > 0 is a sufficiently small constant. From (66), it holds that
                                          [⌊M/2⌋]
                                            X
                           ⌊M/2⌋−1                  KL(Θi , Θ0 ) ≤ α log2 (⌊M/2⌋).
                                            i=1

where 0 < α < 1/8.
                                                                                                 ⌊M/2⌋
Step 3.3. We have verified that all conditions of Proposition 8 hold for the family {Θi }i=0             . By
applying Proposition 8, Markov’s inequality, (76) and (84), we obtain that
                                                                              d+3    − 1
                   inf         sup           Rπ,I (nQ ) ≥ cnQ nQ + (κnP ) d+3+γ        d+3
                                                                                             ,
                     π I∈I(γ,c ,κ,C ,c )
                              γ    Lip Q


where c > 0 is a constant only depending on constants CLip , cγ and cQ . This completes the proof.


C.2    Auxiliary results
For completeness, we include Proposition 1 from Kpotufe and Martinet (2020) below, as it is a key
tool for establishing the minimax lower bound.

Proposition 8 (Proposition 1 in Kpotufe and Martinet (2020)). Let {Θh }h∈H be a family of
distributions indexed by a subset H of a semi-metric space (F, ρ̄). Assume that there exists
h0 , . . . , hM ∈ H, with M ≥ 2, such that
  (i) ρ̄(hi , hj ) ≥ 2s > 0, ∀0 ≤ i < j ≤ M ,
 (ii) Θhi ≪ Θh0 , ∀i ∈ [M ] and the average KL-divergence to Θh0 satisfies
                                M
                          1 X
                              KL(Θhi , Θh0 ) ≤ α log M,              where 0 < α < 1/8.
                          M
                                i=1

   Let Z ∼ Θh and let ĥ : Z → F denote any improper learner of h ∈ H. It holds that
                                         √                 s         !         √
                                       M                    2α        3−2 2
           sup Θh ρ̄ ĥ(Z), h ≥ s ≥        √     1 − 2α −              ≥           .
           h∈H                         1+ M                  log(M )         8

                                                         36
          A                                                       B
                   3000                                                    400

                                                                                                                           Method (Panel A)

          Regret




                                                                  Regret
                   2000                                                    300
                                                                                                                               TLDP
                                                                                                                               Target−Only TLDP
                   1000                                                    200
                                                                                                                               ABE
                                                                                                                               ExUCB
                     0
                          10000   20000   30000   40000   50000                   0      10000     20000   30000   40000
                                           nQ                                                       nP

          C                                γ                      D                                 CI
                          0.5      1      1.5      2      2.5                    0.25        0.5   0.75      1     1.25
                   190
                                                                           500
                   180

                   170                                                     400




                                                                  Regret
                                                                                                                           Method (Panels B, C & D)
          Regret




                   160
                                                                           300                                                 TLDP (varies w/ bottom axis)
                   150                                                                                                         TLDP (varies w/ top axis)
                                                                           200
                   140

                   130                                                           0.15    0.20      0.25    0.30    0.35
                          0.2     0.4     0.6     0.8     1.0
                                           κ                                                        Cr



Figure 2: Results for Configuration 2 in Scenario 1. Panel (A) and (B): varying source data size nP
and target data size nQ , respectively. Panel (C) varying the transfer exponent γ (top axis) and the
exploration coefficient κ (bottom axis). Panel (D): varying the index constant CI (top axis) and
the exploration radius constant Cr (bottom axis). For Panels (B), (C) and (D), we fix nQ = 10000.


D     Additional details in Section 5
D.1    Additional results in Section 5.1

Scenario 1. The simulation results for Configuration 2 of Scenario 1, as described in Sec-
tion 5.1, are presented in Figure 2.
Scenario 2. The simulation results for Configurations 1 and 2 of Scenario 2, as described in
Section 5.1, are presented in Figure 3 and Figure 4, respectively.

D.2    Additional results in Section 5.2
In this subsection, we present samples of the processed auto loan dataset in Table 2.




                                                                                        37
          A                                                       B
                   7500                                                    1000

                                                                                                                              Method (Panel A)

          Regret




                                                                  Regret
                   5000                                                    800
                                                                                                                                  TLDP

                                                                           600                                                    Target−Only TLDP
                   2500
                                                                                                                                  ABE
                                                                           400                                                    ExUCB
                          10000   20000   30000   40000   50000                     0      10000      20000   30000   40000
                                           nQ                                                          nP

          C                                 γ                     D                                    CI
                           0.5      1      1.5     2       2.5                     0.25        0.5     0.75     1     1.25

                   1600                                                    1500


                                                                           1250




                                                                  Regret
                   1200                                                                                                       Method (Panels B, C & D)
          Regret




                                                                           1000
                                                                                                                                  TLDP (varies w/ bottom axis)

                   800                                                     750                                                    TLDP (varies w/ top axis)


                                                                           500
                   400
                                                                                   0.15        0.20    0.25    0.30   0.35
                           0.2     0.4     0.6     0.8     1.0
                                           κ                                                           Cr



Figure 3: Results for Configuration 1 in Scenario 2. Panel (A) and (B): varying source data size nP
and target data size nQ , respectively. Panel (C) varying the transfer exponent γ (top axis) and the
exploration coefficient κ (bottom axis). Panel (D): varying the index constant CI (top axis) and
the exploration radius constant Cr (bottom axis). For Panels (B), (C) and (D), we fix nQ = 10000.

          A                                                       B
                   5000                                                    700

                                                                           650
                   4000                                                                                                       Method (Panel A)
          Regret




                                                                  Regret




                                                                           600
                   3000                                                                                                           TLDP
                                                                           550                                                    Target−Only TLDP
                   2000
                                                                           500                                                    ABE
                   1000
                                                                                                                                  ExUCB
                                                                           450
                          10000   20000   30000   40000   50000                    0       10000      20000   30000   40000
                                           nQ                                                          nP

          C                                γ                      D                                    CI
                          0.5      1      1.5      2      2.5                     0.25         0.5    0.75      1     1.25

                                                                           900


                   800                                                     800
                                                                  Regret




                                                                                                                              Method (Panels B, C & D)
          Regret




                                                                                                                                  TLDP (varies w/ bottom axis)
                                                                           700
                   700                                                                                                            TLDP (varies w/ top axis)

                                                                           600

                                                                                  0.15     0.20       0.25    0.30    0.35
                          0.2     0.4     0.6     0.8     1.0
                                           κ                                                           Cr



Figure 4: Results for Configuration 2 in Scenario 2. Panel (A) and (B): varying source data size nP
and target data size nQ , respectively. Panel (C) varying the transfer exponent γ (top axis) and the
exploration coefficient κ (bottom axis). Panel (D): varying the index constant CI (top axis) and
the exploration radius constant Cr (bottom axis). For Panels (B), (C) and (D), we fix nQ = 10000.


                                                                                          38
     values.
                                                                                                        Division                Price       FICO      Competition rate   Amount approved   Prime rate     Term        Reward
                                                                                                        West South Central   0.26497654   0.4007937     0.9421965          0.31578947      0.7396567    1.0000000   0.00000000
                                                                                                        West South Central   0.03455228   0.5912698     0.5664740          0.14842105      0.7396567    0.0000000   0.03455228




39
                                                                                                        East North Central   0.08328724   0.7032520     0.8265896          0.2144407       0.7396567    0.3333333   0.00000000
                                                                                                        East North Central   0.08203698   0.4227642     0.7687861          0.1620701       0.7396567    0.6666667   0.00000000
                                                                                                        East South Central   0.09374806   0.2490119     0.9421965          0.03204972      0.7396567    1.0000000   0.00000000
                                                                                                        East South Central   0.04983916   0.5731225     0.8265896          0.08330877      0.7396567    0.3333333   0.00000000




     Table 2: Sample of the normalized auto loan dataset, including key covariates, prices and reward
