Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Learning to Price Homogeneous Data

Keran Chen
UW-Madison
kchen429@wisc.edu
   Joon Suk Huh
UW-Madison
jhuh23@wisc.edu
   Kirthevasan Kandasamy
UW-Madison
kandasamy@cs.wisc.edu
Abstract

We study a data pricing problem, where a seller has access to N𝑁Nitalic_N homogeneous data points (e.g. drawn i.i.d. from some distribution). There are m𝑚mitalic_m types of buyers in the market, where buyers of the same type i𝑖iitalic_i have the same valuation curve vi:[N][0,1]:subscript𝑣𝑖delimited-[]𝑁01v_{i}:[N]\rightarrow[0,1]italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT : [ italic_N ] → [ 0 , 1 ], where vi(n)subscript𝑣𝑖𝑛v_{i}(n)italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) is the value for having n𝑛nitalic_n data points. A priori, the seller is unaware of the distribution of buyers, but can repeat the market for T𝑇Titalic_T rounds so as to learn the revenue-optimal pricing curve p:[N][0,1]:𝑝delimited-[]𝑁01p:[N]\rightarrow[0,1]italic_p : [ italic_N ] → [ 0 , 1 ]. To solve this online learning problem, we first develop novel discretization schemes to approximate any pricing curve. When compared to prior work, the size of our discretization schemes scales gracefully with the approximation parameter, which translates to better regret in online learning. Under assumptions like smoothness and diminishing returns which are satisfied by data, the discretization size can be reduced further. We then turn to the online learning problem, both in the stochastic and adversarial settings. On each round, the seller chooses an anonymous pricing curve ptsubscript𝑝𝑡p_{t}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT. A new buyer appears and may choose to purchase some amount of data. She then reveals her type only if she makes a purchase. Our online algorithms build on classical algorithms such as UCB and FTPL, but require novel ideas to account for the asymmetric nature of this feedback and to deal with the vastness of the space of pricing curves. Using the improved discretization schemes previously developed, we are able to achieve 𝒪~(mT)~𝒪𝑚𝑇\widetilde{\mathcal{O}}(m\sqrt{T})over~ start_ARG caligraphic_O end_ARG ( italic_m square-root start_ARG italic_T end_ARG ) regret in the stochastic setting and 𝒪~(m3/2T)~𝒪superscript𝑚32𝑇\widetilde{\mathcal{O}}(m^{\nicefrac{{3}}{{2}}}\sqrt{T})over~ start_ARG caligraphic_O end_ARG ( italic_m start_POSTSUPERSCRIPT / start_ARG 3 end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT square-root start_ARG italic_T end_ARG ) regret in the adversarial setting.

1 Introduction

Due to the rise in popularity of machine learning, there is an increased demand for data. However, not all users of data have the wherewithal to collect data on their own, and have to rely on data marketplaces to acquire the data they need. For example, a materials data platform (e.g.  [17]), may have collected vast amounts of data from various proprietary sources. Materials scientists in smaller organizations and academia, who do not have large experimental apparatuses, may wish to purchase this data to aid in their research. Similarly, small businesses may wish to purchase customer data for advertising and product recommendations [5, 4], while small technology companies may wish to purchase data about cloud operations to optimize their computing infrastructure [3, 2].

Model. Motivated by the emergence of such data marketplaces, we study the following online data pricing problem. A seller has access to N𝑁Nitalic_N homogeneous data points, (e.g. drawn i.i.d. from some distribution). He wishes to sell the data to a sequence of distinct buyers over T𝑇Titalic_T rounds, and intends to achieve large revenue. There are m𝑚mitalic_m types of buyers in the data marketplace, with all buyers in type i𝑖iitalic_i having the same valuation curve vi:[N][0,1]:subscript𝑣𝑖delimited-[]𝑁01v_{i}:[N]\rightarrow[0,1]italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT : [ italic_N ] → [ 0 , 1 ] for the data, where vi(n)subscript𝑣𝑖𝑛v_{i}(n)italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) represents the buyer’s value for having n𝑛nitalic_n points. As data is homogeneous, we can treat an agent’s value as a function of the amount of data n𝑛nitalic_n (we will illustrate this in the sequel). Valuation curves are monotone non-decreasing, as more data is better. At each round t𝑡titalic_t, the seller chooses a price curve pt:[N][0,1]:subscript𝑝𝑡delimited-[]𝑁01p_{t}:[N]\rightarrow[0,1]italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT : [ italic_N ] → [ 0 , 1 ], where pt(n)subscript𝑝𝑡𝑛p_{t}(n)italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_n ) is the price to the buyer for purchasing n𝑛nitalic_n data points. Then a buyer with type itsubscript𝑖𝑡i_{t}italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT arrives and purchases an amount of data that maximizes her utility (value minus price), provided that she can achieve non-negative utility. A buyer will reveal her type to the seller only if she makes a purchase, and only after she makes the purchase. The seller has knowledge of valuation curves of the m𝑚mitalic_m types, but does not know the distribution q𝑞qitalic_q over types (stochastic setting), or the buyer sequence (adversarial setting). Moreover, he cannot practice non-anonymous (discriminatory) pricing, as he needs to choose the pricing curve ptsubscript𝑝𝑡p_{t}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT without knowledge of the buyer’s type on that round.

While there is extensive research on revenue-optimal pricing and learning to price, data marketplaces merit special attention, both due to their recent emergence and the unique characteristics of data. Typically the number of data N𝑁Nitalic_N (number of goods) is very large, but data usually satisfies additional properties such as smoothness (an agent’s value does not increase significantly with a small amount of additional data) and diminishing returns (additional data is more valuable when a buyer has less data). To illustrate further, note that two steps are essential to develop an effective online learning solution for data pricing. (1) First, we need to solve the planning problem, i.e. find a revenue-optimal pricing curve when the type distribution q𝑞qitalic_q is known. (2) Second, when q𝑞qitalic_q is unknown, we need to combine the algorithm in step (1) with estimates for q𝑞qitalic_q to maximize long-term revenue.

Methods in the existing literature fall short in both steps. (1) When the type distribution q𝑞qitalic_q is known, the data pricing problem resembles an ordered item pricing problem, which is known to be NP-hard [12, 24]. Hence prior work has aimed at approximating the optimal pricing curves via discretization schemes. Unfortunately, existing discretization schemes have poor, often exponential, dependence on the approximation parameter ϵitalic-ϵ\epsilonitalic_ϵ. However, achieving sublinear regret in online learning requires choosing ϵitalic-ϵ\epsilonitalic_ϵ that vanishes with longer time horizons, i.e. ϵ0italic-ϵ0\epsilon\rightarrow 0italic_ϵ → 0 as T𝑇T\rightarrow\inftyitalic_T → ∞. Therefore, directly using existing discretization schemes in an online setting leads to poor statistical and computational properties of the associated online algorithm. This requires us to leverage the above properties of data to design discretization schemes with better dependence on ϵitalic-ϵ\epsilonitalic_ϵ. (2) While there is prior work on learning optimal prices [32, 26, 21], these techniques either fall short of addressing the complexities in our setting, or fail to account for the properties of data, and hence do not scale gracefully when the amount of data N𝑁Nitalic_N is very large. Moreover, in our online learning setup, the seller faces a trade-off between setting high prices to maximize instantaneous revenue versus setting low prices so as to guarantee a purchase, which results in the buyer revealing their type, which in turn can be helpful in future rounds. Prior work has studied this asymmetric feedback model only in single-item markets [22, 46] which is significantly simpler, and only in the stochastic setting.

1.1 Summary of our contributions

Our contributions in this work are threefold: (1) First, in §3, we develop discretization schemes for revenue-optimal data pricing under a variety of assumptions, which we will use later in our online learning schemes. (2) In §4, we study learning a revenue-optimal price in a stochastic setting, where the customer types on each round are drawn from a fixed but unknown distribution q𝑞qitalic_q. (3) Finally, in §5, we study online learning when the buyer types are chosen by an oblivious adversary.

1. Discretization (approximation) schemes for revenue-optimal data pricing. Assuming only monotonicity, we show that there is a discretization of size 𝒪~((N/ϵ)m)~𝒪superscript𝑁italic-ϵ𝑚\widetilde{\mathcal{O}}((N/\epsilon)^{m})over~ start_ARG caligraphic_O end_ARG ( ( italic_N / italic_ϵ ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ) which is an 𝒪(ϵ)𝒪italic-ϵ\mathcal{O}(\epsilon)caligraphic_O ( italic_ϵ ) additive approximation to any pricing curve. When compared to prior work [13, 24], our discretization scheme has smaller dependence on ϵ1superscriptitalic-ϵ1\epsilon^{-1}italic_ϵ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT when the number of types m𝑚mitalic_m is small (see Table 1). This will be useful, both statistically and computationally, when we study the online setting, as we need to choose ϵ0italic-ϵ0\epsilon\rightarrow 0italic_ϵ → 0 as T𝑇T\rightarrow\inftyitalic_T → ∞ to achieve sublinear regret. This is still quite large in real-world data marketplaces, where N𝑁Nitalic_N may be very large. Hence, we also study two other assumptions. First, when valuations are smooth, satisfying an L𝐿Litalic_L-Lipschitz-like condition, we construct a discretization of size 𝒪~((L/ϵ2)m)~𝒪superscript𝐿superscriptitalic-ϵ2𝑚\widetilde{\mathcal{O}}\left((L/\epsilon^{2})^{m}\right)over~ start_ARG caligraphic_O end_ARG ( ( italic_L / italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ), which has no dependence on N𝑁Nitalic_N. Next, under a diminishing returns condition, we construct a discretization of size 𝒪(Jmϵ3mlogNm)𝒪superscript𝐽𝑚superscriptitalic-ϵ3𝑚superscript𝑁𝑚\mathcal{O}\left(J^{m}\epsilon^{-3m}\log N^{m}\right)caligraphic_O ( italic_J start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT italic_ϵ start_POSTSUPERSCRIPT - 3 italic_m end_POSTSUPERSCRIPT roman_log italic_N start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ), with only has polylog dependence on N𝑁Nitalic_N.

Key algorithmic insights. We first show that when there are only m𝑚mitalic_m types, for any price function p:[N][0,1]:𝑝delimited-[]𝑁01p:[N]\rightarrow[0,1]italic_p : [ italic_N ] → [ 0 , 1 ], there exists an “m-step” price function psuperscript𝑝p^{\prime}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT whose expected revenue is at least as much as that of p𝑝pitalic_p on any type distribution q𝑞qitalic_q. An m𝑚mitalic_m-step function is a non-decreasing function where p(n+1)𝑝𝑛1p(n+1)italic_p ( italic_n + 1 ) and p(n)𝑝𝑛p(n)italic_p ( italic_n ) differ at most m𝑚mitalic_m times. This allows us to focus on m𝑚mitalic_m-step functions, significantly narrowing the space of pricing functions when mNmuch-less-than𝑚𝑁m\ll Nitalic_m ≪ italic_N. We then consider discretizations of the data space [N]delimited-[]𝑁[N][ italic_N ] and valuations [0,1]01[0,1][ 0 , 1 ] and apply this insight to construct discretizations of pricing curves.

Algorithm Assumptions Size of discretization Reference
Hartline and Koltun [24] 𝒪~(2NϵN)~𝒪superscript2𝑁superscriptitalic-ϵ𝑁\widetilde{\mathcal{O}}(2^{N}\epsilon^{-N})over~ start_ARG caligraphic_O end_ARG ( 2 start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT italic_ϵ start_POSTSUPERSCRIPT - italic_N end_POSTSUPERSCRIPT )
Chawla et al. [13] M N𝒪(ϵ2logϵ1)superscript𝑁𝒪superscriptitalic-ϵ2superscriptitalic-ϵ1N^{\mathcal{O}\left(\epsilon^{-2}\log\epsilon^{-1}\right)}italic_N start_POSTSUPERSCRIPT caligraphic_O ( italic_ϵ start_POSTSUPERSCRIPT - 2 end_POSTSUPERSCRIPT roman_log italic_ϵ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT ) end_POSTSUPERSCRIPT
Algorithm 1 (ours) M, F 𝒪~(Nmϵm)~𝒪superscript𝑁𝑚superscriptitalic-ϵ𝑚\widetilde{\mathcal{O}}(N^{m}\epsilon^{-m})over~ start_ARG caligraphic_O end_ARG ( italic_N start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT italic_ϵ start_POSTSUPERSCRIPT - italic_m end_POSTSUPERSCRIPT ) Theorem 3.1
Algorithm 5 (ours) M, F, S 𝒪~(Lmϵ2m)~𝒪superscript𝐿𝑚superscriptitalic-ϵ2𝑚\widetilde{\mathcal{O}}\left(L^{m}\epsilon^{-2m}\right)over~ start_ARG caligraphic_O end_ARG ( italic_L start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT italic_ϵ start_POSTSUPERSCRIPT - 2 italic_m end_POSTSUPERSCRIPT ) Theorem 3.2
Algorithm 2 (ours) M, F, D 𝒪~(Jmϵ3mlogmN)~𝒪superscript𝐽𝑚superscriptitalic-ϵ3𝑚superscript𝑚𝑁\widetilde{\mathcal{O}}\left(J^{m}\epsilon^{-3m}\log^{m}N\right)over~ start_ARG caligraphic_O end_ARG ( italic_J start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT italic_ϵ start_POSTSUPERSCRIPT - 3 italic_m end_POSTSUPERSCRIPT roman_log start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT italic_N ) Theorem 3.3
Table 1: Comparison of discretization (approximation) schemes of prior work and our methods under various assumptions. All methods achieve a 𝒪(ϵ)𝒪italic-ϵ\mathcal{O}(\epsilon)caligraphic_O ( italic_ϵ ) additive approximation to any pricing curve. Here, M means Monotonicity, F means that there are a Finite (m𝑚mitalic_m) number of types, S means that the valuation curves satisfy a L𝐿Litalic_L-Lipschitz-like Smoothness condition (Assumption 1), and D means that they satisfy a Diminishing returns condition (Assumption 2). The 𝒪~~𝒪\widetilde{\mathcal{O}}over~ start_ARG caligraphic_O end_ARG notation suppresses log dependencies when there is already a polynomial dependence on a parameter. Prior work has exponential dependence in either N𝑁Nitalic_N or ϵ1superscriptitalic-ϵ1\epsilon^{-1}italic_ϵ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT. We wish to do better since (i) typically, the number of data N𝑁Nitalic_N is very large and (ii) we need ϵ0italic-ϵ0\epsilon\rightarrow 0italic_ϵ → 0 as T𝑇T\rightarrow\inftyitalic_T → ∞ to achieve sublinear regret.

2. Learning to price in the stochastic setting. Next, we turn to the online learning problem described in the beginning in a stochastic setting. On each round, our algorithm computes an upper confidence bound (UCB) [8, 37] on the revenue for each price curve in the discretization previously developed; we then choose the price curve with the highest UCB. There are two challenges in realizing this scheme: First, naively maintaining UCBs for each price leads to large confidence intervals, and hence large regret as the size of the discretization is still quite large; instead, we construct confidence intervals on estimates of the type distribution, and translate them to UCBs for the revenue. Second, due to the asymmetric nature of the feedback, the construction and analysis of these confidence intervals is delicate, and requires novel ideas. As summarized in Table 2, this algorithm achieves a 𝒪~(mT)~𝒪𝑚𝑇\widetilde{\mathcal{O}}(m\sqrt{T})over~ start_ARG caligraphic_O end_ARG ( italic_m square-root start_ARG italic_T end_ARG ) bound on the regret for any discretization scheme, including those from prior work. In the stochastic setting, the key advantage of our discretization schemes is computational.

3. Learning to price in the adversarial setting. Next, we study learning in an adversarial setting. Our algorithm builds on the Follow-the-Perturbed-leader (FTPL) [30], but is adapted to account for the fact that there may be no feedback on all rounds. For this, we use the information we have about the valuation curves to keep track of which customers would not have made a purchase given a price curve. If a purchase is made and we observe feedback, we use the usual FTPL update, but if not, we reward each pricing curve with the sum of revenue of all types that would not purchase in that current round. Table 2 shows the regret and time complexity of this learning method when paired with various discretization schemes. In the adversarial setting, our discretization schemes offer both computational and statistical advantages when compared to prior work.

Setting Assumptions Regret bound Complexity per iteration Reference
Stochastic M, F 𝒪~(mT)~𝒪𝑚𝑇\widetilde{\mathcal{O}}\left(m\sqrt{T}\right)over~ start_ARG caligraphic_O end_ARG ( italic_m square-root start_ARG italic_T end_ARG ) 𝒪~((Nm)mTm/2)~𝒪superscript𝑁𝑚𝑚superscript𝑇𝑚2\widetilde{\mathcal{O}}\!\left(\left(\frac{N}{m}\right)^{m}T^{\,\nicefrac{{m}}% {{2}}}\right)over~ start_ARG caligraphic_O end_ARG ( ( divide start_ARG italic_N end_ARG start_ARG italic_m end_ARG ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT italic_T start_POSTSUPERSCRIPT / start_ARG italic_m end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT )
M, F, S 𝒪~((LT)m)~𝒪superscript𝐿𝑇𝑚\widetilde{\mathcal{O}}\left(\left(LT\right)^{m}\right)over~ start_ARG caligraphic_O end_ARG ( ( italic_L italic_T ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ) Theorem 4.1
M, F, D 𝒪~(JmT3m/2)~𝒪superscript𝐽𝑚superscript𝑇3𝑚2\widetilde{\mathcal{O}}(J^{m}T^{\nicefrac{{3m}}{{2}}})over~ start_ARG caligraphic_O end_ARG ( italic_J start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT italic_T start_POSTSUPERSCRIPT / start_ARG 3 italic_m end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT )
Adversarial M, F 𝒪~(m3/2T)~𝒪superscript𝑚32𝑇\widetilde{\mathcal{O}}\left(m^{\nicefrac{{3}}{{2}}}\sqrt{T}\right)over~ start_ARG caligraphic_O end_ARG ( italic_m start_POSTSUPERSCRIPT / start_ARG 3 end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT square-root start_ARG italic_T end_ARG ) 𝒪~((Nm)mTm/2)~𝒪superscript𝑁𝑚𝑚superscript𝑇𝑚2\widetilde{\mathcal{O}}\!\left(\left(\frac{N}{m}\right)^{m}T^{\,\nicefrac{{m}}% {{2}}}\right)over~ start_ARG caligraphic_O end_ARG ( ( divide start_ARG italic_N end_ARG start_ARG italic_m end_ARG ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT italic_T start_POSTSUPERSCRIPT / start_ARG italic_m end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT )
M, F, S 𝒪~((LT)m)~𝒪superscript𝐿𝑇𝑚\widetilde{\mathcal{O}}\left(\left(LT\right)^{m}\right)over~ start_ARG caligraphic_O end_ARG ( ( italic_L italic_T ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ) Theorem 5.1
M, F, D 𝒪~(JmT3m/2)~𝒪superscript𝐽𝑚superscript𝑇3𝑚2\widetilde{\mathcal{O}}\left(J^{m}T^{\,\nicefrac{{3m}}{{2}}}\right)over~ start_ARG caligraphic_O end_ARG ( italic_J start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT italic_T start_POSTSUPERSCRIPT / start_ARG 3 italic_m end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT )
Discretization method Assumptions Complexity per iteration Regret (Adversarial)
Hartline and Koltun [24] F 𝒪~(2NϵN)~𝒪superscript2𝑁superscriptitalic-ϵ𝑁\widetilde{\mathcal{O}}(2^{N}\epsilon^{-N})over~ start_ARG caligraphic_O end_ARG ( 2 start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT italic_ϵ start_POSTSUPERSCRIPT - italic_N end_POSTSUPERSCRIPT ) 𝒪~(mTN)~𝒪𝑚𝑇𝑁\widetilde{\mathcal{O}}(m\sqrt{TN})over~ start_ARG caligraphic_O end_ARG ( italic_m square-root start_ARG italic_T italic_N end_ARG )
Chawla et al. [13] M,  F N𝒪(ϵ2logϵ1)superscript𝑁𝒪superscriptitalic-ϵ2superscriptitalic-ϵ1N^{\mathcal{O}\left(\epsilon^{-2}\log\epsilon^{-1}\right)}italic_N start_POSTSUPERSCRIPT caligraphic_O ( italic_ϵ start_POSTSUPERSCRIPT - 2 end_POSTSUPERSCRIPT roman_log italic_ϵ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT ) end_POSTSUPERSCRIPT 𝒪~(mT3/4)~𝒪𝑚superscript𝑇34\widetilde{\mathcal{O}}\left(mT^{\nicefrac{{3}}{{4}}}\right)over~ start_ARG caligraphic_O end_ARG ( italic_m italic_T start_POSTSUPERSCRIPT / start_ARG 3 end_ARG start_ARG 4 end_ARG end_POSTSUPERSCRIPT )
Table 2: Comparison of regret and time complexity of our online learning methods when paired with our discretization schemes and schemes from prior work. See Table 1 for a description of the assumptions. All methods, including [24, 13] achieve 𝒪(mT)𝒪𝑚𝑇\mathcal{O}(m\sqrt{T})caligraphic_O ( italic_m square-root start_ARG italic_T end_ARG ) regret in the stochastic setting.

1.2 Related work

Dynamic pricing. The online posted-price mechanism, also known as dynamic pricing, is a central research area in algorithmic market design [32, 18]. In the most classical setting [32], the seller sets a price for an item in each round, and a buyer purchases the item only if their valuation exceeds the posted price. While several extensions of this setting have been explored for both parametric [31, 19, 11, 27, 28, 45] and non-parametric [10, 43, 16, 38, 39] demands, most focus on single-parameter demands, i.e., selling a single item to buyers. Our data pricing problem is multi-parameter, as demands are parameterized by multiple outcomes, i.e. the number of data points.

Bayesian unit-demand pricing problem. Formally, our data pricing problem is a variant of the Bayesian Unit-demand Pricing Problem (BUPP) [12]. BUPP addresses the problem of (offline) revenue maximization over a known distribution of unit-demand buyers, meaning they want to buy at most one item from the inventory. In BUPP, a seller has N𝑁Nitalic_N distinct items to sell to a unit-demand buyer whose valuations are v=(v1,,vN)𝑣subscript𝑣1subscript𝑣𝑁v=(v_{1},\dots,v_{N})italic_v = ( italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_v start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ), where visubscript𝑣𝑖v_{i}italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT is the value of the i𝑖iitalic_ith item. Given prices pi,i[N]subscript𝑝𝑖𝑖delimited-[]𝑁{p_{i}},\ {i\in[N]}italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_i ∈ [ italic_N ], the unit-demand buyer purchases a single item i[N]𝑖delimited-[]𝑁i\in[N]italic_i ∈ [ italic_N ] that maximizes their utility: vipisubscript𝑣𝑖subscript𝑝𝑖v_{i}-p_{i}italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. Assuming the valuation profile v𝑣vitalic_v follows a known distribution D𝐷Ditalic_D, the goal of BUPP is to find the best prices pii[N]subscriptsubscript𝑝𝑖𝑖delimited-[]𝑁{p_{i}}_{i\in[N]}italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUBSCRIPT italic_i ∈ [ italic_N ] end_POSTSUBSCRIPT that maximize the seller’s expected revenue.

Our data pricing problem is a variant of BUPP in two ways: (1) We study the sequential setting where type distributions are unknown, while valuation profiles for each type are known, and (2) We assume monotonic values v1vNsubscript𝑣1subscript𝑣𝑁v_{1}\leq\dots\leq v_{N}italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ≤ ⋯ ≤ italic_v start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT, which is natural in data pricing. Unfortunately, BUPP is a computationally intractable problem, as is ours. BUPP is known to be NP-hard even when D𝐷Ditalic_D is a product distribution [15]. Moreover, even assuming that values are monotonic (i.e., v1vNsubscript𝑣1subscript𝑣𝑁v_{1}\leq\dots\leq v_{N}italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ≤ ⋯ ≤ italic_v start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT), the problem remains (strongly) NP-hard [13]. Therefore, we aim to provide a reasonably efficient no-regret algorithm for our problem, especially when the number of types m𝑚mitalic_m is a fixed constant.

The previous works most relevant to our paper are Hartline and Koltun [24] and Chawla et al. [13], which study offline revenue maximization for unit-demand buyers. Buyers in our problem are also unit-demand, as each amount of data points can be seen as an individual item. Revenue maximization for unit-demand buyers is known to be computationally intractable [23], even with ordered (monotonic) buyer values [13], leading these works to focus on approximation algorithms. Hartline and Koltun [24] proposed an approximation algorithm with near-linear runtime in the number of buyers, given a fixed number of items. Chawla et al. [13] introduced a polynomial-time approximation scheme (PTAS) for unit-demand buyers with monotonic values. In this work, we extend the framework to the online setting with partial feedback, which has more practical implications.

Market design for data-sharing. In recent years, there has been a plethora of work devoted to algorithmic market design for data sharing [6, 7, 29, 42]. These works provide ingenious solutions to challenges unique to the data market, such as free replicability and the difficulty of valuation due to the combinatorial nature of data. Except for Agarwal et al. [6], the above-cited solutions are inherently offline or single-shot. While we focus on a simplified yet relevant setting where data comes from a single source, resulting in monotonic valuations, in this work, we tackle the problem in a sequential, dynamic setting, which has practical importance. In contrast to our approach, Agarwal et al. [6] considered the price to be a constant (i.e., a scalar rather than a price vector) to address the inherent computational intractability of multi-dimensional pricing. Instead, we maintain the price as a vector (i.e., a price function) but focus on cases where the valuation function satisfies natural properties such as monotonicity, smoothness, and diminishing returns.

2 Problem setting, assumptions, and challenges

A seller has N𝑁Nitalic_N homogeneous data points. There are m𝑚mitalic_m types of buyers who wish to purchase this data. A buyer of type i[m]𝑖delimited-[]𝑚i\in[m]italic_i ∈ [ italic_m ] has a valuation curve vi:[N][0,1]:subscript𝑣𝑖delimited-[]𝑁01v_{i}:[N]\rightarrow[0,1]italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT : [ italic_N ] → [ 0 , 1 ], where vi(n)subscript𝑣𝑖𝑛v_{i}(n)italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) is her value for n𝑛nitalic_n data points. We will assume vi(n)subscript𝑣𝑖𝑛v_{i}(n)italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) is non-decreasing as more data is valuable, and further that vi(0)=0subscript𝑣𝑖00v_{i}(0)=0italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( 0 ) = 0.

Example 1.

To motivate this model, consider a seller with N𝑁Nitalic_N ordered data points {x1,,xN}subscript𝑥1subscript𝑥𝑁\{x_{1},\dots,x_{N}\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT }, drawn i.i.d. from a distribution D𝐷Ditalic_D. If a buyer purchases n𝑛nitalic_n points, she receives the first n𝑛nitalic_n points, Xn={x1,,xn}subscript𝑋𝑛subscript𝑥1subscript𝑥𝑛X_{n}=\{x_{1},\dots,x_{n}\}italic_X start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT = { italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT }. Her ex-post value v~i(Xn)subscript~𝑣𝑖subscript𝑋𝑛\widetilde{v}_{i}(X_{n})over~ start_ARG italic_v end_ARG start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_X start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) may represent the accuracy of her ML model trained with Xnsubscript𝑋𝑛X_{n}italic_X start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT. However, as the buyer has not seen the data before the purchase, she does not know which specific points she will receive, and hence her (ex-ante) value vi(n)=𝔼Xn[v~i(Xn)]subscript𝑣𝑖𝑛subscript𝔼subscript𝑋𝑛delimited-[]subscript~𝑣𝑖subscript𝑋𝑛v_{i}(n)=\mathbb{E}_{X_{n}}[\widetilde{v}_{i}(X_{n})]italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) = blackboard_E start_POSTSUBSCRIPT italic_X start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT end_POSTSUBSCRIPT [ over~ start_ARG italic_v end_ARG start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_X start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) ] is the expected model accuracy when n𝑛nitalic_n i.i.d points are drawn from D𝐷Ditalic_D. The different types could be buyers who use the data for different tasks or models. For instance, with ImageNet’s [20], N𝑁absentN\approxitalic_N ≈ 1.4 million data points, different types of buyers could perform different learning tasks such as object detection, identification, and segmentation, and/or train different models such as AlexNet [35], ResNet [25], and GoogLeNet [41]. Both empirically and theoretically, for many learning tasks, vi(n)subscript𝑣𝑖𝑛v_{i}(n)italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) is non-decreasing, and satisfies additional characteristics such as smoothness and/or diminishing returns.

Pricing curves, buyer utility, and buyer purchase model. Let p:[N][0,1]:𝑝delimited-[]𝑁01p:[N]\rightarrow[0,1]italic_p : [ italic_N ] → [ 0 , 1 ] be a pricing curve chosen by the seller. Let 𝒫=Δ{p:[N][0,1]:p(0)=0}superscriptΔ𝒫conditional-set𝑝:delimited-[]𝑁01𝑝00\mathcal{P}\stackrel{{\scriptstyle\Delta}}{{=}}\{p:[N]\rightarrow[0,1]:\;p(0)=0\}caligraphic_P start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { italic_p : [ italic_N ] → [ 0 , 1 ] : italic_p ( 0 ) = 0 } denote the set of all pricing curves. If a buyer purchases n𝑛nitalic_n points, her utility is ui(n)=vi(n)p(n)subscript𝑢𝑖𝑛subscript𝑣𝑖𝑛𝑝𝑛u_{i}(n)=v_{i}(n)-p(n)italic_u start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) = italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) - italic_p ( italic_n ). If a buyer can achieve non-negative utility, i.e. vi(n)p(n)subscript𝑣𝑖𝑛𝑝𝑛v_{i}(n)\geq p(n)italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) ≥ italic_p ( italic_n ) for some n[N]𝑛delimited-[]𝑁n\in[N]italic_n ∈ [ italic_N ], she will purchase an amount of data to maximize her utility. To fully specify the buyer’s purchase model, we will assume that when there are multiple n𝑛nitalic_n which maximizes her utility, she will choose the largest such n𝑛nitalic_n. Formally, for a given pricing curve p𝑝pitalic_p, a buyer of type i𝑖iitalic_i will purchase ni,psubscript𝑛𝑖𝑝n_{i,p}italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT points where,

ni,p=Δ{ 0if vi(n)<p(n) for all n[N],max{argmaxn[N](vi(n)p(n))}otherwise.superscriptΔsubscript𝑛𝑖𝑝cases 0if vi(n)<p(n) for all n[N],subscriptargmax𝑛delimited-[]𝑁subscript𝑣𝑖𝑛𝑝𝑛otherwise\displaystyle n_{i,p}\stackrel{{\scriptstyle\Delta}}{{=}}\begin{cases}\;0&% \text{if $v_{i}(n)<p(n)$ for all $n\in[N]$,}\\ \;\max\big{\{}\mathop{\mathrm{argmax}}_{n\in[N]}\left(v_{i}(n)-p(n)\right)\big% {\}}\quad\quad&\text{otherwise}.\end{cases}italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { start_ROW start_CELL 0 end_CELL start_CELL if italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) < italic_p ( italic_n ) for all italic_n ∈ [ italic_N ] , end_CELL end_ROW start_ROW start_CELL roman_max { roman_argmax start_POSTSUBSCRIPT italic_n ∈ [ italic_N ] end_POSTSUBSCRIPT ( italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) - italic_p ( italic_n ) ) } end_CELL start_CELL otherwise . end_CELL end_ROW (1)

Optimal revenue. It follows that the revenue from a buyer of type is p(ni,p)𝑝subscript𝑛𝑖𝑝p(n_{i,p})italic_p ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ). Let q=(q1,,qm)𝑞subscript𝑞1subscript𝑞𝑚q=(q_{1},\dots,q_{m})italic_q = ( italic_q start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_q start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT ) be the distribution of the buyers. Under this distribution q𝑞qitalic_q, the expected revenue rev(p)rev𝑝\mathrm{rev}(p)roman_rev ( italic_p ) for a price curve p𝑝pitalic_p, the optimal price pOPTsuperscript𝑝OPTp^{\textrm{\tiny OPT}}italic_p start_POSTSUPERSCRIPT OPT end_POSTSUPERSCRIPT, and the optimal revenue OPTOPT\mathrm{OPT}roman_OPT as follows:

rev(p)=Δi=1mqip(ni,p),pOPT=Δargmaxp𝒫rev(p),OPT=Δrev(pOPT).formulae-sequencesuperscriptΔrev𝑝superscriptsubscript𝑖1𝑚subscript𝑞𝑖𝑝subscript𝑛𝑖𝑝formulae-sequencesuperscriptΔsuperscript𝑝OPTsubscriptargmax𝑝𝒫rev𝑝superscriptΔOPTrevsuperscript𝑝OPT\displaystyle\mathrm{rev}(p)\stackrel{{\scriptstyle\Delta}}{{=}}\sum_{i=1}^{m}% q_{i}\cdot p(n_{i,p}),\hskip 28.90755ptp^{\textrm{\tiny OPT}}\stackrel{{% \scriptstyle\Delta}}{{=}}\mathop{\mathrm{argmax}}_{p\in\mathcal{P}}\mathrm{rev% }(p),\hskip 28.90755pt\mathrm{OPT}\stackrel{{\scriptstyle\Delta}}{{=}}\mathrm{% rev}(p^{\textrm{\tiny OPT}}).roman_rev ( italic_p ) start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ⋅ italic_p ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ) , italic_p start_POSTSUPERSCRIPT OPT end_POSTSUPERSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP roman_argmax start_POSTSUBSCRIPT italic_p ∈ caligraphic_P end_POSTSUBSCRIPT roman_rev ( italic_p ) , roman_OPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP roman_rev ( italic_p start_POSTSUPERSCRIPT OPT end_POSTSUPERSCRIPT ) . (2)

We have omitted the dependence on q𝑞qitalic_q in revrev\mathrm{rev}roman_rev, pOPTsuperscript𝑝OPTp^{\textrm{\tiny OPT}}italic_p start_POSTSUPERSCRIPT OPT end_POSTSUPERSCRIPT, and OPTOPT\mathrm{OPT}roman_OPT. There is no closed-form solution to finding the optimal pricing curve, even when q𝑞qitalic_q is known. Therefore, in §3, we explore discretization methods to approximate pOPTsuperscript𝑝OPTp^{\textrm{\tiny OPT}}italic_p start_POSTSUPERSCRIPT OPT end_POSTSUPERSCRIPT, which will then be used in §4 and §5 to develop online learning algorithms. Unfortunately, the size of this discretization can be very large in N𝑁Nitalic_N and m𝑚mitalic_m without further assumptions. Therefore, we also consider two additional commonly satisfied conditions by data.

Our first such assumption states that buyer valuation curves satisfy a Lipschitz-like smoothness condition with Lipschitz constant L/N𝐿𝑁L/Nitalic_L / italic_N. We use L/N𝐿𝑁L/Nitalic_L / italic_N instead of L𝐿Litalic_L since the number of data has a range [0,N]0𝑁[0,N][ 0 , italic_N ], while the valuations only have a range [0,1]01[0,1][ 0 , 1 ]. This condition states that a buyer’s valuation does not change significantly if she only purchases a few additional points.

Assumption 1 (Smoothness, S).

For all n,n[N]𝑛superscript𝑛delimited-[]𝑁n,n^{\prime}\in[N]italic_n , italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ∈ [ italic_N ], we have vi(n+n)vi(n)LNnsubscript𝑣𝑖𝑛superscript𝑛subscript𝑣𝑖𝑛𝐿𝑁superscript𝑛\;v_{i}(n+n^{\prime})-v_{i}(n)\leq\frac{L}{N}n^{\prime}italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n + italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) - italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) ≤ divide start_ARG italic_L end_ARG start_ARG italic_N end_ARG italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT.

Our second condition is based on the fact that data typically exhibits diminishing returns [34, 33]. This means that an additional data point is more valuable when there is less data, i.e. vi(n+1)vi(n)subscript𝑣𝑖𝑛1subscript𝑣𝑖𝑛v_{i}(n+1)-v_{i}(n)italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n + 1 ) - italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) is decreasing with n𝑛nitalic_n. We will in fact make a stronger assumption, and justify it below.

Assumption 2 (Diminishing returns, D).

There exists some J>0𝐽0J>0italic_J > 0 such that, for all types i[m]𝑖delimited-[]𝑚i\in[m]italic_i ∈ [ italic_m ], and for all n[N]𝑛delimited-[]𝑁n\in[N]italic_n ∈ [ italic_N ], we have vi(n+1)vi(n)Jnsubscript𝑣𝑖𝑛1subscript𝑣𝑖𝑛𝐽𝑛v_{i}(n+1)-v_{i}(n)\leq\frac{J}{n}italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n + 1 ) - italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) ≤ divide start_ARG italic_J end_ARG start_ARG italic_n end_ARG.

Assumption 2 quantifies the rate of decrease of diminishing returns. Following Example 1, the valuation (accuracy) curves for many learning problems take the form vi(n)=αβnγsubscript𝑣𝑖𝑛𝛼𝛽superscript𝑛𝛾v_{i}(n)=\alpha-\beta n^{-\gamma}italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) = italic_α - italic_β italic_n start_POSTSUPERSCRIPT - italic_γ end_POSTSUPERSCRIPT; for instance, for binary classification in a VC class \mathcal{H}caligraphic_H, α𝛼\alphaitalic_α may be the best accuracy in \mathcal{H}caligraphic_H, β𝒪(d)𝛽𝒪subscript𝑑\beta\in\mathcal{O}({\sqrt{d_{\mathcal{H}}}})italic_β ∈ caligraphic_O ( square-root start_ARG italic_d start_POSTSUBSCRIPT caligraphic_H end_POSTSUBSCRIPT end_ARG ) where dsubscript𝑑d_{\mathcal{H}}italic_d start_POSTSUBSCRIPT caligraphic_H end_POSTSUBSCRIPT is the VC dimension, and γ=1/2𝛾12\gamma=1/2italic_γ = 1 / 2 [40]; similarly, for nonparametric regression of a twice differentiable function, α𝛼\alphaitalic_α and β𝛽\betaitalic_β are constants while γ=2/5𝛾25\gamma=2/5italic_γ = 2 / 5 [44]. In such cases, Assumption 2 is satisfied with J=βγ𝐽𝛽𝛾J=\beta\gammaitalic_J = italic_β italic_γ. Note that neither assumption subsumes the other: a non-concave Lipschitz function will not satisfy Assumption 2, while a suitable L𝐿Litalic_L for a function which satisfies Assumption 2 may need to be very large for Assumption 1 to hold for small n𝑛nitalic_n.

2.1 Learning to price in online settings

In this work, we will also study how a seller may learn to maximize revenue. In our learning problem, the seller is aware of the valuation curves {vi}isubscriptsubscript𝑣𝑖𝑖\{v_{i}\}_{i}{ italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT } start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT of each type, but does not know the distribution of types (stochastic setting) or there may be no such distribution (adversarial setting).

Setup. The seller repeats the data market for T𝑇Titalic_T rounds. At the beginning of each round, he chooses some price curve pt𝒫subscript𝑝𝑡𝒫p_{t}\in\mathcal{P}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∈ caligraphic_P. After the seller has chosen ptsubscript𝑝𝑡p_{t}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, a new buyer of type it[m]subscript𝑖𝑡delimited-[]𝑚i_{t}\in[m]italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∈ [ italic_m ] appears and purchases nt=nit,ptsubscript𝑛𝑡subscript𝑛subscript𝑖𝑡subscript𝑝𝑡n_{t}=n_{i_{t},p_{t}}italic_n start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = italic_n start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT amount of data (see (1)). The buyer is aware of her own valuation curve. If she makes a purchase, that is if nt>0subscript𝑛𝑡0n_{t}>0italic_n start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT > 0, she pays pt(nt)subscript𝑝𝑡subscript𝑛𝑡p_{t}(n_{t})italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_n start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) to the seller and reveals her type itsubscript𝑖𝑡i_{t}italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT. Otherwise, the buyer will make no payment and not reveal her type.

We have assumed that a priori, the seller is aware of the buyer valuation curves {vi}i[m]subscriptsubscript𝑣𝑖𝑖delimited-[]𝑚\{v_{i}\}_{i\in[m]}{ italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT } start_POSTSUBSCRIPT italic_i ∈ [ italic_m ] end_POSTSUBSCRIPT, and that buyers are aware of their own valuation curves. In Example 1, a seller can profile how different machine learning models perform with different amounts of data and publish them ahead of time. The buyers can also gauge their value from these curves, even though they do not have access to the data. Next, we have also assumed that buyers will reveal their type after the purchase. In modern machine learning as a service platforms [1, 17, 4], buyers directly run their jobs in the seller’s computing platform, so the seller can observe the buyers job type directly. Even if this is not the case, sellers can elicit this information via questionnaires and reviews from customers who have made a purchase [22].

Challenges. Despite these assumptions, the learning problem remains challenging for two main reasons. First, the space of price curves is vast: discretizing the valuations in [0,1]01[0,1][ 0 , 1 ] into K𝐾Kitalic_K bins, still leaves 𝒪(KN)𝒪superscript𝐾𝑁\mathcal{O}(K^{N})caligraphic_O ( italic_K start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT ) possible price curves, which is both statistically and computationally intractable, especially for large N𝑁Nitalic_N. Second, in addition to the exploration-exploitation trade-off usually encountered in sequential decision-making, the seller faces a tension between high instantaneous revenue and information acquisition: setting high prices can yield high immediate revenue if a purchase occurs, but it also increases the risk of no purchase, resulting in no revenue and crucially no feedback about the buyer type which could help him in future rounds. This trade-off was recently studied for single-item markets in a stochastic setting [22, 46], but is more complex in our multi-item problem. Moreover, to our knowledge, no existing work addresses this asymmetric feedback model in an adversarial setting, even for single-item markets. Next, we describe the buyer arrival model and define the regret for the learning problem in both stochastic and adversarial settings.

Stochastic setting. Here, there is some fixed but unknown distribution of types q𝑞qitalic_q. On each round, a buyer of type itqsimilar-tosubscript𝑖𝑡𝑞i_{t}\sim qitalic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∼ italic_q is drawn independently. The optimal expected revenue OPTOPT\mathrm{OPT}roman_OPT under type distribution q𝑞qitalic_q is as defined in (2). The regret RTsubscript𝑅𝑇R_{T}italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT is as defined below. We wish to design algorithms which have small expected regret 𝔼[RT]𝔼delimited-[]subscript𝑅𝑇\mathbb{E}[R_{T}]blackboard_E [ italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ], where the expectation accounts for both the sampling of types itqsimilar-tosubscript𝑖𝑡𝑞i_{t}\sim qitalic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∼ italic_q and any randomness in the algorithm. We have,

RT=ΔTOPTt=1Tpt(nt)=TOPTt=1Tpt(nit,pt).superscriptΔsubscript𝑅𝑇𝑇OPTsuperscriptsubscript𝑡1𝑇subscript𝑝𝑡subscript𝑛𝑡𝑇OPTsuperscriptsubscript𝑡1𝑇subscript𝑝𝑡subscript𝑛subscript𝑖𝑡subscript𝑝𝑡\displaystyle R_{T}\;\stackrel{{\scriptstyle\Delta}}{{=}}\;T\cdot\mathrm{OPT}% \,-\,\sum_{t=1}^{T}p_{t}(n_{t})\;=\;T\cdot\mathrm{OPT}\,-\,\sum_{t=1}^{T}p_{t}% (n_{i_{t},p_{t}}).italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP italic_T ⋅ roman_OPT - ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_n start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) = italic_T ⋅ roman_OPT - ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_n start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ) . (3)

Adversarial setting. Here, the types on each round {it}t=1Tsuperscriptsubscriptsubscript𝑖𝑡𝑡1𝑇\{i_{t}\}_{t=1}^{T}{ italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT } start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT are chosen arbitrarily, possibly by an oblivious adversary, ahead of time. The type on round t𝑡titalic_t is revealed to the seller only at the end of the round, and only if there is a purchase. In the adversarial setting, we define our regret RTsubscript𝑅𝑇R_{T}italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT with respect to the single best price in 𝒫𝒫\mathcal{P}caligraphic_P in hindsight. We wish to design algorithms with small expected regret 𝔼[RT]𝔼delimited-[]subscript𝑅𝑇\mathbb{E}[R_{T}]blackboard_E [ italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ], where the expectation is with respect to any randomness in the algorithm. We have,

RT=Δmaxp𝒫t=1Tp(nit,p)t=1Tpt(nit,pt).superscriptΔsubscript𝑅𝑇subscript𝑝𝒫superscriptsubscript𝑡1𝑇𝑝subscript𝑛subscript𝑖𝑡𝑝superscriptsubscript𝑡1𝑇subscript𝑝𝑡subscript𝑛subscript𝑖𝑡subscript𝑝𝑡\displaystyle R_{T}\;\stackrel{{\scriptstyle\Delta}}{{=}}\;\max_{p\in\mathcal{% P}}\sum_{t=1}^{T}p(n_{i_{t},p})\,-\,\sum_{t=1}^{T}p_{t}(n_{i_{t},p_{t}}).italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP roman_max start_POSTSUBSCRIPT italic_p ∈ caligraphic_P end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_p ( italic_n start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p end_POSTSUBSCRIPT ) - ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_n start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ) . (4)

3 Efficient discretization of price curves with small errors

We first study the revenue maximization problem in the offline setting, where the seller knows both the valuation curves vi,i[m]subscript𝑣𝑖𝑖delimited-[]𝑚v_{i},i\in[m]italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_i ∈ [ italic_m ], and the type distribution q𝑞qitalic_q. Our goal is to design a discretization so as to achieve revenue within a gap of 𝒪(ϵ)𝒪italic-ϵ\mathcal{O}(\epsilon)caligraphic_O ( italic_ϵ ) from OPTOPT\mathrm{OPT}roman_OPT. Before discussing our discretization algorithms, we first show that the optimal pricing curve is “simple” when there are at most m𝑚mitalic_m types.

Lemma 3.1.

Assume there are m𝑚mitalic_m types with non-decreasing value curves {vi}i[m]subscriptsubscript𝑣𝑖𝑖delimited-[]𝑚\{v_{i}\}_{i\in[m]}{ italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT } start_POSTSUBSCRIPT italic_i ∈ [ italic_m ] end_POSTSUBSCRIPT. For any non-decreasing price curve p𝑝pitalic_p, there exists an “m𝑚mitalic_m-step” price curve p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG that yields expected revenue at least that of p𝑝pitalic_p with respect to any distribution over the m𝑚mitalic_m types. Here, m𝑚mitalic_m-step refers to non-decreasing functions f:[N][0,1]:𝑓delimited-[]𝑁01f:[N]\rightarrow[0,1]italic_f : [ italic_N ] → [ 0 , 1 ] where f(n+1)f(n)>0𝑓𝑛1𝑓𝑛0f(n+1)-f(n)>0italic_f ( italic_n + 1 ) - italic_f ( italic_n ) > 0 in at most m𝑚mitalic_m points (i.e., at most m𝑚mitalic_m jumps).

Lemma 3.1, proven in Appendix A.1, will be an important tool in all three discretization algorithms of this section. It will allow us to reduce the space of pricing curves as we only need to focus on m𝑚mitalic_m-step price curves. Next, we present our first discretization procedure in Algorithm 1, which only assumes the monotonicity of the valuation curves.

Discretization scheme under monotonic valuations. Our discretization proecdure, outlined in Algorithm 1, adapts the method in Hartline and Koltun [24] using Lemma 3.1. For this, we will first construct a discretization W𝑊Witalic_W of the valuation space as follows. Let Zi=ϵ(1+ϵ)isubscript𝑍𝑖italic-ϵsuperscript1italic-ϵ𝑖Z_{i}=\epsilon(1+\epsilon)^{i}italic_Z start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = italic_ϵ ( 1 + italic_ϵ ) start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT, i=0,1,,log1+ϵ1ϵ𝑖01subscript1italic-ϵ1italic-ϵi=0,1,\dots,\left\lceil\log_{1+\epsilon}\frac{1}{\epsilon}\right\rceilitalic_i = 0 , 1 , … , ⌈ roman_log start_POSTSUBSCRIPT 1 + italic_ϵ end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG italic_ϵ end_ARG ⌉ be the powers of (1+ϵ)1italic-ϵ(1+\epsilon)( 1 + italic_ϵ ) on price space [ϵ,1]italic-ϵ1\left[\epsilon,1\right][ italic_ϵ , 1 ]. For each i𝑖iitalic_i, we let Wisubscript𝑊𝑖W_{i}italic_W start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT be a uniform discretization of the interval [Zi1,Zi+1)subscript𝑍𝑖1subscript𝑍𝑖1\left[Z_{i-1},Z_{i+1}\right)[ italic_Z start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT , italic_Z start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT ) uniformly with gap Zi1ϵmsubscript𝑍𝑖1italic-ϵ𝑚Z_{i-1}\cdot\frac{\epsilon}{m}italic_Z start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ end_ARG start_ARG italic_m end_ARG. Finally, let W𝑊Witalic_W be the union of all such Wisubscript𝑊𝑖W_{i}italic_W start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. According to Lemma 3.1, every price function in 𝒫𝒫\mathcal{P}caligraphic_P has the same revenue as an m𝑚mitalic_m-step function. We set 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG to be all choices of non-decreasing m𝑚mitalic_m-step functions that take value in W𝑊Witalic_W. We have the following theorem about Algorithm 1 which we prove in Appendix A.2.

Algorithm 1 Price discretization scheme under monotonicity
Given: Approximation parameter ϵ>0italic-ϵ0\epsilon>0italic_ϵ > 0.
Let W𝑊Witalic_W be discretization of the valuation space [0,1]01[0,1][ 0 , 1 ] defined as follows,
Zisubscript𝑍𝑖\displaystyle Z_{i}italic_Z start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT =Δ{ϵ(1+ϵ)i;i{0,1,,log1+ϵ1ϵ}},superscriptΔabsentitalic-ϵsuperscript1italic-ϵ𝑖for-all𝑖01subscript1italic-ϵ1italic-ϵ\displaystyle\stackrel{{\scriptstyle\Delta}}{{=}}\left\{\epsilon(1+\epsilon)^{% i};\ \ \;\;\forall\;i\in\left\{0,1,\dots,\left\lceil\log_{1+\epsilon}\frac{1}{% \epsilon}\right\rceil\right\}\right\},start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { italic_ϵ ( 1 + italic_ϵ ) start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT ; ∀ italic_i ∈ { 0 , 1 , … , ⌈ roman_log start_POSTSUBSCRIPT 1 + italic_ϵ end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG italic_ϵ end_ARG ⌉ } } ,
Wisubscript𝑊𝑖\displaystyle W_{i}italic_W start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT =Δ{Zi1+Zi1ϵkm;k{1,2,,(2+ϵ)m}},W=Δi=1log1+ϵ1ϵWi.formulae-sequencesuperscriptΔabsentsubscript𝑍𝑖1subscript𝑍𝑖1italic-ϵ𝑘𝑚for-all𝑘122italic-ϵ𝑚superscriptΔ𝑊superscriptsubscript𝑖1subscript1italic-ϵ1italic-ϵsubscript𝑊𝑖\displaystyle\stackrel{{\scriptstyle\Delta}}{{=}}\left\{Z_{i-1}+Z_{i-1}\cdot% \frac{\epsilon k}{m};\;\;\forall\,k\in\{1,2,...,\left\lceil(2+\epsilon)m\right% \rceil\}\right\},\quad W\stackrel{{\scriptstyle\Delta}}{{=}}\bigcup_{i=1}^{% \left\lceil\log_{1+\epsilon}\frac{1}{\epsilon}\right\rceil}W_{i}.start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { italic_Z start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT + italic_Z start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ italic_k end_ARG start_ARG italic_m end_ARG ; ∀ italic_k ∈ { 1 , 2 , … , ⌈ ( 2 + italic_ϵ ) italic_m ⌉ } } , italic_W start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP ⋃ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⌈ roman_log start_POSTSUBSCRIPT 1 + italic_ϵ end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG italic_ϵ end_ARG ⌉ end_POSTSUPERSCRIPT italic_W start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT .
Set 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG to be the class of all “m𝑚mitalic_m-step” functions mapping [N]delimited-[]𝑁[N][ italic_N ] to W𝑊Witalic_W.
Theorem 3.1.

Consider the discretization 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG as constructed in Algorithm 1. For any type distribution, there exists p𝒫¯𝑝¯𝒫p\in\overline{\mathcal{P}}italic_p ∈ over¯ start_ARG caligraphic_P end_ARG such that rev(p)OPT𝒪(ϵ)rev𝑝OPT𝒪italic-ϵ\mathrm{rev}(p)\geq\mathrm{OPT}-\mathcal{O}(\epsilon)roman_rev ( italic_p ) ≥ roman_OPT - caligraphic_O ( italic_ϵ ). Moreover, we have |𝒫¯|(e(N1)m)m(e(2+ϵ)log1+ϵ1ϵ)m𝒪~((Nϵ)m)¯𝒫superscript𝑒𝑁1𝑚𝑚superscript𝑒2italic-ϵsubscript1italic-ϵ1italic-ϵ𝑚~𝒪superscript𝑁italic-ϵ𝑚|\overline{\mathcal{P}}|\leq\left(\frac{e(N-1)}{m}\right)^{m}\left(e\lceil(2+% \epsilon)\rceil\left\lceil\log_{1+\epsilon}\frac{1}{\epsilon}\right\rceil% \right)^{m}\in\widetilde{\mathcal{O}}\left(\left(\frac{N}{\epsilon}\right)^{m}\right)| over¯ start_ARG caligraphic_P end_ARG | ≤ ( divide start_ARG italic_e ( italic_N - 1 ) end_ARG start_ARG italic_m end_ARG ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ( italic_e ⌈ ( 2 + italic_ϵ ) ⌉ ⌈ roman_log start_POSTSUBSCRIPT 1 + italic_ϵ end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG italic_ϵ end_ARG ⌉ ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ∈ over~ start_ARG caligraphic_O end_ARG ( ( divide start_ARG italic_N end_ARG start_ARG italic_ϵ end_ARG ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ).

Discretization scheme for smooth monotonic valuations. Due to space constraints, we present our algorithm, under Assumption 1 in Appendix A.3. We have the following theorem about Algorithm 5.

Theorem 3.2.

Consider the discretization 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG as constructed in Algorithm 5. Under Assumption 1, for any type distribution, there exists p𝒫¯𝑝¯𝒫p\in\overline{\mathcal{P}}italic_p ∈ over¯ start_ARG caligraphic_P end_ARG such that rev(p)OPT𝒪(ϵ)rev𝑝OPT𝒪italic-ϵ\mathrm{rev}(p)\geq\mathrm{OPT}-\mathcal{O}(\epsilon)roman_rev ( italic_p ) ≥ roman_OPT - caligraphic_O ( italic_ϵ ). Moreover, |𝒫¯|𝒪(log1+ϵm(1/ϵ)(L/ϵ)m)𝒪~((Lϵ2)m)¯𝒫𝒪subscriptsuperscript𝑚1italic-ϵ1italic-ϵsuperscript𝐿italic-ϵ𝑚~𝒪superscript𝐿superscriptitalic-ϵ2𝑚|\overline{\mathcal{P}}|\in\mathcal{O}\left(\log^{m}_{1+\epsilon}\left(1/% \epsilon\right)\cdot\left(L/\epsilon\right)^{m}\right)\in\widetilde{\mathcal{O% }}\left(\left(\frac{L}{\epsilon^{2}}\right)^{m}\right)| over¯ start_ARG caligraphic_P end_ARG | ∈ caligraphic_O ( roman_log start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 + italic_ϵ end_POSTSUBSCRIPT ( 1 / italic_ϵ ) ⋅ ( italic_L / italic_ϵ ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ) ∈ over~ start_ARG caligraphic_O end_ARG ( ( divide start_ARG italic_L end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ).

Algorithm 2 Price discretization scheme monotonic valuations under diminishing returns
Given: Diminishing returns constant J𝐽Jitalic_J, approximation parameter ϵitalic-ϵ\epsilonitalic_ϵ.
Let W=Δi=2log1+ϵ1ϵWisuperscriptΔ𝑊superscriptsubscript𝑖2subscript1italic-ϵ1italic-ϵsubscript𝑊𝑖W\stackrel{{\scriptstyle\Delta}}{{=}}\bigcup_{i=2}^{\left\lceil\log_{1+% \epsilon}\frac{1}{\epsilon}\right\rceil}W_{i}italic_W start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP ⋃ start_POSTSUBSCRIPT italic_i = 2 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⌈ roman_log start_POSTSUBSCRIPT 1 + italic_ϵ end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG italic_ϵ end_ARG ⌉ end_POSTSUPERSCRIPT italic_W start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, were Wisubscript𝑊𝑖W_{i}italic_W start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPTs are the same as in Algorithm 1.
Let NDsubscript𝑁DN_{\textbf{D}}italic_N start_POSTSUBSCRIPT D end_POSTSUBSCRIPT be discretization of the interval [0,N]0𝑁[0,N][ 0 , italic_N ] defined as follows,
Yisubscript𝑌𝑖\displaystyle Y_{i}italic_Y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT =Δ2Jmϵ2(1+ϵ2)i,i=0,1,,log1+ϵ2(Nϵ22Jm),formulae-sequencesuperscriptΔabsent2𝐽𝑚superscriptitalic-ϵ2superscript1superscriptitalic-ϵ2𝑖𝑖01subscript1superscriptitalic-ϵ2𝑁superscriptitalic-ϵ22𝐽𝑚\displaystyle\stackrel{{\scriptstyle\Delta}}{{=}}\left\lfloor\frac{2Jm}{% \epsilon^{2}}(1+\epsilon^{2})^{i}\right\rfloor,\ i=0,1,\dots,\left\lceil\log_{% 1+\epsilon^{2}}\left(\frac{N\epsilon^{2}}{2Jm}\right)\right\rceil,start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP ⌊ divide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ( 1 + italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT ⌋ , italic_i = 0 , 1 , … , ⌈ roman_log start_POSTSUBSCRIPT 1 + italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ( divide start_ARG italic_N italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_J italic_m end_ARG ) ⌉ ,
Qisubscript𝑄𝑖\displaystyle Q_{i}italic_Q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT =Δ{Yi+Yiϵ2k2Jm,k=0,1,,2Jm},Q=Δi=1log1+ϵ2(Nϵ22Jm)Qi,\displaystyle\stackrel{{\scriptstyle\Delta}}{{=}}\left\{\left\lfloor Y_{i}+Y_{% i}\cdot\frac{\epsilon^{2}k}{2Jm}\right\rfloor,\ \ k=0,1,\dots,\left\lfloor 2Jm% \right\rfloor\right\},\quad Q\stackrel{{\scriptstyle\Delta}}{{=}}\bigcup_{i=1}% ^{\left\lceil\log_{1+\epsilon^{2}}\left(\frac{N\epsilon^{2}}{2Jm}\right)\right% \rceil}Q_{i},start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { ⌊ italic_Y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + italic_Y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_k end_ARG start_ARG 2 italic_J italic_m end_ARG ⌋ , italic_k = 0 , 1 , … , ⌊ 2 italic_J italic_m ⌋ } , italic_Q start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP ⋃ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⌈ roman_log start_POSTSUBSCRIPT 1 + italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ( divide start_ARG italic_N italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_J italic_m end_ARG ) ⌉ end_POSTSUPERSCRIPT italic_Q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ,
NDsubscript𝑁D\displaystyle N_{\textbf{D}}italic_N start_POSTSUBSCRIPT D end_POSTSUBSCRIPT =Δ{1,2,,2Jmϵ2}Q.superscriptΔabsent122𝐽𝑚superscriptitalic-ϵ2𝑄\displaystyle\stackrel{{\scriptstyle\Delta}}{{=}}\left\{1,2,\dots,\left\lfloor% \frac{2Jm}{\epsilon^{2}}\right\rfloor\right\}\cup Q.start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { 1 , 2 , … , ⌊ divide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ⌋ } ∪ italic_Q .
The discretization price set 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG is the class of all “m𝑚mitalic_m-step” price curves on function space NDWsubscript𝑁D𝑊N_{\textbf{D}}\to Witalic_N start_POSTSUBSCRIPT D end_POSTSUBSCRIPT → italic_W.

Discretization scheme for monotone valuations under diminishing returns. Finally, we study discretization schemes under the diminishing returns condition. Our procedure, outlined in Algorithm 2 proceeds as follows. We use the same discretization W𝑊Witalic_W of the valuation space from Algorithm 1. Next, we will discretize the dataspace [N]delimited-[]𝑁[N][ italic_N ]. To exploit the structure in the diminishing returns condition, we will need to do so more densely when n𝑛nitalic_n is small. For this, let Yi=2Jmϵ2(1+ϵ2)isubscript𝑌𝑖2𝐽𝑚superscriptitalic-ϵ2superscript1superscriptitalic-ϵ2𝑖Y_{i}=\frac{2Jm}{\epsilon^{2}}(1+\epsilon^{2})^{i}italic_Y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = divide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ( 1 + italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT, i=0,,log1+ϵ2Nϵ22Jm𝑖0subscript1superscriptitalic-ϵ2𝑁superscriptitalic-ϵ22𝐽𝑚i=0,\dots,\lceil\log_{1+\epsilon^{2}}\frac{N\epsilon^{2}}{2Jm}\rceilitalic_i = 0 , … , ⌈ roman_log start_POSTSUBSCRIPT 1 + italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_POSTSUBSCRIPT divide start_ARG italic_N italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_J italic_m end_ARG ⌉ be the powers of (1+ϵ2)1superscriptitalic-ϵ2(1+\epsilon^{2})( 1 + italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) on data space [2Jmϵ2,N]2𝐽𝑚superscriptitalic-ϵ2𝑁\left[\frac{2Jm}{\epsilon^{2}},N\right][ divide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG , italic_N ]. For each i𝑖iitalic_i, the set Qisubscript𝑄𝑖Q_{i}italic_Q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT further partitions the interval [Yi,Yi+1)subscript𝑌𝑖subscript𝑌𝑖1[Y_{i},Y_{i+1})[ italic_Y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_Y start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT ) uniformly with gap Yiϵ22Jmsubscript𝑌𝑖superscriptitalic-ϵ22𝐽𝑚Y_{i}\cdot\frac{\epsilon^{2}}{2Jm}italic_Y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_J italic_m end_ARG. For n𝑛nitalic_n smaller than 2Jmϵ22𝐽𝑚superscriptitalic-ϵ2\frac{2Jm}{\epsilon^{2}}divide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, we do not discretize it as the valuations may change rapidly when n𝑛nitalic_n is small. Let NDsubscript𝑁DN_{\textbf{D}}italic_N start_POSTSUBSCRIPT D end_POSTSUBSCRIPT be the union of {1,2,,2Jmϵ2}122𝐽𝑚superscriptitalic-ϵ2\left\{1,2,\dots,\left\lfloor\frac{2Jm}{\epsilon^{2}}\right\rfloor\right\}{ 1 , 2 , … , ⌊ divide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ⌋ } and all the set Qisubscript𝑄𝑖Q_{i}italic_Q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. Therefore, NDsubscript𝑁DN_{\textbf{D}}italic_N start_POSTSUBSCRIPT D end_POSTSUBSCRIPT has a size of at most 2Jmϵ2+2Jmlog1+ϵ2Nϵ22Jm2𝐽𝑚superscriptitalic-ϵ22𝐽𝑚subscript1superscriptitalic-ϵ2𝑁superscriptitalic-ϵ22𝐽𝑚\frac{2Jm}{\epsilon^{2}}+2Jm\lceil\log_{1+\epsilon^{2}}\frac{N\epsilon^{2}}{2% Jm}\rceildivide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG + 2 italic_J italic_m ⌈ roman_log start_POSTSUBSCRIPT 1 + italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_POSTSUBSCRIPT divide start_ARG italic_N italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_J italic_m end_ARG ⌉. We have the following theorem about Algorithm 2 which we prove in Appendix A.5.

Theorem 3.3.

Consider the discretization 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG as constructed in Algorithm 2. Under Assumption 2, for any type distribution, there exists p𝒫¯𝑝¯𝒫p\in\overline{\mathcal{P}}italic_p ∈ over¯ start_ARG caligraphic_P end_ARG such that rev(p)OPT𝒪(ϵ)rev𝑝OPT𝒪italic-ϵ\mathrm{rev}(p)\geq\mathrm{OPT}-\mathcal{O}(\epsilon)roman_rev ( italic_p ) ≥ roman_OPT - caligraphic_O ( italic_ϵ ). Moreover,

|𝒫¯|𝒪((Jϵ2)mlogm(Nϵ2Jm)(log1+ϵm1/ϵ))𝒪~((Jϵ3)m).¯𝒫𝒪superscript𝐽superscriptitalic-ϵ2𝑚superscript𝑚𝑁superscriptitalic-ϵ2𝐽𝑚subscriptsuperscript𝑚1italic-ϵ1italic-ϵ~𝒪superscript𝐽superscriptitalic-ϵ3𝑚\displaystyle|\overline{\mathcal{P}}|\in\mathcal{O}\left(\left(\frac{J}{% \epsilon^{2}}\right)^{m}\log^{m}\left(\frac{N\epsilon^{2}}{Jm}\right)\cdot% \left(\log^{m}_{1+\epsilon}1/\epsilon\right)\right)\in\widetilde{\mathcal{O}}% \left(\left(\frac{J}{\epsilon^{3}}\right)^{m}\right).| over¯ start_ARG caligraphic_P end_ARG | ∈ caligraphic_O ( ( divide start_ARG italic_J end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT roman_log start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ( divide start_ARG italic_N italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_J italic_m end_ARG ) ⋅ ( roman_log start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 + italic_ϵ end_POSTSUBSCRIPT 1 / italic_ϵ ) ) ∈ over~ start_ARG caligraphic_O end_ARG ( ( divide start_ARG italic_J end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT end_ARG ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ) .

Proof outline. By Lemma 3.1, we may assume the optimal price curve p={(ni,pi)}i=1msuperscript𝑝superscriptsubscriptsubscriptsuperscript𝑛𝑖subscriptsuperscript𝑝𝑖𝑖1𝑚p^{\star}=\left\{(n^{\star}_{i},p^{\star}_{i})\right\}_{i=1}^{m}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT = { ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) } start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT is an m𝑚mitalic_m-step function, where pisubscriptsuperscript𝑝𝑖p^{\star}_{i}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT denote the value of p𝑝pitalic_p on step i𝑖iitalic_i. We generate an m𝑚mitalic_m-step price curve p={(ni,pi)}i=1m𝑝superscriptsubscriptsubscript𝑛𝑖subscript𝑝𝑖𝑖1𝑚p=\left\{(n_{i},p_{i})\right\}_{i=1}^{m}italic_p = { ( italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) } start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT on space NDWsubscript𝑁D𝑊N_{\textbf{D}}\to Witalic_N start_POSTSUBSCRIPT D end_POSTSUBSCRIPT → italic_W such that nisubscript𝑛𝑖n_{i}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT is obtained by rounding down nisubscriptsuperscript𝑛𝑖n^{\star}_{i}italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT to the closest value in NDsubscript𝑁DN_{\textbf{D}}italic_N start_POSTSUBSCRIPT D end_POSTSUBSCRIPT, and pipi/(1+ϵ)subscript𝑝𝑖subscriptsuperscript𝑝𝑖1italic-ϵp_{i}\geq p^{\star}_{i}/(1+\epsilon)italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≥ italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT / ( 1 + italic_ϵ ). We then show that if a buyer purchases at step i𝑖iitalic_i under price psuperscript𝑝p^{\star}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT, she will not purchase at step j<i𝑗𝑖j<iitalic_j < italic_i under new price p𝑝pitalic_p. Therefore, the revenue from this buyer is at least pipi/(1+ϵ)=pi𝒪(ϵ)subscript𝑝𝑖subscriptsuperscript𝑝𝑖1italic-ϵsubscriptsuperscript𝑝𝑖𝒪italic-ϵp_{i}\geq p^{\star}_{i}/(1+\epsilon)=p^{\star}_{i}-\mathcal{O}(\epsilon)italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≥ italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT / ( 1 + italic_ϵ ) = italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - caligraphic_O ( italic_ϵ ), which ensures that rev(p)OPT𝒪(ϵ)rev𝑝OPT𝒪italic-ϵ\mathrm{rev}(p)\geq\mathrm{OPT}-\mathcal{O}(\epsilon)roman_rev ( italic_p ) ≥ roman_OPT - caligraphic_O ( italic_ϵ ).

4 Online learning in the stochastic setting

We now study the online learning problem outlined in §2.1 in the stochastic setting. Our Algorithm, outlined in Algorithm 3 is based on the classical upper confidence bound (UCB) algorithm for stochastic bandits [8, 37]. It takes a discretization 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG of the pricing curves as input, and on each round chooses a pt𝒫¯subscript𝑝𝑡¯𝒫p_{t}\in\overline{\mathcal{P}}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∈ over¯ start_ARG caligraphic_P end_ARG which has the largest UCB on the revenue.

The key technical challenge in realizing this scheme is in the construction of the UCB. As 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG is large, naively constructing our UCBs over prices in 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG will lead to a log|𝒫¯|¯𝒫\log|\overline{\mathcal{P}}|roman_log | over¯ start_ARG caligraphic_P end_ARG | term in the UCB (say, when applying a union bound), and hence the regret. Instead, we will maintain UCBs for the type distribution, which will only have a log(m)𝑚\log(m)roman_log ( italic_m ) term, and translate them to UCBs for the revenue. However, as we will see below, the analysis when constructing the UCB this way is nontrivial since we observe the types only if they make a purchase. In particular, our UCB depends on the number of times a buyer could have purchased at a given round, which is a random quantity that depends on the algorithm itself. We will first outline how we construct the UCBs.

Construction of UCB. We will now show how to construct the upper confidence bound rev^tsubscript^rev𝑡\widehat{\mathrm{rev}}_{t}over^ start_ARG roman_rev end_ARG start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT at the end of round t𝑡titalic_t, which will be used in computing pt+1subscript𝑝𝑡1p_{t+1}italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT. For τt𝜏𝑡\tau\leq titalic_τ ≤ italic_t, let Sτsubscript𝑆𝜏S_{\tau}italic_S start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT, defined below in (5), be the set of types who would have purchased in round τ𝜏\tauitalic_τ at price pτsubscript𝑝𝜏p_{\tau}italic_p start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT had they appeared in that round. Then, for any type i[m]𝑖delimited-[]𝑚i\in[m]italic_i ∈ [ italic_m ], we define Ti,tsubscript𝑇𝑖𝑡T_{i,t}italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT to be the number of times that type i𝑖iitalic_i appears in set Sτsubscript𝑆𝜏S_{\tau}italic_S start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT for τ{1,,t}𝜏1𝑡\tau\in\{1,\dots,t\}italic_τ ∈ { 1 , … , italic_t }. That is, Ti,tsubscript𝑇𝑖𝑡T_{i,t}italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT measures the number of times a buyer of type i𝑖iitalic_i would have purchased during the first t𝑡titalic_t rounds. We have,

Sτ=Δ{i[m]:n[N],vi(n)pτ(n)0},Ti,t=Δτ=1t𝕀(iSτ).formulae-sequencesuperscriptΔsubscript𝑆𝜏conditional-set𝑖delimited-[]𝑚formulae-sequence𝑛delimited-[]𝑁subscript𝑣𝑖𝑛subscript𝑝𝜏𝑛0superscriptΔsubscript𝑇𝑖𝑡superscriptsubscript𝜏1𝑡𝕀𝑖subscript𝑆𝜏\displaystyle S_{\tau}\stackrel{{\scriptstyle\Delta}}{{=}}\big{\{}i\in[m]:% \exists n\in[N],v_{i}(n)-p_{\tau}(n)\geq 0\big{\}},\hskip 21.68121ptT_{i,t}% \stackrel{{\scriptstyle\Delta}}{{=}}\sum_{\tau=1}^{t}\mathbbm{I}(i\in S_{\tau}).italic_S start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { italic_i ∈ [ italic_m ] : ∃ italic_n ∈ [ italic_N ] , italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) - italic_p start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ( italic_n ) ≥ 0 } , italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT blackboard_I ( italic_i ∈ italic_S start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ) . (5)

Note that as we use the 00 price function on round 1, i.e. p1()=0subscript𝑝10p_{1}(\cdot)=0italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( ⋅ ) = 0, we have Ti,t>0subscript𝑇𝑖𝑡0T_{i,t}>0italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT > 0 for all t>1𝑡1t>1italic_t > 1. Next, we estimate qisubscript𝑞𝑖q_{i}italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT via the fraction of times that type i𝑖iitalic_i has appeared in the past t𝑡titalic_t rounds, provided that iSτ𝑖subscript𝑆𝜏i\in S_{\tau}italic_i ∈ italic_S start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT for τ{1,,t}𝜏1𝑡\tau\in\{1,\dots,t\}italic_τ ∈ { 1 , … , italic_t }. We have defined this quantity, q¯i,tsubscript¯𝑞𝑖𝑡\overline{q}_{i,t}over¯ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT below in (6). Via a standard application of Hoeffding’s inequality, we can show that |qiq¯i,t|(logT)/Ti,tsubscript𝑞𝑖subscript¯𝑞𝑖𝑡𝑇subscript𝑇𝑖𝑡\left|q_{i}-\overline{q}_{i,t}\right|\leq\sqrt{(\log T)/T_{i,t}}| italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - over¯ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT | ≤ square-root start_ARG ( roman_log italic_T ) / italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG with high probability. Using this, we can construct an upper confidence bound q^i,tsubscript^𝑞𝑖𝑡\widehat{q}_{i,t}over^ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT as follows,

q¯i,t=Δ1Ti,tτ=1t𝕀(iSτ,iτ=i),q^i,t=Δq¯i,t+logTTi,t.formulae-sequencesuperscriptΔsubscript¯𝑞𝑖𝑡1subscript𝑇𝑖𝑡superscriptsubscript𝜏1𝑡𝕀formulae-sequence𝑖subscript𝑆𝜏subscript𝑖𝜏𝑖superscriptΔsubscript^𝑞𝑖𝑡subscript¯𝑞𝑖𝑡𝑇subscript𝑇𝑖𝑡\displaystyle\overline{q}_{i,t}\stackrel{{\scriptstyle\Delta}}{{=}}\frac{1}{T_% {i,t}}\sum_{\tau=1}^{t}\mathbbm{I}(i\in S_{\tau},i_{\tau}=i),\hskip 28.90755pt% \widehat{q}_{i,t}\stackrel{{\scriptstyle\Delta}}{{=}}\overline{q}_{i,t}+\sqrt{% \frac{\log T}{T_{i,t}}}.over¯ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP divide start_ARG 1 end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT blackboard_I ( italic_i ∈ italic_S start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT , italic_i start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT = italic_i ) , over^ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP over¯ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT + square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG end_ARG . (6)
Algorithm 3 Online data pricing in the stochastic setting.
Given: time horizon T𝑇Titalic_T, discretization 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG of price curves.
Set p1subscript𝑝1p_{1}italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT to be the zero function. # Give data away for free on round 1.
A buyer of type i1qsimilar-tosubscript𝑖1𝑞i_{1}\sim qitalic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∼ italic_q arrives and purchases N𝑁Nitalic_N data points at price 0.
for t=2𝑡2t=2italic_t = 2 to T𝑇Titalic_T do
     Compute the UCB rev^t1(p)subscript^rev𝑡1𝑝\widehat{\mathrm{rev}}_{t-1}(p)over^ start_ARG roman_rev end_ARG start_POSTSUBSCRIPT italic_t - 1 end_POSTSUBSCRIPT ( italic_p ) on the revenue of p𝑝pitalic_p for each p𝒫¯𝑝¯𝒫p\in\overline{\mathcal{P}}italic_p ∈ over¯ start_ARG caligraphic_P end_ARG. # See (5), (6), and (7).
     Set pt=argmaxp𝒫¯rev^t1(p)subscript𝑝𝑡subscriptargmax𝑝¯𝒫subscript^rev𝑡1𝑝p_{t}=\mathop{\mathrm{argmax}}_{p\in\overline{\mathcal{P}}}\widehat{\mathrm{% rev}}_{t-1}(p)italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = roman_argmax start_POSTSUBSCRIPT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_POSTSUBSCRIPT over^ start_ARG roman_rev end_ARG start_POSTSUBSCRIPT italic_t - 1 end_POSTSUBSCRIPT ( italic_p ).
     A buyer of type itqsimilar-tosubscript𝑖𝑡𝑞i_{t}\sim qitalic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∼ italic_q arrives, purchases nit,ptsubscript𝑛subscript𝑖𝑡subscript𝑝𝑡n_{i_{t},p_{t}}italic_n start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT points, and pays pt(nit,pt)subscript𝑝𝑡subscript𝑛subscript𝑖𝑡subscript𝑝𝑡p_{t}(n_{i_{t},p_{t}})italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_n start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ).
end for

We now translate the UCBs on q𝑞qitalic_q to the UCBs on the revenue. Recall from (1) that a buyer of type i𝑖iitalic_i will purchase ni,psubscript𝑛𝑖𝑝n_{i,p}italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT points at price p𝑝pitalic_p and the revenue from this buyer will be p(ni,p)𝑝subscript𝑛𝑖𝑝p(n_{i,p})italic_p ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ). Note that as the seller has access to the valuation curves, he can compute ni,psubscript𝑛𝑖𝑝n_{i,p}italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT for any i𝑖iitalic_i and price curve p𝑝pitalic_p. Since rev(p)=𝔼iq[p(ni,p)]rev𝑝subscript𝔼similar-to𝑖𝑞delimited-[]𝑝subscript𝑛𝑖𝑝\mathrm{rev}(p)=\mathbb{E}_{i\sim q}[p(n_{i,p})]roman_rev ( italic_p ) = blackboard_E start_POSTSUBSCRIPT italic_i ∼ italic_q end_POSTSUBSCRIPT [ italic_p ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ) ], we have the following natural UCB for rev(p)rev𝑝\mathrm{rev}(p)roman_rev ( italic_p ) on round t𝑡titalic_t:

rev^t(p)=Δi=1mq^i,tp(ni,p).superscriptΔsubscript^rev𝑡𝑝superscriptsubscript𝑖1𝑚subscript^𝑞𝑖𝑡𝑝subscript𝑛𝑖𝑝\displaystyle\widehat{\mathrm{rev}}_{t}(p)\;\stackrel{{\scriptstyle\Delta}}{{=% }}\;\sum_{i=1}^{m}\widehat{q}_{i,t}\cdot p(n_{i,p}).over^ start_ARG roman_rev end_ARG start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT over^ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_p ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ) . (7)

This completes the description of our construction. The following theorem bounds the regret for Algorithm 3 when paired with any of the discretization schemes in §3. While the computational complexity of our method depends on |𝒫|𝒫|\mathcal{P}|| caligraphic_P |, there is no dependence on the regret because of the above construction of the UCB. The proof is given in Appendix C.

Theorem 4.1.

Suppose in Algorithm 3 we use a discretization 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG which is a 𝒪(1/T)𝒪1𝑇\mathcal{O}(1/\sqrt{T})caligraphic_O ( 1 / square-root start_ARG italic_T end_ARG ) additive approximation to any price curve. Then, the regret of Algorithm 3 satisfies 𝔼[RT]𝒪~(mT)𝔼delimited-[]subscript𝑅𝑇~𝒪𝑚𝑇\mathbb{E}[R_{T}]\in\widetilde{\mathcal{O}}(m\sqrt{T})blackboard_E [ italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ] ∈ over~ start_ARG caligraphic_O end_ARG ( italic_m square-root start_ARG italic_T end_ARG ).

Proof challenges. When bounding the regret, we first observe that the subsets S[m]𝑆delimited-[]𝑚S\subset[m]italic_S ⊂ [ italic_m ] induces a partitioning of the price curves, where p𝑝pitalic_p belongs to the partition of S𝑆Sitalic_S, if all types in S𝑆Sitalic_S would make a purchase at price p𝑝pitalic_p, and all types in Scsuperscript𝑆𝑐S^{c}italic_S start_POSTSUPERSCRIPT italic_c end_POSTSUPERSCRIPT would not make a purchase at price p𝑝pitalic_p. With this insight, we can view the action of a seller as not just choosing a price curve, but also choosing a set St[n]subscript𝑆𝑡delimited-[]𝑛S_{t}\subset[n]italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⊂ [ italic_n ]. That is, Stsubscript𝑆𝑡S_{t}italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT can be viewed as a super-arm in a combinatorial semi-bandit problem [36].

5 Online learning in the adversarial setting

We now study the adversarial setting. Similar to the stochastic setting, our algorithm will use a discretization of the price curves from §3. We will control regret by bounding both the discretization error and the algorithm’s regret relative to the best pricing curve in the discretization.

Before proceeding, let us first contextualize our feedback model against prior work. If the buyers do not reveal their types, this becomes an adversarial bandit problem with |𝒫¯|¯𝒫|\overline{\mathcal{P}}|| over¯ start_ARG caligraphic_P end_ARG | arms (pricing curves) [32]. Using an algorithm such as EXP-3 [9] results in large 𝒪~(T1/2|𝒫¯|1/2)~𝒪superscript𝑇12superscript¯𝒫12\widetilde{\mathcal{O}}(T^{\nicefrac{{1}}{{2}}}|\overline{\mathcal{P}}|^{% \nicefrac{{1}}{{2}}})over~ start_ARG caligraphic_O end_ARG ( italic_T start_POSTSUPERSCRIPT / start_ARG 1 end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT | over¯ start_ARG caligraphic_P end_ARG | start_POSTSUPERSCRIPT / start_ARG 1 end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT ) regret, which is not ideal due to |𝒫¯|¯𝒫|\overline{\mathcal{P}}|| over¯ start_ARG caligraphic_P end_ARG |’s exponential dependence in m𝑚mitalic_m. Conversely, if buyers reveal their types regardless of purchase, this is equivalent to full information feedback, where algorithms such as Hedge or Follow-the-perturbed-leader (FTPL) [30] yield 𝒪(T1/2log1/2|𝒫¯|)𝒪superscript𝑇12superscript12¯𝒫\mathcal{O}(T^{\nicefrac{{1}}{{2}}}\log^{\nicefrac{{1}}{{2}}}|\overline{% \mathcal{P}}|)caligraphic_O ( italic_T start_POSTSUPERSCRIPT / start_ARG 1 end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT roman_log start_POSTSUPERSCRIPT / start_ARG 1 end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT | over¯ start_ARG caligraphic_P end_ARG | ) regret, translating to 𝒪~((mT)1/2)~𝒪superscript𝑚𝑇12\widetilde{\mathcal{O}}((mT)^{\nicefrac{{1}}{{2}}})over~ start_ARG caligraphic_O end_ARG ( ( italic_m italic_T ) start_POSTSUPERSCRIPT / start_ARG 1 end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT ) with our discretization schemes in §3. In our intermediate regime, where feedback is only revealed upon purchase, we aim for a middle ground. We show our algorithm, outlined in Algorithm 4, achieves 𝒪~(m3/2T1/2)~𝒪superscript𝑚32superscript𝑇12\widetilde{\mathcal{O}}(m^{3/2}T^{\nicefrac{{1}}{{2}}})over~ start_ARG caligraphic_O end_ARG ( italic_m start_POSTSUPERSCRIPT 3 / 2 end_POSTSUPERSCRIPT italic_T start_POSTSUPERSCRIPT / start_ARG 1 end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT ) regret, which is worse than full information, but still depends polynomially on m𝑚mitalic_m.

Our algorithm takes a discretization 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG and a perturbation parameter θ𝜃\thetaitalic_θ as input. First, it samples a random perturbation θpsubscript𝜃𝑝\theta_{p}italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT from an exponential distribution with pdf θeθx𝜃superscript𝑒𝜃𝑥\theta e^{-\theta x}italic_θ italic_e start_POSTSUPERSCRIPT - italic_θ italic_x end_POSTSUPERSCRIPT for each pricing curve p𝑝pitalic_p in 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG. It maintains rewards {rt(p)}t,psubscriptsubscript𝑟𝑡𝑝𝑡𝑝\{r_{t}(p)\}_{t,p}{ italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) } start_POSTSUBSCRIPT italic_t , italic_p end_POSTSUBSCRIPT for each round t𝑡titalic_t and price curve p𝑝pitalic_p. On each round, it chooses the price curve that maximizes the perturbed cumulative reward τ=1trτ(p)+θpsuperscriptsubscript𝜏1𝑡subscript𝑟𝜏𝑝subscript𝜃𝑝\sum_{\tau=1}^{t}r_{\tau}(p)+\theta_{p}∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ( italic_p ) + italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT.

This scheme is similar to FTPL, but the key difference is in how we design the rewards {rt(p)}t,psubscriptsubscript𝑟𝑡𝑝𝑡𝑝\{r_{t}(p)\}_{t,p}{ italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) } start_POSTSUBSCRIPT italic_t , italic_p end_POSTSUBSCRIPT. To describe this, let Stsubscript𝑆𝑡S_{t}italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, defined exactly as in (5), be the set of agents who would have purchased in round t𝑡titalic_t at price ptsubscript𝑝𝑡p_{t}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT. At the end of the round, if there was a purchase, for all prices p𝒫¯𝑝¯𝒫p\in\overline{\mathcal{P}}italic_p ∈ over¯ start_ARG caligraphic_P end_ARG, we set the reward to be rt(p)=p(nit,p)subscript𝑟𝑡𝑝𝑝subscript𝑛subscript𝑖𝑡𝑝r_{t}(p)=p(n_{i_{t},p})italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) = italic_p ( italic_n start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p end_POSTSUBSCRIPT ), i.e. the payment we would have received from the buyer at that round, had the price been p𝑝pitalic_p (see (1)). If there was no purchase, we know that itStsubscript𝑖𝑡subscript𝑆𝑡i_{t}\notin S_{t}italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∉ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, in which case we set rt(p)=iStcp(ni,p)subscript𝑟𝑡𝑝subscript𝑖superscriptsubscript𝑆𝑡𝑐𝑝subscript𝑛𝑖𝑝r_{t}(p)=\sum_{i\in S_{t}^{c}}p(n_{i,p})italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) = ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_p ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ). In this case, rt(p)subscript𝑟𝑡𝑝r_{t}(p)italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) is an upper bound on p(nit,p)𝑝subscript𝑛subscript𝑖𝑡𝑝p(n_{i_{t},p})italic_p ( italic_n start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p end_POSTSUBSCRIPT ), and this upper bound is tight around prices similar to the chosen price ptsubscript𝑝𝑡p_{t}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT; in fact, rt(pt)=0subscript𝑟𝑡subscript𝑝𝑡0r_{t}(p_{t})=0italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) = 0 if there was no purchase. Intuitively, rt(p)subscript𝑟𝑡𝑝r_{t}(p)italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) deals with the uncertainty of not knowing the type on round t𝑡titalic_t by providing a large reward (as we are taking the sum) to prices that could have resulted in a purchase, which encourages exploration of such prices in future rounds. This intuition will help us bound the regret.

Algorithm 4 Online data pricing in the adversarial setting.
Given: time horizon T𝑇Titalic_T, discretization 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG, perturbation parameter θ𝜃\thetaitalic_θ.
For each p𝒫¯𝑝¯𝒫p\in\overline{\mathcal{P}}italic_p ∈ over¯ start_ARG caligraphic_P end_ARG, sample θpsubscript𝜃𝑝\theta_{p}italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT from an exponential distribution with pdf θeθx𝜃superscript𝑒𝜃𝑥\theta e^{-\theta x}italic_θ italic_e start_POSTSUPERSCRIPT - italic_θ italic_x end_POSTSUPERSCRIPT
for t=1𝑡1t=1italic_t = 1 to T𝑇Titalic_T do
     Set price curve for the current round pt=argmaxp𝒫¯τ=1t1rτ(p)+θpsubscript𝑝𝑡𝑝¯𝒫argmaxsuperscriptsubscript𝜏1𝑡1subscript𝑟𝜏𝑝subscript𝜃𝑝\;\;p_{t}=\underset{p\in\overline{\mathcal{P}}}{\mathop{\mathrm{argmax}}}% \displaystyle\sum_{\tau=1}^{t-1}r_{\tau}(p)\;+\;\theta_{p}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = start_UNDERACCENT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_UNDERACCENT start_ARG roman_argmax end_ARG ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t - 1 end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ( italic_p ) + italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT.
     A buyer of type itsubscript𝑖𝑡i_{t}italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT arrives, purchases nit,ptsubscript𝑛subscript𝑖𝑡subscript𝑝𝑡n_{i_{t},p_{t}}italic_n start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT points, and pays pt(nit,pt)subscript𝑝𝑡subscript𝑛subscript𝑖𝑡subscript𝑝𝑡p_{t}(n_{i_{t},p_{t}})italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_n start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ).
     if nit,pt>0subscript𝑛subscript𝑖𝑡subscript𝑝𝑡0n_{i_{t},p_{t}}>0italic_n start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT > 0 then   Set rt(p)=p(nit,p)subscript𝑟𝑡𝑝𝑝subscript𝑛subscript𝑖𝑡𝑝r_{t}(p)=p(n_{i_{t},p})italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) = italic_p ( italic_n start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p end_POSTSUBSCRIPT ) for all p𝒫¯𝑝¯𝒫p\in\overline{\mathcal{P}}italic_p ∈ over¯ start_ARG caligraphic_P end_ARG. # If there was a purchase
     else  Set rt(p)=iStcp(ni,p)subscript𝑟𝑡𝑝subscript𝑖superscriptsubscript𝑆𝑡𝑐𝑝subscript𝑛𝑖𝑝r_{t}(p)=\sum_{i\in S_{t}^{c}}p(n_{i,p})italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) = ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_p ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ) for all p𝒫¯𝑝¯𝒫p\in\overline{\mathcal{P}}italic_p ∈ over¯ start_ARG caligraphic_P end_ARG. # See (5) for Stsubscript𝑆𝑡S_{t}italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT.
     end if
end for

Theorem 5.1 provides a bound on the regret for Algorithm 4. Its proof is given in Appendix B. Combining this with the size of 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG under the various assumptions in §3, we obtain 𝒪~(m3/2T)~𝒪superscript𝑚32𝑇\widetilde{\mathcal{O}}(m^{\nicefrac{{3}}{{2}}}\sqrt{T})over~ start_ARG caligraphic_O end_ARG ( italic_m start_POSTSUPERSCRIPT / start_ARG 3 end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT square-root start_ARG italic_T end_ARG ) regret.

Theorem 5.1.

Suppose in Algorithm 4 we use a discretization 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG which is a 𝒪(1/T)𝒪1𝑇\mathcal{O}(1/\sqrt{T})caligraphic_O ( 1 / square-root start_ARG italic_T end_ARG ) additive approximation to any price curve. Let RTsubscript𝑅𝑇R_{T}italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT be as defined in (4). Then, for Algorithm 4, we have 𝔼[RT]𝒪(m2θT+θ1(1+log|𝒫¯|))𝔼delimited-[]subscript𝑅𝑇𝒪superscript𝑚2𝜃𝑇superscript𝜃11¯𝒫\mathbb{E}[R_{T}]\;\in\;\mathcal{O}\left(m^{2}\theta T+\theta^{-1}\left(1+\log% \left|\overline{\mathcal{P}}\right|\right)\right)blackboard_E [ italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ] ∈ caligraphic_O ( italic_m start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_θ italic_T + italic_θ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT ( 1 + roman_log | over¯ start_ARG caligraphic_P end_ARG | ) ). Setting θ=1+log|𝒫¯|m2T𝜃1¯𝒫superscript𝑚2𝑇\theta=\sqrt{\frac{1+\log\left|\overline{\mathcal{P}}\right|}{m^{2}T}}italic_θ = square-root start_ARG divide start_ARG 1 + roman_log | over¯ start_ARG caligraphic_P end_ARG | end_ARG start_ARG italic_m start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_T end_ARG end_ARG, we have 𝔼[RT]𝒪(mTlog|𝒫¯|).𝔼delimited-[]subscript𝑅𝑇𝒪𝑚𝑇¯𝒫\mathbb{E}[R_{T}]\;\in\;\mathcal{O}\big{(}m\sqrt{T\log\left|\overline{\mathcal% {P}}\right|}\big{)}.blackboard_E [ italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ] ∈ caligraphic_O ( italic_m square-root start_ARG italic_T roman_log | over¯ start_ARG caligraphic_P end_ARG | end_ARG ) .

6 Conclusion

We designed revenue-optimal learning algorithms for pricing data. First, we leveraged properties like smoothness and diminishing returns to create novel discretization schemes for approximating any pricing curve. These schemes were then used in our learning algorithms to improve their statistical and computational properties. Our algorithms build on classical methods like UCB and FTPL but required significant adaptations to handle the vast space of pricing curves and the asymmetric feedback. An interesting future direction would be to relax the assumption that the seller knows the valuation curves visubscript𝑣𝑖{v_{i}}italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT.

References

  • aws [a] AWS Forecast. https://aws.amazon.com/forecast/, a. Accessed: 2024-05-12.
  • aws [b] AWS Data Hub. https://aws.amazon.com/blogs/big-data/tag/datahub/, b. Accessed: 2024-05-11.
  • [3] Azure Data Share. https://azure.microsoft.com/en-us/products/data-share. Accessed: 2024-05-10.
  • [4] Delta Sharing. https://docs.databricks.com/en/data-sharing/index.html. Accessed: 2024-05-11.
  • [5] Ads Data Hub. https://developers.google.com/ads-data-hub/guides/intro. Accessed: 2022-05-10.
  • Agarwal et al. [2019] A. Agarwal, M. Dahleh, and T. Sarkar. A marketplace for data: An algorithmic solution. In Proceedings of the 2019 ACM Conference on Economics and Computation, pages 701–726, 2019.
  • Agarwal et al. [2020] A. Agarwal, M. Dahleh, T. Horel, and M. Rui. Towards data auctions with externalities. arXiv preprint arXiv:2003.08345, 2020.
  • Auer [2002] P. Auer. Using confidence bounds for exploitation-exploration trade-offs. Journal of Machine Learning Research, 3(Nov):397–422, 2002.
  • Auer et al. [2002] P. Auer, N. Cesa-Bianchi, Y. Freund, and R. E. Schapire. The nonstochastic multiarmed bandit problem. SIAM journal on computing, 32(1):48–77, 2002.
  • Besbes and Zeevi [2009] O. Besbes and A. Zeevi. Dynamic pricing without knowing the demand function: Risk bounds and near-optimal algorithms. Operations Research, 57(6):1407–1420, 2009.
  • Besbes and Zeevi [2015] O. Besbes and A. Zeevi. On the (surprising) sufficiency of linear models for dynamic pricing with demand learning. Management Science, 61(4):723–739, 2015.
  • Chawla et al. [2007] S. Chawla, J. D. Hartline, and R. Kleinberg. Algorithmic pricing via virtual valuations. In Proceedings of the 8th ACM Conference on Electronic Commerce, pages 243–251, 2007.
  • Chawla et al. [2022] S. Chawla, R. Rezvan, Y. Teng, and C. Tzamos. Pricing ordered items. In Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing, pages 722–735, 2022.
  • Chen et al. [2016] W. Chen, W. Hu, F. Li, J. Li, Y. Liu, and P. Lu. Combinatorial multi-armed bandit with general reward functions. Advances in Neural Information Processing Systems, 29, 2016.
  • Chen et al. [2014] X. Chen, I. Diakonikolas, D. Paparas, X. Sun, and M. Yannakakis. The complexity of optimal multidimensional pricing. In Proceedings of the twenty-fifth annual ACM-SIAM symposium on Discrete algorithms, pages 1319–1328. SIAM, 2014.
  • Cheung et al. [2017] W. C. Cheung, D. Simchi-Levi, and H. Wang. Dynamic pricing and demand learning with limited price experimentation. Operations Research, 65(6):1722–1731, 2017.
  • Citrine Informatics [2024] Citrine Informatics. Citrine Informatics – Accelerating Materials Innovation. URL: https://citrine.io/, 2024. Accessed: March 9, 2024.
  • Den Boer [2015] A. V. Den Boer. Dynamic pricing and learning: Historical origins, current research, and new directions. Surveys in Operations Research and Management Science, 20(1):1–18, 2015.
  • den Boer and Zwart [2014] A. V. den Boer and B. Zwart. Simultaneously learning and optimizing using controlled variance pricing. Management Science, 60(3):770–783, 2014.
  • Deng et al. [2009] J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248–255. Ieee, 2009.
  • Dudík et al. [2020] M. Dudík, N. Haghtalab, H. Luo, R. E. Schapire, V. Syrgkanis, and J. W. Vaughan. Oracle-efficient online learning and auction design. Journal of the ACM (JACM), 67(5):1–57, 2020.
  • Guo et al. [2023] W. Guo, N. Haghtalab, K. Kandasamy, and E. Vitercik. Leveraging reviews: Learning to price with buyer and seller uncertainty. In Proceedings of the 24th ACM Conference on Economics and Computation, pages 816–816, 2023.
  • Guruswami et al. [2005] V. Guruswami, J. D. Hartline, A. R. Karlin, D. Kempe, C. Kenyon, and F. McSherry. On profit-maximizing envy-free pricing. In SODA, volume 5, pages 1164–1173, 2005.
  • Hartline and Koltun [2005] J. D. Hartline and V. Koltun. Near-optimal pricing in near-linear time. In Proceedings of the 9th International Conference on Algorithms and Data Structures, WADS’05, page 422–431, Berlin, Heidelberg, 2005. Springer-Verlag. ISBN 3540281010. doi: 10.1007/11534273_37. URL https://doi.org/10.1007/11534273_37.
  • He et al. [2016] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016.
  • Jagadeesan et al. [2021] M. Jagadeesan, A. Wei, Y. Wang, M. Jordan, and J. Steinhardt. Learning equilibria in matching markets from bandit feedback. Advances in Neural Information Processing Systems, 34:3323–3335, 2021.
  • Javanmard [2017] A. Javanmard. Perishability of data: dynamic pricing under varying-coefficient models. The Journal of Machine Learning Research, 18(1):1714–1744, 2017.
  • Javanmard and Nazerzadeh [2019] A. Javanmard and H. Nazerzadeh. Dynamic pricing in high-dimensions. The Journal of Machine Learning Research, 20(1):315–363, 2019.
  • Jia et al. [2019] R. Jia, D. Dao, B. Wang, F. A. Hubis, N. Hynes, N. M. Gürel, B. Li, C. Zhang, D. Song, and C. J. Spanos. Towards efficient data valuation based on the Shapley value. In The 22nd International Conference on Artificial Intelligence and Statistics, pages 1167–1176. PMLR, 2019.
  • Kalai and Vempala [2005] A. Kalai and S. Vempala. Efficient algorithms for online decision problems. Journal of Computer and System Sciences, 71(3):291–307, 2005.
  • Keskin and Zeevi [2014] N. B. Keskin and A. Zeevi. Dynamic pricing with an unknown demand model: Asymptotically optimal semi-myopic policies. Operations Research, 62(5):1142–1167, 2014.
  • Kleinberg and Leighton [2003] R. Kleinberg and T. Leighton. The value of knowing a demand curve: Bounds on regret for online posted-price auctions. In 44th Annual IEEE Symposium on Foundations of Computer Science, 2003. Proceedings., pages 594–605. IEEE, 2003.
  • Krause and Guestrin [2011] A. Krause and C. Guestrin. Submodularity and its applications in optimized information gathering. ACM Transactions on Intelligent Systems and Technology (TIST), 2(4):1–20, 2011.
  • Krause et al. [2008] A. Krause, H. B. McMahan, C. Guestrin, and A. Gupta. Robust submodular observation selection. Journal of Machine Learning Research, 9(12), 2008.
  • Krizhevsky et al. [2012] A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems, 25, 2012.
  • Kveton et al. [2015] B. Kveton, Z. Wen, A. Ashkan, and C. Szepesvari. Tight regret bounds for stochastic combinatorial semi-bandits. In Artificial Intelligence and Statistics, pages 535–543. PMLR, 2015.
  • Lai and Robbins [1985] T. L. Lai and H. Robbins. Asymptotically efficient adaptive allocation rules. Advances in applied mathematics, 6(1):4–22, 1985.
  • Misra et al. [2019] K. Misra, E. M. Schwartz, and J. Abernethy. Dynamic online pricing with incomplete information using multiarmed bandit experiments. Marketing Science, 38(2):226–252, 2019.
  • Perakis and Singhvi [2023] G. Perakis and D. Singhvi. Dynamic pricing with unknown nonparametric demand and limited price changes. Operations Research, 2023.
  • Shalev-Shwartz and Ben-David [2014] S. Shalev-Shwartz and S. Ben-David. Understanding machine learning: From theory to algorithms. Cambridge university press, 2014.
  • Szegedy et al. [2015] C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich. Going deeper with convolutions. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1–9, 2015.
  • Wang et al. [2020] T. Wang, J. Rausch, C. Zhang, R. Jia, and D. Song. A principled approach to data valuation for federated learning. Federated Learning: Privacy and Incentive, pages 153–167, 2020.
  • Wang et al. [2021] Y. Wang, B. Chen, and D. Simchi-Levi. Multimodal dynamic pricing. Management Science, 67(10):6136–6152, 2021.
  • Wasserman [2006] L. Wasserman. All of nonparametric statistics. Springer Science & Business Media, 2006.
  • Xu and Wang [2021] J. Xu and Y.-X. Wang. Logarithmic regret in feature-based dynamic pricing. Advances in Neural Information Processing Systems, 34:13898–13910, 2021.
  • Zhao and Chen [2019] H. Zhao and W. Chen. Stochastic one-sided full-information bandit. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases, pages 150–166. Springer, 2019.

Appendix A Omitted Details from Section 3

A.1 Proof of Lemma 3.1

See 3.1

Proof of Lemma 3.1.

Fix a price curve p𝑝pitalic_p. Let ni,psubscript𝑛𝑖𝑝n_{i,p}italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT be the amount of data type i𝑖iitalic_i purchase at price curve p𝑝pitalic_p, that is

ni,p=Δmax{argmaxn[N](vi(n)p(n))}.superscriptΔsubscript𝑛𝑖𝑝𝑛delimited-[]𝑁argmaxsubscript𝑣𝑖𝑛𝑝𝑛\displaystyle n_{i,p}\stackrel{{\scriptstyle\Delta}}{{=}}\max\left\{\underset{% n\in\left[N\right]}{\mathop{\mathrm{argmax}}}(v_{i}(n)-p(n))\right\}.italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP roman_max { start_UNDERACCENT italic_n ∈ [ italic_N ] end_UNDERACCENT start_ARG roman_argmax end_ARG ( italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) - italic_p ( italic_n ) ) } .

For {ni,p}i[m]subscriptsubscript𝑛𝑖𝑝𝑖delimited-[]𝑚\{n_{i,p}\}_{i\in[m]}{ italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT } start_POSTSUBSCRIPT italic_i ∈ [ italic_m ] end_POSTSUBSCRIPT, let π:[m][m]:𝜋delimited-[]𝑚delimited-[]𝑚\pi:[m]\rightarrow[m]italic_π : [ italic_m ] → [ italic_m ] be a permutation such that nπ(1),pnπ(2),pnπ(m),psubscript𝑛𝜋1𝑝subscript𝑛𝜋2𝑝subscript𝑛𝜋𝑚𝑝n_{\pi(1),p}\leq n_{\pi(2),p}\leq\cdots\leq n_{\pi(m),p}italic_n start_POSTSUBSCRIPT italic_π ( 1 ) , italic_p end_POSTSUBSCRIPT ≤ italic_n start_POSTSUBSCRIPT italic_π ( 2 ) , italic_p end_POSTSUBSCRIPT ≤ ⋯ ≤ italic_n start_POSTSUBSCRIPT italic_π ( italic_m ) , italic_p end_POSTSUBSCRIPT. Let n(i)=Δnπ(i),psuperscriptΔsubscript𝑛𝑖subscript𝑛𝜋𝑖𝑝n_{(i)}\stackrel{{\scriptstyle\Delta}}{{=}}n_{\pi(i),p}italic_n start_POSTSUBSCRIPT ( italic_i ) end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP italic_n start_POSTSUBSCRIPT italic_π ( italic_i ) , italic_p end_POSTSUBSCRIPT. Then, define a function p¯:[N][0,1]:¯𝑝delimited-[]𝑁01\bar{p}:[N]\rightarrow[0,1]over¯ start_ARG italic_p end_ARG : [ italic_N ] → [ 0 , 1 ] as follows,

p¯(n)=Δ{p(n(1)),nn(1),p(n(2)),n(1)<nn(2),p(n(m1)),n(m2)<nn(m1),p(n(m)),n(m1)<nN,superscriptΔ¯𝑝𝑛cases𝑝subscript𝑛1𝑛subscript𝑛1𝑝subscript𝑛2subscript𝑛1𝑛subscript𝑛2otherwise𝑝subscript𝑛𝑚1subscript𝑛𝑚2𝑛subscript𝑛𝑚1𝑝subscript𝑛𝑚subscript𝑛𝑚1𝑛𝑁\displaystyle\bar{p}(n)\stackrel{{\scriptstyle\Delta}}{{=}}\begin{cases}p\left% (n_{(1)}\right),&n\leq n_{(1)},\\ p\left(n_{(2)}\right),&n_{(1)}<n\leq n_{(2)},\\ &\vdots\\ p\left(n_{(m-1)}\right),&n_{(m-2)}<n\leq n_{(m-1)},\\ p\left(n_{(m)}\right),&n_{(m-1)}<n\leq N,\end{cases}over¯ start_ARG italic_p end_ARG ( italic_n ) start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { start_ROW start_CELL italic_p ( italic_n start_POSTSUBSCRIPT ( 1 ) end_POSTSUBSCRIPT ) , end_CELL start_CELL italic_n ≤ italic_n start_POSTSUBSCRIPT ( 1 ) end_POSTSUBSCRIPT , end_CELL end_ROW start_ROW start_CELL italic_p ( italic_n start_POSTSUBSCRIPT ( 2 ) end_POSTSUBSCRIPT ) , end_CELL start_CELL italic_n start_POSTSUBSCRIPT ( 1 ) end_POSTSUBSCRIPT < italic_n ≤ italic_n start_POSTSUBSCRIPT ( 2 ) end_POSTSUBSCRIPT , end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL ⋮ end_CELL end_ROW start_ROW start_CELL italic_p ( italic_n start_POSTSUBSCRIPT ( italic_m - 1 ) end_POSTSUBSCRIPT ) , end_CELL start_CELL italic_n start_POSTSUBSCRIPT ( italic_m - 2 ) end_POSTSUBSCRIPT < italic_n ≤ italic_n start_POSTSUBSCRIPT ( italic_m - 1 ) end_POSTSUBSCRIPT , end_CELL end_ROW start_ROW start_CELL italic_p ( italic_n start_POSTSUBSCRIPT ( italic_m ) end_POSTSUBSCRIPT ) , end_CELL start_CELL italic_n start_POSTSUBSCRIPT ( italic_m - 1 ) end_POSTSUBSCRIPT < italic_n ≤ italic_N , end_CELL end_ROW

so that p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG has at most m𝑚mitalic_m steps. Then, p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG has following properties,

p¯(n)=p(n), when n{n(1),n(2),,n(m)},formulae-sequence¯𝑝𝑛𝑝𝑛 when 𝑛subscript𝑛1subscript𝑛2subscript𝑛𝑚\displaystyle\bar{p}(n)=p(n),\text{ when }n\in\left\{n_{(1)},n_{(2)},\dots,n_{% (m)}\right\},over¯ start_ARG italic_p end_ARG ( italic_n ) = italic_p ( italic_n ) , when italic_n ∈ { italic_n start_POSTSUBSCRIPT ( 1 ) end_POSTSUBSCRIPT , italic_n start_POSTSUBSCRIPT ( 2 ) end_POSTSUBSCRIPT , … , italic_n start_POSTSUBSCRIPT ( italic_m ) end_POSTSUBSCRIPT } ,
p¯(n)p(n), when n[N]{n(1),n(2),,n(m)}.formulae-sequence¯𝑝𝑛𝑝𝑛 when 𝑛delimited-[]𝑁subscript𝑛1subscript𝑛2subscript𝑛𝑚\displaystyle\bar{p}(n)\leq p(n),\text{ when }n\in[N]\setminus\left\{n_{(1)},n% _{(2)},\dots,n_{(m)}\right\}.over¯ start_ARG italic_p end_ARG ( italic_n ) ≤ italic_p ( italic_n ) , when italic_n ∈ [ italic_N ] ∖ { italic_n start_POSTSUBSCRIPT ( 1 ) end_POSTSUBSCRIPT , italic_n start_POSTSUBSCRIPT ( 2 ) end_POSTSUBSCRIPT , … , italic_n start_POSTSUBSCRIPT ( italic_m ) end_POSTSUBSCRIPT } .

We next prove that for any i[m]𝑖delimited-[]𝑚i\in[m]italic_i ∈ [ italic_m ], after changing the price function from p𝑝pitalic_p to p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG, the type i𝑖iitalic_i buyer either purchases at (ni,p,p(ni,p))subscript𝑛𝑖𝑝𝑝subscript𝑛𝑖𝑝(n_{i,p},p(n_{i,p}))( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT , italic_p ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ) ) or at (N,p(n(m)))𝑁𝑝subscript𝑛𝑚(N,p(n_{(m)}))( italic_N , italic_p ( italic_n start_POSTSUBSCRIPT ( italic_m ) end_POSTSUBSCRIPT ) ).

For any type i𝑖iitalic_i and any amount of data nn(m)𝑛subscript𝑛𝑚n\leq n_{(m)}italic_n ≤ italic_n start_POSTSUBSCRIPT ( italic_m ) end_POSTSUBSCRIPT, there exists k𝑘kitalic_k such that n(k1)<nn(k)subscript𝑛𝑘1𝑛subscript𝑛𝑘n_{(k-1)}<n\leq n_{(k)}italic_n start_POSTSUBSCRIPT ( italic_k - 1 ) end_POSTSUBSCRIPT < italic_n ≤ italic_n start_POSTSUBSCRIPT ( italic_k ) end_POSTSUBSCRIPT (let n(0)=0subscript𝑛00n_{(0)}=0italic_n start_POSTSUBSCRIPT ( 0 ) end_POSTSUBSCRIPT = 0), we then have

vi(n)p¯(n)subscript𝑣𝑖𝑛¯𝑝𝑛\displaystyle v_{i}(n)-\bar{p}(n)italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) - over¯ start_ARG italic_p end_ARG ( italic_n ) vi(n(k))p¯(n(k))absentsubscript𝑣𝑖subscript𝑛𝑘¯𝑝subscript𝑛𝑘\displaystyle\leq v_{i}\left(n_{(k)}\right)-\bar{p}\left(n_{(k)}\right)≤ italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n start_POSTSUBSCRIPT ( italic_k ) end_POSTSUBSCRIPT ) - over¯ start_ARG italic_p end_ARG ( italic_n start_POSTSUBSCRIPT ( italic_k ) end_POSTSUBSCRIPT ) (as visubscript𝑣𝑖v_{i}italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT is non-decreasing and p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG is a step function.)
=vi(n(k))p(n(k))absentsubscript𝑣𝑖subscript𝑛𝑘𝑝subscript𝑛𝑘\displaystyle=v_{i}\left(n_{(k)}\right)-p\left(n_{(k)}\right)= italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n start_POSTSUBSCRIPT ( italic_k ) end_POSTSUBSCRIPT ) - italic_p ( italic_n start_POSTSUBSCRIPT ( italic_k ) end_POSTSUBSCRIPT ) (as p¯(n(k))=p(n(k))¯𝑝subscript𝑛𝑘𝑝subscript𝑛𝑘\bar{p}\left(n_{(k)}\right)=p\left(n_{(k)}\right)over¯ start_ARG italic_p end_ARG ( italic_n start_POSTSUBSCRIPT ( italic_k ) end_POSTSUBSCRIPT ) = italic_p ( italic_n start_POSTSUBSCRIPT ( italic_k ) end_POSTSUBSCRIPT ))
vi(ni,p)p(ni,p)absentsubscript𝑣𝑖subscript𝑛𝑖𝑝𝑝subscript𝑛𝑖𝑝\displaystyle\leq v_{i}(n_{i,p})-p(n_{i,p})≤ italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ) - italic_p ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ) (as ni,psubscript𝑛𝑖𝑝n_{i,p}italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT maximizes the buyer’s utility.)
=vi(ni,p)p¯(ni,p).absentsubscript𝑣𝑖subscript𝑛𝑖𝑝¯𝑝subscript𝑛𝑖𝑝\displaystyle=v_{i}(n_{i,p})-\bar{p}(n_{i,p}).= italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ) - over¯ start_ARG italic_p end_ARG ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ) . (as p¯(ni,p)=p(ni,p)¯𝑝subscript𝑛𝑖𝑝𝑝subscript𝑛𝑖𝑝\bar{p}(n_{i,p})=p(n_{i,p})over¯ start_ARG italic_p end_ARG ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ) = italic_p ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ))

As shown in the above, type i𝑖iitalic_i still prefers purchasing ni,psubscript𝑛𝑖𝑝n_{i,p}italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT data over all nn(m)𝑛subscript𝑛𝑚n\leq n_{(m)}italic_n ≤ italic_n start_POSTSUBSCRIPT ( italic_m ) end_POSTSUBSCRIPT under price p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG.

For n{n(m)+1,,N}𝑛subscript𝑛𝑚1𝑁n\in\left\{n_{(m)}+1,\dots,N\right\}italic_n ∈ { italic_n start_POSTSUBSCRIPT ( italic_m ) end_POSTSUBSCRIPT + 1 , … , italic_N }, by the monotonicity of value curves, we have

N=max{argmaxn{n(m)+1,,N}(vi(n)p¯(n))}.𝑁𝑛subscript𝑛𝑚1𝑁subscript𝑣𝑖𝑛¯𝑝𝑛\displaystyle N=\max\left\{\underset{n\in\left\{n_{(m)}+1,\dots,N\right\}}{% \arg\max}\left(v_{i}(n)-\bar{p}(n)\right)\right\}.italic_N = roman_max { start_UNDERACCENT italic_n ∈ { italic_n start_POSTSUBSCRIPT ( italic_m ) end_POSTSUBSCRIPT + 1 , … , italic_N } end_UNDERACCENT start_ARG roman_arg roman_max end_ARG ( italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_n ) - over¯ start_ARG italic_p end_ARG ( italic_n ) ) } .

Therefore, for any i[m]𝑖delimited-[]𝑚i\in[m]italic_i ∈ [ italic_m ], type i𝑖iitalic_i either purchases at (ni,p,p(ni,p))subscript𝑛𝑖𝑝𝑝subscript𝑛𝑖𝑝(n_{i,p},p(n_{i,p}))( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT , italic_p ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ) ), or purchases at (N,p¯(N))=(N,p(n(m)))𝑁¯𝑝𝑁𝑁𝑝subscript𝑛𝑚(N,\bar{p}(N))=(N,p(n_{(m)}))( italic_N , over¯ start_ARG italic_p end_ARG ( italic_N ) ) = ( italic_N , italic_p ( italic_n start_POSTSUBSCRIPT ( italic_m ) end_POSTSUBSCRIPT ) ) under price p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG. No matter in which case, type i𝑖iitalic_i contributes no less revenue under p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG than p𝑝pitalic_p. It then follows that, for any type distribution q𝑞qitalic_q,

rev(p¯)rev(p).rev¯𝑝rev𝑝\displaystyle\mathrm{rev}(\bar{p})\geq\mathrm{rev}(p).roman_rev ( over¯ start_ARG italic_p end_ARG ) ≥ roman_rev ( italic_p ) .

A.2 Proof of Theorem 3.1

In this subsection, we prove Theorem 3.1 by decomposing it into three technical lemmas (Lemma A.1A.2 and A.3). In Lemma A.1 and A.2, we prove the approximation guarantee of our discretization scheme and, in Lemma A.3 we provide an upper bound on the size of the discretization.

Lemma A.1.

For any type distribution, there exists a pricing function p~:[N][ϵ,1]:~𝑝delimited-[]𝑁italic-ϵ1\widetilde{p}:[N]\rightarrow[\epsilon,1]over~ start_ARG italic_p end_ARG : [ italic_N ] → [ italic_ϵ , 1 ] such that

rev(p~)OPTϵ.rev~𝑝OPTitalic-ϵ\displaystyle\mathrm{rev}(\widetilde{p})\geq\mathrm{OPT}-\epsilon.roman_rev ( over~ start_ARG italic_p end_ARG ) ≥ roman_OPT - italic_ϵ .
Proof of Lemma A.1.

Consider the optimal pricing function p:[N][0,1]:superscript𝑝delimited-[]𝑁01p^{\star}:[N]\rightarrow[0,1]italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT : [ italic_N ] → [ 0 , 1 ], i.e., OPT=rev(p)OPTrevsuperscript𝑝\mathrm{OPT}=\mathrm{rev}(p^{\star})roman_OPT = roman_rev ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ). Consider price curve p~:[N][ϵ,1]:~𝑝delimited-[]𝑁italic-ϵ1\widetilde{p}:[N]\rightarrow[\epsilon,1]over~ start_ARG italic_p end_ARG : [ italic_N ] → [ italic_ϵ , 1 ] where p~(n)=max(ϵ,p(n))~𝑝𝑛italic-ϵsuperscript𝑝𝑛\widetilde{p}(n)=\max\left(\epsilon,p^{\star}(n)\right)over~ start_ARG italic_p end_ARG ( italic_n ) = roman_max ( italic_ϵ , italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ( italic_n ) ).

Let J=Δ{n[N]:p~(n)=p(n)}superscriptΔ𝐽conditional-set𝑛delimited-[]𝑁~𝑝𝑛superscript𝑝𝑛J\stackrel{{\scriptstyle\Delta}}{{=}}\left\{n\in[N]:\widetilde{p}(n)=p^{\star}% (n)\right\}italic_J start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { italic_n ∈ [ italic_N ] : over~ start_ARG italic_p end_ARG ( italic_n ) = italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ( italic_n ) } be the set of data quantities whose price under p~~𝑝\widetilde{p}over~ start_ARG italic_p end_ARG are the same as those under p𝑝pitalic_p. Any buyer type who would have purchased nJ𝑛𝐽n\in Jitalic_n ∈ italic_J amount of data under psuperscript𝑝p^{\star}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT will purchase the same amount of data under p~~𝑝\widetilde{p}over~ start_ARG italic_p end_ARG. On the other hand, for buyer types who would have purchased nJ𝑛𝐽n\notin Jitalic_n ∉ italic_J amount of data under psuperscript𝑝p^{\star}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT, since p~(n)=ϵ>p(n)~𝑝𝑛italic-ϵsuperscript𝑝𝑛\widetilde{p}(n)=\epsilon>p^{\star}(n)over~ start_ARG italic_p end_ARG ( italic_n ) = italic_ϵ > italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ( italic_n ) for nJ𝑛𝐽n\notin Jitalic_n ∉ italic_J, the expected revenue contribution from such buyers under psuperscript𝑝p^{\star}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT is at most ϵitalic-ϵ\epsilonitalic_ϵ, hence no matter they purchase or not under p~~𝑝\widetilde{p}over~ start_ARG italic_p end_ARG, we have rev(p~)OPTϵrev~𝑝OPTitalic-ϵ\mathrm{rev}(\widetilde{p})\geq\mathrm{OPT}-\epsilonroman_rev ( over~ start_ARG italic_p end_ARG ) ≥ roman_OPT - italic_ϵ. ∎

Lemma A.2.

For any p~[ϵ,1]N~𝑝superscriptitalic-ϵ1𝑁\widetilde{p}\in\left[\epsilon,1\right]^{N}over~ start_ARG italic_p end_ARG ∈ [ italic_ϵ , 1 ] start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT there exists p𝒫¯superscript𝑝¯𝒫p^{\prime}\in\overline{\mathcal{P}}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ∈ over¯ start_ARG caligraphic_P end_ARG such that rev(p)rev(p~)/(1+ϵ)revsuperscript𝑝rev~𝑝1italic-ϵ\mathrm{rev}(p^{\prime})\geq\mathrm{rev}(\widetilde{p})/(1+\epsilon)roman_rev ( italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ≥ roman_rev ( over~ start_ARG italic_p end_ARG ) / ( 1 + italic_ϵ ), for any type distribution q𝑞qitalic_q.

Proof of Lemma A.2.

For m𝑚mitalic_m buyer types, by Lemma 3.1, there exists a non-decreasing step function p¯[ϵ,1]N¯𝑝superscriptitalic-ϵ1𝑁\bar{p}\in[\epsilon,1]^{N}over¯ start_ARG italic_p end_ARG ∈ [ italic_ϵ , 1 ] start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT with at most m𝑚mitalic_m steps, whose expected revenue is at least rev(p~)rev~𝑝\mathrm{rev}(\widetilde{p})roman_rev ( over~ start_ARG italic_p end_ARG ). Assume p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG has k𝑘kitalic_k steps, km𝑘𝑚k\leq mitalic_k ≤ italic_m. To simplify the notation, for 1jk1𝑗𝑘1\leq j\leq k1 ≤ italic_j ≤ italic_k, let p¯jsubscript¯𝑝𝑗\bar{p}_{j}over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT denote the price p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG on j𝑗jitalic_jth step. That is,

p¯(n)={p¯1,n(0,i1],p¯2,n(i1,i2],p¯k,n(ik1,N].¯𝑝𝑛casessubscript¯𝑝1𝑛0subscript𝑖1subscript¯𝑝2𝑛subscript𝑖1subscript𝑖2otherwisesubscript¯𝑝𝑘𝑛subscript𝑖𝑘1𝑁\displaystyle\bar{p}(n)=\begin{cases}\bar{p}_{1},&n\in(0,i_{1}]\cap\mathbb{Z},% \\ \bar{p}_{2},&n\in(i_{1},i_{2}]\cap\mathbb{Z},\\ &\vdots\\ \bar{p}_{k},&n\in(i_{k-1},N]\cap\mathbb{Z}.\end{cases}over¯ start_ARG italic_p end_ARG ( italic_n ) = { start_ROW start_CELL over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , end_CELL start_CELL italic_n ∈ ( 0 , italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] ∩ blackboard_Z , end_CELL end_ROW start_ROW start_CELL over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , end_CELL start_CELL italic_n ∈ ( italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_i start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] ∩ blackboard_Z , end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL ⋮ end_CELL end_ROW start_ROW start_CELL over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT , end_CELL start_CELL italic_n ∈ ( italic_i start_POSTSUBSCRIPT italic_k - 1 end_POSTSUBSCRIPT , italic_N ] ∩ blackboard_Z . end_CELL end_ROW

Where i1,,ik1[N]subscript𝑖1subscript𝑖𝑘1delimited-[]𝑁i_{1},\dots,i_{k-1}\in[N]italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_i start_POSTSUBSCRIPT italic_k - 1 end_POSTSUBSCRIPT ∈ [ italic_N ] are discontinuities in p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG.

Recall the definitions of Z𝑍Zitalic_Z and W𝑊Witalic_W as stated in Algorithm 1,

Zisubscript𝑍𝑖\displaystyle Z_{i}italic_Z start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT =Δ{ϵ(1+ϵ)i:i{0,1,,log1+ϵ1ϵ}},Z=iZi.formulae-sequencesuperscriptΔabsentconditional-setitalic-ϵsuperscript1italic-ϵ𝑖for-all𝑖01subscript1italic-ϵ1italic-ϵ𝑍subscript𝑖subscript𝑍𝑖\displaystyle\stackrel{{\scriptstyle\Delta}}{{=}}\left\{\epsilon(1+\epsilon)^{% i}:\forall\;i\in\left\{0,1,\dots,\left\lceil\log_{1+\epsilon}\frac{1}{\epsilon% }\right\rceil\right\}\right\},\,Z=\bigcup_{i}Z_{i}.start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { italic_ϵ ( 1 + italic_ϵ ) start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT : ∀ italic_i ∈ { 0 , 1 , … , ⌈ roman_log start_POSTSUBSCRIPT 1 + italic_ϵ end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG italic_ϵ end_ARG ⌉ } } , italic_Z = ⋃ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_Z start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT .
Wisubscript𝑊𝑖\displaystyle W_{i}italic_W start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT =Δ{Zi1+Zi1ϵkm:k{1,2,,(2+ϵ)m}},W=Δi=1log1+ϵ1ϵWi.formulae-sequencesuperscriptΔabsentconditional-setsubscript𝑍𝑖1subscript𝑍𝑖1italic-ϵ𝑘𝑚for-all𝑘122italic-ϵ𝑚superscriptΔ𝑊superscriptsubscript𝑖1subscript1italic-ϵ1italic-ϵsubscript𝑊𝑖\displaystyle\stackrel{{\scriptstyle\Delta}}{{=}}\left\{Z_{i-1}+Z_{i-1}\cdot% \frac{\epsilon k}{m}:\forall\,k\in\left\{1,2,...,\left\lceil(2+\epsilon)m% \right\rceil\right\}\right\},\quad W\stackrel{{\scriptstyle\Delta}}{{=}}% \bigcup_{i=1}^{\left\lceil\log_{1+\epsilon}\frac{1}{\epsilon}\right\rceil}W_{i}.start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { italic_Z start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT + italic_Z start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ italic_k end_ARG start_ARG italic_m end_ARG : ∀ italic_k ∈ { 1 , 2 , … , ⌈ ( 2 + italic_ϵ ) italic_m ⌉ } } , italic_W start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP ⋃ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⌈ roman_log start_POSTSUBSCRIPT 1 + italic_ϵ end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG italic_ϵ end_ARG ⌉ end_POSTSUPERSCRIPT italic_W start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT .

Let ik=Nsubscript𝑖𝑘𝑁i_{k}=Nitalic_i start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT = italic_N and for each j[k]𝑗delimited-[]𝑘j\in[k]italic_j ∈ [ italic_k ], let Zijsubscript𝑍subscript𝑖𝑗Z_{i_{j}}italic_Z start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_POSTSUBSCRIPT be the price obtained by rounding p¯jsubscript¯𝑝𝑗\bar{p}_{j}over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT down to the nearest value in Z𝑍Zitalic_Z. By constructions of Z𝑍Zitalic_Z and W𝑊Witalic_W above, Wijsubscript𝑊subscript𝑖𝑗W_{i_{j}}italic_W start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_POSTSUBSCRIPT is a partition of interval (Zij1,Zij+1)subscript𝑍subscript𝑖𝑗1subscript𝑍subscript𝑖𝑗1(Z_{i_{j}-1},Z_{i_{j}+1})( italic_Z start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT , italic_Z start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT + 1 end_POSTSUBSCRIPT ). Let wjsubscript𝑤𝑗w_{j}italic_w start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT be the price obtained by rounding p¯jsubscript¯𝑝𝑗\bar{p}_{j}over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT down to the nearest value in Wijsubscript𝑊subscript𝑖𝑗W_{i_{j}}italic_W start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_POSTSUBSCRIPT. Set dj=ΔϵmZij1superscriptΔsubscript𝑑𝑗italic-ϵ𝑚subscript𝑍subscript𝑖𝑗1d_{j}\stackrel{{\scriptstyle\Delta}}{{=}}\frac{\epsilon}{m}\cdot Z_{i_{j}-1}italic_d start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP divide start_ARG italic_ϵ end_ARG start_ARG italic_m end_ARG ⋅ italic_Z start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT and consider k𝑘kitalic_k-step function p𝑝pitalic_p defined by whose price at j𝑗jitalic_jth step (denoted pjsubscript𝑝𝑗p_{j}italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT) is wj(j1)djWijsubscript𝑤𝑗𝑗1subscript𝑑𝑗subscript𝑊subscript𝑖𝑗w_{j}-(j-1)d_{j}\in W_{i_{j}}italic_w start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - ( italic_j - 1 ) italic_d start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ∈ italic_W start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_POSTSUBSCRIPT, that is

p(n)={p1=w1,forn(0,i1],p2=w2d2,forn(i1,i2],pk=wk(k1)dk,forn(ik1,N].𝑝𝑛casessubscript𝑝1subscript𝑤1for𝑛0subscript𝑖1subscript𝑝2subscript𝑤2subscript𝑑2for𝑛subscript𝑖1subscript𝑖2otherwisesubscript𝑝𝑘subscript𝑤𝑘𝑘1subscript𝑑𝑘for𝑛subscript𝑖𝑘1𝑁\displaystyle p(n)=\begin{cases}p_{1}=w_{1},&\text{for}\ n\in(0,i_{1}]\cap% \mathbb{Z},\\ p_{2}=w_{2}-d_{2},&\text{for}\ n\in(i_{1},i_{2}]\cap\mathbb{Z},\\ &\vdots\\ p_{k}=w_{k}-(k-1)d_{k},&\text{for}\ n\in(i_{k-1},N]\cap\mathbb{Z}.\end{cases}italic_p ( italic_n ) = { start_ROW start_CELL italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT = italic_w start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , end_CELL start_CELL for italic_n ∈ ( 0 , italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] ∩ blackboard_Z , end_CELL end_ROW start_ROW start_CELL italic_p start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT = italic_w start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT - italic_d start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , end_CELL start_CELL for italic_n ∈ ( italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_i start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] ∩ blackboard_Z , end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL ⋮ end_CELL end_ROW start_ROW start_CELL italic_p start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT = italic_w start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT - ( italic_k - 1 ) italic_d start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT , end_CELL start_CELL for italic_n ∈ ( italic_i start_POSTSUBSCRIPT italic_k - 1 end_POSTSUBSCRIPT , italic_N ] ∩ blackboard_Z . end_CELL end_ROW

By the tie-breaking rule and the monotonicity of valuation curves, buyers only purchase among 0,i1,i1,,ik0subscript𝑖1subscript𝑖1subscript𝑖𝑘0,i_{1},i_{1},\dots,i_{k}0 , italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_i start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT number of data under p𝑝pitalic_p and p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG.

Subclaim. Then, p𝑝pitalic_p and p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG satisfies the following

rev(p)rev(p¯)/(1+ϵ),rev𝑝rev¯𝑝1italic-ϵ\displaystyle\mathrm{rev}(p)\geq\mathrm{rev}(\bar{p})/(1+\epsilon),roman_rev ( italic_p ) ≥ roman_rev ( over¯ start_ARG italic_p end_ARG ) / ( 1 + italic_ϵ ) , (8)

with respect to any type distribution.

Proof of the Subclaim. We prove the above subclaim with two steps.

Step 1: No buyer who prefers to purchase ijsubscript𝑖𝑗i_{j}italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT data under p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG would prefer ijsubscript𝑖superscript𝑗i_{j^{\prime}}italic_i start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT data for some j<jsuperscript𝑗𝑗j^{\prime}<jitalic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_j under p𝑝pitalic_p (i.e., one with a less price). This is because, when going from price p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG to p𝑝pitalic_p, the increase in the buyer’s utility for ijsubscript𝑖𝑗i_{j}italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT data is p¯jpjsubscript¯𝑝𝑗subscript𝑝𝑗\bar{p}_{j}-p_{j}over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT, which is higher than the increase p¯jpjsubscript¯𝑝superscript𝑗subscript𝑝superscript𝑗\bar{p}_{j^{\prime}}-p_{j^{\prime}}over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT for ijsubscript𝑖superscript𝑗i_{j^{\prime}}italic_i start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT data. Formally, this can be seen as follows: For any j<jsuperscript𝑗𝑗j^{\prime}<jitalic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_j we have,

p¯jpjwjpj=(j1)dj,subscript¯𝑝𝑗subscript𝑝𝑗subscript𝑤𝑗subscript𝑝𝑗𝑗1subscript𝑑𝑗\displaystyle\bar{p}_{j}-p_{j}\geq w_{j}-p_{j}=(j-1)d_{j},over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ italic_w start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = ( italic_j - 1 ) italic_d start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ,

as p¯jwjsubscript¯𝑝𝑗subscript𝑤𝑗\bar{p}_{j}\geq w_{j}over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ italic_w start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT and pj=wj(j1)djsubscript𝑝𝑗subscript𝑤𝑗𝑗1subscript𝑑𝑗p_{j}=w_{j}-(j-1)d_{j}italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = italic_w start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - ( italic_j - 1 ) italic_d start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT. Moreover,

p¯jsubscript¯𝑝superscript𝑗\displaystyle\bar{p}_{j^{\prime}}over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT <wj+djp¯jpj<wj+djpj=jdj.absentsubscript𝑤superscript𝑗subscript𝑑superscript𝑗subscript¯𝑝superscript𝑗subscript𝑝superscript𝑗subscript𝑤superscript𝑗subscript𝑑superscript𝑗subscript𝑝superscript𝑗superscript𝑗subscript𝑑superscript𝑗\displaystyle<w_{j^{\prime}}+d_{j^{\prime}}\implies\bar{p}_{j^{\prime}}-p_{j^{% \prime}}<w_{j^{\prime}}+d_{j^{\prime}}-p_{j^{\prime}}=j^{\prime}d_{j^{\prime}}.< italic_w start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT + italic_d start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⟹ over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT < italic_w start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT + italic_d start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT = italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT italic_d start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT . (9)

The inequality p¯j<wj+djsubscript¯𝑝superscript𝑗subscript𝑤superscript𝑗subscript𝑑superscript𝑗\bar{p}_{j^{\prime}}<w_{j^{\prime}}+d_{j^{\prime}}over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT < italic_w start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT + italic_d start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT holds because wjsubscript𝑤superscript𝑗w_{j^{\prime}}italic_w start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT is the result of rounding down p¯jsubscript¯𝑝𝑗\bar{p}_{j}over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT to the nearest value in Wijsubscript𝑊subscript𝑖𝑗W_{i_{j}}italic_W start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_POSTSUBSCRIPT.

By constructions of sets Z𝑍Zitalic_Z and W𝑊Witalic_W, we have djdjsubscript𝑑𝑗subscript𝑑superscript𝑗d_{j}\geq d_{j^{\prime}}italic_d start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ italic_d start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT which implies (j1)djjdj𝑗1subscript𝑑𝑗superscript𝑗subscript𝑑superscript𝑗(j-1)d_{j}\geq j^{\prime}d_{j^{\prime}}( italic_j - 1 ) italic_d start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT italic_d start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT. Then, by combining the above inequalities, we obtain

p¯jpj(j1)djjdjp¯jpj.subscript¯𝑝𝑗subscript𝑝𝑗𝑗1subscript𝑑𝑗superscript𝑗subscript𝑑superscript𝑗subscript¯𝑝superscript𝑗subscript𝑝superscript𝑗\displaystyle\bar{p}_{j}-p_{j}\geq(j-1)d_{j}\geq j^{\prime}d_{j^{\prime}}\geq% \bar{p}_{j^{\prime}}-p_{j^{\prime}}.over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ ( italic_j - 1 ) italic_d start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT italic_d start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ≥ over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT . (10)

Consider a buyer with value curve v𝑣vitalic_v who prefers to purchase at ijsubscript𝑖𝑗i_{j}italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT under price p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG, then it must be

v(ij)p¯j>v(ij)p¯j.𝑣subscript𝑖𝑗subscript¯𝑝𝑗𝑣subscript𝑖superscript𝑗subscript¯𝑝superscript𝑗\displaystyle v(i_{j})-\bar{p}_{j}>v(i_{j^{\prime}})-\bar{p}_{j^{\prime}}.italic_v ( italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT > italic_v ( italic_i start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) - over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT . (11)

Then, by combining (10) and (11), we have

v(ij)pj>v(ij)pj,𝑣subscript𝑖𝑗subscript𝑝𝑗𝑣subscript𝑖superscript𝑗subscript𝑝superscript𝑗\displaystyle v(i_{j})-{p}_{j}>v(i_{j^{\prime}})-{p}_{j^{\prime}},italic_v ( italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT > italic_v ( italic_i start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ,

therefore the buyer would not purchase at ij<ijsubscript𝑖superscript𝑗subscript𝑖𝑗i_{j^{\prime}}<i_{j}italic_i start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT < italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT under p𝑝pitalic_p.
Step 2: Next, we claim that pjp¯j/(1+ϵ)subscript𝑝𝑗subscript¯𝑝𝑗1italic-ϵp_{j}\geq\bar{p}_{j}/(1+\epsilon)italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT / ( 1 + italic_ϵ ) for all step j[k]𝑗delimited-[]𝑘j\in[k]italic_j ∈ [ italic_k ]. Since Zijsubscript𝑍subscript𝑖𝑗Z_{i_{j}}italic_Z start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_POSTSUBSCRIPT is obtained by rounding p¯jsubscript¯𝑝𝑗\bar{p}_{j}over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT down to the nearest value in Z𝑍Zitalic_Z, we have

p¯jZij=Zij1+ϵZij1=Zij1+mdj.subscript¯𝑝𝑗subscript𝑍subscript𝑖𝑗subscript𝑍subscript𝑖𝑗1italic-ϵsubscript𝑍subscript𝑖𝑗1subscript𝑍subscript𝑖𝑗1𝑚subscript𝑑𝑗\displaystyle\bar{p}_{j}\geq Z_{i_{j}}=Z_{i_{j}-1}+\epsilon Z_{i_{j}-1}=Z_{i_{% j}-1}+md_{j}.over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ italic_Z start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_POSTSUBSCRIPT = italic_Z start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT + italic_ϵ italic_Z start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT = italic_Z start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT + italic_m italic_d start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT . (12)

By (9) and the above, we have

pjp¯jjdjZij1+(mj)djZij1,subscript𝑝𝑗subscript¯𝑝𝑗𝑗subscript𝑑𝑗subscript𝑍subscript𝑖𝑗1𝑚𝑗subscript𝑑𝑗subscript𝑍subscript𝑖𝑗1\displaystyle p_{j}\geq\bar{p}_{j}-jd_{j}\geq Z_{i_{j}-1}+(m-j)d_{j}\geq Z_{i_% {j}-1},italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_j italic_d start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ italic_Z start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT + ( italic_m - italic_j ) italic_d start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ italic_Z start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT ,

where the first inequality is by (9), the second is by (12), and the third is because mj𝑚𝑗m\leq jitalic_m ≤ italic_j.

Then, it follows that

p¯jpjjdj=ϵjmZij1ϵZij1ϵpjpjp¯j/(1+ϵ).subscript¯𝑝superscript𝑗subscript𝑝𝑗𝑗subscript𝑑𝑗italic-ϵ𝑗𝑚subscript𝑍subscript𝑖𝑗1italic-ϵsubscript𝑍subscript𝑖𝑗1italic-ϵsubscript𝑝𝑗subscript𝑝𝑗subscript¯𝑝𝑗1italic-ϵ\displaystyle\bar{p}_{j^{\prime}}-p_{j}\leq j\cdot d_{j}=\epsilon\cdot\frac{j}% {m}\cdot Z_{i_{j}-1}\leq\epsilon\cdot Z_{i_{j}-1}\leq\epsilon\cdot p_{j}% \implies p_{j}\geq\bar{p}_{j}/(1+\epsilon).over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≤ italic_j ⋅ italic_d start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = italic_ϵ ⋅ divide start_ARG italic_j end_ARG start_ARG italic_m end_ARG ⋅ italic_Z start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT ≤ italic_ϵ ⋅ italic_Z start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT ≤ italic_ϵ ⋅ italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ⟹ italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT / ( 1 + italic_ϵ ) .

So far we have proved pjp¯j/(1+ϵ)subscript𝑝𝑗subscript¯𝑝𝑗1italic-ϵp_{j}\geq\bar{p}_{j}/(1+\epsilon)italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT / ( 1 + italic_ϵ ) and no type wants to change their preference to a smaller amount of data under p𝑝pitalic_p. If one type purchase at p¯isubscript¯𝑝𝑖\bar{p}_{i}over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT under p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG and pksubscript𝑝𝑘p_{k}italic_p start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT under p𝑝pitalic_p for ki𝑘𝑖k\geq iitalic_k ≥ italic_i, then pkpip¯i/(1+ϵ)subscript𝑝𝑘subscript𝑝𝑖subscript¯𝑝𝑖1italic-ϵp_{k}\geq p_{i}\geq\bar{p}_{i}/(1+\epsilon)italic_p start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ≥ italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≥ over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT / ( 1 + italic_ϵ ). Therefore, we have

rev(p)rev(p¯)/(1+ϵ)rev(p¯)/(1+ϵ).rev𝑝rev¯𝑝1italic-ϵrev¯𝑝1italic-ϵ\displaystyle\mathrm{rev}(p)\geq\mathrm{rev}(\bar{p})/(1+\epsilon)\geq\mathrm{% rev}(\bar{p})/(1+\epsilon).roman_rev ( italic_p ) ≥ roman_rev ( over¯ start_ARG italic_p end_ARG ) / ( 1 + italic_ϵ ) ≥ roman_rev ( over¯ start_ARG italic_p end_ARG ) / ( 1 + italic_ϵ ) .

Since the construction of price p𝑝pitalic_p is not relevant to type distribution, the above holds for any type distribution q𝑞qitalic_q, which proves the subclaim. ∎

Note that p𝑝pitalic_p constructed in the above subclaim is not necessarily non-decreasing as a larger amount of data surfers more price deduction when going from p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG to p𝑝pitalic_p. In this case, we can directly construct a non-decreasing price curve p𝒫¯superscript𝑝¯𝒫p^{\prime}\in\overline{\mathcal{P}}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ∈ over¯ start_ARG caligraphic_P end_ARG from p𝑝pitalic_p such that

rev(p)rev(p¯)/(1+ϵ).revsuperscript𝑝rev¯𝑝1italic-ϵ\displaystyle\mathrm{rev}(p^{\prime})\geq\mathrm{rev}(\bar{p})/(1+\epsilon).roman_rev ( italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ≥ roman_rev ( over¯ start_ARG italic_p end_ARG ) / ( 1 + italic_ϵ ) .

Let S=Δ{i[k]:j<i, s.t. pj>pi}superscriptΔ𝑆conditional-set𝑖delimited-[]𝑘formulae-sequence𝑗𝑖 s.t. subscript𝑝𝑗subscript𝑝𝑖S\stackrel{{\scriptstyle\Delta}}{{=}}\left\{i\in[k]:\exists j<i,\text{ s.t. }p% _{j}>p_{i}\right\}italic_S start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { italic_i ∈ [ italic_k ] : ∃ italic_j < italic_i , s.t. italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT > italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT }. If S𝑆Sitalic_S is empty, this implies that p𝑝pitalic_p is non-decreasing, hence setting p=psuperscript𝑝𝑝p^{\prime}=pitalic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT = italic_p. If S𝑆Sitalic_S is not empty, we define psuperscript𝑝p^{\prime}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT as follows: Let psuperscript𝑝p^{\prime}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT be a k𝑘kitalic_k-step function with the same jump points i1,,iksubscript𝑖1subscript𝑖𝑘i_{1},\dots,i_{k}italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_i start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT as p𝑝pitalic_p. Let pisubscriptsuperscript𝑝𝑖p^{\prime}_{i}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT be the value of psuperscript𝑝p^{\prime}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT on i𝑖iitalic_ith step. Then, for iS𝑖𝑆i\notin Sitalic_i ∉ italic_S, let pi=pisubscriptsuperscript𝑝𝑖subscript𝑝𝑖p^{\prime}_{i}=p_{i}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT; and for iS𝑖𝑆i\in Sitalic_i ∈ italic_S, let pi=maxjS,j<ipjsubscriptsuperscript𝑝𝑖subscriptformulae-sequence𝑗𝑆𝑗𝑖subscript𝑝𝑗p^{\prime}_{i}=\max_{j\notin S,j<i}p_{j}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = roman_max start_POSTSUBSCRIPT italic_j ∉ italic_S , italic_j < italic_i end_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT. By construction, psuperscript𝑝p^{\prime}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT is non-decreasing. Moreover, p=psuperscript𝑝𝑝p^{\prime}=pitalic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT = italic_p on set Scsuperscript𝑆𝑐S^{c}italic_S start_POSTSUPERSCRIPT italic_c end_POSTSUPERSCRIPT and p>psuperscript𝑝𝑝p^{\prime}>pitalic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT > italic_p on set S𝑆Sitalic_S.

Next, we claim that p¯jpjsubscript¯𝑝𝑗subscriptsuperscript𝑝𝑗\bar{p}_{j}-p^{\prime}_{j}over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT is non-decreasing for all j[k]𝑗delimited-[]𝑘j\in[k]italic_j ∈ [ italic_k ]. Both (p¯jpj)j[k]subscriptsubscript¯𝑝𝑗subscript𝑝𝑗𝑗delimited-[]𝑘(\bar{p}_{j}-p_{j})_{j\in[k]}( over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_j ∈ [ italic_k ] end_POSTSUBSCRIPT and p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG are non-decreasing with respect to j𝑗jitalic_j by the previous results. Hence,

p¯jpj<p¯jpjp¯j+1pj+1=p¯j+1pj+1,subscript¯𝑝𝑗subscriptsuperscript𝑝𝑗subscript¯𝑝𝑗subscriptsuperscript𝑝𝑗subscript¯𝑝𝑗1subscript𝑝𝑗1subscript¯𝑝𝑗1subscriptsuperscript𝑝𝑗1\displaystyle\bar{p}_{j}-p^{\prime}_{j}<\bar{p}_{j}-p^{\prime}_{j}\leq\bar{p}_% {j+1}-p_{j+1}=\bar{p}_{j+1}-p^{\prime}_{j+1},over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT < over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≤ over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT = over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT ,  if jS,j+1S,formulae-sequence if 𝑗𝑆𝑗1𝑆\displaystyle\quad\text{ if }j\in S,j+1\notin S,if italic_j ∈ italic_S , italic_j + 1 ∉ italic_S ,
p¯jpj=p¯jpjp¯j+1pj+1=p¯j+1pj+1,subscript¯𝑝𝑗subscriptsuperscript𝑝𝑗subscript¯𝑝𝑗subscriptsuperscript𝑝𝑗subscript¯𝑝𝑗1subscript𝑝𝑗1subscript¯𝑝𝑗1subscriptsuperscript𝑝𝑗1\displaystyle\bar{p}_{j}-p^{\prime}_{j}=\bar{p}_{j}-p^{\prime}_{j}\leq\bar{p}_% {j+1}-p_{j+1}=\bar{p}_{j+1}-p^{\prime}_{j+1},over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≤ over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT = over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT ,  if jS,j+1S,formulae-sequence if 𝑗𝑆𝑗1𝑆\displaystyle\quad\text{ if }j\notin S,j+1\notin S,if italic_j ∉ italic_S , italic_j + 1 ∉ italic_S ,
p¯jpj=p¯jpj+1p¯j+1pj+1,subscript¯𝑝𝑗subscriptsuperscript𝑝𝑗subscript¯𝑝𝑗subscriptsuperscript𝑝𝑗1subscript¯𝑝𝑗1subscriptsuperscript𝑝𝑗1\displaystyle\bar{p}_{j}-p^{\prime}_{j}=\bar{p}_{j}-p^{\prime}_{j+1}\leq\bar{p% }_{j+1}-p^{\prime}_{j+1},over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT ≤ over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT ,  if jS,j+1S,formulae-sequence if 𝑗𝑆𝑗1𝑆\displaystyle\quad\text{ if }j\notin S,j+1\in S,if italic_j ∉ italic_S , italic_j + 1 ∈ italic_S , (as pj+1=pjsubscriptsuperscript𝑝𝑗1subscriptsuperscript𝑝𝑗p^{\prime}_{j+1}=p^{\prime}_{j}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT = italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT)
p¯jpj=p¯jpj+1p¯j+1pj+1,subscript¯𝑝𝑗subscriptsuperscript𝑝𝑗subscript¯𝑝𝑗subscriptsuperscript𝑝𝑗1subscript¯𝑝𝑗1subscriptsuperscript𝑝𝑗1\displaystyle\bar{p}_{j}-p^{\prime}_{j}=\bar{p}_{j}-p^{\prime}_{j+1}\leq\bar{p% }_{j+1}-p^{\prime}_{j+1},over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT ≤ over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT ,  if jS,j+1S.formulae-sequence if 𝑗𝑆𝑗1𝑆\displaystyle\quad\text{ if }j\in S,j+1\in S.if italic_j ∈ italic_S , italic_j + 1 ∈ italic_S . (as pj+1=pjsubscriptsuperscript𝑝𝑗1subscriptsuperscript𝑝𝑗p^{\prime}_{j+1}=p^{\prime}_{j}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j + 1 end_POSTSUBSCRIPT = italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT )

Therefore, any type that prefers to purchase at j𝑗jitalic_jth step under p¯¯𝑝\bar{p}over¯ start_ARG italic_p end_ARG would not prefer purchasing at any step j<jsuperscript𝑗𝑗j^{\prime}<jitalic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_j under psuperscript𝑝p^{\prime}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT, and since pjpjp¯j/(1+ϵ)subscriptsuperscript𝑝𝑗subscript𝑝𝑗subscript¯𝑝𝑗1italic-ϵp^{\prime}_{j}\geq p_{j}\geq\bar{p}_{j}/(1+\epsilon)italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ over¯ start_ARG italic_p end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT / ( 1 + italic_ϵ ), we have

rev(p)rev(p¯)/(1+ϵ)rev(p~)/(1+ϵ).revsuperscript𝑝rev¯𝑝1italic-ϵrev~𝑝1italic-ϵ\displaystyle\mathrm{rev}(p^{\prime})\geq\mathrm{rev}(\bar{p})/(1+\epsilon)% \geq\mathrm{rev}(\widetilde{p})/(1+\epsilon).roman_rev ( italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ≥ roman_rev ( over¯ start_ARG italic_p end_ARG ) / ( 1 + italic_ϵ ) ≥ roman_rev ( over~ start_ARG italic_p end_ARG ) / ( 1 + italic_ϵ ) .

Lemma A.3.

When n>m𝑛𝑚n>mitalic_n > italic_m, |𝒫¯|(eNm)m(e(2+ϵ)log1+ϵ1ϵ)m¯𝒫superscript𝑒𝑁𝑚𝑚superscript𝑒2italic-ϵsubscript1italic-ϵ1italic-ϵ𝑚\left|\overline{\mathcal{P}}\right|\leq\left(\frac{eN}{m}\right)^{m}\left(e% \lceil(2+\epsilon)\rceil\left\lceil\log_{1+\epsilon}\frac{1}{\epsilon}\right% \rceil\right)^{m}| over¯ start_ARG caligraphic_P end_ARG | ≤ ( divide start_ARG italic_e italic_N end_ARG start_ARG italic_m end_ARG ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ( italic_e ⌈ ( 2 + italic_ϵ ) ⌉ ⌈ roman_log start_POSTSUBSCRIPT 1 + italic_ϵ end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG italic_ϵ end_ARG ⌉ ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT.

Proof of Lemma A.3.

For any integer im𝑖𝑚i\leq mitalic_i ≤ italic_m, the number of non-decreasing i𝑖iitalic_i-step price function is (N1i)(|W|i)binomial𝑁1𝑖binomial𝑊𝑖\binom{N-1}{i}\binom{\left|W\right|}{i}( FRACOP start_ARG italic_N - 1 end_ARG start_ARG italic_i end_ARG ) ( FRACOP start_ARG | italic_W | end_ARG start_ARG italic_i end_ARG ), hence we have

|𝒫¯|¯𝒫\displaystyle\left|\overline{\mathcal{P}}\right|| over¯ start_ARG caligraphic_P end_ARG | =i=1m(N1i)(|W|i)absentsuperscriptsubscript𝑖1𝑚binomial𝑁1𝑖binomial𝑊𝑖\displaystyle=\sum_{i=1}^{m}\binom{N-1}{i}\binom{\left|W\right|}{i}= ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ( FRACOP start_ARG italic_N - 1 end_ARG start_ARG italic_i end_ARG ) ( FRACOP start_ARG | italic_W | end_ARG start_ARG italic_i end_ARG )
(i=1m(N1i))(i=1m(|W|i))absentsuperscriptsubscript𝑖1𝑚binomial𝑁1𝑖superscriptsubscript𝑖1𝑚binomial𝑊𝑖\displaystyle\leq\left(\sum_{i=1}^{m}\binom{N-1}{i}\right)\left(\sum_{i=1}^{m}% \binom{\left|W\right|}{i}\right)≤ ( ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ( FRACOP start_ARG italic_N - 1 end_ARG start_ARG italic_i end_ARG ) ) ( ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ( FRACOP start_ARG | italic_W | end_ARG start_ARG italic_i end_ARG ) )
(i=0m(N1i))(i=0m(|W|i))absentsuperscriptsubscript𝑖0𝑚binomial𝑁1𝑖superscriptsubscript𝑖0𝑚binomial𝑊𝑖\displaystyle\leq\left(\sum_{i=0}^{m}\binom{N-1}{i}\right)\left(\sum_{i=0}^{m}% \binom{\left|W\right|}{i}\right)≤ ( ∑ start_POSTSUBSCRIPT italic_i = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ( FRACOP start_ARG italic_N - 1 end_ARG start_ARG italic_i end_ARG ) ) ( ∑ start_POSTSUBSCRIPT italic_i = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ( FRACOP start_ARG | italic_W | end_ARG start_ARG italic_i end_ARG ) )
(e(N1)m)m(e|W|m)mabsentsuperscript𝑒𝑁1𝑚𝑚superscript𝑒𝑊𝑚𝑚\displaystyle\leq\left(\frac{e(N-1)}{m}\right)^{m}\left(\frac{e\left|W\right|}% {m}\right)^{m}≤ ( divide start_ARG italic_e ( italic_N - 1 ) end_ARG start_ARG italic_m end_ARG ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ( divide start_ARG italic_e | italic_W | end_ARG start_ARG italic_m end_ARG ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT
(e(N1)m)m(e(2+ϵ)log1+ϵ1ϵ)mabsentsuperscript𝑒𝑁1𝑚𝑚superscript𝑒2italic-ϵsubscript1italic-ϵ1italic-ϵ𝑚\displaystyle\leq\left(\frac{e(N-1)}{m}\right)^{m}\left(e\lceil(2+\epsilon)% \rceil\left\lceil\log_{1+\epsilon}\frac{1}{\epsilon}\right\rceil\right)^{m}≤ ( divide start_ARG italic_e ( italic_N - 1 ) end_ARG start_ARG italic_m end_ARG ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ( italic_e ⌈ ( 2 + italic_ϵ ) ⌉ ⌈ roman_log start_POSTSUBSCRIPT 1 + italic_ϵ end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG italic_ϵ end_ARG ⌉ ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT

In the last inequality, we use the fact that |W|(2+ϵ)mlog1+ϵ1ϵ𝑊2italic-ϵ𝑚subscript1italic-ϵ1italic-ϵ\left|W\right|\leq\lceil(2+\epsilon)m\rceil\left\lceil\log_{1+\epsilon}\frac{1% }{\epsilon}\right\rceil| italic_W | ≤ ⌈ ( 2 + italic_ϵ ) italic_m ⌉ ⌈ roman_log start_POSTSUBSCRIPT 1 + italic_ϵ end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG italic_ϵ end_ARG ⌉. ∎

Finally, Theorem 3.1 follows directly from the above lemmas. See 3.1

Proof of Theorem 3.1.

Combining Lemma A.1 and Lemma A.2 together, we conclude that there exists price curve p𝒫¯superscript𝑝¯𝒫p^{\prime}\in\overline{\mathcal{P}}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ∈ over¯ start_ARG caligraphic_P end_ARG such that

rev(p)rev(p~)1+ϵOPTϵ1+ϵOPT2ϵ1+ϵ=OPT𝒪(ϵ).revsuperscript𝑝rev~𝑝1italic-ϵOPTitalic-ϵ1italic-ϵOPT2italic-ϵ1italic-ϵOPT𝒪italic-ϵ\displaystyle\mathrm{rev}(p^{\prime})\geq\frac{\mathrm{rev}(\tilde{p})}{1+% \epsilon}\geq\frac{\mathrm{OPT}-\epsilon}{1+\epsilon}\geq\mathrm{OPT}-\frac{2% \epsilon}{1+\epsilon}=\mathrm{OPT}-\mathcal{O}(\epsilon).roman_rev ( italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ≥ divide start_ARG roman_rev ( over~ start_ARG italic_p end_ARG ) end_ARG start_ARG 1 + italic_ϵ end_ARG ≥ divide start_ARG roman_OPT - italic_ϵ end_ARG start_ARG 1 + italic_ϵ end_ARG ≥ roman_OPT - divide start_ARG 2 italic_ϵ end_ARG start_ARG 1 + italic_ϵ end_ARG = roman_OPT - caligraphic_O ( italic_ϵ ) .

The size of 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG follows from Lemma A.3. ∎

A.3 Price discretization scheme for smooth monotonic valuations

Algorithm 5 Price discretization scheme for smooth monotonic valuations
Given: Smoothness constant L𝐿Litalic_L, approximation parameter ϵ>0italic-ϵ0\epsilon>0italic_ϵ > 0.
Let W𝑊Witalic_W be discretization of the valuation space [0,1]01[0,1][ 0 , 1 ] given in Algorithm 1.
Let NSsubscript𝑁SN_{\textbf{S}}italic_N start_POSTSUBSCRIPT S end_POSTSUBSCRIPT be the following discretization of the interval [0,N]0𝑁[0,N][ 0 , italic_N ],
δ=ΔϵNmL,NS=Δ{δk:kNδ}.formulae-sequencesuperscriptΔ𝛿italic-ϵ𝑁𝑚𝐿superscriptΔsubscript𝑁Sconditional-set𝛿𝑘𝑘𝑁𝛿\displaystyle\delta\stackrel{{\scriptstyle\Delta}}{{=}}\left\lfloor\frac{% \epsilon N}{mL}\right\rfloor,\hskip 28.90755ptN_{\textbf{S}}\stackrel{{% \scriptstyle\Delta}}{{=}}\left\{\delta k:\ k\in\left\lceil\frac{N}{\delta}% \right\rceil\right\}.italic_δ start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP ⌊ divide start_ARG italic_ϵ italic_N end_ARG start_ARG italic_m italic_L end_ARG ⌋ , italic_N start_POSTSUBSCRIPT S end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { italic_δ italic_k : italic_k ∈ ⌈ divide start_ARG italic_N end_ARG start_ARG italic_δ end_ARG ⌉ } .
Set 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG to be the class of all “m𝑚mitalic_m-step” functions mapping NSWsubscript𝑁S𝑊N_{\textbf{S}}\to Witalic_N start_POSTSUBSCRIPT S end_POSTSUBSCRIPT → italic_W.

A.4 Proof of Theorem 3.2

Discretization scheme for smooth monotonic valuations. We study discretization schemes to approximate monotone valuations under the smoothness condition in Assumption 1. Our procedure is outlined in Algorithm 5. The discretization W𝑊Witalic_W of the valuation space follows Algorithm 1. Additionally, we uniformly split the data space into multiples of ϵNmLitalic-ϵ𝑁𝑚𝐿\left\lfloor\frac{\epsilon N}{mL}\right\rfloor⌊ divide start_ARG italic_ϵ italic_N end_ARG start_ARG italic_m italic_L end_ARG ⌋, denoting them as the set NSsubscript𝑁SN_{\textbf{S}}italic_N start_POSTSUBSCRIPT S end_POSTSUBSCRIPT. We then set the discretization 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG to be the class of all “m𝑚mitalic_m-step” price curves on the function space NSWsubscript𝑁S𝑊N_{\textbf{S}}\to Witalic_N start_POSTSUBSCRIPT S end_POSTSUBSCRIPT → italic_W. The following theorem, proven in Appendix A.4, outlines the main properties of this discretization scheme: the size of the discretization has no dependence on the number of data N𝑁Nitalic_N.

See 3.2

Proof of Theorem 3.2.

By Lemma 3.1, there is a revenue optimal price curve p:[N][0,1]:superscript𝑝delimited-[]𝑁01p^{\star}:[N]\rightarrow[0,1]italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT : [ italic_N ] → [ 0 , 1 ] which is a k𝑘kitalic_k-step function, for some k[m]𝑘delimited-[]𝑚k\in[m]italic_k ∈ [ italic_m ]. Where psuperscript𝑝p^{\star}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT can be compactly represented as the following set of tuples:

{(n1,p1),(n2,p2),,(nk,pk)},subscriptsuperscript𝑛1subscriptsuperscript𝑝1subscriptsuperscript𝑛2subscriptsuperscript𝑝2subscriptsuperscript𝑛𝑘subscriptsuperscript𝑝𝑘\displaystyle\left\{(n^{\star}_{1},p^{\star}_{1}),(n^{\star}_{2},p^{\star}_{2}% ),\dots,(n^{\star}_{k},p^{\star}_{k})\right\},{ ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) , ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) , … , ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT , italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) } ,

where n1,,nksubscriptsuperscript𝑛1subscriptsuperscript𝑛𝑘n^{\star}_{1},\dots,n^{\star}_{k}italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT denote the locations of jumps and pisubscriptsuperscript𝑝𝑖p^{\star}_{i}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT denote the value of psuperscript𝑝p^{\star}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT on step i[k]𝑖delimited-[]𝑘i\in[k]italic_i ∈ [ italic_k ] (i.e. p(n)=pisuperscript𝑝𝑛subscriptsuperscript𝑝𝑖p^{\star}(n)=p^{\star}_{i}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ( italic_n ) = italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT for n(ni1,ni]𝑛subscriptsuperscript𝑛𝑖1subscriptsuperscript𝑛𝑖n\in(n^{\star}_{i-1},n^{\star}_{i}]italic_n ∈ ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT , italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ]).

Let ϵ¯:=ϵmassign¯italic-ϵitalic-ϵ𝑚\bar{\epsilon}:=\frac{\epsilon}{m}over¯ start_ARG italic_ϵ end_ARG := divide start_ARG italic_ϵ end_ARG start_ARG italic_m end_ARG. Next, we generate a price psuperscript𝑝{p}^{\prime}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT using Algorithm 6, which ensures that the price curve p𝑝pitalic_p generated in the following step (13) is non-decreasing. We demonstrate that in each round of Algorithm 6, we incur a revenue loss of at most ϵ¯¯italic-ϵ\bar{\epsilon}over¯ start_ARG italic_ϵ end_ARG. If pi>pi1+ϵ¯subscriptsuperscript𝑝𝑖subscriptsuperscript𝑝𝑖1¯italic-ϵ{p}^{\prime}_{i}>{p}^{\prime}_{i-1}+\bar{\epsilon}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT > italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT + over¯ start_ARG italic_ϵ end_ARG, everything remains the same and thus does not affect the expected revenue. If not, we combine the price of step i𝑖iitalic_i with step i1𝑖1i-1italic_i - 1, let pj=Δpj(pipi1)superscriptΔsubscriptsuperscript𝑝𝑗subscriptsuperscript𝑝𝑗subscriptsuperscript𝑝𝑖subscriptsuperscript𝑝𝑖1{p}^{\prime}_{j}\stackrel{{\scriptstyle\Delta}}{{=}}{p}^{\prime}_{j}-\left({p}% ^{\prime}_{i}-{p}^{\prime}_{i-1}\right)italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - ( italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT ) for j=i,,k𝑗𝑖𝑘j=i,\dots,kitalic_j = italic_i , … , italic_k. During this process, buyers either make purchases at the same step, or switch to purchase at a higher step. Note that pipi1<ϵ¯subscriptsuperscript𝑝𝑖subscriptsuperscript𝑝𝑖1¯italic-ϵ{p}^{\prime}_{i}-{p}^{\prime}_{i-1}<\bar{\epsilon}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT < over¯ start_ARG italic_ϵ end_ARG, so the revenue loss of each type is at most ϵ¯¯italic-ϵ\bar{\epsilon}over¯ start_ARG italic_ϵ end_ARG. This implies that the revenue loss in each round is at most ϵ¯¯italic-ϵ\bar{\epsilon}over¯ start_ARG italic_ϵ end_ARG. As there are k𝑘kitalic_k rounds, we lose expected revenue of at most mϵ¯𝑚¯italic-ϵm\bar{\epsilon}italic_m over¯ start_ARG italic_ϵ end_ARG. We conclude that rev(p)revsuperscript𝑝\mathrm{rev}({p}^{\prime})roman_rev ( italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) is within a gap of ϵitalic-ϵ\epsilonitalic_ϵ from OPTOPT\mathrm{OPT}roman_OPT, i.e., rev(p)OPTϵrevsuperscript𝑝OPTitalic-ϵ\mathrm{rev}({p}^{\prime})\geq\mathrm{OPT}-\epsilonroman_rev ( italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ≥ roman_OPT - italic_ϵ.

Algorithm 6
Input: Optimal price curve psuperscript𝑝p^{\star}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT.
Let p=psuperscript𝑝superscript𝑝{p}^{\prime}=p^{\star}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT = italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT.
for i=2,,k𝑖2𝑘i=2,\dots,kitalic_i = 2 , … , italic_k do
     if pi<pi1+ϵ¯subscriptsuperscript𝑝𝑖subscriptsuperscript𝑝𝑖1¯italic-ϵ{p}^{\prime}_{i}<{p}^{\prime}_{i-1}+\bar{\epsilon}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT < italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT + over¯ start_ARG italic_ϵ end_ARG then
         for j=i,,k𝑗𝑖𝑘j=i,\dots,kitalic_j = italic_i , … , italic_k do
              pj=pj(pipi1)subscriptsuperscript𝑝𝑗subscriptsuperscript𝑝𝑗subscriptsuperscript𝑝𝑖subscriptsuperscript𝑝𝑖1{p}^{\prime}_{j}={p}^{\prime}_{j}-\left({p}^{\prime}_{i}-{p}^{\prime}_{i-1}\right)italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - ( italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT ).
         end for
     end if
end for
Output: Price curve psuperscript𝑝{p}^{\prime}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT.

After combining some steps in Algorithm 6, Assume that psuperscript𝑝{p}^{\prime}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT is a k¯¯𝑘\bar{k}over¯ start_ARG italic_k end_ARG-step function (k¯k¯𝑘𝑘\bar{k}\leq kover¯ start_ARG italic_k end_ARG ≤ italic_k) represented by

{(n1,p1),(n2,p2),,(nk¯,pk¯)}.subscriptsuperscript𝑛1subscriptsuperscript𝑝1subscriptsuperscript𝑛2subscriptsuperscript𝑝2subscriptsuperscript𝑛¯𝑘subscriptsuperscript𝑝¯𝑘\displaystyle\left\{({n}^{\prime}_{1},{p}^{\prime}_{1}),({n}^{\prime}_{2},{p}^% {\prime}_{2}),\dots,({n}^{\prime}_{\bar{k}},{p}^{\prime}_{\bar{k}})\right\}.{ ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) , ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) , … , ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT over¯ start_ARG italic_k end_ARG end_POSTSUBSCRIPT , italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT over¯ start_ARG italic_k end_ARG end_POSTSUBSCRIPT ) } .

Then, we define a new price curve p𝒫¯𝑝¯𝒫p\in\overline{\mathcal{P}}italic_p ∈ over¯ start_ARG caligraphic_P end_ARG as follows: let δ:=ϵ¯NLassign𝛿¯italic-ϵ𝑁𝐿\delta:=\left\lfloor\frac{\bar{\epsilon}N}{L}\right\rflooritalic_δ := ⌊ divide start_ARG over¯ start_ARG italic_ϵ end_ARG italic_N end_ARG start_ARG italic_L end_ARG ⌋, then p𝑝pitalic_p is a k¯¯𝑘\bar{k}over¯ start_ARG italic_k end_ARG-step function represented by

{(n1,p1),(n2,p2),,(nk¯,pk¯)},subscript𝑛1subscript𝑝1subscript𝑛2subscript𝑝2subscript𝑛¯𝑘subscript𝑝¯𝑘\displaystyle\left\{(n_{1},p_{1}),(n_{2},p_{2}),\dots,(n_{\bar{k}},p_{\bar{k}}% )\right\},{ ( italic_n start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) , ( italic_n start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) , … , ( italic_n start_POSTSUBSCRIPT over¯ start_ARG italic_k end_ARG end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT over¯ start_ARG italic_k end_ARG end_POSTSUBSCRIPT ) } ,

where

ni=Δniδδ,pi=Δpiiϵ¯.formulae-sequencesuperscriptΔsubscript𝑛𝑖subscriptsuperscript𝑛𝑖𝛿𝛿superscriptΔsubscript𝑝𝑖subscriptsuperscript𝑝𝑖𝑖¯italic-ϵ\displaystyle n_{i}\stackrel{{\scriptstyle\Delta}}{{=}}\left\lfloor\frac{{n}^{% \prime}_{i}}{\delta}\right\rfloor\delta,\quad p_{i}\stackrel{{\scriptstyle% \Delta}}{{=}}{p}^{\prime}_{i}-i\bar{\epsilon}.italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP ⌊ divide start_ARG italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG start_ARG italic_δ end_ARG ⌋ italic_δ , italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_i over¯ start_ARG italic_ϵ end_ARG . (13)

First, we show that no buyer who purchases at step i𝑖iitalic_i under psuperscript𝑝{p}^{\prime}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT would purchase at step j<i𝑗𝑖j<iitalic_j < italic_i under p𝑝pitalic_p. Let the buyer’s valuation be v𝑣vitalic_v. First, we prove that the buyer’s utility is non-negative at nisubscript𝑛𝑖n_{i}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT:

v(ni)pi𝑣subscript𝑛𝑖subscript𝑝𝑖\displaystyle v(n_{i})-p_{i}italic_v ( italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT v(ni)δLNpiabsent𝑣subscriptsuperscript𝑛𝑖𝛿𝐿𝑁subscript𝑝𝑖\displaystyle\geq v({n}^{\prime}_{i})-\delta\cdot\frac{L}{N}-p_{i}≥ italic_v ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_δ ⋅ divide start_ARG italic_L end_ARG start_ARG italic_N end_ARG - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT (by L/N𝐿𝑁L/Nitalic_L / italic_N-Smoothness of v𝑣vitalic_v.)
=v(ni)δLNpi+iϵ¯absent𝑣subscriptsuperscript𝑛𝑖𝛿𝐿𝑁subscriptsuperscript𝑝𝑖𝑖¯italic-ϵ\displaystyle=v({n}^{\prime}_{i})-\delta\cdot\frac{L}{N}-{p}^{\prime}_{i}+i% \bar{\epsilon}= italic_v ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_δ ⋅ divide start_ARG italic_L end_ARG start_ARG italic_N end_ARG - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + italic_i over¯ start_ARG italic_ϵ end_ARG
v(ni)ϵ¯pi+iϵ¯absent𝑣subscriptsuperscript𝑛𝑖¯italic-ϵsubscriptsuperscript𝑝𝑖𝑖¯italic-ϵ\displaystyle\geq v({n}^{\prime}_{i})-\bar{\epsilon}-{p}^{\prime}_{i}+i\bar{\epsilon}≥ italic_v ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - over¯ start_ARG italic_ϵ end_ARG - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + italic_i over¯ start_ARG italic_ϵ end_ARG (as δLNLNϵ¯NL=ϵ¯𝛿𝐿𝑁𝐿𝑁¯italic-ϵ𝑁𝐿¯italic-ϵ\delta\cdot\frac{L}{N}\leq\frac{L}{N}\cdot\frac{\bar{\epsilon}N}{L}=\bar{\epsilon}italic_δ ⋅ divide start_ARG italic_L end_ARG start_ARG italic_N end_ARG ≤ divide start_ARG italic_L end_ARG start_ARG italic_N end_ARG ⋅ divide start_ARG over¯ start_ARG italic_ϵ end_ARG italic_N end_ARG start_ARG italic_L end_ARG = over¯ start_ARG italic_ϵ end_ARG.)
=v(ni)pi+(i1)ϵ¯absent𝑣subscriptsuperscript𝑛𝑖subscriptsuperscript𝑝𝑖𝑖1¯italic-ϵ\displaystyle=v({n}^{\prime}_{i})-{p}^{\prime}_{i}+(i-1)\bar{\epsilon}= italic_v ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + ( italic_i - 1 ) over¯ start_ARG italic_ϵ end_ARG
v(ni)piabsent𝑣subscriptsuperscript𝑛𝑖subscriptsuperscript𝑝𝑖\displaystyle\geq v({n}^{\prime}_{i})-{p}^{\prime}_{i}≥ italic_v ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT
0.absent0\displaystyle\geq 0.≥ 0 .

Then, we prove that the buyer’s utility at nisubscript𝑛𝑖n_{i}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT is larger than that of njsubscript𝑛𝑗n_{j}italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT for j<i𝑗𝑖j<iitalic_j < italic_i, therefore, the buyer would not prefer buying at step j<i𝑗𝑖j<iitalic_j < italic_i under price p𝑝pitalic_p.

v(ni)pi(v(nj)pj)𝑣subscript𝑛𝑖subscript𝑝𝑖𝑣subscript𝑛𝑗subscript𝑝𝑗\displaystyle v(n_{i})-p_{i}-(v(n_{j})-p_{j})italic_v ( italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - ( italic_v ( italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) v(ni)δLNv(nj)(pipj)absent𝑣subscriptsuperscript𝑛𝑖𝛿𝐿𝑁𝑣subscriptsuperscript𝑛𝑗subscript𝑝𝑖subscript𝑝𝑗\displaystyle\geq v({n}^{\prime}_{i})-\delta\cdot\frac{L}{N}-v({n}^{\prime}_{j% })-(p_{i}-p_{j})≥ italic_v ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_δ ⋅ divide start_ARG italic_L end_ARG start_ARG italic_N end_ARG - italic_v ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - ( italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) (by L/N𝐿𝑁L/Nitalic_L / italic_N-Smoothness of v𝑣vitalic_v.)
=v(ni)δLNv(nj)(pipj(ij)ϵ¯)absent𝑣subscriptsuperscript𝑛𝑖𝛿𝐿𝑁𝑣subscriptsuperscript𝑛𝑗subscriptsuperscript𝑝𝑖subscriptsuperscript𝑝𝑗𝑖𝑗¯italic-ϵ\displaystyle=v({n}^{\prime}_{i})-\delta\cdot\frac{L}{N}-v({n}^{\prime}_{j})-(% {p}^{\prime}_{i}-{p}^{\prime}_{j}-(i-j)\bar{\epsilon})= italic_v ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_δ ⋅ divide start_ARG italic_L end_ARG start_ARG italic_N end_ARG - italic_v ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - ( italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - ( italic_i - italic_j ) over¯ start_ARG italic_ϵ end_ARG )
v(ni)ϵ¯v(nj)(pipj(ij)ϵ¯)absent𝑣subscriptsuperscript𝑛𝑖¯italic-ϵ𝑣subscriptsuperscript𝑛𝑗subscriptsuperscript𝑝𝑖subscriptsuperscript𝑝𝑗𝑖𝑗¯italic-ϵ\displaystyle\geq v({n}^{\prime}_{i})-\bar{\epsilon}-v({n}^{\prime}_{j})-({p}^% {\prime}_{i}-{p}^{\prime}_{j}-(i-j)\bar{\epsilon})≥ italic_v ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - over¯ start_ARG italic_ϵ end_ARG - italic_v ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - ( italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - ( italic_i - italic_j ) over¯ start_ARG italic_ϵ end_ARG ) (as δLNLNϵ¯NL=ϵ¯𝛿𝐿𝑁𝐿𝑁¯italic-ϵ𝑁𝐿¯italic-ϵ\delta\cdot\frac{L}{N}\leq\frac{L}{N}\cdot\frac{\bar{\epsilon}N}{L}=\bar{\epsilon}italic_δ ⋅ divide start_ARG italic_L end_ARG start_ARG italic_N end_ARG ≤ divide start_ARG italic_L end_ARG start_ARG italic_N end_ARG ⋅ divide start_ARG over¯ start_ARG italic_ϵ end_ARG italic_N end_ARG start_ARG italic_L end_ARG = over¯ start_ARG italic_ϵ end_ARG)
=(v(ni)pi)(v(nj)pj)+(ij1)ϵ¯absent𝑣subscriptsuperscript𝑛𝑖subscriptsuperscript𝑝𝑖𝑣subscriptsuperscript𝑛𝑗subscriptsuperscript𝑝𝑗𝑖𝑗1¯italic-ϵ\displaystyle=(v({n}^{\prime}_{i})-{p}^{\prime}_{i})-(v({n}^{\prime}_{j})-{p}^% {\prime}_{j})+(i-j-1)\bar{\epsilon}= ( italic_v ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - ( italic_v ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) + ( italic_i - italic_j - 1 ) over¯ start_ARG italic_ϵ end_ARG
(v(ni)pi)(v(nj)pj)absent𝑣subscriptsuperscript𝑛𝑖subscriptsuperscript𝑝𝑖𝑣subscriptsuperscript𝑛𝑗subscriptsuperscript𝑝𝑗\displaystyle\geq(v({n}^{\prime}_{i})-{p}^{\prime}_{i})-(v({n}^{\prime}_{j})-{% p}^{\prime}_{j})≥ ( italic_v ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - ( italic_v ( italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) (as i>j𝑖𝑗i>jitalic_i > italic_j)
0.absent0\displaystyle\geq 0.≥ 0 . (as the buyer prefers nisubscript𝑛𝑖n_{i}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT than nksubscript𝑛𝑘n_{k}italic_n start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT under psuperscript𝑝{p}^{\prime}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT.)

Finally, fix the type distribution (q1,,qm)subscript𝑞1subscript𝑞𝑚(q_{1},\dots,q_{m})( italic_q start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_q start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT ), then we have

rev(p)rev(p)revsuperscript𝑝rev𝑝\displaystyle\mathrm{rev}({p}^{\prime})-\mathrm{rev}(p)roman_rev ( italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) - roman_rev ( italic_p ) h=1mqh(i=1k(pipi)𝕀(Type j purchase at pi under price p))absentsuperscriptsubscript1𝑚subscript𝑞superscriptsubscript𝑖1𝑘subscriptsuperscript𝑝𝑖subscript𝑝𝑖𝕀Type j purchase at subscriptsuperscript𝑝𝑖 under price superscript𝑝\displaystyle\leq\sum_{h=1}^{m}q_{h}\left(\sum_{i=1}^{k}({p}^{\prime}_{i}-p_{i% })\cdot\mathbbm{I}(\text{Type $j$ purchase at }{p}^{\prime}_{i}\text{ under % price }{p}^{\prime})\right)≤ ∑ start_POSTSUBSCRIPT italic_h = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT italic_q start_POSTSUBSCRIPT italic_h end_POSTSUBSCRIPT ( ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT ( italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) ⋅ blackboard_I ( Type italic_j purchase at italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT under price italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) )
mϵ¯absent𝑚¯italic-ϵ\displaystyle\leq m\bar{\epsilon}≤ italic_m over¯ start_ARG italic_ϵ end_ARG
=ϵ.absentitalic-ϵ\displaystyle=\epsilon.= italic_ϵ . (as ϵ=mϵ¯italic-ϵ𝑚¯italic-ϵ\epsilon=m\bar{\epsilon}italic_ϵ = italic_m over¯ start_ARG italic_ϵ end_ARG.)

Hence, rev(p)rev𝑝\mathrm{rev}(p)roman_rev ( italic_p ) is within a gap of 2ϵ2italic-ϵ2\epsilon2 italic_ϵ from OPTOPT\mathrm{OPT}roman_OPT.

We then apply Theorem 3.1 to price p𝑝pitalic_p. Therefore, it is enough to consider price functions from the set NS=Δ{kδ:k=1,,Nδ}[N]superscriptΔsubscript𝑁Sconditional-set𝑘𝛿𝑘1𝑁𝛿delimited-[]𝑁N_{\textbf{S}}\stackrel{{\scriptstyle\Delta}}{{=}}\left\{k\delta:k=1,\dots,% \left\lceil\frac{N}{\delta}\right\rceil\right\}\subseteq[N]italic_N start_POSTSUBSCRIPT S end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { italic_k italic_δ : italic_k = 1 , … , ⌈ divide start_ARG italic_N end_ARG start_ARG italic_δ end_ARG ⌉ } ⊆ [ italic_N ] to W𝑊Witalic_W to approximate the revenue within 𝒪(ϵ)𝒪italic-ϵ\mathcal{O}(\epsilon)caligraphic_O ( italic_ϵ ) gap. Moreover, this discretization is of the size Nδ|W|𝒪((log1+ϵ(1ϵ))m(Lϵ)m)superscript𝑁𝛿𝑊𝒪superscriptsubscript1italic-ϵ1italic-ϵ𝑚superscript𝐿italic-ϵ𝑚\left\lceil\frac{N}{\delta}\right\rceil^{|W|}\in\mathcal{O}\left(\left(\log_{1% +\epsilon}\left(\frac{1}{\epsilon}\right)\right)^{m}\left(\frac{L}{\epsilon}% \right)^{m}\right)⌈ divide start_ARG italic_N end_ARG start_ARG italic_δ end_ARG ⌉ start_POSTSUPERSCRIPT | italic_W | end_POSTSUPERSCRIPT ∈ caligraphic_O ( ( roman_log start_POSTSUBSCRIPT 1 + italic_ϵ end_POSTSUBSCRIPT ( divide start_ARG 1 end_ARG start_ARG italic_ϵ end_ARG ) ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ( divide start_ARG italic_L end_ARG start_ARG italic_ϵ end_ARG ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ) as Nδ𝒪(Lmϵ)𝑁𝛿𝒪𝐿𝑚italic-ϵ\left\lceil\frac{N}{\delta}\right\rceil\in\mathcal{O}\left(\frac{Lm}{\epsilon}\right)⌈ divide start_ARG italic_N end_ARG start_ARG italic_δ end_ARG ⌉ ∈ caligraphic_O ( divide start_ARG italic_L italic_m end_ARG start_ARG italic_ϵ end_ARG ). ∎

A.5 Proof of Theorem 3.3

See 3.3

Proof of Theorem 3.3.

For each i=0,1,,log1+ϵ2(Nϵ22Jm)𝑖01subscript1superscriptitalic-ϵ2𝑁superscriptitalic-ϵ22𝐽𝑚i=0,1,\dots,\left\lceil\log_{1+\epsilon^{2}}\left(\frac{N\epsilon^{2}}{2Jm}% \right)\right\rceilitalic_i = 0 , 1 , … , ⌈ roman_log start_POSTSUBSCRIPT 1 + italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ( divide start_ARG italic_N italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_J italic_m end_ARG ) ⌉, let Yi=Δ2Jmϵ2(1+ϵ2)isuperscriptΔsubscript𝑌𝑖2𝐽𝑚superscriptitalic-ϵ2superscript1superscriptitalic-ϵ2𝑖Y_{i}\stackrel{{\scriptstyle\Delta}}{{=}}\left\lfloor\frac{2Jm}{\epsilon^{2}}(% 1+\epsilon^{2})^{i}\right\rflooritalic_Y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP ⌊ divide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ( 1 + italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT ⌋, and Qisubscript𝑄𝑖Q_{i}italic_Q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT be the set {Yi+Yiϵ22Jmk:k=1,,2Jm}conditional-setsubscript𝑌𝑖subscript𝑌𝑖superscriptitalic-ϵ22𝐽𝑚𝑘𝑘12𝐽𝑚\left\{\left\lfloor Y_{i}+\frac{Y_{i}\epsilon^{2}}{2Jm}k\right\rfloor:k=1,% \dots,\left\lfloor 2Jm\right\rfloor\right\}{ ⌊ italic_Y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + divide start_ARG italic_Y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_J italic_m end_ARG italic_k ⌋ : italic_k = 1 , … , ⌊ 2 italic_J italic_m ⌋ }, i.e., Qisubscript𝑄𝑖Q_{i}italic_Q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT splits the interval [Yi,Yi+1]subscript𝑌𝑖subscript𝑌𝑖1[Y_{i},Y_{i+1}][ italic_Y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_Y start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT ] equally into 2mJ2𝑚𝐽2mJ2 italic_m italic_J parts.

The union of Qisubscript𝑄𝑖Q_{i}italic_Q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPTs and the set {1,2,,2Jmϵ2}122𝐽𝑚superscriptitalic-ϵ2\left\{1,2,\dots,\left\lfloor\frac{2Jm}{\epsilon^{2}}\right\rfloor\right\}{ 1 , 2 , … , ⌊ divide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ⌋ } form a set of grids on [0,N]0𝑁[0,N][ 0 , italic_N ], denoted by NDsubscript𝑁DN_{\textbf{D}}italic_N start_POSTSUBSCRIPT D end_POSTSUBSCRIPT. There are at most 2Jmϵ2+2Jmlog1+ϵ2(Nϵ22Jm)2𝐽𝑚superscriptitalic-ϵ22𝐽𝑚subscript1superscriptitalic-ϵ2𝑁superscriptitalic-ϵ22𝐽𝑚\frac{2Jm}{\epsilon^{2}}+2Jm\log_{1+\epsilon^{2}}\left(\frac{N\epsilon^{2}}{2% Jm}\right)divide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG + 2 italic_J italic_m roman_log start_POSTSUBSCRIPT 1 + italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ( divide start_ARG italic_N italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_J italic_m end_ARG ) grids in total.

By Lemma 3.1, there is a revenue optimal price curve p:[N][0,1]:superscript𝑝delimited-[]𝑁01p^{\star}:[N]\rightarrow[0,1]italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT : [ italic_N ] → [ 0 , 1 ] which is a k𝑘kitalic_k-step function, for some k[m]𝑘delimited-[]𝑚k\in[m]italic_k ∈ [ italic_m ]. Where psuperscript𝑝p^{\star}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT can be compactly represented as the following set of tuples:

{(n1,p1),(n2,p2),,(nk,pk)},subscriptsuperscript𝑛1subscriptsuperscript𝑝1subscriptsuperscript𝑛2subscriptsuperscript𝑝2subscriptsuperscript𝑛𝑘subscriptsuperscript𝑝𝑘\displaystyle\left\{(n^{\star}_{1},p^{\star}_{1}),(n^{\star}_{2},p^{\star}_{2}% ),\dots,(n^{\star}_{k},p^{\star}_{k})\right\},{ ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) , ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) , … , ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT , italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) } ,

where n1,,nksubscriptsuperscript𝑛1subscriptsuperscript𝑛𝑘{n}^{\star}_{1},\dots,{n}^{\star}_{k}italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT denote the locations of jumps and pisubscriptsuperscript𝑝𝑖p^{\star}_{i}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT denote the value of psuperscript𝑝p^{\star}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT on step i[k]𝑖delimited-[]𝑘i\in[k]italic_i ∈ [ italic_k ] (i.e. p(n)=pisuperscript𝑝𝑛subscriptsuperscript𝑝𝑖p^{\star}(n)=p^{\star}_{i}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ( italic_n ) = italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT for n(ni1,ni]𝑛subscriptsuperscript𝑛𝑖1subscriptsuperscript𝑛𝑖n\in(n^{\star}_{i-1},n^{\star}_{i}]italic_n ∈ ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT , italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ]).

Then, define a new k𝑘kitalic_k-step price curve p𝑝pitalic_p via

{(n1,p1),(n2,p2),,(nk,pk)},subscript𝑛1subscript𝑝1subscript𝑛2subscript𝑝2subscript𝑛𝑘subscript𝑝𝑘\displaystyle\left\{(n_{1},p_{1}),(n_{2},p_{2}),\dots,(n_{k},p_{k})\right\},{ ( italic_n start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) , ( italic_n start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) , … , ( italic_n start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) } ,

where nisubscript𝑛𝑖n_{i}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT is given by

nisubscript𝑛𝑖\displaystyle n_{i}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT round down ni to the closest grid in ND.absentround down subscriptsuperscript𝑛𝑖 to the closest grid in subscript𝑁D\displaystyle\leftarrow\text{round down }n^{\star}_{i}\text{ to the closest % grid in }N_{\textbf{D}}.← round down italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT to the closest grid in italic_N start_POSTSUBSCRIPT D end_POSTSUBSCRIPT .

Then we define pisubscript𝑝𝑖p_{i}italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT below. If pi<ϵ(1+ϵ)subscriptsuperscript𝑝𝑖italic-ϵ1italic-ϵp^{\star}_{i}<\epsilon(1+\epsilon)italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT < italic_ϵ ( 1 + italic_ϵ ), let pi=ϵ(1+ϵ)subscript𝑝𝑖italic-ϵ1italic-ϵp_{i}=\epsilon(1+\epsilon)italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = italic_ϵ ( 1 + italic_ϵ ); otherwise, let Znisubscript𝑍subscriptsuperscript𝑛𝑖Z_{n^{\star}_{i}}italic_Z start_POSTSUBSCRIPT italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT be the price obtained by rounding pisubscriptsuperscript𝑝𝑖p^{\star}_{i}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT down to the nearest value in Z𝑍Zitalic_Z. By constructions of Z𝑍Zitalic_Z and W𝑊Witalic_W above, Wnisubscript𝑊subscriptsuperscript𝑛𝑖W_{n^{\star}_{i}}italic_W start_POSTSUBSCRIPT italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT is a partition of interval (Zni1,Zni+1)subscript𝑍subscriptsuperscript𝑛𝑖1subscript𝑍subscriptsuperscript𝑛𝑖1(Z_{n^{\star}_{i}-1},Z_{n^{\star}_{i}+1})( italic_Z start_POSTSUBSCRIPT italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT , italic_Z start_POSTSUBSCRIPT italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + 1 end_POSTSUBSCRIPT ). Let wisubscript𝑤𝑖w_{i}italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT be the price obtained by rounding pisubscriptsuperscript𝑝𝑖p^{\star}_{i}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT down to the nearest value in Wnisubscript𝑊subscriptsuperscript𝑛𝑖W_{n^{\star}_{i}}italic_W start_POSTSUBSCRIPT italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT. Set di=ΔϵmZni1superscriptΔsubscript𝑑𝑖italic-ϵ𝑚subscript𝑍subscriptsuperscript𝑛𝑖1d_{i}\stackrel{{\scriptstyle\Delta}}{{=}}\frac{\epsilon}{m}\cdot Z_{n^{\star}_% {i}-1}italic_d start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP divide start_ARG italic_ϵ end_ARG start_ARG italic_m end_ARG ⋅ italic_Z start_POSTSUBSCRIPT italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT. Then define pi=ΔwiidiWnisuperscriptΔsubscript𝑝𝑖subscript𝑤𝑖𝑖subscript𝑑𝑖subscript𝑊subscriptsuperscript𝑛𝑖p_{i}\stackrel{{\scriptstyle\Delta}}{{=}}w_{i}-i\cdot d_{i}\in W_{n^{\star}_{i}}italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_i ⋅ italic_d start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ∈ italic_W start_POSTSUBSCRIPT italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT.

First, we prove for i𝑖iitalic_i satisfying pi>ϵ(1+ϵ)subscriptsuperscript𝑝𝑖italic-ϵ1italic-ϵp^{\star}_{i}>\epsilon(1+\epsilon)italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT > italic_ϵ ( 1 + italic_ϵ ), if a buyer purchases at nisubscript𝑛𝑖n_{i}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT under price psuperscript𝑝p^{\star}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT, she will not purchase at nj,j<isubscript𝑛𝑗𝑗𝑖n_{j},\,j<iitalic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT , italic_j < italic_i under new price p𝑝pitalic_p. We prove this property separately when ni2Jmϵ2subscript𝑛𝑖2𝐽𝑚superscriptitalic-ϵ2n_{i}\leq\frac{2Jm}{\epsilon^{2}}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≤ divide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG and ni>2Jmϵ2subscript𝑛𝑖2𝐽𝑚superscriptitalic-ϵ2n_{i}>\frac{2Jm}{\epsilon^{2}}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT > divide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG.

(i) When ni>2Jmϵ2subscript𝑛𝑖2𝐽𝑚superscriptitalic-ϵ2n_{i}>\frac{2Jm}{\epsilon^{2}}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT > divide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG.

The buyer’s utility at nisubscript𝑛𝑖n_{i}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT under price p𝑝pitalic_p is,

v(ni)pi=v(nj)pi+(pipi(v(ni)v(ni))).𝑣subscript𝑛𝑖subscript𝑝𝑖𝑣subscriptsuperscript𝑛𝑗subscriptsuperscript𝑝𝑖subscriptsuperscript𝑝𝑖subscript𝑝𝑖𝑣subscriptsuperscript𝑛𝑖𝑣subscript𝑛𝑖\displaystyle v(n_{i})-p_{i}=v(n^{\star}_{j})-p^{\star}_{i}+\left(p^{\star}_{i% }-p_{i}-\left(v(n^{\star}_{i})-v(n_{i})\right)\right).italic_v ( italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - ( italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_v ( italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) ) ) . (14)

Let δi=Δv(ni)v(ni)superscriptΔsubscript𝛿𝑖𝑣subscriptsuperscript𝑛𝑖𝑣subscript𝑛𝑖\delta_{i}\stackrel{{\scriptstyle\Delta}}{{=}}v(n^{\star}_{i})-v(n_{i})italic_δ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_v ( italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ). Then δisubscript𝛿𝑖\delta_{i}italic_δ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT is upper bounded by,

δisubscript𝛿𝑖\displaystyle\delta_{i}italic_δ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT =h=nini1v(h+1)v(h)h=nini1JhJni(nini)absentsuperscriptsubscriptsubscript𝑛𝑖subscriptsuperscript𝑛𝑖1𝑣1𝑣superscriptsubscriptsubscript𝑛𝑖subscriptsuperscript𝑛𝑖1𝐽𝐽subscript𝑛𝑖subscriptsuperscript𝑛𝑖subscript𝑛𝑖\displaystyle=\sum_{h=n_{i}}^{n^{\star}_{i}-1}v(h+1)-v(h)\leq\sum_{h=n_{i}}^{n% ^{\star}_{i}-1}\frac{J}{h}\leq\frac{J}{n_{i}}(n^{\star}_{i}-n_{i})= ∑ start_POSTSUBSCRIPT italic_h = italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - 1 end_POSTSUPERSCRIPT italic_v ( italic_h + 1 ) - italic_v ( italic_h ) ≤ ∑ start_POSTSUBSCRIPT italic_h = italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - 1 end_POSTSUPERSCRIPT divide start_ARG italic_J end_ARG start_ARG italic_h end_ARG ≤ divide start_ARG italic_J end_ARG start_ARG italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT )
Jni(niϵ22mJ+1)=ϵ22m+Jniϵ22m+ϵ22m=ϵ2m,absent𝐽subscript𝑛𝑖subscript𝑛𝑖superscriptitalic-ϵ22𝑚𝐽1superscriptitalic-ϵ22𝑚𝐽subscript𝑛𝑖superscriptitalic-ϵ22𝑚superscriptitalic-ϵ22𝑚superscriptitalic-ϵ2𝑚\displaystyle\leq\frac{J}{n_{i}}\cdot\left(n_{i}\cdot\frac{\epsilon^{2}}{2mJ}+% 1\right)=\frac{\epsilon^{2}}{2m}+\frac{J}{n_{i}}\leq\frac{\epsilon^{2}}{2m}+% \frac{\epsilon^{2}}{2m}=\frac{\epsilon^{2}}{m},≤ divide start_ARG italic_J end_ARG start_ARG italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ⋅ ( italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_m italic_J end_ARG + 1 ) = divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_m end_ARG + divide start_ARG italic_J end_ARG start_ARG italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ≤ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_m end_ARG + divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_m end_ARG = divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_m end_ARG , (15)

where the third inequality is due to Lemma A.4.

By the construction of p𝑝pitalic_p, we have

pipi=Zni1ϵimϵ2imϵ2mδi.subscriptsuperscript𝑝𝑖subscript𝑝𝑖subscript𝑍subscript𝑛𝑖1italic-ϵ𝑖𝑚superscriptitalic-ϵ2𝑖𝑚superscriptitalic-ϵ2𝑚subscript𝛿𝑖\displaystyle p^{\star}_{i}-p_{i}=Z_{n_{i}-1}\cdot\frac{\epsilon i}{m}\geq% \frac{\epsilon^{2}i}{m}\geq\frac{\epsilon^{2}}{m}\geq\delta_{i}.italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = italic_Z start_POSTSUBSCRIPT italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ italic_i end_ARG start_ARG italic_m end_ARG ≥ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_i end_ARG start_ARG italic_m end_ARG ≥ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_m end_ARG ≥ italic_δ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT . (16)

Therefore, by (14), v(ni)piv(ni)pi0𝑣subscript𝑛𝑖subscript𝑝𝑖𝑣subscriptsuperscript𝑛𝑖subscriptsuperscript𝑝𝑖0v(n_{i})-p_{i}\geq v(n^{\star}_{i})-p^{\star}_{i}\geq 0italic_v ( italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≥ italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≥ 0, buyer’s utility at nisubscript𝑛𝑖n_{i}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT under price p𝑝pitalic_p is non-negative.

Next, we claim that v(ni)pi(v(nj)pj)0𝑣subscript𝑛𝑖subscript𝑝𝑖𝑣subscript𝑛𝑗subscript𝑝𝑗0v(n_{i})-p_{i}-\left(v(n_{j})-p_{j}\right)\geq 0italic_v ( italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - ( italic_v ( italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) ≥ 0. To prove this, for any j<i𝑗𝑖j<iitalic_j < italic_i, let δj=Δv(nj)v(nj)superscriptΔsubscript𝛿𝑗𝑣subscriptsuperscript𝑛𝑗𝑣subscript𝑛𝑗\delta_{j}\stackrel{{\scriptstyle\Delta}}{{=}}v(n^{\star}_{j})-v(n_{j})italic_δ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_v ( italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ), then we have

v(ni)pi(v(nj)pj)𝑣subscript𝑛𝑖subscript𝑝𝑖𝑣subscript𝑛𝑗subscript𝑝𝑗\displaystyle v(n_{i})-p_{i}-\left(v(n_{j})-p_{j}\right)italic_v ( italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - ( italic_v ( italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT )
=v(ni)pi(v(nj)pj)+(pipiδi)(pjpjδj)absent𝑣subscriptsuperscript𝑛𝑖subscriptsuperscript𝑝𝑖𝑣subscriptsuperscript𝑛𝑗subscriptsuperscript𝑝𝑗subscriptsuperscript𝑝𝑖subscript𝑝𝑖subscript𝛿𝑖subscriptsuperscript𝑝𝑗subscript𝑝𝑗subscript𝛿𝑗\displaystyle\hskip 72.26999pt={v(n^{\star}_{i})-p^{\star}_{i}-(v(n^{\star}_{j% })-p^{\star}_{j})}+(p^{\star}_{i}-p_{i}-\delta_{i})-(p^{\star}_{j}-p_{j}-% \delta_{j})= italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - ( italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) + ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_δ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_δ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT )

Where v(ni)pi(v(nj)pj)0𝑣subscriptsuperscript𝑛𝑖subscriptsuperscript𝑝𝑖𝑣subscriptsuperscript𝑛𝑗subscriptsuperscript𝑝𝑗0{v(n^{\star}_{i})-p^{\star}_{i}-(v(n^{\star}_{j})-p^{\star}_{j})}\geq 0italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - ( italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) ≥ 0 because the buyer prefers nisubscriptsuperscript𝑛𝑖n^{\star}_{i}italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT over njsubscriptsuperscript𝑛𝑗n^{\star}_{j}italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT under price psuperscript𝑝p^{\star}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT. Recall that we have δj0subscript𝛿𝑗0\delta_{j}\geq 0italic_δ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≥ 0, then we bound δiδjsubscript𝛿𝑖subscript𝛿𝑗\delta_{i}-\delta_{j}italic_δ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_δ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT as follows,

δiδjδiϵ2m.subscript𝛿𝑖subscript𝛿𝑗subscript𝛿𝑖superscriptitalic-ϵ2𝑚\displaystyle\delta_{i}-\delta_{j}\leq\delta_{i}\leq\frac{\epsilon^{2}}{m}.italic_δ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_δ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≤ italic_δ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≤ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_m end_ARG . (17)

By the construction of pisubscript𝑝𝑖p_{i}italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, we have,

pipi(pjpj)subscriptsuperscript𝑝𝑖subscript𝑝𝑖subscriptsuperscript𝑝𝑗subscript𝑝𝑗\displaystyle p^{\star}_{i}-p_{i}-(p^{\star}_{j}-p_{j})italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) =Zni1ϵimZnj1ϵjmabsentsubscript𝑍subscript𝑛𝑖1italic-ϵ𝑖𝑚subscript𝑍subscript𝑛𝑗1italic-ϵ𝑗𝑚\displaystyle=Z_{n_{i}-1}\cdot\frac{\epsilon i}{m}-Z_{n_{j}-1}\cdot\frac{% \epsilon j}{m}= italic_Z start_POSTSUBSCRIPT italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ italic_i end_ARG start_ARG italic_m end_ARG - italic_Z start_POSTSUBSCRIPT italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ italic_j end_ARG start_ARG italic_m end_ARG
Znj1(ϵimϵjm)absentsubscript𝑍subscript𝑛𝑗1italic-ϵ𝑖𝑚italic-ϵ𝑗𝑚\displaystyle\geq Z_{n_{j}-1}\cdot\left(\frac{\epsilon i}{m}-\frac{\epsilon j}% {m}\right)≥ italic_Z start_POSTSUBSCRIPT italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT ⋅ ( divide start_ARG italic_ϵ italic_i end_ARG start_ARG italic_m end_ARG - divide start_ARG italic_ϵ italic_j end_ARG start_ARG italic_m end_ARG ) (as Zni1Znj1subscript𝑍subscript𝑛𝑖1subscript𝑍subscript𝑛𝑗1Z_{n_{i}-1}\geq Z_{n_{j}-1}italic_Z start_POSTSUBSCRIPT italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT ≥ italic_Z start_POSTSUBSCRIPT italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT)
Znj1(ϵm)absentsubscript𝑍subscript𝑛𝑗1italic-ϵ𝑚\displaystyle\geq Z_{n_{j}-1}\cdot\left(\frac{\epsilon}{m}\right)≥ italic_Z start_POSTSUBSCRIPT italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - 1 end_POSTSUBSCRIPT ⋅ ( divide start_ARG italic_ϵ end_ARG start_ARG italic_m end_ARG ) (as i>j𝑖𝑗i>jitalic_i > italic_j)
ϵ2m.absentsuperscriptitalic-ϵ2𝑚\displaystyle\geq\frac{\epsilon^{2}}{m}.≥ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_m end_ARG . (18)

Therefore, combining (17) and (18) together, we have

v(ni)pi(v(nj)pj)v(ni)pi(v(nj)pj)0.𝑣subscript𝑛𝑖subscript𝑝𝑖𝑣subscript𝑛𝑗subscript𝑝𝑗𝑣subscriptsuperscript𝑛𝑖subscriptsuperscript𝑝𝑖𝑣subscriptsuperscript𝑛𝑗subscriptsuperscript𝑝𝑗0\displaystyle v(n_{i})-p_{i}-\left(v(n_{j})-p_{j}\right)\geq{v(n^{\star}_{i})-% p^{\star}_{i}-(v(n^{\star}_{j})-p^{\star}_{j})}\geq 0.italic_v ( italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - ( italic_v ( italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) ≥ italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - ( italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) ≥ 0 .

We conclude that under price p𝑝pitalic_p, the buyer prefers nisubscript𝑛𝑖n_{i}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT over njsubscript𝑛𝑗n_{j}italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT, for any j<i𝑗𝑖j<iitalic_j < italic_i.

(ii) When ni2Jmϵ2subscript𝑛𝑖2𝐽𝑚superscriptitalic-ϵ2n_{i}\leq\frac{2Jm}{\epsilon^{2}}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≤ divide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG.

In this case, ni=nisubscript𝑛𝑖subscriptsuperscript𝑛𝑖n_{i}=n^{\star}_{i}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, and for any j<i𝑗𝑖j<iitalic_j < italic_i, we still have nj=njsubscript𝑛𝑗subscriptsuperscript𝑛𝑗n_{j}=n^{\star}_{j}italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT. First, we prove the buyer’s utility at nisubscriptsuperscript𝑛𝑖n^{\prime}_{i}italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT under p𝑝pitalic_p is non-negative:

v(ni)pi𝑣subscript𝑛𝑖subscript𝑝𝑖\displaystyle v(n_{i})-p_{i}italic_v ( italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT =v(ni)piabsent𝑣subscriptsuperscript𝑛𝑖subscript𝑝𝑖\displaystyle=v(n^{\star}_{i})-p_{i}= italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT
=v(ni)pi+(pipi)absent𝑣subscriptsuperscript𝑛𝑖subscriptsuperscript𝑝𝑖subscriptsuperscript𝑝𝑖subscript𝑝𝑖\displaystyle=v(n^{\star}_{i})-p^{\star}_{i}+(p^{\star}_{i}-p_{i})= italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT )
v(ni)piabsent𝑣subscriptsuperscript𝑛𝑖subscriptsuperscript𝑝𝑖\displaystyle\geq v(n^{\star}_{i})-p^{\star}_{i}≥ italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT
0.absent0\displaystyle\geq 0.≥ 0 .

Then, we show that the buyer prefers nisubscript𝑛𝑖n_{i}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT over njsubscript𝑛𝑗n_{j}italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT under p𝑝pitalic_p:

v(ni)pi(v(nj)pj)𝑣subscript𝑛𝑖subscript𝑝𝑖𝑣subscript𝑛𝑗subscript𝑝𝑗\displaystyle v(n_{i})-p_{i}-\left(v(n_{j})-p_{j}\right)italic_v ( italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - ( italic_v ( italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) =v(ni)pi(v(nj)pj)+(pipiδi)(pjpjδj)absent𝑣subscriptsuperscript𝑛𝑖subscriptsuperscript𝑝𝑖𝑣subscriptsuperscript𝑛𝑗subscriptsuperscript𝑝𝑗subscriptsuperscript𝑝𝑖subscript𝑝𝑖subscript𝛿𝑖subscriptsuperscript𝑝𝑗subscript𝑝𝑗subscript𝛿𝑗\displaystyle={v(n^{\star}_{i})-p^{\star}_{i}-(v(n^{\star}_{j})-p^{\star}_{j})% }+(p^{\star}_{i}-p_{i}-\delta_{i})-(p^{\star}_{j}-p_{j}-\delta_{j})= italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - ( italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) + ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_δ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_δ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT )
=v(ni)pi(v(nj)pj)+(pipi)(pjpj)absent𝑣subscriptsuperscript𝑛𝑖subscriptsuperscript𝑝𝑖𝑣subscriptsuperscript𝑛𝑗subscriptsuperscript𝑝𝑗subscriptsuperscript𝑝𝑖subscript𝑝𝑖subscriptsuperscript𝑝𝑗subscript𝑝𝑗\displaystyle={v(n^{\star}_{i})-p^{\star}_{i}-(v(n^{\star}_{j})-p^{\star}_{j})% }+(p^{\star}_{i}-p_{i})-(p^{\star}_{j}-p_{j})= italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - ( italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) + ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_p start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT )
v(ni)pi(v(nj)pj)absent𝑣subscriptsuperscript𝑛𝑖subscriptsuperscript𝑝𝑖𝑣subscriptsuperscript𝑛𝑗subscriptsuperscript𝑝𝑗\displaystyle\geq{v(n^{\star}_{i})-p^{\star}_{i}-(v(n^{\star}_{j})-p^{\star}_{% j})}≥ italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - ( italic_v ( italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT )
0,absent0\displaystyle\geq 0,≥ 0 ,

where the first inequality is due to (18), and the second is because the buyer prefers nisubscriptsuperscript𝑛𝑖n^{\star}_{i}italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT over njsubscriptsuperscript𝑛𝑗n^{\star}_{j}italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT under psuperscript𝑝p^{\star}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT.

So far we have completed the proof that for i𝑖iitalic_i satisfying pi>ϵ(1+ϵ)subscriptsuperscript𝑝𝑖italic-ϵ1italic-ϵp^{\star}_{i}>\epsilon(1+\epsilon)italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT > italic_ϵ ( 1 + italic_ϵ ), if a buyer purchases at nisubscript𝑛𝑖n_{i}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT under price psuperscript𝑝p^{\star}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT, she will not purchase at nj,j<isubscript𝑛𝑗𝑗𝑖n_{j},\,j<iitalic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT , italic_j < italic_i under new price p𝑝pitalic_p.

Then, similar to Step 2 in the proof of Lemma A.2, we have pp1+ϵ𝑝superscript𝑝1italic-ϵp\geq\frac{p^{\star}}{1+\epsilon}italic_p ≥ divide start_ARG italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT end_ARG start_ARG 1 + italic_ϵ end_ARG pointwise. We then conclude the proof by observing

rev(p)rev(p)𝒪(ϵ)1+ϵ=OPT𝒪(ϵ).rev𝑝revsuperscript𝑝𝒪italic-ϵ1italic-ϵOPT𝒪italic-ϵ\displaystyle\mathrm{rev}(p)\geq\frac{\mathrm{rev}(p^{\star})-\mathcal{O}(% \epsilon)}{1+\epsilon}=\mathrm{OPT}-\mathcal{O}(\epsilon).roman_rev ( italic_p ) ≥ divide start_ARG roman_rev ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) - caligraphic_O ( italic_ϵ ) end_ARG start_ARG 1 + italic_ϵ end_ARG = roman_OPT - caligraphic_O ( italic_ϵ ) .

Lemma A.4.

When ni>2Jmϵ2subscript𝑛𝑖2𝐽𝑚superscriptitalic-ϵ2n_{i}>\frac{2Jm}{\epsilon^{2}}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT > divide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, we have njniniϵ22Jm+1subscriptsuperscript𝑛𝑗subscript𝑛𝑖subscript𝑛𝑖superscriptitalic-ϵ22𝐽𝑚1n^{\star}_{j}-n_{i}\leq n_{i}\cdot\frac{\epsilon^{2}}{2Jm}+1italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≤ italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_J italic_m end_ARG + 1.

Proof of Lemma A.4.

By the construction of discretization set, nisubscript𝑛𝑖n_{i}italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT must have the following form,

Yi+Yiϵ2k2Jm, where Yi=2Jmϵ2(1+ϵ2)i for some i,k.formulae-sequencesubscript𝑌superscript𝑖subscript𝑌superscript𝑖superscriptitalic-ϵ2superscript𝑘2𝐽𝑚 where subscript𝑌superscript𝑖2𝐽𝑚superscriptitalic-ϵ2superscript1superscriptitalic-ϵ2superscript𝑖 for some superscript𝑖superscript𝑘\left\lfloor Y_{i^{\prime}}+Y_{i^{\prime}}\cdot\frac{\epsilon^{2}k^{\prime}}{2% Jm}\right\rfloor,\text{ where }Y_{i^{\prime}}=\left\lfloor\frac{2Jm}{\epsilon^% {2}}(1+\epsilon^{2})^{i^{\prime}}\right\rfloor\text{ for some }i^{\prime},k^{% \prime}\in\mathbb{Z}.⌊ italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT + italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_k start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_J italic_m end_ARG ⌋ , where italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT = ⌊ divide start_ARG 2 italic_J italic_m end_ARG start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ( 1 + italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT ⌋ for some italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_k start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ∈ blackboard_Z .

Since njsubscriptsuperscript𝑛𝑗{n}^{\prime}_{j}italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT is obtained by rounding down njsubscript𝑛𝑗n_{j}italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT to the nearest grid in NDsubscript𝑁DN_{\textbf{D}}italic_N start_POSTSUBSCRIPT D end_POSTSUBSCRIPT, njsubscript𝑛𝑗n_{j}italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT satisfies the following inequality,

njnjYi+Yiϵ2(k+1)2Jm.subscript𝑛𝑗subscriptsuperscript𝑛𝑗subscript𝑌superscript𝑖subscript𝑌superscript𝑖superscriptitalic-ϵ2superscript𝑘12𝐽𝑚\displaystyle n_{j}\leq n^{\star}_{j}\leq Y_{i^{\prime}}+Y_{i^{\prime}}\cdot% \frac{\epsilon^{2}(k^{\prime}+1)}{2Jm}.italic_n start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≤ italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ≤ italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT + italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( italic_k start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT + 1 ) end_ARG start_ARG 2 italic_J italic_m end_ARG .

Therefore, we have

ninisubscriptsuperscript𝑛𝑖subscript𝑛𝑖\displaystyle n^{\star}_{i}-n_{i}italic_n start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT Yi+Yiϵ2(k+1)2Jmniabsentsubscript𝑌superscript𝑖subscript𝑌superscript𝑖superscriptitalic-ϵ2superscript𝑘12𝐽𝑚subscript𝑛𝑖\displaystyle\leq Y_{i^{\prime}}+Y_{i^{\prime}}\cdot\frac{\epsilon^{2}(k^{% \prime}+1)}{2Jm}-n_{i}≤ italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT + italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( italic_k start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT + 1 ) end_ARG start_ARG 2 italic_J italic_m end_ARG - italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT
=Yi+Yiϵ2(k+1)2JmYi+Yiϵ2k2Jmabsentsubscript𝑌superscript𝑖subscript𝑌superscript𝑖superscriptitalic-ϵ2superscript𝑘12𝐽𝑚subscript𝑌superscript𝑖subscript𝑌superscript𝑖superscriptitalic-ϵ2superscript𝑘2𝐽𝑚\displaystyle=Y_{i^{\prime}}+Y_{i^{\prime}}\cdot\frac{\epsilon^{2}(k^{\prime}+% 1)}{2Jm}-\left\lfloor Y_{i^{\prime}}+Y_{i^{\prime}}\cdot\frac{\epsilon^{2}k^{% \prime}}{2Jm}\right\rfloor= italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT + italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( italic_k start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT + 1 ) end_ARG start_ARG 2 italic_J italic_m end_ARG - ⌊ italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT + italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_k start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_J italic_m end_ARG ⌋
Yi+Yiϵ2(k+1)2Jm(Yi+Yiϵ2k2Jm)+1absentsubscript𝑌superscript𝑖subscript𝑌superscript𝑖superscriptitalic-ϵ2superscript𝑘12𝐽𝑚subscript𝑌superscript𝑖subscript𝑌superscript𝑖superscriptitalic-ϵ2superscript𝑘2𝐽𝑚1\displaystyle\leq Y_{i^{\prime}}+Y_{i^{\prime}}\cdot\frac{\epsilon^{2}(k^{% \prime}+1)}{2Jm}-\left(Y_{i^{\prime}}+Y_{i^{\prime}}\cdot\frac{\epsilon^{2}k^{% \prime}}{2Jm}\right)+1≤ italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT + italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( italic_k start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT + 1 ) end_ARG start_ARG 2 italic_J italic_m end_ARG - ( italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT + italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_k start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_J italic_m end_ARG ) + 1
=Yiϵ22Jm+1absentsubscript𝑌superscript𝑖superscriptitalic-ϵ22𝐽𝑚1\displaystyle=Y_{i^{\prime}}\cdot\frac{\epsilon^{2}}{2Jm}+1= italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_J italic_m end_ARG + 1
niϵ22Jm+1.absentsubscript𝑛𝑖superscriptitalic-ϵ22𝐽𝑚1\displaystyle\leq n_{i}\cdot\frac{\epsilon^{2}}{2Jm}+1.≤ italic_n start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_J italic_m end_ARG + 1 .

Where in the last inequality, since Yisubscript𝑌superscript𝑖Y_{i^{\prime}}italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT is an integer, and we have

ni=Yi+Yiϵ2k2JmYi, fork0.formulae-sequencesubscriptsuperscript𝑛𝑖subscript𝑌superscript𝑖subscript𝑌superscript𝑖superscriptitalic-ϵ2superscript𝑘2𝐽𝑚subscript𝑌superscript𝑖 forsuperscript𝑘0\displaystyle{n}^{\prime}_{i}=\left\lfloor Y_{i^{\prime}}+Y_{i^{\prime}}\cdot% \frac{\epsilon^{2}k^{\prime}}{2Jm}\right\rfloor\geq Y_{i^{\prime}},\text{ for}% \ k^{\prime}\geq 0.italic_n start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = ⌊ italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT + italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ divide start_ARG italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_k start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_J italic_m end_ARG ⌋ ≥ italic_Y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT , for italic_k start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ≥ 0 .

Appendix B Proof of Theorem 5.1

See 5.1

Proof of Theorem 5.1.

Recall that the regret RTsubscript𝑅𝑇R_{T}italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT for the adversarial setting is

RTsubscript𝑅𝑇\displaystyle R_{T}italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT =Δmaxp𝒫t=1Tr(it,p)t=1Tr(it,pt)superscriptΔabsentsubscript𝑝𝒫superscriptsubscript𝑡1𝑇𝑟subscript𝑖𝑡𝑝superscriptsubscript𝑡1𝑇𝑟subscript𝑖𝑡subscript𝑝𝑡\displaystyle\;\stackrel{{\scriptstyle\Delta}}{{=}}\;\max_{p\in\mathcal{P}}% \sum_{t=1}^{T}r(i_{t},p)\,-\,\sum_{t=1}^{T}r(i_{t},p_{t})start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP roman_max start_POSTSUBSCRIPT italic_p ∈ caligraphic_P end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p ) - ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT )
=maxp𝒫t=1Tr(it,p)maxp𝒫¯t=1Tr(it,p)Loss of revenue due to discretization+maxp𝒫¯t=1Tr(it,p)t=1Tr(it,pt).=ΔR¯T (discretization regret)\displaystyle=\underbrace{\;\;\max_{p\in\mathcal{P}}\sum_{t=1}^{T}r(i_{t},p)\,% -\,\max_{p\in\overline{\mathcal{P}}}\sum_{t=1}^{T}r(i_{t},p)}_{\text{Loss of % revenue due to discretization}}\,+\,\underbrace{\max_{p\in\overline{\mathcal{P% }}}\sum_{t=1}^{T}r(i_{t},p)\,-\,\sum_{t=1}^{T}r(i_{t},p_{t}).}_{\text{$\;% \stackrel{{\scriptstyle\Delta}}{{=}}\;\overline{R}_{T}$ (discretization regret% )}}= under⏟ start_ARG roman_max start_POSTSUBSCRIPT italic_p ∈ caligraphic_P end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p ) - roman_max start_POSTSUBSCRIPT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p ) end_ARG start_POSTSUBSCRIPT Loss of revenue due to discretization end_POSTSUBSCRIPT + under⏟ start_ARG roman_max start_POSTSUBSCRIPT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p ) - ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) . end_ARG start_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP over¯ start_ARG italic_R end_ARG start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT (discretization regret) end_POSTSUBSCRIPT (19)

We decompose RTsubscript𝑅𝑇R_{T}italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT into two regrets. The first term is the sacrifice of revenue on discretization. The second term is the algorithm regret when competing against the optimal price within the discretization set 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG.

According to Theorem 3.1, our discretization scheme approaches optimal revenue within a gap of 2ϵ1+ϵ2italic-ϵ1italic-ϵ\frac{2\epsilon}{1+\epsilon}divide start_ARG 2 italic_ϵ end_ARG start_ARG 1 + italic_ϵ end_ARG:

maxp𝒫t=1Tr(it,p)maxp𝒫¯t=1Tr(it,p)2ϵT1+ϵ<2ϵT.subscript𝑝𝒫superscriptsubscript𝑡1𝑇𝑟subscript𝑖𝑡𝑝subscript𝑝¯𝒫superscriptsubscript𝑡1𝑇𝑟subscript𝑖𝑡𝑝2italic-ϵ𝑇1italic-ϵ2italic-ϵ𝑇\displaystyle\max_{p\in\mathcal{P}}\sum_{t=1}^{T}r(i_{t},p)\,-\,\max_{p\in% \overline{\mathcal{P}}}\sum_{t=1}^{T}r(i_{t},p)\leq\frac{2\epsilon T}{1+% \epsilon}<2\epsilon T.roman_max start_POSTSUBSCRIPT italic_p ∈ caligraphic_P end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p ) - roman_max start_POSTSUBSCRIPT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p ) ≤ divide start_ARG 2 italic_ϵ italic_T end_ARG start_ARG 1 + italic_ϵ end_ARG < 2 italic_ϵ italic_T . (20)

Therefore, the first term can be bounded by 2ϵT2italic-ϵ𝑇2\epsilon T2 italic_ϵ italic_T.

According to Theorem B.1, the second term discretization regret is upper bounded by

𝔼[R¯T]3mTlog|𝒫¯|.𝔼delimited-[]subscript¯𝑅𝑇3𝑚𝑇¯𝒫\displaystyle\mathbb{E}[\overline{R}_{T}]\leq 3m\sqrt{T\log\left|\overline{% \mathcal{P}}\right|}.blackboard_E [ over¯ start_ARG italic_R end_ARG start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ] ≤ 3 italic_m square-root start_ARG italic_T roman_log | over¯ start_ARG caligraphic_P end_ARG | end_ARG . (21)

Combining (20) and (21) together, we have,

𝔼[RT]2ϵT+3mTlog|𝒫¯|=𝒪(mTlog|𝒫¯|).𝔼delimited-[]subscript𝑅𝑇2italic-ϵ𝑇3𝑚𝑇¯𝒫𝒪𝑚𝑇¯𝒫\displaystyle\mathbb{E}[R_{T}]\leq 2\epsilon T+3m\sqrt{T\log\left|\overline{% \mathcal{P}}\right|}=\mathcal{O}\left(m\sqrt{T\log\left|\overline{\mathcal{P}}% \right|}\right).blackboard_E [ italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ] ≤ 2 italic_ϵ italic_T + 3 italic_m square-root start_ARG italic_T roman_log | over¯ start_ARG caligraphic_P end_ARG | end_ARG = caligraphic_O ( italic_m square-root start_ARG italic_T roman_log | over¯ start_ARG caligraphic_P end_ARG | end_ARG ) . (as ϵ=1Titalic-ϵ1𝑇\epsilon=\frac{1}{\sqrt{T}}italic_ϵ = divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_T end_ARG end_ARG)

Plug in the size of discretization set in Section 3, we have,

𝔼[RT]=𝒪~(m3/2T).𝔼delimited-[]subscript𝑅𝑇~𝒪superscript𝑚32𝑇\displaystyle\mathbb{E}[R_{T}]=\widetilde{\mathcal{O}}\left(m^{\nicefrac{{3}}{% {2}}}\sqrt{T}\right).blackboard_E [ italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ] = over~ start_ARG caligraphic_O end_ARG ( italic_m start_POSTSUPERSCRIPT / start_ARG 3 end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT square-root start_ARG italic_T end_ARG ) .

Theorem B.1.

The discretization regret R¯Tsubscript¯𝑅𝑇\overline{R}_{T}over¯ start_ARG italic_R end_ARG start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT defined in (19) has upper bound 𝒪(mTlog|𝒫¯|)𝒪𝑚𝑇¯𝒫\mathcal{O}\left(m\sqrt{T\log\left|\overline{\mathcal{P}}\right|}\right)caligraphic_O ( italic_m square-root start_ARG italic_T roman_log | over¯ start_ARG caligraphic_P end_ARG | end_ARG ).

Proof of Theorem B.1.

We first claim that rt(pt)=r(it,pt)subscript𝑟𝑡subscript𝑝𝑡𝑟subscript𝑖𝑡subscript𝑝𝑡r_{t}(p_{t})=r(i_{t},p_{t})italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) = italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) all t𝑡titalic_t. If the buyer make a purchase at round t𝑡titalic_t, rt(pt)=r(it,pt)subscript𝑟𝑡subscript𝑝𝑡𝑟subscript𝑖𝑡subscript𝑝𝑡r_{t}(p_{t})=r(i_{t},p_{t})italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) = italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) holds by definition. But if the buyer does not purchase at a price ptsubscript𝑝𝑡p_{t}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT on round t𝑡titalic_t, r(it,pt)=0𝑟subscript𝑖𝑡subscript𝑝𝑡0r(i_{t},p_{t})=0italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) = 0. Since Stcsuperscriptsubscript𝑆𝑡𝑐S_{t}^{c}italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c end_POSTSUPERSCRIPT contains all the types that would not make a purchase at ptsubscript𝑝𝑡p_{t}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, we have r(i,pt)=0,iStcformulae-sequence𝑟𝑖subscript𝑝𝑡0for-all𝑖superscriptsubscript𝑆𝑡𝑐r(i,p_{t})=0,\,\forall i\in S_{t}^{c}italic_r ( italic_i , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) = 0 , ∀ italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c end_POSTSUPERSCRIPT, and

r(it,pt)=iStcr(i,pt)=rt(pt)=0.𝑟subscript𝑖𝑡subscript𝑝𝑡subscript𝑖superscriptsubscript𝑆𝑡𝑐𝑟𝑖subscript𝑝𝑡subscript𝑟𝑡subscript𝑝𝑡0\displaystyle r(i_{t},p_{t})=\sum_{i\in S_{t}^{c}}r(i,p_{t})=r_{t}(p_{t})=0.italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) = ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_r ( italic_i , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) = italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) = 0 .

Therefore, rt(pt)=r(it,pt)subscript𝑟𝑡subscript𝑝𝑡𝑟subscript𝑖𝑡subscript𝑝𝑡r_{t}(p_{t})=r(i_{t},p_{t})italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) = italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) holds for every round t[T]𝑡delimited-[]𝑇t\in[T]italic_t ∈ [ italic_T ]. Denote psuperscript𝑝p^{\star}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT as,

p=argmaxp𝒫¯t=1Tr(it,p).superscript𝑝𝑝¯𝒫argmaxsuperscriptsubscript𝑡1𝑇𝑟subscript𝑖𝑡𝑝\displaystyle p^{\star}=\underset{p\in\overline{\mathcal{P}}}{\mathop{\mathrm{% argmax}}}\ \sum_{t=1}^{T}r(i_{t},p).italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT = start_UNDERACCENT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_UNDERACCENT start_ARG roman_argmax end_ARG ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p ) .

Then, we decompose the regret as follows,

𝔼[RT]𝔼delimited-[]subscript𝑅𝑇\displaystyle\mathbb{E}[R_{T}]blackboard_E [ italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ] =t=1Tr(it,p)𝔼[t=1Tr(it,pt)]absentsuperscriptsubscript𝑡1𝑇𝑟subscript𝑖𝑡superscript𝑝𝔼delimited-[]superscriptsubscript𝑡1𝑇𝑟subscript𝑖𝑡subscript𝑝𝑡\displaystyle=\sum_{t=1}^{T}r(i_{t},p^{\star})-\mathbb{E}\left[\sum_{t=1}^{T}r% (i_{t},p_{t})\right]= ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) - blackboard_E [ ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ]
=t=1Tr(it,p)𝔼[t=1Trt(pt)]absentsuperscriptsubscript𝑡1𝑇𝑟subscript𝑖𝑡superscript𝑝𝔼delimited-[]superscriptsubscript𝑡1𝑇subscript𝑟𝑡subscript𝑝𝑡\displaystyle=\sum_{t=1}^{T}r(i_{t},p^{\star})-\mathbb{E}\left[\sum_{t=1}^{T}r% _{t}(p_{t})\right]= ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) - blackboard_E [ ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ]
=𝔼[t=1T(r(it,p)rt(p))]+𝔼[t=1Trt(p)t=1Trt(pt+1)]+𝔼[t=1Trt(pt+1)rt(pt)].absent𝔼delimited-[]superscriptsubscript𝑡1𝑇𝑟subscript𝑖𝑡superscript𝑝subscript𝑟𝑡superscript𝑝𝔼delimited-[]superscriptsubscript𝑡1𝑇subscript𝑟𝑡superscript𝑝superscriptsubscript𝑡1𝑇subscript𝑟𝑡subscript𝑝𝑡1𝔼delimited-[]superscriptsubscript𝑡1𝑇subscript𝑟𝑡subscript𝑝𝑡1subscript𝑟𝑡subscript𝑝𝑡\displaystyle=\mathbb{E}\left[\sum_{t=1}^{T}\left(r(i_{t},p^{\star})-r_{t}(p^{% \star})\right)\right]+\mathbb{E}\left[\sum_{t=1}^{T}r_{t}(p^{\star})-\sum_{t=1% }^{T}r_{t}(p_{t+1})\right]+\mathbb{E}\left[\sum_{t=1}^{T}r_{t}(p_{t+1})-r_{t}(% p_{t})\right].= blackboard_E [ ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ( italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) - italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) ) ] + blackboard_E [ ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) - ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ) ] + blackboard_E [ ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ) - italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ] . (22)

We bound three terms in (22) separately.

The first term. For any price p𝑝pitalic_p and any round t𝑡titalic_t, we have rt(p)r(it,p)subscript𝑟𝑡𝑝𝑟subscript𝑖𝑡𝑝r_{t}(p)\geq r(i_{t},p)italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) ≥ italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p ) by definition. Hence,

t=1T(r(it,p)rt(p))0.superscriptsubscript𝑡1𝑇𝑟subscript𝑖𝑡superscript𝑝subscript𝑟𝑡superscript𝑝0\displaystyle\sum_{t=1}^{T}\left(r(i_{t},p^{\star})-r_{t}(p^{\star})\right)% \leq 0.∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ( italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) - italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) ) ≤ 0 . (23)

The second term. Since p=argmaxp𝒫¯t=1Tr(it,p)superscript𝑝𝑝¯𝒫argmaxsuperscriptsubscript𝑡1𝑇𝑟subscript𝑖𝑡𝑝p^{\star}=\underset{p\in\overline{\mathcal{P}}}{\mathop{\mathrm{argmax}}}\ % \sum_{t=1}^{T}r(i_{t},p)italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT = start_UNDERACCENT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_UNDERACCENT start_ARG roman_argmax end_ARG ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p ). We apply Lemma B.1 to psuperscript𝑝p^{\star}italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT,

t=1Trt(p)t=1Trt(pt+1)θp1θp.superscriptsubscript𝑡1𝑇subscript𝑟𝑡superscript𝑝superscriptsubscript𝑡1𝑇subscript𝑟𝑡subscript𝑝𝑡1subscript𝜃subscript𝑝1subscript𝜃superscript𝑝\displaystyle\sum_{t=1}^{T}r_{t}(p^{\star})-\sum_{t=1}^{T}r_{t}(p_{t+1})\leq% \theta_{p_{1}}-\theta_{p^{\star}}.∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) - ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ) ≤ italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT - italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT .

Note that both θp1subscript𝜃subscript𝑝1\theta_{p_{1}}italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT and θpsubscript𝜃superscript𝑝\theta_{p^{\star}}italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT are drawn i.i.d. from exponential distribution,

𝔼[θp1]𝔼[maxp𝒫¯θp]1+log|𝒫¯|θ,𝔼delimited-[]subscript𝜃subscript𝑝1𝔼delimited-[]𝑝¯𝒫subscript𝜃𝑝1¯𝒫𝜃\displaystyle\mathbb{E}[\theta_{p_{1}}]\leq\mathbb{E}\left[\underset{p\in% \overline{\mathcal{P}}}{\max}\ \theta_{p}\right]\leq\frac{1+\log\left|% \overline{\mathcal{P}}\right|}{\theta},blackboard_E [ italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT ] ≤ blackboard_E [ start_UNDERACCENT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_UNDERACCENT start_ARG roman_max end_ARG italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT ] ≤ divide start_ARG 1 + roman_log | over¯ start_ARG caligraphic_P end_ARG | end_ARG start_ARG italic_θ end_ARG ,
𝔼[θp]𝔼[maxp𝒫¯θp]1+log|𝒫¯|θ.𝔼delimited-[]subscript𝜃superscript𝑝𝔼delimited-[]𝑝¯𝒫subscript𝜃𝑝1¯𝒫𝜃\displaystyle\mathbb{E}[\theta_{p^{\star}}]\leq\mathbb{E}\left[\underset{p\in% \overline{\mathcal{P}}}{\max}\ \theta_{p}\right]\leq\frac{1+\log\left|% \overline{\mathcal{P}}\right|}{\theta}.blackboard_E [ italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ≤ blackboard_E [ start_UNDERACCENT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_UNDERACCENT start_ARG roman_max end_ARG italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT ] ≤ divide start_ARG 1 + roman_log | over¯ start_ARG caligraphic_P end_ARG | end_ARG start_ARG italic_θ end_ARG .

We have

𝔼[t=1Trt(p)t=1Trt(pt+1)]𝔼[θp1θp]1+log|𝒫¯|θ.𝔼delimited-[]superscriptsubscript𝑡1𝑇subscript𝑟𝑡superscript𝑝superscriptsubscript𝑡1𝑇subscript𝑟𝑡subscript𝑝𝑡1𝔼delimited-[]subscript𝜃subscript𝑝1subscript𝜃superscript𝑝1¯𝒫𝜃\displaystyle\mathbb{E}\left[\sum_{t=1}^{T}r_{t}(p^{\star})-\sum_{t=1}^{T}r_{t% }(p_{t+1})\right]\leq\mathbb{E}\big{[}\theta_{p_{1}}-\theta_{p^{\star}}\big{]}% \leq\frac{1+\log\left|\overline{\mathcal{P}}\right|}{\theta}.blackboard_E [ ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) - ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ) ] ≤ blackboard_E [ italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT - italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ≤ divide start_ARG 1 + roman_log | over¯ start_ARG caligraphic_P end_ARG | end_ARG start_ARG italic_θ end_ARG . (24)

The third term. Note that for any price p𝒫¯𝑝¯𝒫p\in\overline{\mathcal{P}}italic_p ∈ over¯ start_ARG caligraphic_P end_ARG and any round t𝑡titalic_t, rt(p)msubscript𝑟𝑡𝑝𝑚r_{t}(p)\leq mitalic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) ≤ italic_m. Therefore we have,

𝔼[rt(pt+1)rt(pt)]=(pt+1pt)𝔼[rt(pt+1)rt(pt)pt+1pt]m(pt+1pt).𝔼delimited-[]subscript𝑟𝑡subscript𝑝𝑡1subscript𝑟𝑡subscript𝑝𝑡subscript𝑝𝑡1subscript𝑝𝑡𝔼delimited-[]subscript𝑟𝑡subscript𝑝𝑡1conditionalsubscript𝑟𝑡subscript𝑝𝑡subscript𝑝𝑡1subscript𝑝𝑡𝑚subscript𝑝𝑡1subscript𝑝𝑡\displaystyle\mathbb{E}\left[r_{t}(p_{t+1})-r_{t}(p_{t})\right]=\mathbb{P}% \left(p_{t+1}\neq p_{t}\right)\mathbb{E}\left[r_{t}(p_{t+1})-r_{t}(p_{t})\mid p% _{t+1}\neq p_{t}\right]\leq m\cdot\mathbb{P}\left(p_{t+1}\neq p_{t}\right).blackboard_E [ italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ) - italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ] = blackboard_P ( italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ≠ italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) blackboard_E [ italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ) - italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ∣ italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ≠ italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ] ≤ italic_m ⋅ blackboard_P ( italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ≠ italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) .

The price curve on round t𝑡titalic_t is ptsubscript𝑝𝑡p_{t}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, then by the price updation rule,

pt=argmaxp𝒫¯τ=1t1rτ(p)+θp,subscript𝑝𝑡𝑝¯𝒫argmaxsuperscriptsubscript𝜏1𝑡1subscript𝑟𝜏𝑝subscript𝜃𝑝\displaystyle p_{t}=\underset{p\in\overline{\mathcal{P}}}{\mathop{\mathrm{% argmax}}}\sum_{\tau=1}^{t-1}r_{\tau}(p)+\theta_{p},italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = start_UNDERACCENT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_UNDERACCENT start_ARG roman_argmax end_ARG ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t - 1 end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ( italic_p ) + italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT ,

which is equivalent to,

θptθp+τ=1t1rτ(p)τ=1t1rτ(pt),p𝒫¯.formulae-sequencesubscript𝜃subscript𝑝𝑡subscript𝜃𝑝superscriptsubscript𝜏1𝑡1subscript𝑟𝜏𝑝superscriptsubscript𝜏1𝑡1subscript𝑟𝜏subscript𝑝𝑡for-all𝑝¯𝒫\displaystyle\theta_{p_{t}}\geq\theta_{p}+\sum_{\tau=1}^{t-1}r_{\tau}(p)-\sum_% {\tau=1}^{t-1}r_{\tau}(p_{t}),\,\forall p\in\overline{\mathcal{P}}.italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ≥ italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT + ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t - 1 end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ( italic_p ) - ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t - 1 end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) , ∀ italic_p ∈ over¯ start_ARG caligraphic_P end_ARG .

For all p𝒫¯superscript𝑝¯𝒫{p}^{\prime}\in\overline{\mathcal{P}}italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ∈ over¯ start_ARG caligraphic_P end_ARG, let ct1,psubscript𝑐𝑡1superscript𝑝c_{t-1,{p}^{\prime}}italic_c start_POSTSUBSCRIPT italic_t - 1 , italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT denote

maxp𝒫¯(θp+τ=1t1rτ(p)τ=1t1rτ(p))ct1,p,𝑝¯𝒫subscript𝜃𝑝superscriptsubscript𝜏1𝑡1subscript𝑟𝜏𝑝superscriptsubscript𝜏1𝑡1subscript𝑟𝜏superscript𝑝subscript𝑐𝑡1superscript𝑝\displaystyle\underset{p\in\overline{\mathcal{P}}}{\max}\left(\theta_{p}+\sum_% {\tau=1}^{t-1}r_{\tau}(p)-\sum_{\tau=1}^{t-1}r_{\tau}({p}^{\prime})\right)% \triangleq c_{t-1,{p}^{\prime}},start_UNDERACCENT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_UNDERACCENT start_ARG roman_max end_ARG ( italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT + ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t - 1 end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ( italic_p ) - ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t - 1 end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ( italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ) ≜ italic_c start_POSTSUBSCRIPT italic_t - 1 , italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT , (25)

then pt=psubscript𝑝𝑡superscript𝑝p_{t}={p}^{\prime}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT is equivalent to

θpct1,p.subscript𝜃superscript𝑝subscript𝑐𝑡1superscript𝑝\displaystyle\theta_{{p}^{\prime}}\geq c_{t-1,{p}^{\prime}}.italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ≥ italic_c start_POSTSUBSCRIPT italic_t - 1 , italic_p start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT . (26)

Subclaim. If θptsubscript𝜃subscript𝑝𝑡\theta_{p_{t}}italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT also satisfies the following condition (27),

θptθp+τ=1t1rτ(p)τ=1t1rτ(pt)+m,p𝒫¯,formulae-sequencesubscript𝜃subscript𝑝𝑡subscript𝜃𝑝superscriptsubscript𝜏1𝑡1subscript𝑟𝜏𝑝superscriptsubscript𝜏1𝑡1subscript𝑟𝜏subscript𝑝𝑡𝑚for-all𝑝¯𝒫\displaystyle\theta_{p_{t}}\geq\theta_{p}+\sum_{\tau=1}^{t-1}r_{\tau}(p)-\sum_% {\tau=1}^{t-1}r_{\tau}(p_{t})+m,\,\forall p\in\overline{\mathcal{P}},italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ≥ italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT + ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t - 1 end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ( italic_p ) - ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t - 1 end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) + italic_m , ∀ italic_p ∈ over¯ start_ARG caligraphic_P end_ARG , (27)

then pt+1=ptsubscript𝑝𝑡1subscript𝑝𝑡p_{t+1}=p_{t}italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT = italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT.

Proof of the Subclaim. If (27) holds for all p𝒫¯𝑝¯𝒫p\in\overline{\mathcal{P}}italic_p ∈ over¯ start_ARG caligraphic_P end_ARG,

θptsubscript𝜃subscript𝑝𝑡\displaystyle\theta_{p_{t}}italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT θp+τ=1t1rτ(p)τ=1t1rτ(pt)+mabsentsubscript𝜃𝑝superscriptsubscript𝜏1𝑡1subscript𝑟𝜏𝑝superscriptsubscript𝜏1𝑡1subscript𝑟𝜏subscript𝑝𝑡𝑚\displaystyle\geq\theta_{p}+\sum_{\tau=1}^{t-1}r_{\tau}(p)-\sum_{\tau=1}^{t-1}% r_{\tau}(p_{t})+m≥ italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT + ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t - 1 end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ( italic_p ) - ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t - 1 end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) + italic_m
θp+τ=1trτ(p)τ=1trτ(pt).absentsubscript𝜃𝑝superscriptsubscript𝜏1𝑡subscript𝑟𝜏𝑝superscriptsubscript𝜏1𝑡subscript𝑟𝜏subscript𝑝𝑡\displaystyle\geq\theta_{p}+\sum_{\tau=1}^{t}r_{\tau}(p)-\sum_{\tau=1}^{t}r_{% \tau}(p_{t}).≥ italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT + ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ( italic_p ) - ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) . (because p𝒫¯for-all𝑝¯𝒫\forall p\in\overline{\mathcal{P}}∀ italic_p ∈ over¯ start_ARG caligraphic_P end_ARG, rt(p)[0,m]subscript𝑟𝑡𝑝0𝑚r_{t}(p)\in[0,m]italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) ∈ [ 0 , italic_m ])

Hence,

pt=argmaxp𝒫¯τ=1trτ(p)+θp=pt+1.subscript𝑝𝑡𝑝¯𝒫argmaxsuperscriptsubscript𝜏1𝑡subscript𝑟𝜏𝑝subscript𝜃𝑝subscript𝑝𝑡1\displaystyle p_{t}=\underset{p\in\overline{\mathcal{P}}}{\mathop{\mathrm{% argmax}}}\sum_{\tau=1}^{t}r_{\tau}(p)+\theta_{p}=p_{t+1}.italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = start_UNDERACCENT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_UNDERACCENT start_ARG roman_argmax end_ARG ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ( italic_p ) + italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT .

Therefore, (27) is a sufficient condition for pt+1=ptsubscript𝑝𝑡1subscript𝑝𝑡p_{t+1}=p_{t}italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT = italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT. We then bound the probability of pt+1=ptsubscript𝑝𝑡1subscript𝑝𝑡p_{t+1}=p_{t}italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT = italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT by computing the probability of (27) happening.

(pt=pt+1)subscript𝑝𝑡subscript𝑝𝑡1\displaystyle\mathbb{P}\left(p_{t}=p_{t+1}\right)blackboard_P ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ) =p𝒫¯(pt=p)(pt+1=ppt=p)absentsubscript𝑝¯𝒫subscript𝑝𝑡𝑝subscript𝑝𝑡1conditional𝑝subscript𝑝𝑡𝑝\displaystyle=\sum_{p\in\overline{\mathcal{P}}}\mathbb{P}\left(p_{t}=p\right)% \mathbb{P}(p_{t+1}=p\mid p_{t}=p)= ∑ start_POSTSUBSCRIPT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_POSTSUBSCRIPT blackboard_P ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = italic_p ) blackboard_P ( italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT = italic_p ∣ italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = italic_p )
=p𝒫¯(pt=p)(pt+1=pθpct1,p)absentsubscript𝑝¯𝒫subscript𝑝𝑡𝑝subscript𝑝𝑡1conditional𝑝subscript𝜃𝑝subscript𝑐𝑡1𝑝\displaystyle=\sum_{p\in\overline{\mathcal{P}}}\mathbb{P}\left(p_{t}=p\right)% \mathbb{P}\left(p_{t+1}=p\mid\theta_{p}\geq c_{t-1,{p}}\right)= ∑ start_POSTSUBSCRIPT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_POSTSUBSCRIPT blackboard_P ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = italic_p ) blackboard_P ( italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT = italic_p ∣ italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT ≥ italic_c start_POSTSUBSCRIPT italic_t - 1 , italic_p end_POSTSUBSCRIPT ) ( by (26))
p𝒫¯(pt=p)(θpct1,p+mθpct1,p)absentsubscript𝑝¯𝒫subscript𝑝𝑡𝑝subscript𝜃𝑝subscript𝑐𝑡1𝑝conditional𝑚subscript𝜃𝑝subscript𝑐𝑡1𝑝\displaystyle\geq\sum_{p\in\overline{\mathcal{P}}}\mathbb{P}\left(p_{t}=p% \right)\mathbb{P}\left(\theta_{p}\geq c_{t-1,{p}}+m\mid\theta_{p}\geq c_{t-1,{% p}}\right)≥ ∑ start_POSTSUBSCRIPT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_POSTSUBSCRIPT blackboard_P ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = italic_p ) blackboard_P ( italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT ≥ italic_c start_POSTSUBSCRIPT italic_t - 1 , italic_p end_POSTSUBSCRIPT + italic_m ∣ italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT ≥ italic_c start_POSTSUBSCRIPT italic_t - 1 , italic_p end_POSTSUBSCRIPT )
p𝒫¯(pt=p)emθabsentsubscript𝑝¯𝒫subscript𝑝𝑡𝑝superscript𝑒𝑚𝜃\displaystyle\geq\sum_{p\in\overline{\mathcal{P}}}\mathbb{P}\left(p_{t}=p% \right)e^{-m\theta}≥ ∑ start_POSTSUBSCRIPT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_POSTSUBSCRIPT blackboard_P ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = italic_p ) italic_e start_POSTSUPERSCRIPT - italic_m italic_θ end_POSTSUPERSCRIPT
=emθabsentsuperscript𝑒𝑚𝜃\displaystyle=e^{-m\theta}= italic_e start_POSTSUPERSCRIPT - italic_m italic_θ end_POSTSUPERSCRIPT
1mθabsent1𝑚𝜃\displaystyle\geq 1-m\theta≥ 1 - italic_m italic_θ

Therefore, (ptpt+1)mθsubscript𝑝𝑡subscript𝑝𝑡1𝑚𝜃\mathbb{P}\left(p_{t}\neq p_{t+1}\right)\leq m\thetablackboard_P ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ≠ italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ) ≤ italic_m italic_θ. Hence, the third term can be bounded as

𝔼[rt(pt+1)rt(pt)]m2θt=1T𝔼[rt(pt+1)rt(pt)]m2θT.𝔼delimited-[]subscript𝑟𝑡subscript𝑝𝑡1subscript𝑟𝑡subscript𝑝𝑡superscript𝑚2𝜃superscriptsubscript𝑡1𝑇𝔼delimited-[]subscript𝑟𝑡subscript𝑝𝑡1subscript𝑟𝑡subscript𝑝𝑡superscript𝑚2𝜃𝑇\displaystyle\mathbb{E}\big{[}r_{t}(p_{t+1})-r_{t}(p_{t})\big{]}\leq m^{2}% \theta\implies\sum_{t=1}^{T}\mathbb{E}\big{[}r_{t}(p_{t+1})-r_{t}(p_{t})\big{]% }\leq m^{2}\theta T.blackboard_E [ italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ) - italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ] ≤ italic_m start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_θ ⟹ ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_E [ italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ) - italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ] ≤ italic_m start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_θ italic_T . (28)

Set θ=log|𝒫¯|m2T𝜃¯𝒫superscript𝑚2𝑇\theta=\sqrt{\frac{\log\left|\overline{\mathcal{P}}\right|}{m^{2}T}}italic_θ = square-root start_ARG divide start_ARG roman_log | over¯ start_ARG caligraphic_P end_ARG | end_ARG start_ARG italic_m start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_T end_ARG end_ARG. Combining the upper bounds for three terms (23), (24) and (28) together, we have

𝔼[RT]𝔼delimited-[]subscript𝑅𝑇\displaystyle\mathbb{E}[R_{T}]blackboard_E [ italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ] 1+log|𝒫¯|θ+m2θT𝒪(mTlog|𝒫¯|).absent1¯𝒫𝜃superscript𝑚2𝜃𝑇𝒪𝑚𝑇¯𝒫\displaystyle\leq\frac{1+\log\left|\overline{\mathcal{P}}\right|}{\theta}+m^{2% }\theta T\in\mathcal{O}\left(m\sqrt{T\log\left|\overline{\mathcal{P}}\right|}% \right).≤ divide start_ARG 1 + roman_log | over¯ start_ARG caligraphic_P end_ARG | end_ARG start_ARG italic_θ end_ARG + italic_m start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_θ italic_T ∈ caligraphic_O ( italic_m square-root start_ARG italic_T roman_log | over¯ start_ARG caligraphic_P end_ARG | end_ARG ) .

Plugging in the size of the discretization set (Theorem 3.1), we have,

𝔼[RT]𝒪~(m3/2T).𝔼delimited-[]subscript𝑅𝑇~𝒪superscript𝑚32𝑇\displaystyle\mathbb{E}[R_{T}]\in\widetilde{\mathcal{O}}\left(m^{\nicefrac{{3}% }{{2}}}\sqrt{T}\right).blackboard_E [ italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ] ∈ over~ start_ARG caligraphic_O end_ARG ( italic_m start_POSTSUPERSCRIPT / start_ARG 3 end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT square-root start_ARG italic_T end_ARG ) .

Lemma B.1.

For any p𝒫¯𝑝¯𝒫p\in\overline{\mathcal{P}}italic_p ∈ over¯ start_ARG caligraphic_P end_ARG,

t=1Trt(pt+1)+θp1t=1Trt(p)+θp.superscriptsubscript𝑡1𝑇subscript𝑟𝑡subscript𝑝𝑡1subscript𝜃subscript𝑝1superscriptsubscript𝑡1𝑇subscript𝑟𝑡𝑝subscript𝜃𝑝\displaystyle\sum_{t=1}^{T}r_{t}(p_{t+1})+\theta_{p_{1}}\geq\sum_{t=1}^{T}r_{t% }(p)+\theta_{p}.∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ) + italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT ≥ ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) + italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT . (29)
Proof of Lemma B.1.

We prove this by induction. For T=0𝑇0T=0italic_T = 0, the inequality θp1θpsubscript𝜃subscript𝑝1subscript𝜃𝑝\theta_{p_{1}}\geq\theta_{p}italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT ≥ italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT holds by definition p1=argmaxp𝒫¯θpsubscript𝑝1𝑝¯𝒫argmaxsubscript𝜃𝑝p_{1}=\underset{p\in\overline{\mathcal{P}}}{\mathop{\mathrm{argmax}}}\ \theta_% {p}italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT = start_UNDERACCENT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_UNDERACCENT start_ARG roman_argmax end_ARG italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT. Assume that the inequality holds for some T𝑇Titalic_T. Then for any p𝒫¯𝑝¯𝒫p\in\overline{\mathcal{P}}italic_p ∈ over¯ start_ARG caligraphic_P end_ARG,

t=1T+1rt(pt+1)+θp1superscriptsubscript𝑡1𝑇1subscript𝑟𝑡subscript𝑝𝑡1subscript𝜃subscript𝑝1\displaystyle\sum_{t=1}^{T+1}r_{t}(p_{t+1})+\theta_{p_{1}}∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T + 1 end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ) + italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT =t=1Trt(pt+1)+θp1+rT+1(pT+2)absentsuperscriptsubscript𝑡1𝑇subscript𝑟𝑡subscript𝑝𝑡1subscript𝜃subscript𝑝1subscript𝑟𝑇1subscript𝑝𝑇2\displaystyle=\sum_{t=1}^{T}r_{t}(p_{t+1})+\theta_{p_{1}}+r_{T+1}(p_{T+2})= ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ) + italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT + italic_r start_POSTSUBSCRIPT italic_T + 1 end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_T + 2 end_POSTSUBSCRIPT )
t=1Trt(pT+2)+θpT+2+rT+1(pT+2)absentsuperscriptsubscript𝑡1𝑇subscript𝑟𝑡subscript𝑝𝑇2subscript𝜃subscript𝑝𝑇2subscript𝑟𝑇1subscript𝑝𝑇2\displaystyle\geq\sum_{t=1}^{T}r_{t}(p_{T+2})+\theta_{p_{T+2}}+r_{T+1}(p_{T+2})≥ ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_T + 2 end_POSTSUBSCRIPT ) + italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_T + 2 end_POSTSUBSCRIPT end_POSTSUBSCRIPT + italic_r start_POSTSUBSCRIPT italic_T + 1 end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_T + 2 end_POSTSUBSCRIPT )
=t=1T+1rt(pT+2)+θpT+2absentsuperscriptsubscript𝑡1𝑇1subscript𝑟𝑡subscript𝑝𝑇2subscript𝜃subscript𝑝𝑇2\displaystyle=\sum_{t=1}^{T+1}r_{t}(p_{T+2})+\theta_{p_{T+2}}= ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T + 1 end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_T + 2 end_POSTSUBSCRIPT ) + italic_θ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_T + 2 end_POSTSUBSCRIPT end_POSTSUBSCRIPT
t=1T+1rt(p)+θp.absentsuperscriptsubscript𝑡1𝑇1subscript𝑟𝑡𝑝subscript𝜃𝑝\displaystyle\geq\sum_{t=1}^{T+1}r_{t}(p)+\theta_{p}.≥ ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T + 1 end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) + italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT .

Where the first inequality is by the induction hypothesis, and the second inequality is by

pT+2=argmaxp𝒫¯t=1T+1rt(p)+θp.subscript𝑝𝑇2𝑝¯𝒫superscriptsubscript𝑡1𝑇1subscript𝑟𝑡𝑝subscript𝜃𝑝\displaystyle p_{T+2}=\underset{p\in\overline{\mathcal{P}}}{\arg\max}\sum_{t=1% }^{T+1}r_{t}(p)+\theta_{p}.italic_p start_POSTSUBSCRIPT italic_T + 2 end_POSTSUBSCRIPT = start_UNDERACCENT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_UNDERACCENT start_ARG roman_arg roman_max end_ARG ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T + 1 end_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) + italic_θ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT .

By the induction, the inequality (29) holds for any T0𝑇0T\geq 0italic_T ≥ 0. ∎

Appendix C Proof of Theorem 4.1

In this section, we prove, Theorem 4.1, our regret upper bound of Algorithm 3. We prove the theorem by first decomposing the regret into two parts: Regret with respect to the best price in a discretized set (called “discretization regret”) and the residual error due to discretization. The residual error is controlled by the approximation guarantees developed in Section 3. Then, the key lemma in this appendix is Lemma C.1 which controls the discretization. We prove Lemma C.1 using a technique adapted from Chen et al. [14].

See 4.1

Proof of Theorem 4.1.

For the sake of simplicity, we define r(i,p)𝑟𝑖𝑝r(i,p)italic_r ( italic_i , italic_p ) as the revenue under type i𝑖iitalic_i and price p𝑝pitalic_p, i.e, r(i,p)=Δp(ni,p)superscriptΔ𝑟𝑖𝑝𝑝subscript𝑛𝑖𝑝r(i,p)\,\stackrel{{\scriptstyle\Delta}}{{=}}\,p(n_{i,p})italic_r ( italic_i , italic_p ) start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP italic_p ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ). Therefore, on every round, we have r(it,pt)=pt(nit,pt)𝑟subscript𝑖𝑡subscript𝑝𝑡subscript𝑝𝑡subscript𝑛subscript𝑖𝑡subscript𝑝𝑡r(i_{t},p_{t})=p_{t}(n_{i_{t},p_{t}})italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) = italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_n start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ).

Recall that the regret RTsubscript𝑅𝑇R_{T}italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT is

RTsubscript𝑅𝑇\displaystyle R_{T}italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT =ΔTOPTt=1Tpt(nit,pt)superscriptΔabsent𝑇OPTsuperscriptsubscript𝑡1𝑇subscript𝑝𝑡subscript𝑛subscript𝑖𝑡subscript𝑝𝑡\displaystyle\;\stackrel{{\scriptstyle\Delta}}{{=}}\;\;T\cdot\mathrm{OPT}\,-\,% \sum_{t=1}^{T}p_{t}(n_{i_{t},p_{t}})start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP italic_T ⋅ roman_OPT - ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_n start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT )
=TOPTt=1Tr(it,pt)absent𝑇OPTsuperscriptsubscript𝑡1𝑇𝑟subscript𝑖𝑡subscript𝑝𝑡\displaystyle\;=\;\;T\cdot\mathrm{OPT}\,-\,\sum_{t=1}^{T}r(i_{t},p_{t})= italic_T ⋅ roman_OPT - ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT )
=TOPTTmaxp𝒫¯rev(p)Loss of revenue due to discretization+Tmaxp𝒫¯rev(p)t=1Tr(it,pt).=ΔR¯T (discretization regret)\displaystyle=\underbrace{\;\;T\cdot\mathrm{OPT}\,-\,T\cdot\underset{p\in% \overline{\mathcal{P}}}{\max}\,\mathrm{rev}(p)}_{\text{Loss of revenue due to % discretization}}\,+\,\underbrace{T\cdot\underset{p\in\overline{\mathcal{P}}}{% \max}\,\mathrm{rev}(p)\,-\,\sum_{t=1}^{T}r(i_{t},p_{t}).}_{\text{$\;\stackrel{% {\scriptstyle\Delta}}{{=}}\;\overline{R}_{T}$ (discretization regret)}}= under⏟ start_ARG italic_T ⋅ roman_OPT - italic_T ⋅ start_UNDERACCENT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_UNDERACCENT start_ARG roman_max end_ARG roman_rev ( italic_p ) end_ARG start_POSTSUBSCRIPT Loss of revenue due to discretization end_POSTSUBSCRIPT + under⏟ start_ARG italic_T ⋅ start_UNDERACCENT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_UNDERACCENT start_ARG roman_max end_ARG roman_rev ( italic_p ) - ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) . end_ARG start_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP over¯ start_ARG italic_R end_ARG start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT (discretization regret) end_POSTSUBSCRIPT (30)

We decompose RTsubscript𝑅𝑇R_{T}italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT into two parts. The first term is the sacrifice of revenue on discretization. The second term is the algorithm regret when competing against the optimal price within the discretization set 𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG.

According to Theorem 3.1, our discretization scheme approaches OPTOPT\mathrm{OPT}roman_OPT within a gap of 2ϵ1+ϵ2italic-ϵ1italic-ϵ\frac{2\epsilon}{1+\epsilon}divide start_ARG 2 italic_ϵ end_ARG start_ARG 1 + italic_ϵ end_ARG,

OPTmaxp𝒫¯rev(p)2ϵ1+ϵ2ϵ.OPT𝑝¯𝒫rev𝑝2italic-ϵ1italic-ϵ2italic-ϵ\displaystyle\mathrm{OPT}\,-\,\underset{p\in\overline{\mathcal{P}}}{\max}\,% \mathrm{rev}(p)\leq\frac{2\epsilon}{1+\epsilon}\leq 2\epsilon.roman_OPT - start_UNDERACCENT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_UNDERACCENT start_ARG roman_max end_ARG roman_rev ( italic_p ) ≤ divide start_ARG 2 italic_ϵ end_ARG start_ARG 1 + italic_ϵ end_ARG ≤ 2 italic_ϵ .

Therefore, the first term can be bounded as,

TOPTTmaxp𝒫¯rev(p)2ϵT.𝑇OPT𝑇𝑝¯𝒫rev𝑝2italic-ϵ𝑇\displaystyle T\cdot\mathrm{OPT}\,-\,T\cdot\underset{p\in\overline{\mathcal{P}% }}{\max}\,\mathrm{rev}(p)\leq 2\epsilon T.italic_T ⋅ roman_OPT - italic_T ⋅ start_UNDERACCENT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_UNDERACCENT start_ARG roman_max end_ARG roman_rev ( italic_p ) ≤ 2 italic_ϵ italic_T . (31)

By Lemma C.1, the second term, discretization regret, is upper bounded by

𝔼[R¯T]93mTlogT𝔼delimited-[]subscript¯𝑅𝑇93𝑚𝑇𝑇\displaystyle\mathbb{E}[\overline{R}_{T}]\leq 93m\sqrt{T\log T}blackboard_E [ over¯ start_ARG italic_R end_ARG start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ] ≤ 93 italic_m square-root start_ARG italic_T roman_log italic_T end_ARG (32)

Combining (31) and (32) together, we have,

𝔼[RT]2ϵT+93mTlogT=𝒪~(mT)𝔼delimited-[]subscript𝑅𝑇2italic-ϵ𝑇93𝑚𝑇𝑇~𝒪𝑚𝑇\displaystyle\mathbb{E}[R_{T}]\leq 2\epsilon T+93m\sqrt{T\log T}=\widetilde{% \mathcal{O}}(m\sqrt{T})blackboard_E [ italic_R start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ] ≤ 2 italic_ϵ italic_T + 93 italic_m square-root start_ARG italic_T roman_log italic_T end_ARG = over~ start_ARG caligraphic_O end_ARG ( italic_m square-root start_ARG italic_T end_ARG ) ( as ϵ=1Titalic-ϵ1𝑇\epsilon=\frac{1}{\sqrt{T}}italic_ϵ = divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_T end_ARG end_ARG)

Lemma C.1.

The discretization regret R¯Tsubscript¯𝑅𝑇\overline{R}_{T}over¯ start_ARG italic_R end_ARG start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT defined in (30) is at most 𝒪~(mT)~𝒪𝑚𝑇\widetilde{\mathcal{O}}(m\sqrt{T})over~ start_ARG caligraphic_O end_ARG ( italic_m square-root start_ARG italic_T end_ARG ).

Proof of Lemma C.1.

The discretization regret R¯Tsubscript¯𝑅𝑇\overline{R}_{T}over¯ start_ARG italic_R end_ARG start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT

𝔼[R¯T]𝔼delimited-[]subscript¯𝑅𝑇\displaystyle\mathbb{E}[\overline{R}_{T}]\,blackboard_E [ over¯ start_ARG italic_R end_ARG start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ] =𝔼[Tmaxp𝒫¯rev(p)t=1Tr(it,pt)]absent𝔼delimited-[]𝑇𝑝¯𝒫rev𝑝superscriptsubscript𝑡1𝑇𝑟subscript𝑖𝑡subscript𝑝𝑡\displaystyle=\mathbb{E}\left[\,T\cdot\underset{p\in\overline{\mathcal{P}}}{% \max}\,\mathrm{rev}(p)\,-\,\sum_{t=1}^{T}r(i_{t},p_{t})\right]= blackboard_E [ italic_T ⋅ start_UNDERACCENT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_UNDERACCENT start_ARG roman_max end_ARG roman_rev ( italic_p ) - ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_r ( italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ]
=𝔼[t=1T(r(p,it)r(pt,it))]absent𝔼delimited-[]superscriptsubscript𝑡1𝑇𝑟superscript𝑝subscript𝑖𝑡𝑟subscript𝑝𝑡subscript𝑖𝑡\displaystyle=\mathbb{E}\left[\sum_{t=1}^{T}\left(r(p^{\star},i_{t})\,-\,r(p_{% t},i_{t})\right)\right]= blackboard_E [ ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ( italic_r ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT , italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) - italic_r ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ) ]
=t=1T𝔼[r(p,it)r(pt,it)]absentsuperscriptsubscript𝑡1𝑇𝔼delimited-[]𝑟superscript𝑝subscript𝑖𝑡𝑟subscript𝑝𝑡subscript𝑖𝑡\displaystyle=\sum_{t=1}^{T}\mathbb{E}\left[r(p^{\star},i_{t})\,-\,r(p_{t},i_{% t})\right]= ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_E [ italic_r ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT , italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) - italic_r ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ]
=t=1T𝔼[rev(p)rev(pt)]absentsuperscriptsubscript𝑡1𝑇𝔼delimited-[]revsuperscript𝑝revsubscript𝑝𝑡\displaystyle=\sum_{t=1}^{T}\mathbb{E}\left[\mathrm{rev}(p^{\star})\,-\,% \mathrm{rev}(p_{t})\right]= ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_E [ roman_rev ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) - roman_rev ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ]
=t=1T𝔼[(rev(p)rev(pt))𝕀(At)]+t=1T𝔼[(rev(p)rev(pt))𝕀(Atc)]absentsuperscriptsubscript𝑡1𝑇𝔼delimited-[]revsuperscript𝑝revsubscript𝑝𝑡𝕀subscript𝐴𝑡superscriptsubscript𝑡1𝑇𝔼delimited-[]revsuperscript𝑝revsubscript𝑝𝑡𝕀superscriptsubscript𝐴𝑡𝑐\displaystyle=\sum_{t=1}^{T}\mathbb{E}\left[\left(\mathrm{rev}(p^{\star})\,-\,% \mathrm{rev}(p_{t})\right)\cdot\mathbbm{I}(A_{t})\right]\,+\,\sum_{t=1}^{T}% \mathbb{E}\left[\left(\mathrm{rev}(p^{\star})\,-\,\mathrm{rev}(p_{t})\right)% \cdot\mathbbm{I}(A_{t}^{c})\right]= ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_E [ ( roman_rev ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) - roman_rev ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ) ⋅ blackboard_I ( italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ] + ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_E [ ( roman_rev ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) - roman_rev ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ) ⋅ blackboard_I ( italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c end_POSTSUPERSCRIPT ) ]
=Δt=1T𝔼[δpt𝕀(At)]+t=1T𝔼[δpt𝕀(Atc)].superscriptΔabsentsuperscriptsubscript𝑡1𝑇𝔼delimited-[]subscript𝛿subscript𝑝𝑡𝕀subscript𝐴𝑡superscriptsubscript𝑡1𝑇𝔼delimited-[]subscript𝛿subscript𝑝𝑡𝕀superscriptsubscript𝐴𝑡𝑐\displaystyle\stackrel{{\scriptstyle\Delta}}{{=}}\sum_{t=1}^{T}\mathbb{E}\left% [\delta_{p_{t}}\cdot\mathbbm{I}(A_{t})\right]\,+\,\sum_{t=1}^{T}\mathbb{E}% \left[\delta_{p_{t}}\cdot\mathbbm{I}(A_{t}^{c})\right].start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_E [ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ⋅ blackboard_I ( italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ] + ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_E [ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ⋅ blackboard_I ( italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c end_POSTSUPERSCRIPT ) ] . (33)

We can further decompose 𝔼[R¯T]𝔼delimited-[]subscript¯𝑅𝑇\mathbb{E}[\overline{R}_{T}]blackboard_E [ over¯ start_ARG italic_R end_ARG start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ] into t=1T𝔼[δpt𝕀(At)]superscriptsubscript𝑡1𝑇𝔼delimited-[]subscript𝛿subscript𝑝𝑡𝕀subscript𝐴𝑡\sum_{t=1}^{T}\mathbb{E}\left[\delta_{p_{t}}\cdot\mathbbm{I}(A_{t})\right]∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_E [ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ⋅ blackboard_I ( italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ] and t=1T𝔼[δpt𝕀(Atc)]superscriptsubscript𝑡1𝑇𝔼delimited-[]subscript𝛿subscript𝑝𝑡𝕀superscriptsubscript𝐴𝑡𝑐\sum_{t=1}^{T}\mathbb{E}\left[\delta_{p_{t}}\cdot\mathbbm{I}(A_{t}^{c})\right]∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_E [ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ⋅ blackboard_I ( italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c end_POSTSUPERSCRIPT ) ]. Where for any round t𝑡titalic_t, we define the good event Atsubscript𝐴𝑡A_{t}italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT as follows,

i[m],qiq^i,tqi+2logTTi,t.formulae-sequencefor-all𝑖delimited-[]𝑚subscript𝑞𝑖subscript^𝑞𝑖𝑡subscript𝑞𝑖2𝑇subscript𝑇𝑖𝑡\displaystyle\forall i\in\left[m\right],\quad q_{i}\leq\widehat{q}_{i,t}\leq q% _{i}+2\sqrt{\frac{\log T}{T_{i,t}}}.∀ italic_i ∈ [ italic_m ] , italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≤ over^ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≤ italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + 2 square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG end_ARG .

Define q¯i,t=Δτ=1t𝕀(iSτ,iτ=i)Ti,t=s=1t𝕀(iSτ)𝕀(iτ=i)τ=1t𝕀(iSτ)superscriptΔsubscript¯𝑞𝑖𝑡superscriptsubscript𝜏1𝑡𝕀formulae-sequence𝑖subscript𝑆𝜏subscript𝑖𝜏𝑖subscript𝑇𝑖𝑡superscriptsubscript𝑠1𝑡𝕀𝑖subscript𝑆𝜏𝕀subscript𝑖𝜏𝑖superscriptsubscript𝜏1𝑡𝕀𝑖subscript𝑆𝜏\overline{q}_{i,t}\stackrel{{\scriptstyle\Delta}}{{=}}\frac{\sum_{\tau=1}^{t}% \mathbbm{I}(i\in S_{\tau},i_{\tau}=i)}{T_{i,t}}=\frac{\sum_{s=1}^{t}\mathbbm{I% }(i\in S_{\tau})\cdot\mathbbm{I}(i_{\tau}=i)}{\sum_{\tau=1}^{t}\mathbbm{I}(i% \in S_{\tau})}over¯ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP divide start_ARG ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT blackboard_I ( italic_i ∈ italic_S start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT , italic_i start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT = italic_i ) end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG = divide start_ARG ∑ start_POSTSUBSCRIPT italic_s = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT blackboard_I ( italic_i ∈ italic_S start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ) ⋅ blackboard_I ( italic_i start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT = italic_i ) end_ARG start_ARG ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT blackboard_I ( italic_i ∈ italic_S start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ) end_ARG. Note that 𝕀(iτ=i)𝕀subscript𝑖𝜏𝑖\mathbbm{I}(i_{\tau}=i)blackboard_I ( italic_i start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT = italic_i ) is a random variable that follows Bernoulli distribution Ber(qi)Bersubscript𝑞𝑖\text{Ber}(q_{i})Ber ( italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ), and one can only observe 𝕀(iτ=i)𝕀subscript𝑖𝜏𝑖\mathbbm{I}(i_{\tau}=i)blackboard_I ( italic_i start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT = italic_i ) when iSτ𝑖subscript𝑆𝜏i\in S_{\tau}italic_i ∈ italic_S start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT, let x¯i,jsubscript¯𝑥𝑖𝑗\overline{x}_{i,j}over¯ start_ARG italic_x end_ARG start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT denote the mean value of first j𝑗jitalic_j i.i.d. observations of 𝕀(is=i)𝕀subscript𝑖𝑠𝑖\mathbbm{I}(i_{s}=i)blackboard_I ( italic_i start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT = italic_i ). Then, we have

(|q¯i,tqi|>logTTi,t)subscript¯𝑞𝑖𝑡subscript𝑞𝑖𝑇subscript𝑇𝑖𝑡\displaystyle\mathbb{P}\left(\left|\overline{q}_{i,t}-q_{i}\right|>\sqrt{\frac% {\log T}{T_{i,t}}}\right)blackboard_P ( | over¯ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT | > square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG end_ARG ) =j=0t(|q¯i,tqi|>logTTi,t,Ti,t=j)absentsuperscriptsubscript𝑗0𝑡formulae-sequencesubscript¯𝑞𝑖𝑡subscript𝑞𝑖𝑇subscript𝑇𝑖𝑡subscript𝑇𝑖𝑡𝑗\displaystyle=\sum_{j=0}^{t}\mathbb{P}\left(\left|\overline{q}_{i,t}-q_{i}% \right|>\sqrt{\frac{\log T}{T_{i,t}}},\ \ T_{i,t}=j\right)= ∑ start_POSTSUBSCRIPT italic_j = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT blackboard_P ( | over¯ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT | > square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG end_ARG , italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = italic_j )
j=0t(|x¯i,jqi|>logTj)absentsuperscriptsubscript𝑗0𝑡subscript¯𝑥𝑖𝑗subscript𝑞𝑖𝑇𝑗\displaystyle\leq\sum_{j=0}^{t}\mathbb{P}\left(\left|\overline{x}_{i,j}-q_{i}% \right|>\sqrt{\frac{\log T}{j}}\right)≤ ∑ start_POSTSUBSCRIPT italic_j = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT blackboard_P ( | over¯ start_ARG italic_x end_ARG start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT - italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT | > square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_j end_ARG end_ARG )
j=0t2exp(2logT)absentsuperscriptsubscript𝑗0𝑡22𝑇\displaystyle\leq\sum_{j=0}^{t}2\exp(-2\log T)≤ ∑ start_POSTSUBSCRIPT italic_j = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT 2 roman_exp ( - 2 roman_log italic_T )
2T.absent2𝑇\displaystyle\leq\frac{2}{T}.≤ divide start_ARG 2 end_ARG start_ARG italic_T end_ARG .

Where in the first inequality, the event {|q¯i,tqi|>logTTi,t,Ti,t=j}formulae-sequencesubscript¯𝑞𝑖𝑡subscript𝑞𝑖𝑇subscript𝑇𝑖𝑡subscript𝑇𝑖𝑡𝑗\left\{\left|\overline{q}_{i,t}-q_{i}\right|>\sqrt{\frac{\log T}{T_{i,t}}},\ % \ T_{i,t}=j\right\}{ | over¯ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT | > square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG end_ARG , italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = italic_j } indicates {|x¯i,jqi|>logTj},subscript¯𝑥𝑖𝑗subscript𝑞𝑖𝑇𝑗\left\{\left|\overline{x}_{i,j}-q_{i}\right|>\sqrt{\frac{\log T}{j}}\right\},{ | over¯ start_ARG italic_x end_ARG start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT - italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT | > square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_j end_ARG end_ARG } , and the second inequality follows from Hoeffding’s inequality.

We then bound the second term in (33)

t=1T𝔼[δpt𝕀(Atc)]superscriptsubscript𝑡1𝑇𝔼delimited-[]subscript𝛿subscript𝑝𝑡𝕀superscriptsubscript𝐴𝑡𝑐\displaystyle\sum_{t=1}^{T}\mathbb{E}\left[\delta_{p_{t}}\mathbbm{I}(A_{t}^{c}% )\right]∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_E [ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT blackboard_I ( italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c end_POSTSUPERSCRIPT ) ] t=1T𝔼[𝕀(Atc)]absentsuperscriptsubscript𝑡1𝑇𝔼delimited-[]𝕀superscriptsubscript𝐴𝑡𝑐\displaystyle\leq\sum_{t=1}^{T}\mathbb{E}\left[\mathbbm{I}(A_{t}^{c})\right]≤ ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_E [ blackboard_I ( italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c end_POSTSUPERSCRIPT ) ]
t=1Ti=1m(|q¯i,tqi|>logTTi,t)absentsuperscriptsubscript𝑡1𝑇superscriptsubscript𝑖1𝑚subscript¯𝑞𝑖𝑡subscript𝑞𝑖𝑇subscript𝑇𝑖𝑡\displaystyle\leq\sum_{t=1}^{T}\sum_{i=1}^{m}\mathbb{P}\left(\left|\overline{q% }_{i,t}-q_{i}\right|>\sqrt{\frac{\log T}{T_{i,t}}}\right)≤ ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT blackboard_P ( | over¯ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT | > square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG end_ARG )
t=1Ti=1m2Tabsentsuperscriptsubscript𝑡1𝑇superscriptsubscript𝑖1𝑚2𝑇\displaystyle\leq\sum_{t=1}^{T}\sum_{i=1}^{m}\frac{2}{T}≤ ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT divide start_ARG 2 end_ARG start_ARG italic_T end_ARG
2m.absent2𝑚\displaystyle\leq 2m.≤ 2 italic_m .

Define event Ht=Δ{0<δpt<2iStlogTTi,t1}superscriptΔsubscript𝐻𝑡0subscript𝛿subscript𝑝𝑡2subscript𝑖subscript𝑆𝑡𝑇subscript𝑇𝑖𝑡1H_{t}\stackrel{{\scriptstyle\Delta}}{{=}}\left\{0<\delta_{p_{t}}<2\sum_{i\in S% _{t}}\sqrt{\frac{\log T}{T_{i,t-1}}}\right\}italic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { 0 < italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT < 2 ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT end_ARG end_ARG }. By Lemma C.3, we know that

𝕀(At1,δpt>0)𝕀(0<δpt<iSt2logTTi,t1)=𝕀(HT).𝕀subscript𝐴𝑡1subscript𝛿subscript𝑝𝑡0𝕀0subscript𝛿subscript𝑝𝑡subscript𝑖subscript𝑆𝑡2𝑇subscript𝑇𝑖𝑡1𝕀subscript𝐻𝑇\displaystyle\mathbbm{I}(A_{t-1},\,\delta_{p_{t}}>0)\implies\mathbbm{I}\left(0% <\delta_{p_{t}}<\sum_{i\in S_{t}}2\sqrt{\frac{\log T}{T_{i,t-1}}}\right)=% \mathbbm{I}(H_{T}).blackboard_I ( italic_A start_POSTSUBSCRIPT italic_t - 1 end_POSTSUBSCRIPT , italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT > 0 ) ⟹ blackboard_I ( 0 < italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT < ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT 2 square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT end_ARG end_ARG ) = blackboard_I ( italic_H start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ) .

It remains to prove the upper bound for t=1T𝔼[δpt𝕀(AT)]superscriptsubscript𝑡1𝑇𝔼delimited-[]subscript𝛿subscript𝑝𝑡𝕀subscript𝐴𝑇\sum_{t=1}^{T}\mathbb{E}\left[\delta_{p_{t}}\mathbbm{I}(A_{T})\right]∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_E [ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT blackboard_I ( italic_A start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT ) ].

For t{1,,T}𝑡1𝑇t\in\{1,\dots,T\}italic_t ∈ { 1 , … , italic_T } and k+𝑘subscriptk\in\mathbb{Z}_{+}italic_k ∈ blackboard_Z start_POSTSUBSCRIPT + end_POSTSUBSCRIPT, let

mk,t=Δ{αk(mδpt)2logT,δpt>0,+,δpt=0,superscriptΔsubscript𝑚𝑘𝑡casessubscript𝛼𝑘superscript𝑚subscript𝛿subscript𝑝𝑡2𝑇subscript𝛿subscript𝑝𝑡0subscript𝛿subscript𝑝𝑡0\displaystyle m_{k,t}\stackrel{{\scriptstyle\Delta}}{{=}}\begin{cases}\alpha_{% k}\left(\frac{m}{\delta_{p_{t}}}\right)^{2}\log T,&\delta_{p_{t}}>0,\\ +\infty,&\delta_{p_{t}}=0,\end{cases}italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { start_ROW start_CELL italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( divide start_ARG italic_m end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_log italic_T , end_CELL start_CELL italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT > 0 , end_CELL end_ROW start_ROW start_CELL + ∞ , end_CELL start_CELL italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT = 0 , end_CELL end_ROW

and

Ak,t=Δ{iSt:Ti,t1mk,t}.superscriptΔsubscript𝐴𝑘𝑡conditional-set𝑖subscript𝑆𝑡subscript𝑇𝑖𝑡1subscript𝑚𝑘𝑡\displaystyle A_{k,t}\stackrel{{\scriptstyle\Delta}}{{=}}\left\{i\in S_{t}:T_{% i,t-1}\leq m_{k,t}\right\}.italic_A start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT : italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT ≤ italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT } .

Then, we define an event

𝒢k,t=Δ{|Ak,t|βkm},superscriptΔsubscript𝒢𝑘𝑡subscript𝐴𝑘𝑡subscript𝛽𝑘𝑚\displaystyle\mathcal{G}_{k,t}\stackrel{{\scriptstyle\Delta}}{{=}}\left\{\left% |A_{k,t}\right|\geq\beta_{k}m\right\},caligraphic_G start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { | italic_A start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT | ≥ italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m } ,

which means “In the t𝑡titalic_t-th round, at least βkmsubscript𝛽𝑘𝑚\beta_{k}mitalic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m types in Stsubscript𝑆𝑡S_{t}italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT has been observed at most mk,tsubscript𝑚𝑘𝑡m_{k,t}italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT times”.

Then, by Lemma C.5, we have

t=1T𝕀(t)δptk=1t=1T𝕀(𝒢k,t,δpt>0)δpt.superscriptsubscript𝑡1𝑇𝕀subscript𝑡subscript𝛿subscript𝑝𝑡superscriptsubscript𝑘1superscriptsubscript𝑡1𝑇𝕀subscript𝒢𝑘𝑡subscript𝛿subscript𝑝𝑡0subscript𝛿subscript𝑝𝑡\displaystyle\sum_{t=1}^{T}\mathbbm{I}(\mathcal{H}_{t})\cdot\delta_{p_{t}}\leq% \sum_{k=1}^{\infty}\sum_{t=1}^{T}\mathbbm{I}\left(\mathcal{G}_{k,t},\delta_{p_% {t}}>0\right)\cdot\delta_{p_{t}}.∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_I ( caligraphic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ≤ ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_I ( caligraphic_G start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT , italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT > 0 ) ⋅ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT .

For i[m],k+,t[T]formulae-sequence𝑖delimited-[]𝑚formulae-sequence𝑘subscript𝑡delimited-[]𝑇i\in[m],k\in\mathbb{Z}_{+},t\in[T]italic_i ∈ [ italic_m ] , italic_k ∈ blackboard_Z start_POSTSUBSCRIPT + end_POSTSUBSCRIPT , italic_t ∈ [ italic_T ], define an event

𝒢i,k,t=Δ𝒢k,t{iSt,Ti,t1mk,t}.superscriptΔsubscript𝒢𝑖𝑘𝑡subscript𝒢𝑘𝑡formulae-sequence𝑖subscript𝑆𝑡subscript𝑇𝑖𝑡1subscript𝑚𝑘𝑡\displaystyle\mathcal{G}_{i,k,t}\stackrel{{\scriptstyle\Delta}}{{=}}\mathcal{G% }_{k,t}\cap\left\{i\in S_{t},\,T_{i,t-1}\leq m_{k,t}\right\}.caligraphic_G start_POSTSUBSCRIPT italic_i , italic_k , italic_t end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP caligraphic_G start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT ∩ { italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT ≤ italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT } .

Then by the definitions of 𝒢k,tsubscript𝒢𝑘𝑡\mathcal{G}_{k,t}caligraphic_G start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT and 𝒢i,k,tsubscript𝒢𝑖𝑘𝑡\mathcal{G}_{i,k,t}caligraphic_G start_POSTSUBSCRIPT italic_i , italic_k , italic_t end_POSTSUBSCRIPT we have

𝕀(𝒢k,t,δpt>0)1βkmiEB𝕀(𝒢i,k,t,δpt>0).𝕀subscript𝒢𝑘𝑡subscript𝛿subscript𝑝𝑡01subscript𝛽𝑘𝑚subscript𝑖subscript𝐸B𝕀subscript𝒢𝑖𝑘𝑡subscript𝛿subscript𝑝𝑡0\displaystyle\mathbbm{I}\left(\mathcal{G}_{k,t},\,\delta_{p_{t}}>0\right)\leq% \frac{1}{\beta_{k}m}\sum_{i\in E_{\mathrm{B}}}\mathbbm{I}\left(\mathcal{G}_{i,% k,t},\,\delta_{p_{t}}>0\right).blackboard_I ( caligraphic_G start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT , italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT > 0 ) ≤ divide start_ARG 1 end_ARG start_ARG italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m end_ARG ∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT blackboard_I ( caligraphic_G start_POSTSUBSCRIPT italic_i , italic_k , italic_t end_POSTSUBSCRIPT , italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT > 0 ) .

Therefore,

t=1T𝕀(t)δptiEBk=1t=1T𝕀(𝒢i,k,t,δpt>0)δptβkm.superscriptsubscript𝑡1𝑇𝕀subscript𝑡subscript𝛿subscript𝑝𝑡subscript𝑖subscript𝐸Bsuperscriptsubscript𝑘1superscriptsubscript𝑡1𝑇𝕀subscript𝒢𝑖𝑘𝑡subscript𝛿subscript𝑝𝑡0subscript𝛿subscript𝑝𝑡subscript𝛽𝑘𝑚\displaystyle\sum_{t=1}^{T}\mathbbm{I}(\mathcal{H}_{t})\cdot\delta_{p_{t}}\leq% \sum_{i\in E_{\mathrm{B}}}\sum_{k=1}^{\infty}\sum_{t=1}^{T}\mathbbm{I}\left(% \mathcal{G}_{i,k,t},\,\delta_{p_{t}}>0\right)\cdot\frac{\delta_{p_{t}}}{\beta_% {k}m}.∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_I ( caligraphic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ≤ ∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_I ( caligraphic_G start_POSTSUBSCRIPT italic_i , italic_k , italic_t end_POSTSUBSCRIPT , italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT > 0 ) ⋅ divide start_ARG italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT end_ARG start_ARG italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m end_ARG .

For any price function p𝑝pitalic_p, define δp=Δrev(p)rev(p)superscriptΔsubscript𝛿𝑝revsuperscript𝑝rev𝑝\delta_{p}\stackrel{{\scriptstyle\Delta}}{{=}}\mathrm{rev}(p^{\star})-\mathrm{% rev}(p)italic_δ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP roman_rev ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) - roman_rev ( italic_p ). If δp>0subscript𝛿𝑝0\delta_{p}>0italic_δ start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT > 0, we call it a “bad” price. Let EB=Δ{i[m]:type i would make a purchase at least one bad price}superscriptΔsubscript𝐸𝐵conditional-set𝑖delimited-[]𝑚type 𝑖 would make a purchase at least one bad priceE_{B}\stackrel{{\scriptstyle\Delta}}{{=}}\left\{i\in[m]:\text{type }i\text{ % would make a purchase at least one bad price}\right\}italic_E start_POSTSUBSCRIPT italic_B end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { italic_i ∈ [ italic_m ] : type italic_i would make a purchase at least one bad price }.

For each type iEB𝑖subscript𝐸Bi\in E_{\mathrm{B}}italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT, suppose i𝑖iitalic_i is contained in Nisubscript𝑁𝑖N_{i}italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT bad prices pi,1B,pi,2B,,pi,NiBsuperscriptsubscript𝑝𝑖1Bsuperscriptsubscript𝑝𝑖2Bsuperscriptsubscript𝑝𝑖subscript𝑁𝑖Bp_{i,1}^{\mathrm{B}},p_{i,2}^{\mathrm{B}},\ldots,p_{i,N_{i}}^{\mathrm{B}}italic_p start_POSTSUBSCRIPT italic_i , 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_B end_POSTSUPERSCRIPT , italic_p start_POSTSUBSCRIPT italic_i , 2 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_B end_POSTSUPERSCRIPT , … , italic_p start_POSTSUBSCRIPT italic_i , italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_B end_POSTSUPERSCRIPT. Let δi,l=Δδpi,lB(l[Ni])superscriptΔsubscript𝛿𝑖𝑙subscript𝛿superscriptsubscript𝑝𝑖𝑙B𝑙delimited-[]subscript𝑁𝑖\delta_{i,l}\stackrel{{\scriptstyle\Delta}}{{=}}\delta_{p_{i,l}^{\mathrm{B}}}% \left(l\in\left[N_{i}\right]\right)italic_δ start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_B end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ( italic_l ∈ [ italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ] ). Without loss of generality, we assume δi,1δi,2δi,Nisubscript𝛿𝑖1subscript𝛿𝑖2subscript𝛿𝑖subscript𝑁𝑖\delta_{i,1}\geq\delta_{i,2}\geq\cdots\geq\delta_{i,N_{i}}italic_δ start_POSTSUBSCRIPT italic_i , 1 end_POSTSUBSCRIPT ≥ italic_δ start_POSTSUBSCRIPT italic_i , 2 end_POSTSUBSCRIPT ≥ ⋯ ≥ italic_δ start_POSTSUBSCRIPT italic_i , italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT. Let δi,min=Δδi,NisuperscriptΔsubscript𝛿𝑖subscript𝛿𝑖subscript𝑁𝑖\delta_{i,\min}\stackrel{{\scriptstyle\Delta}}{{=}}\delta_{i,N_{i}}italic_δ start_POSTSUBSCRIPT italic_i , roman_min end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP italic_δ start_POSTSUBSCRIPT italic_i , italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT. For convenience, we also define δi,0=+subscript𝛿𝑖0\delta_{i,0}=+\inftyitalic_δ start_POSTSUBSCRIPT italic_i , 0 end_POSTSUBSCRIPT = + ∞, i.e., αk(2mδi,0)2=0subscript𝛼𝑘superscript2𝑚subscript𝛿𝑖020\alpha_{k}\left(\frac{2m}{\delta_{i,0}}\right)^{2}=0italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( divide start_ARG 2 italic_m end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , 0 end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = 0. Then, we have

t=1T𝕀(t)δptsuperscriptsubscript𝑡1𝑇𝕀subscript𝑡subscript𝛿subscript𝑝𝑡\displaystyle\sum_{t=1}^{T}\mathbbm{I}\left(\mathcal{H}_{t}\right)\delta_{p_{t}}∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_I ( caligraphic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT
\displaystyle\leq iEBk=1t=1T𝕀(𝒢i,k,t,δpt>0)δptβkmsubscript𝑖subscript𝐸Bsuperscriptsubscript𝑘1superscriptsubscript𝑡1𝑇𝕀subscript𝒢𝑖𝑘𝑡subscript𝛿subscript𝑝𝑡0subscript𝛿subscript𝑝𝑡subscript𝛽𝑘𝑚\displaystyle\sum_{i\in E_{\mathrm{B}}}\sum_{k=1}^{\infty}\sum_{t=1}^{T}% \mathbbm{I}\left(\mathcal{G}_{i,k,t},\,\delta_{p_{t}}>0\right)\frac{\delta_{p_% {t}}}{\beta_{k}m}∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_I ( caligraphic_G start_POSTSUBSCRIPT italic_i , italic_k , italic_t end_POSTSUBSCRIPT , italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT > 0 ) divide start_ARG italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT end_ARG start_ARG italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m end_ARG
=\displaystyle== iEBk=1t=1Tl=1Ni𝕀(𝒢i,k,t,pt=pi,lB)δptβkmsubscript𝑖subscript𝐸Bsuperscriptsubscript𝑘1superscriptsubscript𝑡1𝑇superscriptsubscript𝑙1subscript𝑁𝑖𝕀subscript𝒢𝑖𝑘𝑡subscript𝑝𝑡superscriptsubscript𝑝𝑖𝑙Bsubscript𝛿subscript𝑝𝑡subscript𝛽𝑘𝑚\displaystyle\sum_{i\in E_{\mathrm{B}}}\sum_{k=1}^{\infty}\sum_{t=1}^{T}\sum_{% l=1}^{N_{i}}\mathbbm{I}\left(\mathcal{G}_{i,k,t},\,p_{t}=p_{i,l}^{\mathrm{B}}% \right)\frac{\delta_{p_{t}}}{\beta_{k}m}∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_l = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT blackboard_I ( caligraphic_G start_POSTSUBSCRIPT italic_i , italic_k , italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = italic_p start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_B end_POSTSUPERSCRIPT ) divide start_ARG italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT end_ARG start_ARG italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m end_ARG
=\displaystyle== iEBk=1t=1Tl=1Ni𝕀(𝒢i,k,t,pt=pi,lB)δi,lβkmsubscript𝑖subscript𝐸Bsuperscriptsubscript𝑘1superscriptsubscript𝑡1𝑇superscriptsubscript𝑙1subscript𝑁𝑖𝕀subscript𝒢𝑖𝑘𝑡subscript𝑝𝑡superscriptsubscript𝑝𝑖𝑙Bsubscript𝛿𝑖𝑙subscript𝛽𝑘𝑚\displaystyle\sum_{i\in E_{\mathrm{B}}}\sum_{k=1}^{\infty}\sum_{t=1}^{T}\sum_{% l=1}^{N_{i}}\mathbbm{I}\left(\mathcal{G}_{i,k,t},\,p_{t}=p_{i,l}^{\mathrm{B}}% \right)\frac{\delta_{i,l}}{\beta_{k}m}∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_l = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT blackboard_I ( caligraphic_G start_POSTSUBSCRIPT italic_i , italic_k , italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = italic_p start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_B end_POSTSUPERSCRIPT ) divide start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT end_ARG start_ARG italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m end_ARG
\displaystyle\leq iEBk=1t=1Tl=1Ni𝕀(Ti,t1mk,t,pt=pi,lB)δi,lβkmsubscript𝑖subscript𝐸Bsuperscriptsubscript𝑘1superscriptsubscript𝑡1𝑇superscriptsubscript𝑙1subscript𝑁𝑖𝕀formulae-sequencesubscript𝑇𝑖𝑡1subscript𝑚𝑘𝑡subscript𝑝𝑡superscriptsubscript𝑝𝑖𝑙Bsubscript𝛿𝑖𝑙subscript𝛽𝑘𝑚\displaystyle\sum_{i\in E_{\mathrm{B}}}\sum_{k=1}^{\infty}\sum_{t=1}^{T}\sum_{% l=1}^{N_{i}}\mathbbm{I}\left(T_{i,t-1}\leq m_{k,t},\,p_{t}=p_{i,l}^{\mathrm{B}% }\right)\frac{\delta_{i,l}}{\beta_{k}m}∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_l = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT blackboard_I ( italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT ≤ italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = italic_p start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_B end_POSTSUPERSCRIPT ) divide start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT end_ARG start_ARG italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m end_ARG
=\displaystyle== iEBk=1t=1Tl=1Ni𝕀(Ti,t1αk(2mδi,l)2logT,pt=pi,lB)δi,lβkmsubscript𝑖subscript𝐸Bsuperscriptsubscript𝑘1superscriptsubscript𝑡1𝑇superscriptsubscript𝑙1subscript𝑁𝑖𝕀formulae-sequencesubscript𝑇𝑖𝑡1subscript𝛼𝑘superscript2𝑚subscript𝛿𝑖𝑙2𝑇subscript𝑝𝑡superscriptsubscript𝑝𝑖𝑙Bsubscript𝛿𝑖𝑙subscript𝛽𝑘𝑚\displaystyle\sum_{i\in E_{\mathrm{B}}}\sum_{k=1}^{\infty}\sum_{t=1}^{T}\sum_{% l=1}^{N_{i}}\mathbbm{I}\left(T_{i,t-1}\leq\alpha_{k}\left(\frac{2m}{\delta_{i,% l}}\right)^{2}\log T,\,p_{t}=p_{i,l}^{\mathrm{B}}\right)\frac{\delta_{i,l}}{% \beta_{k}m}∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_l = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT blackboard_I ( italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT ≤ italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( divide start_ARG 2 italic_m end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_log italic_T , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = italic_p start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_B end_POSTSUPERSCRIPT ) divide start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT end_ARG start_ARG italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m end_ARG
=\displaystyle== iEBk=1t=1Tl=1Nij=1l𝕀(αk(2mδi,j1)2logT<Ti,t1αk(2mδi,j)2logT,pt=pi,lB)δi,lβkm\displaystyle\sum_{i\in E_{\mathrm{B}}}\sum_{k=1}^{\infty}\sum_{t=1}^{T}\sum_{% l=1}^{N_{i}}\sum_{j=1}^{l}\mathbbm{I}\left(\alpha_{k}\left(\frac{2m}{\delta_{i% ,j-1}}\right)^{2}\log T<T_{i,t-1}\leq\alpha_{k}\left(\frac{2m}{\delta_{i,j}}% \right)^{2}\log T,\,p_{t}=p_{i,l}^{\mathrm{B}}\right)\frac{\delta_{i,l}}{\beta% _{k}m}∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_l = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_l end_POSTSUPERSCRIPT blackboard_I ( italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( divide start_ARG 2 italic_m end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j - 1 end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_log italic_T < italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT ≤ italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( divide start_ARG 2 italic_m end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_log italic_T , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = italic_p start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_B end_POSTSUPERSCRIPT ) divide start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT end_ARG start_ARG italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m end_ARG
\displaystyle\leq iEBk=1t=1Tl=1Nij=1l𝕀(αk(2mδi,j1)2logT<Ti,t1αk(2mδi,j)2logT,pt=pi,lB)δi,jβkm\displaystyle\sum_{i\in E_{\mathrm{B}}}\sum_{k=1}^{\infty}\sum_{t=1}^{T}\sum_{% l=1}^{N_{i}}\sum_{j=1}^{l}\mathbbm{I}\left(\alpha_{k}\left(\frac{2m}{\delta_{i% ,j-1}}\right)^{2}\log T<T_{i,t-1}\leq\alpha_{k}\left(\frac{2m}{\delta_{i,j}}% \right)^{2}\log T,\,p_{t}=p_{i,l}^{\mathrm{B}}\right)\frac{\delta_{i,j}}{\beta% _{k}m}∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_l = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_l end_POSTSUPERSCRIPT blackboard_I ( italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( divide start_ARG 2 italic_m end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j - 1 end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_log italic_T < italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT ≤ italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( divide start_ARG 2 italic_m end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_log italic_T , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = italic_p start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_B end_POSTSUPERSCRIPT ) divide start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT end_ARG start_ARG italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m end_ARG
\displaystyle\leq iEBk=1t=1Tl=1Nij=1Ni𝕀(αk(2mδi,j1)2logT<Ti,t1αk(2mδi,j)2logT,pt=pi,lB)δi,jβkm\displaystyle\sum_{i\in E_{\mathrm{B}}}\sum_{k=1}^{\infty}\sum_{t=1}^{T}\sum_{% l=1}^{N_{i}}\sum_{j=1}^{N_{i}}\mathbbm{I}\left(\alpha_{k}\left(\frac{2m}{% \delta_{i,j-1}}\right)^{2}\log T<T_{i,t-1}\leq\alpha_{k}\left(\frac{2m}{\delta% _{i,j}}\right)^{2}\log T,\,p_{t}=p_{i,l}^{\mathrm{B}}\right)\frac{\delta_{i,j}% }{\beta_{k}m}∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_l = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT blackboard_I ( italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( divide start_ARG 2 italic_m end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j - 1 end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_log italic_T < italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT ≤ italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( divide start_ARG 2 italic_m end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_log italic_T , italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = italic_p start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_B end_POSTSUPERSCRIPT ) divide start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT end_ARG start_ARG italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m end_ARG
\displaystyle\leq iEBk=1t=1Tj=1Ni𝕀(αk(2mδi,j1)2logT<Ti,t1αk(2mδi,j)2logT,iSt)δi,jβkm\displaystyle\sum_{i\in E_{\mathrm{B}}}\sum_{k=1}^{\infty}\sum_{t=1}^{T}\sum_{% j=1}^{N_{i}}\mathbbm{I}\left(\alpha_{k}\left(\frac{2m}{\delta_{i,j-1}}\right)^% {2}\log T<T_{i,t-1}\leq\alpha_{k}\left(\frac{2m}{\delta_{i,j}}\right)^{2}\log T% ,\,i\in S_{t}\right)\frac{\delta_{i,j}}{\beta_{k}m}∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT blackboard_I ( italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( divide start_ARG 2 italic_m end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j - 1 end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_log italic_T < italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT ≤ italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( divide start_ARG 2 italic_m end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_log italic_T , italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) divide start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT end_ARG start_ARG italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m end_ARG
\displaystyle\leq iEBk=1j=1Ni(αk(2mδi,j)2logTαk(2mδi,j1)2logT)δi,jβkmsubscript𝑖subscript𝐸Bsuperscriptsubscript𝑘1superscriptsubscript𝑗1subscript𝑁𝑖subscript𝛼𝑘superscript2𝑚subscript𝛿𝑖𝑗2𝑇subscript𝛼𝑘superscript2𝑚subscript𝛿𝑖𝑗12𝑇subscript𝛿𝑖𝑗subscript𝛽𝑘𝑚\displaystyle\sum_{i\in E_{\mathrm{B}}}\sum_{k=1}^{\infty}\sum_{j=1}^{N_{i}}% \left(\alpha_{k}\left(\frac{2m}{\delta_{i,j}}\right)^{2}\log T-\alpha_{k}\left% (\frac{2m}{\delta_{i,j-1}}\right)^{2}\log T\right)\frac{\delta_{i,j}}{\beta_{k% }m}∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ( italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( divide start_ARG 2 italic_m end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_log italic_T - italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( divide start_ARG 2 italic_m end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j - 1 end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_log italic_T ) divide start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT end_ARG start_ARG italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m end_ARG
=\displaystyle== 4m(k=1αkβk)logTiEBj=1Ni(1δi,j21δi,j12)δi,j4𝑚superscriptsubscript𝑘1subscript𝛼𝑘subscript𝛽𝑘𝑇subscript𝑖subscript𝐸Bsuperscriptsubscript𝑗1subscript𝑁𝑖1superscriptsubscript𝛿𝑖𝑗21superscriptsubscript𝛿𝑖𝑗12subscript𝛿𝑖𝑗\displaystyle 4m\left(\sum_{k=1}^{\infty}\frac{\alpha_{k}}{\beta_{k}}\right)% \log T\cdot\sum_{i\in E_{\mathrm{B}}}\sum_{j=1}^{N_{i}}\left(\frac{1}{\delta_{% i,j}^{2}}-\frac{1}{\delta_{i,j-1}^{2}}\right)\delta_{i,j}4 italic_m ( ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT divide start_ARG italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_ARG start_ARG italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_ARG ) roman_log italic_T ⋅ ∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ( divide start_ARG 1 end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG - divide start_ARG 1 end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j - 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT
\displaystyle\leq 1068mlogTiEBj=1Ni(1δi,j21δi,j12)δi,j,1068𝑚𝑇subscript𝑖subscript𝐸Bsuperscriptsubscript𝑗1subscript𝑁𝑖1superscriptsubscript𝛿𝑖𝑗21superscriptsubscript𝛿𝑖𝑗12subscript𝛿𝑖𝑗\displaystyle 1068m\log T\cdot\sum_{i\in E_{\mathrm{B}}}\sum_{j=1}^{N_{i}}% \left(\frac{1}{\delta_{i,j}^{2}}-\frac{1}{\delta_{i,j-1}^{2}}\right)\delta_{i,% j},1068 italic_m roman_log italic_T ⋅ ∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ( divide start_ARG 1 end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG - divide start_ARG 1 end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j - 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ,

where the last inequality is due to Lemma C.4. Finally, for each iEB𝑖subscript𝐸Bi\in E_{\mathrm{B}}italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT we have

j=1Ni(1δi,j21δi,j12)δi,jsuperscriptsubscript𝑗1subscript𝑁𝑖1superscriptsubscript𝛿𝑖𝑗21superscriptsubscript𝛿𝑖𝑗12subscript𝛿𝑖𝑗\displaystyle\sum_{j=1}^{N_{i}}\left(\frac{1}{\delta_{i,j}^{2}}-\frac{1}{% \delta_{i,j-1}^{2}}\right)\delta_{i,j}∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ( divide start_ARG 1 end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG - divide start_ARG 1 end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j - 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT =1δi,Ni+j=1Ni11δi,j2(δi,jδi,j+1)absent1subscript𝛿𝑖subscript𝑁𝑖superscriptsubscript𝑗1subscript𝑁𝑖11superscriptsubscript𝛿𝑖𝑗2subscript𝛿𝑖𝑗subscript𝛿𝑖𝑗1\displaystyle=\frac{1}{\delta_{i,N_{i}}}+\sum_{j=1}^{N_{i}-1}\frac{1}{\delta_{% i,j}^{2}}\left(\delta_{i,j}-\delta_{i,j+1}\right)= divide start_ARG 1 end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT end_ARG + ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - 1 end_POSTSUPERSCRIPT divide start_ARG 1 end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ( italic_δ start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT - italic_δ start_POSTSUBSCRIPT italic_i , italic_j + 1 end_POSTSUBSCRIPT )
1δi,Ni+δi,Niδi,11x2dxabsent1subscript𝛿𝑖subscript𝑁𝑖superscriptsubscriptsubscript𝛿𝑖subscript𝑁𝑖subscript𝛿𝑖11superscript𝑥2differential-d𝑥\displaystyle\leq\frac{1}{\delta_{i,N_{i}}}+\int_{\delta_{i,N_{i}}}^{\delta_{i% ,1}}\frac{1}{x^{2}}\mathrm{d}x≤ divide start_ARG 1 end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT end_ARG + ∫ start_POSTSUBSCRIPT italic_δ start_POSTSUBSCRIPT italic_i , italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_δ start_POSTSUBSCRIPT italic_i , 1 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT divide start_ARG 1 end_ARG start_ARG italic_x start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG roman_d italic_x
=2δi,Ni1δi,1absent2subscript𝛿𝑖subscript𝑁𝑖1subscript𝛿𝑖1\displaystyle=\frac{2}{\delta_{i,N_{i}}}-\frac{1}{\delta_{i,1}}= divide start_ARG 2 end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT end_ARG - divide start_ARG 1 end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , 1 end_POSTSUBSCRIPT end_ARG
2δi,min.absent2subscript𝛿𝑖\displaystyle\leq\frac{2}{\delta_{i,\min}}.≤ divide start_ARG 2 end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , roman_min end_POSTSUBSCRIPT end_ARG .

It follows that

t=1T𝕀(t)δpt1068mlogTiEB2δi,min=miEB2136δi,minlogTsuperscriptsubscript𝑡1𝑇𝕀subscript𝑡subscript𝛿subscript𝑝𝑡1068𝑚𝑇subscript𝑖subscript𝐸B2subscript𝛿𝑖𝑚subscript𝑖subscript𝐸B2136subscript𝛿𝑖𝑇\displaystyle\sum_{t=1}^{T}\mathbbm{I}(\mathcal{H}_{t})\cdot\delta_{p_{t}}\leq 1% 068m\log T\cdot\sum_{i\in E_{\mathrm{B}}}\frac{2}{\delta_{i,\min}}=m\sum_{i\in E% _{\mathrm{B}}}\frac{2136}{\delta_{i,\min}}\log T∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_I ( caligraphic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ≤ 1068 italic_m roman_log italic_T ⋅ ∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT divide start_ARG 2 end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , roman_min end_POSTSUBSCRIPT end_ARG = italic_m ∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT end_POSTSUBSCRIPT divide start_ARG 2136 end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , roman_min end_POSTSUBSCRIPT end_ARG roman_log italic_T (34)

So far, the distribution-dependent regret bound is proven. To prove the distribution-independent bound, we decompose t=1T𝕀(t)δptsuperscriptsubscript𝑡1𝑇𝕀subscript𝑡subscript𝛿subscript𝑝𝑡\sum_{t=1}^{T}\mathbbm{I}(\mathcal{H}_{t})\cdot\delta_{p_{t}}∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_I ( caligraphic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT into two parts:

t=1T𝕀(t)δptsuperscriptsubscript𝑡1𝑇𝕀subscript𝑡subscript𝛿subscript𝑝𝑡\displaystyle\sum_{t=1}^{T}\mathbbm{I}(\mathcal{H}_{t})\cdot\delta_{p_{t}}∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_I ( caligraphic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT =t=1T𝕀(t,δptϵ)δpt+t=1T𝕀(t,δpt>ϵ)δptabsentsuperscriptsubscript𝑡1𝑇𝕀subscript𝑡subscript𝛿subscript𝑝𝑡italic-ϵsubscript𝛿subscript𝑝𝑡superscriptsubscript𝑡1𝑇𝕀subscript𝑡subscript𝛿subscript𝑝𝑡italic-ϵsubscript𝛿subscript𝑝𝑡\displaystyle=\sum_{t=1}^{T}\mathbbm{I}\left(\mathcal{H}_{t},\,\delta_{p_{t}}% \leq\epsilon\right)\cdot\delta_{p_{t}}+\sum_{t=1}^{T}\mathbbm{I}\left(\mathcal% {H}_{t},\,\delta_{p_{t}}>\epsilon\right)\cdot\delta_{p_{t}}= ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_I ( caligraphic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ≤ italic_ϵ ) ⋅ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT + ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_I ( caligraphic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT > italic_ϵ ) ⋅ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT
ϵT+t=1T𝕀(t,δpt>ϵ)δpt,absentitalic-ϵ𝑇superscriptsubscript𝑡1𝑇𝕀subscript𝑡subscript𝛿subscript𝑝𝑡italic-ϵsubscript𝛿subscript𝑝𝑡\displaystyle\leq\epsilon T+\sum_{t=1}^{T}\mathbbm{I}\left(\mathcal{H}_{t},% \delta_{p_{t}}>\epsilon\right)\cdot\delta_{p_{t}},≤ italic_ϵ italic_T + ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_I ( caligraphic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT > italic_ϵ ) ⋅ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ,

where ϵ>0italic-ϵ0\epsilon>0italic_ϵ > 0 is a constant to be determined. The second term can be bounded in the same way as in the proof of the distribution-dependent regret bound, except that we only consider the case δpt>ϵsubscript𝛿subscript𝑝𝑡italic-ϵ\delta_{p_{t}}>\epsilonitalic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT > italic_ϵ. (For each type iEB𝑖subscript𝐸Bi\in E_{\mathrm{B}}italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT, suppose i𝑖iitalic_i is contained in Nisubscript𝑁𝑖N_{i}italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT bad prices pi,1B,pi,2B,,pi,NiBsuperscriptsubscript𝑝𝑖1Bsuperscriptsubscript𝑝𝑖2Bsuperscriptsubscript𝑝𝑖subscript𝑁𝑖Bp_{i,1}^{\mathrm{B}},p_{i,2}^{\mathrm{B}},\ldots,p_{i,N_{i}}^{\mathrm{B}}italic_p start_POSTSUBSCRIPT italic_i , 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_B end_POSTSUPERSCRIPT , italic_p start_POSTSUBSCRIPT italic_i , 2 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_B end_POSTSUPERSCRIPT , … , italic_p start_POSTSUBSCRIPT italic_i , italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_B end_POSTSUPERSCRIPT. Let δi,l=Δδpi,lB(l[Ni])superscriptΔsubscript𝛿𝑖𝑙subscript𝛿superscriptsubscript𝑝𝑖𝑙B𝑙delimited-[]subscript𝑁𝑖\delta_{i,l}\stackrel{{\scriptstyle\Delta}}{{=}}\delta_{p_{i,l}^{\mathrm{B}}}% \left(l\in\left[N_{i}\right]\right)italic_δ start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_i , italic_l end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_B end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ( italic_l ∈ [ italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ] ) satisfies δi,1δi,2δi,Niϵsubscript𝛿𝑖1subscript𝛿𝑖2subscript𝛿𝑖subscript𝑁𝑖italic-ϵ\delta_{i,1}\geq\delta_{i,2}\geq\ldots\geq\delta_{i,N_{i}}\geq\epsilonitalic_δ start_POSTSUBSCRIPT italic_i , 1 end_POSTSUBSCRIPT ≥ italic_δ start_POSTSUBSCRIPT italic_i , 2 end_POSTSUBSCRIPT ≥ … ≥ italic_δ start_POSTSUBSCRIPT italic_i , italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT ≥ italic_ϵ. Also let δi,min=Δδi,NisuperscriptΔsubscript𝛿𝑖subscript𝛿𝑖subscript𝑁𝑖\delta_{i,\min}\stackrel{{\scriptstyle\Delta}}{{=}}\delta_{i,N_{i}}italic_δ start_POSTSUBSCRIPT italic_i , roman_min end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP italic_δ start_POSTSUBSCRIPT italic_i , italic_N start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUBSCRIPT.) Thus, we can replace (34) by

t=1T𝕀(t,δpt>ϵ)δptmiEB,δi,min>ϵ2136δi,minlogT2136m2ϵlogT.superscriptsubscript𝑡1𝑇𝕀subscript𝑡subscript𝛿subscript𝑝𝑡italic-ϵsubscript𝛿subscript𝑝𝑡𝑚subscriptformulae-sequence𝑖subscript𝐸Bsubscript𝛿𝑖italic-ϵ2136subscript𝛿𝑖𝑇2136superscript𝑚2italic-ϵ𝑇\displaystyle\sum_{t=1}^{T}\mathbbm{I}\left(\mathcal{H}_{t},\delta_{p_{t}}>% \epsilon\right)\cdot\delta_{p_{t}}\leq m\cdot\sum_{i\in E_{\mathrm{B}},\delta_% {i,\min}>\epsilon}\frac{2136}{\delta_{i,\min}}\log T\leq\frac{2136m^{2}}{% \epsilon}\log T.∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_I ( caligraphic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT > italic_ϵ ) ⋅ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ≤ italic_m ⋅ ∑ start_POSTSUBSCRIPT italic_i ∈ italic_E start_POSTSUBSCRIPT roman_B end_POSTSUBSCRIPT , italic_δ start_POSTSUBSCRIPT italic_i , roman_min end_POSTSUBSCRIPT > italic_ϵ end_POSTSUBSCRIPT divide start_ARG 2136 end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_i , roman_min end_POSTSUBSCRIPT end_ARG roman_log italic_T ≤ divide start_ARG 2136 italic_m start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_ϵ end_ARG roman_log italic_T .

It follows that

t=1T𝕀(t)δStϵT+2136m2ϵlogT.superscriptsubscript𝑡1𝑇𝕀subscript𝑡subscript𝛿subscript𝑆𝑡italic-ϵ𝑇2136superscript𝑚2italic-ϵ𝑇\displaystyle\sum_{t=1}^{T}\mathbbm{I}(\mathcal{H}_{t})\cdot\delta_{S_{t}}\leq% \epsilon\,T+\ \frac{2136m^{2}}{\epsilon}\log T.∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_I ( caligraphic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_δ start_POSTSUBSCRIPT italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ≤ italic_ϵ italic_T + divide start_ARG 2136 italic_m start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_ϵ end_ARG roman_log italic_T .

Finally, letting ϵ=2136m2logTTitalic-ϵ2136superscript𝑚2𝑇𝑇\epsilon=\sqrt{\frac{2136m^{2}\log T}{T}}italic_ϵ = square-root start_ARG divide start_ARG 2136 italic_m start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_log italic_T end_ARG start_ARG italic_T end_ARG end_ARG, we get

t=1T𝕀(t)δSt22136m2TlogT93m2TlogT.superscriptsubscript𝑡1𝑇𝕀subscript𝑡subscript𝛿subscript𝑆𝑡22136superscript𝑚2𝑇𝑇93superscript𝑚2𝑇𝑇\displaystyle\sum_{t=1}^{T}\mathbbm{I}(\mathcal{H}_{t})\cdot\delta_{S_{t}}\leq 2% \sqrt{2136m^{2}T\log T}\leq 93\sqrt{m^{2}T\log T}.∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT blackboard_I ( caligraphic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_δ start_POSTSUBSCRIPT italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ≤ 2 square-root start_ARG 2136 italic_m start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_T roman_log italic_T end_ARG ≤ 93 square-root start_ARG italic_m start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_T roman_log italic_T end_ARG .

Lemma C.2.

Under good event Atsubscript𝐴𝑡A_{t}italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, for any price function p𝑝pitalic_p, let Spsubscript𝑆𝑝S_{p}italic_S start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT denote the set of types who would purchase at price p𝑝pitalic_p, then we have

t[T],rev(p)rev^t(p)rev(p)+iSp2logTTi,t.formulae-sequencefor-all𝑡delimited-[]𝑇rev𝑝subscript^rev𝑡𝑝rev𝑝subscript𝑖subscript𝑆𝑝2𝑇subscript𝑇𝑖𝑡\displaystyle\forall t\in[T],\quad\mathrm{rev}(p)\leq\widehat{\mathrm{rev}}_{t% }(p)\leq\mathrm{rev}(p)+\sum_{i\in S_{p}}2\sqrt{\frac{\log T}{T_{i,t}}}.∀ italic_t ∈ [ italic_T ] , roman_rev ( italic_p ) ≤ over^ start_ARG roman_rev end_ARG start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) ≤ roman_rev ( italic_p ) + ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUBSCRIPT 2 square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG end_ARG .
Proof of Lemma C.2.

When Atsubscript𝐴𝑡A_{t}italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT happens,

qiq^i,tqi+2logTTi,t,subscript𝑞𝑖subscript^𝑞𝑖𝑡subscript𝑞𝑖2𝑇subscript𝑇𝑖𝑡\displaystyle q_{i}\leq\widehat{q}_{i,t}\leq q_{i}+2\sqrt{\frac{\log T}{T_{i,t% }}},italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≤ over^ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≤ italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + 2 square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG end_ARG ,

for all i[m]𝑖delimited-[]𝑚i\in[m]italic_i ∈ [ italic_m ].

Therefore, we have

rev^t(p)=i=1mq^i,tr(i,p)i=1mqir(i,p)=rev(p)subscript^rev𝑡𝑝superscriptsubscript𝑖1𝑚subscript^𝑞𝑖𝑡𝑟𝑖𝑝superscriptsubscript𝑖1𝑚subscript𝑞𝑖𝑟𝑖𝑝rev𝑝\displaystyle\widehat{\mathrm{rev}}_{t}(p)=\sum_{i=1}^{m}\widehat{q}_{i,t}% \cdot r(i,p)\geq\sum_{i=1}^{m}q_{i}\cdot r(i,p)=\mathrm{rev}(p)over^ start_ARG roman_rev end_ARG start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) = ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT over^ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_r ( italic_i , italic_p ) ≥ ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ⋅ italic_r ( italic_i , italic_p ) = roman_rev ( italic_p )

and

rev^t(p)=i=1mq^i,tr(i,p)i=1m(qi+2logTTi,t)r(i,p)rev(p)+iSp2logTTi,t.subscript^rev𝑡𝑝superscriptsubscript𝑖1𝑚subscript^𝑞𝑖𝑡𝑟𝑖𝑝superscriptsubscript𝑖1𝑚subscript𝑞𝑖2𝑇subscript𝑇𝑖𝑡𝑟𝑖𝑝rev𝑝subscript𝑖subscript𝑆𝑝2𝑇subscript𝑇𝑖𝑡\displaystyle\widehat{\mathrm{rev}}_{t}(p)=\sum_{i=1}^{m}\widehat{q}_{i,t}% \cdot r(i,p)\leq\sum_{i=1}^{m}\left(q_{i}+2\sqrt{\frac{\log T}{T_{i,t}}}\right% )\cdot r(i,p)\leq\mathrm{rev}(p)+\sum_{i\in S_{p}}2\sqrt{\frac{\log T}{T_{i,t}% }}.over^ start_ARG roman_rev end_ARG start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_p ) = ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT over^ start_ARG italic_q end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_r ( italic_i , italic_p ) ≤ ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT ( italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + 2 square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG end_ARG ) ⋅ italic_r ( italic_i , italic_p ) ≤ roman_rev ( italic_p ) + ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUBSCRIPT 2 square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG end_ARG .

The last inequality is by r(i,p)1𝑟𝑖𝑝1r(i,p)\leq 1italic_r ( italic_i , italic_p ) ≤ 1. ∎

Lemma C.3.

For each t[T]𝑡delimited-[]𝑇t\in[T]italic_t ∈ [ italic_T ], under good event At1subscript𝐴𝑡1A_{t-1}italic_A start_POSTSUBSCRIPT italic_t - 1 end_POSTSUBSCRIPT, the following inequality holds,

δpt=Δrev(p)rev(pt)2iStlogTTi,t1.superscriptΔsubscript𝛿subscript𝑝𝑡revsuperscript𝑝revsubscript𝑝𝑡2subscript𝑖subscript𝑆𝑡𝑇subscript𝑇𝑖𝑡1\displaystyle\delta_{p_{t}}\stackrel{{\scriptstyle\Delta}}{{=}}\mathrm{rev}(p^% {\star})-\mathrm{rev}(p_{t})\leq 2\sum_{i\in S_{t}}\sqrt{\frac{\log T}{T_{i,t-% 1}}}.italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP roman_rev ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) - roman_rev ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ≤ 2 ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT end_ARG end_ARG .
Proof of Lemma C.3.

When At1subscript𝐴𝑡1A_{t-1}italic_A start_POSTSUBSCRIPT italic_t - 1 end_POSTSUBSCRIPT happens, by Lemma C.2,

rev(p)rev^t1(p),revsuperscript𝑝subscript^rev𝑡1superscript𝑝\displaystyle\mathrm{rev}(p^{\star})\leq\widehat{\mathrm{rev}}_{t-1}(p^{\star}),roman_rev ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) ≤ over^ start_ARG roman_rev end_ARG start_POSTSUBSCRIPT italic_t - 1 end_POSTSUBSCRIPT ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) ,
rev(pt)rev^t1(pt)2iStlogTTi,t1.revsubscript𝑝𝑡subscript^rev𝑡1subscript𝑝𝑡2subscript𝑖subscript𝑆𝑡𝑇subscript𝑇𝑖𝑡1\displaystyle\mathrm{rev}(p_{t})\geq\widehat{\mathrm{rev}}_{t-1}(p_{t})-2\sum_% {i\in S_{t}}\sqrt{\frac{\log T}{T_{i,t-1}}}.roman_rev ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ≥ over^ start_ARG roman_rev end_ARG start_POSTSUBSCRIPT italic_t - 1 end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) - 2 ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT end_ARG end_ARG .

It then follows that,

δpt=rev(p)rev(pt)rev^t1(p)(rev^t1(pt)2iStlogTTi,t1)subscript𝛿subscript𝑝𝑡revsuperscript𝑝revsubscript𝑝𝑡subscript^rev𝑡1superscript𝑝subscript^rev𝑡1subscript𝑝𝑡2subscript𝑖subscript𝑆𝑡𝑇subscript𝑇𝑖𝑡1\displaystyle\delta_{p_{t}}=\mathrm{rev}(p^{\star})-\mathrm{rev}(p_{t})\leq% \widehat{\mathrm{rev}}_{t-1}(p^{\star})-\left(\widehat{\mathrm{rev}}_{t-1}(p_{% t})-2\sum_{i\in S_{t}}\sqrt{\frac{\log T}{T_{i,t-1}}}\right)italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT = roman_rev ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) - roman_rev ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ≤ over^ start_ARG roman_rev end_ARG start_POSTSUBSCRIPT italic_t - 1 end_POSTSUBSCRIPT ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) - ( over^ start_ARG roman_rev end_ARG start_POSTSUBSCRIPT italic_t - 1 end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) - 2 ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT end_ARG end_ARG )

Since pt=argmaxp𝒫¯rev^t1(p)subscript𝑝𝑡subscriptargmax𝑝¯𝒫subscript^rev𝑡1𝑝p_{t}=\mathop{\mathrm{argmax}}_{p\in\overline{\mathcal{P}}}\widehat{\mathrm{% rev}}_{t-1}(p)italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = roman_argmax start_POSTSUBSCRIPT italic_p ∈ over¯ start_ARG caligraphic_P end_ARG end_POSTSUBSCRIPT over^ start_ARG roman_rev end_ARG start_POSTSUBSCRIPT italic_t - 1 end_POSTSUBSCRIPT ( italic_p ), we have

rev^t1(pt)rev^t1(p).subscript^rev𝑡1subscript𝑝𝑡subscript^rev𝑡1superscript𝑝\displaystyle\widehat{\mathrm{rev}}_{t-1}(p_{t})\geq\widehat{\mathrm{rev}}_{t-% 1}(p^{\star}).over^ start_ARG roman_rev end_ARG start_POSTSUBSCRIPT italic_t - 1 end_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ≥ over^ start_ARG roman_rev end_ARG start_POSTSUBSCRIPT italic_t - 1 end_POSTSUBSCRIPT ( italic_p start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ) .

Lemma C.4 (Theorem 4 of Kveton et al. [36]).

We can choose {αk}k0subscriptsubscript𝛼𝑘𝑘0\left\{\alpha_{k}\right\}_{k\geq 0}{ italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT } start_POSTSUBSCRIPT italic_k ≥ 0 end_POSTSUBSCRIPT and {βk}k0subscriptsubscript𝛽𝑘𝑘0\left\{\beta_{k}\right\}_{k\geq 0}{ italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT } start_POSTSUBSCRIPT italic_k ≥ 0 end_POSTSUBSCRIPT, which satisfy the following properties: {αk}k0subscriptsubscript𝛼𝑘𝑘0\left\{\alpha_{k}\right\}_{k\geq 0}{ italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT } start_POSTSUBSCRIPT italic_k ≥ 0 end_POSTSUBSCRIPT and {βk}k0subscriptsubscript𝛽𝑘𝑘0\left\{\beta_{k}\right\}_{k\geq 0}{ italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT } start_POSTSUBSCRIPT italic_k ≥ 0 end_POSTSUBSCRIPT are positive and

α1>α2> and  1=β0>β1>β2>,subscript𝛼1subscript𝛼2 and 1subscript𝛽0subscript𝛽1subscript𝛽2\displaystyle\alpha_{1}>\alpha_{2}>\ldots\ \text{ and }\ 1=\beta_{0}>\beta_{1}% >\beta_{2}>\ldots,italic_α start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT > italic_α start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT > … and 1 = italic_β start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT > italic_β start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT > italic_β start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT > … ,

such that limkαk=limkβk=0subscript𝑘subscript𝛼𝑘subscript𝑘subscript𝛽𝑘0\lim_{k\rightarrow\infty}\alpha_{k}=\lim_{k\rightarrow\infty}\beta_{k}=0roman_lim start_POSTSUBSCRIPT italic_k → ∞ end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT = roman_lim start_POSTSUBSCRIPT italic_k → ∞ end_POSTSUBSCRIPT italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT = 0. Moreover,

6k=1βk1βkαk1, and k=1αkβk<267.formulae-sequence6superscriptsubscript𝑘1subscript𝛽𝑘1subscript𝛽𝑘subscript𝛼𝑘1 and superscriptsubscript𝑘1subscript𝛼𝑘subscript𝛽𝑘267\displaystyle\sqrt{6}\sum_{k=1}^{\infty}\frac{\beta_{k-1}-\beta_{k}}{\sqrt{% \alpha_{k}}}\leq 1,\text{ and }\sum_{k=1}^{\infty}\frac{\alpha_{k}}{\beta_{k}}% <267.square-root start_ARG 6 end_ARG ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT divide start_ARG italic_β start_POSTSUBSCRIPT italic_k - 1 end_POSTSUBSCRIPT - italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_ARG start_ARG square-root start_ARG italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_ARG end_ARG ≤ 1 , and ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT divide start_ARG italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_ARG start_ARG italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_ARG < 267 .
Lemma C.5.

On round t𝑡titalic_t, if event tsubscript𝑡\mathcal{H}_{t}caligraphic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT happens, then at least one event 𝒢k,t,k+subscript𝒢𝑘𝑡𝑘subscript\mathcal{G}_{k,t},\,k\in\mathbb{Z}_{+}caligraphic_G start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT , italic_k ∈ blackboard_Z start_POSTSUBSCRIPT + end_POSTSUBSCRIPT happens, where

𝒢k,t=Δ{|Ak,t|βkm},where Ak,t=Δ{iSt:Ti,t1mk,t},formulae-sequencesuperscriptΔsubscript𝒢𝑘𝑡subscript𝐴𝑘𝑡subscript𝛽𝑘𝑚superscriptΔwhere subscript𝐴𝑘𝑡conditional-set𝑖subscript𝑆𝑡subscript𝑇𝑖𝑡1subscript𝑚𝑘𝑡\displaystyle\mathcal{G}_{k,t}\stackrel{{\scriptstyle\Delta}}{{=}}\left\{\left% |A_{k,t}\right|\geq\beta_{k}m\right\},\quad\text{where }A_{k,t}\stackrel{{% \scriptstyle\Delta}}{{=}}\left\{i\in S_{t}:T_{i,t-1}\leq m_{k,t}\right\},caligraphic_G start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { | italic_A start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT | ≥ italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m } , where italic_A start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP { italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT : italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT ≤ italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT } ,

and mk,t=αk(mδpt)2logTsubscript𝑚𝑘𝑡subscript𝛼𝑘superscript𝑚subscript𝛿subscript𝑝𝑡2𝑇m_{k,t}=\alpha_{k}\left(\frac{m}{\delta_{p_{t}}}\right)^{2}\log Titalic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT = italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( divide start_ARG italic_m end_ARG start_ARG italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_log italic_T when δpt>0subscript𝛿subscript𝑝𝑡0\delta_{p_{t}}>0italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT > 0 and ++\infty+ ∞ otherwise.

Proof of Lemma C.5.

Assume that tsubscript𝑡\mathcal{H}_{t}caligraphic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT happens and that none of 𝒢1,t,𝒢2,t,subscript𝒢1𝑡subscript𝒢2𝑡\mathcal{G}_{1,t},\mathcal{G}_{2,t},\ldotscaligraphic_G start_POSTSUBSCRIPT 1 , italic_t end_POSTSUBSCRIPT , caligraphic_G start_POSTSUBSCRIPT 2 , italic_t end_POSTSUBSCRIPT , … happens. Then |Ak,t|<βkmsubscript𝐴𝑘𝑡subscript𝛽𝑘𝑚\left|A_{k,t}\right|<\beta_{k}m| italic_A start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT | < italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m for all k+𝑘subscriptk\in\mathbb{Z}_{+}italic_k ∈ blackboard_Z start_POSTSUBSCRIPT + end_POSTSUBSCRIPT. Let A0,t=Stsubscript𝐴0𝑡subscript𝑆𝑡A_{0,t}=S_{t}italic_A start_POSTSUBSCRIPT 0 , italic_t end_POSTSUBSCRIPT = italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT and A¯k,t=St\Ak,tsubscript¯𝐴𝑘𝑡\subscript𝑆𝑡subscript𝐴𝑘𝑡\bar{A}_{k,t}=S_{t}\backslash A_{k,t}over¯ start_ARG italic_A end_ARG start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT = italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT \ italic_A start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT for k+{0}𝑘subscript0k\in\mathbb{Z}_{+}\cup\{0\}italic_k ∈ blackboard_Z start_POSTSUBSCRIPT + end_POSTSUBSCRIPT ∪ { 0 }. Thus A¯k1,tA¯k,tsubscript¯𝐴𝑘1𝑡subscript¯𝐴𝑘𝑡\bar{A}_{k-1,t}\subseteq\bar{A}_{k,t}over¯ start_ARG italic_A end_ARG start_POSTSUBSCRIPT italic_k - 1 , italic_t end_POSTSUBSCRIPT ⊆ over¯ start_ARG italic_A end_ARG start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT for all k+𝑘subscriptk\in\mathbb{Z}_{+}italic_k ∈ blackboard_Z start_POSTSUBSCRIPT + end_POSTSUBSCRIPT. Note that limkmk,t=0subscript𝑘subscript𝑚𝑘𝑡0\lim_{k\rightarrow\infty}m_{k,t}=0roman_lim start_POSTSUBSCRIPT italic_k → ∞ end_POSTSUBSCRIPT italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT = 0. Thus there exists N+𝑁subscriptN\in\mathbb{Z}_{+}italic_N ∈ blackboard_Z start_POSTSUBSCRIPT + end_POSTSUBSCRIPTsuch that A¯k,t=Stsubscript¯𝐴𝑘𝑡subscript𝑆𝑡\bar{A}_{k,t}=S_{t}over¯ start_ARG italic_A end_ARG start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT = italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT for all kN𝑘𝑁k\geq Nitalic_k ≥ italic_N, and then we have St=k=1(A¯k,t\A¯k1,t)subscript𝑆𝑡superscriptsubscript𝑘1\subscript¯𝐴𝑘𝑡subscript¯𝐴𝑘1𝑡S_{t}=\bigcup_{k=1}^{\infty}\left(\bar{A}_{k,t}\backslash\bar{A}_{k-1,t}\right)italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = ⋃ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT ( over¯ start_ARG italic_A end_ARG start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT \ over¯ start_ARG italic_A end_ARG start_POSTSUBSCRIPT italic_k - 1 , italic_t end_POSTSUBSCRIPT ). Finally, note that for all iA¯k,t𝑖subscript¯𝐴𝑘𝑡i\in\bar{A}_{k,t}italic_i ∈ over¯ start_ARG italic_A end_ARG start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT, we have Ti,t1>mk,tsubscript𝑇𝑖𝑡1subscript𝑚𝑘𝑡T_{i,t-1}>m_{k,t}italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT > italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT. Therefore

iSt1Ti,t1subscript𝑖subscript𝑆𝑡1subscript𝑇𝑖𝑡1\displaystyle\sum_{i\in S_{t}}\frac{1}{\sqrt{T_{i,t-1}}}∑ start_POSTSUBSCRIPT italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT end_ARG end_ARG =k=1iA¯k,t\A¯k1,t1Ti,t1k=1iA¯k,t\A¯k1,t1mk,tabsentsuperscriptsubscript𝑘1subscript𝑖\subscript¯𝐴𝑘𝑡subscript¯𝐴𝑘1𝑡1subscript𝑇𝑖𝑡1superscriptsubscript𝑘1subscript𝑖\subscript¯𝐴𝑘𝑡subscript¯𝐴𝑘1𝑡1subscript𝑚𝑘𝑡\displaystyle=\sum_{k=1}^{\infty}\sum_{i\in\bar{A}_{k,t}\backslash\bar{A}_{k-1% ,t}}\frac{1}{\sqrt{T_{i,t-1}}}\leq\sum_{k=1}^{\infty}\sum_{i\in\bar{A}_{k,t}% \backslash\bar{A}_{k-1,t}}\frac{1}{\sqrt{m_{k,t}}}= ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_i ∈ over¯ start_ARG italic_A end_ARG start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT \ over¯ start_ARG italic_A end_ARG start_POSTSUBSCRIPT italic_k - 1 , italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT end_ARG end_ARG ≤ ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_i ∈ over¯ start_ARG italic_A end_ARG start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT \ over¯ start_ARG italic_A end_ARG start_POSTSUBSCRIPT italic_k - 1 , italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT end_ARG end_ARG
=k=1|A¯k,t\A¯k1,t|mk,t=k=1|Ak1,t\Ak,t|mk,t=k=1|Ak1,t||Ak,t|mk,tabsentsuperscriptsubscript𝑘1\subscript¯𝐴𝑘𝑡subscript¯𝐴𝑘1𝑡subscript𝑚𝑘𝑡superscriptsubscript𝑘1\subscript𝐴𝑘1𝑡subscript𝐴𝑘𝑡subscript𝑚𝑘𝑡superscriptsubscript𝑘1subscript𝐴𝑘1𝑡subscript𝐴𝑘𝑡subscript𝑚𝑘𝑡\displaystyle=\sum_{k=1}^{\infty}\frac{\left|\bar{A}_{k,t}\backslash\bar{A}_{k% -1,t}\right|}{\sqrt{m_{k,t}}}=\sum_{k=1}^{\infty}\frac{\left|A_{k-1,t}% \backslash A_{k,t}\right|}{\sqrt{m_{k,t}}}=\sum_{k=1}^{\infty}\frac{\left|A_{k% -1,t}\right|-\left|A_{k,t}\right|}{\sqrt{m_{k,t}}}= ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT divide start_ARG | over¯ start_ARG italic_A end_ARG start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT \ over¯ start_ARG italic_A end_ARG start_POSTSUBSCRIPT italic_k - 1 , italic_t end_POSTSUBSCRIPT | end_ARG start_ARG square-root start_ARG italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT end_ARG end_ARG = ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT divide start_ARG | italic_A start_POSTSUBSCRIPT italic_k - 1 , italic_t end_POSTSUBSCRIPT \ italic_A start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT | end_ARG start_ARG square-root start_ARG italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT end_ARG end_ARG = ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT divide start_ARG | italic_A start_POSTSUBSCRIPT italic_k - 1 , italic_t end_POSTSUBSCRIPT | - | italic_A start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT | end_ARG start_ARG square-root start_ARG italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT end_ARG end_ARG
=|St|m1,t+k=1|Ak,t|(1mk+1,t1mk,t)absentsubscript𝑆𝑡subscript𝑚1𝑡superscriptsubscript𝑘1subscript𝐴𝑘𝑡1subscript𝑚𝑘1𝑡1subscript𝑚𝑘𝑡\displaystyle=\frac{\left|S_{t}\right|}{\sqrt{m_{1,t}}}+\sum_{k=1}^{\infty}% \left|A_{k,t}\right|\left(\frac{1}{\sqrt{m_{k+1,t}}}-\frac{1}{\sqrt{m_{k,t}}}\right)= divide start_ARG | italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT | end_ARG start_ARG square-root start_ARG italic_m start_POSTSUBSCRIPT 1 , italic_t end_POSTSUBSCRIPT end_ARG end_ARG + ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT | italic_A start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT | ( divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_m start_POSTSUBSCRIPT italic_k + 1 , italic_t end_POSTSUBSCRIPT end_ARG end_ARG - divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT end_ARG end_ARG )
<mm1,t+k=1βkm(1mk+1,t1mk,t)absent𝑚subscript𝑚1𝑡superscriptsubscript𝑘1subscript𝛽𝑘𝑚1subscript𝑚𝑘1𝑡1subscript𝑚𝑘𝑡\displaystyle<\frac{m}{\sqrt{m_{1,t}}}+\sum_{k=1}^{\infty}\beta_{k}m\left(% \frac{1}{\sqrt{m_{k+1,t}}}-\frac{1}{\sqrt{m_{k,t}}}\right)< divide start_ARG italic_m end_ARG start_ARG square-root start_ARG italic_m start_POSTSUBSCRIPT 1 , italic_t end_POSTSUBSCRIPT end_ARG end_ARG + ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_m ( divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_m start_POSTSUBSCRIPT italic_k + 1 , italic_t end_POSTSUBSCRIPT end_ARG end_ARG - divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT end_ARG end_ARG )
=k=1(βk1βk)mmk,t.absentsuperscriptsubscript𝑘1subscript𝛽𝑘1subscript𝛽𝑘𝑚subscript𝑚𝑘𝑡\displaystyle=\sum_{k=1}^{\infty}\frac{\left(\beta_{k-1}-\beta_{k}\right)m}{% \sqrt{m_{k,t}}}.= ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT divide start_ARG ( italic_β start_POSTSUBSCRIPT italic_k - 1 end_POSTSUBSCRIPT - italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) italic_m end_ARG start_ARG square-root start_ARG italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT end_ARG end_ARG .

Under event tsubscript𝑡\mathcal{H}_{t}caligraphic_H start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, we have

δptsubscript𝛿subscript𝑝𝑡\displaystyle\delta_{p_{t}}italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT iSt2logTTi,t1=2logTiSt1Ti,t1absentsubscript𝑖subscript𝑆𝑡2𝑇subscript𝑇𝑖𝑡12𝑇subscript𝑖subscript𝑆𝑡1subscript𝑇𝑖𝑡1\displaystyle\leq\sum_{i\in S_{t}}2\sqrt{\frac{\log T}{T_{i,t-1}}}=2\sqrt{\log T% }\cdot\sum_{i\in S_{t}}\frac{1}{\sqrt{T_{i,t-1}}}≤ ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT 2 square-root start_ARG divide start_ARG roman_log italic_T end_ARG start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT end_ARG end_ARG = 2 square-root start_ARG roman_log italic_T end_ARG ⋅ ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_T start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT end_ARG end_ARG
<2logTk=1(βk1βk)mmk,t=2k=1βk1βkαkδptδpt,absent2𝑇superscriptsubscript𝑘1subscript𝛽𝑘1subscript𝛽𝑘𝑚subscript𝑚𝑘𝑡2superscriptsubscript𝑘1subscript𝛽𝑘1subscript𝛽𝑘subscript𝛼𝑘subscript𝛿subscript𝑝𝑡subscript𝛿subscript𝑝𝑡\displaystyle<2\sqrt{\log T}\cdot\sum_{k=1}^{\infty}\frac{\left(\beta_{k-1}-% \beta_{k}\right)m}{\sqrt{m_{k,t}}}=2\sum_{k=1}^{\infty}\frac{\beta_{k-1}-\beta% _{k}}{\sqrt{\alpha_{k}}}\cdot\delta_{p_{t}}\leq\delta_{p_{t}},< 2 square-root start_ARG roman_log italic_T end_ARG ⋅ ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT divide start_ARG ( italic_β start_POSTSUBSCRIPT italic_k - 1 end_POSTSUBSCRIPT - italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) italic_m end_ARG start_ARG square-root start_ARG italic_m start_POSTSUBSCRIPT italic_k , italic_t end_POSTSUBSCRIPT end_ARG end_ARG = 2 ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT divide start_ARG italic_β start_POSTSUBSCRIPT italic_k - 1 end_POSTSUBSCRIPT - italic_β start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_ARG start_ARG square-root start_ARG italic_α start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_ARG end_ARG ⋅ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ≤ italic_δ start_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ,

where the last inequality is due to Lemma C.4. We reach a contradiction here, hence the lemma follows. ∎

Appendix D Miscellaneous

D.1 Notations

The following table contains the notations used in this paper.

Notation Meaning
N𝑁Nitalic_N The total amount of data.
n[N]𝑛delimited-[]𝑁n\in[N]italic_n ∈ [ italic_N ] The number of data.
m𝑚mitalic_m The number of types.
p:[N][0,1]:𝑝delimited-[]𝑁01p:[N]\rightarrow[0,1]italic_p : [ italic_N ] → [ 0 , 1 ] A price curve.
𝒫¯¯𝒫\overline{\mathcal{P}}over¯ start_ARG caligraphic_P end_ARG A set of discretized price curves.
vi:[N][0,1]:subscript𝑣𝑖delimited-[]𝑁01v_{i}:[N]\rightarrow[0,1]italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT : [ italic_N ] → [ 0 , 1 ] The valuation curve for type i[m]𝑖delimited-[]𝑚i\in[m]italic_i ∈ [ italic_m ].
𝒱={vi:i[m]}𝒱conditional-setsubscript𝑣𝑖𝑖delimited-[]𝑚\mathcal{V}=\left\{v_{i}:i\in[m]\right\}caligraphic_V = { italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT : italic_i ∈ [ italic_m ] } The set of all valuation curves.
ni,psubscript𝑛𝑖𝑝n_{i,p}italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT The amount of data type i[m]𝑖delimited-[]𝑚i\in[m]italic_i ∈ [ italic_m ] purchases at price curve p𝑝pitalic_p.
r(i,p)=p(ni,p)𝑟𝑖𝑝𝑝subscript𝑛𝑖𝑝r(i,p)=p(n_{i,p})italic_r ( italic_i , italic_p ) = italic_p ( italic_n start_POSTSUBSCRIPT italic_i , italic_p end_POSTSUBSCRIPT ) The revenue from type i[m]𝑖delimited-[]𝑚i\in[m]italic_i ∈ [ italic_m ] under price curve p𝑝pitalic_p.
q=(q1,q2,,qm)𝑞subscript𝑞1subscript𝑞2subscript𝑞𝑚q=(q_{1},q_{2},\dots,q_{m})italic_q = ( italic_q start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_q start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_q start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT ) The type distribution.
rev(p)rev𝑝\mathrm{rev}(p)roman_rev ( italic_p ) The expected revenue under price p𝑝pitalic_p.
it[m]subscript𝑖𝑡delimited-[]𝑚i_{t}\in[m]italic_i start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∈ [ italic_m ] The type of buyer on round t[T].𝑡delimited-[]𝑇t\in[T].italic_t ∈ [ italic_T ] .
pt:[N][0,1]:subscript𝑝𝑡delimited-[]𝑁01p_{t}:[N]\rightarrow[0,1]italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT : [ italic_N ] → [ 0 , 1 ] The price curve on round t[T]𝑡delimited-[]𝑇t\in[T]italic_t ∈ [ italic_T ].
Stsubscript𝑆𝑡S_{t}italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT The set of types that would make a purchase at price ptsubscript𝑝𝑡p_{t}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT.
Spsubscript𝑆𝑝S_{p}italic_S start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT The set of types that would make a purchase at price p𝑝pitalic_p.
Ti,t=Δτ=1t𝕀(iSτ)superscriptΔsubscript𝑇𝑖𝑡superscriptsubscript𝜏1𝑡𝕀𝑖subscript𝑆𝜏T_{i,t}\stackrel{{\scriptstyle\Delta}}{{=}}\sum_{\tau=1}^{t}\mathbbm{I}(i\in S% _{\tau})italic_T start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG roman_Δ end_ARG end_RELOP ∑ start_POSTSUBSCRIPT italic_τ = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT blackboard_I ( italic_i ∈ italic_S start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT ) The number of times that type i𝑖iitalic_i appears in set Sτsubscript𝑆𝜏S_{\tau}italic_S start_POSTSUBSCRIPT italic_τ end_POSTSUBSCRIPT for τ{1,,t}𝜏1𝑡\tau\in\{1,\dots,t\}italic_τ ∈ { 1 , … , italic_t }.
𝒫={p[N][0,1]:p(0)=0}𝒫conditional-set𝑝delimited-[]𝑁01𝑝00\mathcal{P}=\{p\in[N]\rightarrow[0,1]:p(0)=0\}caligraphic_P = { italic_p ∈ [ italic_N ] → [ 0 , 1 ] : italic_p ( 0 ) = 0 } The set of all pricing curves.
L𝐿Litalic_L Smoothness constant of valuation curves.
J𝐽Jitalic_J Diminishing return constant of valuation curves.
Table 3: Table of notations.