Manuscript Offprint
arXiv:2608.30944Nonparametric Contextual Pricing and Inventory Learning under Censored Demand
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
In online retailing, when a product sells out, a retailer often sees only the units sold, not how many customers would have bought it had inventory been available. However, the inventory level determines how much demand is revealed, and this information can influence subsequent decisions and future profits. We study an online selling problem in which, in each round, the seller observes a market context and then makes pricing and stocking decisions based on censored sales data from previous rounds. The challenge is to learn a context-dependent pricing and stocking policy without assuming a particular formula for demand or observing realized profit. To overcome this difficulty, we propose a Mean-Calibrated Kernel UCB (MCK-UCB) algorithm that turns each incomplete sales record into a reliable guide for both inventory and price decisions, using data from past rounds with similar market conditions. This design allows us to learn while serving customers, without a separate exploration phase or the need to recover all demand hidden by stockouts. We prove the minimax optimality of the proposed algorithm, with strictly faster rates when expected profit varies more smoothly with price. Comprehensive numerical experiments have been conducted to confirm the effectiveness of the proposed algorithm.
1 INTRODUCTION
Online retailers must repeatedly decide how much to charge and how much inventory to make available, often while demand is still being learned. When a product sells out, the retailer typically sees only the units sold, not how many customers would have bought the product had inventory been available. The sales record is therefore incomplete precisely when demand is strongest. Moreover, inventory affects not only current revenue but also what the seller can learn for future decisions. This missing-demand problem is a familiar obstacle in lost-sales settings (Besbes & Muharremoglu, 2013; Chen et al., 2021; 2024).
The problem becomes more realistic, and harder, when market conditions change. The same price may be attractive in one season, product category, or local market and unattractive in another. These market contexts arrive over time, and the seller cannot know in advance how customers in each context would respond to every possible price and inventory level. At the same time, the sales records available for learning are shaped by the seller's own earlier stocking decisions: whenever inventory was too low, part of the demand was hidden.
Prior work has addressed important parts of this problem. Censored pricing–inventory models have been studied when the seller repeatedly faces the same demand environment (Chen et al., 2021; 2024). Feature-based inventory models show how censored sales can guide stocking decisions (Ding et al., 2024). Recent contextual pricing–inventory studies also use rich market information, but often start from historical data available before the policy is deployed (Tang et al., 2025; Hu et al., 2026). The online case considered here is different: the seller must learn from the censored records produced by its own past price and inventory decisions.
We study this problem in a nonparametric contextual setting, where demand may vary flexibly with both context and price. The seller cannot pool all past sales as if they came from the same market
- Equal contribution. † Corresponding author.
condition, but also cannot run a separate experiment to reveal the full demand curve at every context. This leads to the following central question:
How can a seller learn a context-dependent pricing and stocking policy when demand is censored by inventory decisions and no parametric demand model is available?
We answer this question through three contributions.
-
An observable learning signal under sales censoring. Sales-only feedback creates an identification problem: raw sales cannot be directly interpreted as either true demand or realized profit. We overcome this difficulty by constructing an observable learning signal from the sales record and end-of-period inventory. The signal uses stockouts and leftover inventory to guide stocking decisions, and uses the consistently visible part of sales as a reference for comparing prices. Intuitively, the seller need not recover the demand hidden by stockouts; it only needs the decision-relevant information that remains visible.
-
Context-aware learning with censored sales. Building on this observable signal, we develop the Mean-Calibrated Kernel UCB (MCK-UCB) algorithm for joint pricing and stocking. The algorithm pools observations only across nearby market contexts, profiles inventory where needed, and learns prices from the same censored sales collected while serving customers. This lets the seller adapt to changing market conditions without running a separate demand-revealing experiment for every context.
-
Minimax-optimal regret rates. We prove matching upper and lower bounds for the proposed method. Under Lipschitz price values, the minimax regret is , while under twice-smooth price values it becomes . These rates quantify the cost of contextual variation: higher context dimension makes learning harder, while smoother variation across contexts allows faster information sharing.
Operational timing. Inventory is the quantity made available for the current selling period after observing . The formulation represents perishable stock or replenishment between periods: there is no leftover-inventory state and no constraint tying to the preceding period. The benchmark is therefore a contextual action applied repeatedly, rather than the state-dependent periodic-review benchmark in Chen et al. (2021).
At period , a context is drawn independently from a distribution . After observing , the seller chooses . Potential demand is , where is unknown and conditional on , has an unknown law that does not depend on the chosen price. Given the context sequence, the noises are independent across periods and are fresh relative to past actions and observations. The seller observes only . The one-period profit is
The seller can compute the sales term and the stock level, but cannot compute the shortage term when demand exceeds inventory. This is the precise sense in which the reward is censored.
It is useful to separate two kinds of information in the sales record. When , demand was low enough that the sale reveals the realized demand. When , the seller only learns that demand reached the stock level. The number of customers who would have bought the product is hidden, and so is the lost-sales part of the profit. Raising inventory can reveal more demand but may also create holding cost; lowering inventory limits holding cost but can hide exactly the observations needed for future pricing. The learner therefore has to use the inventory decision both as an operational choice and as a way of controlling what future data will reveal.
Context makes this feedback problem more realistic but also more delicate. Sales from one market condition cannot simply be pooled with sales from every other condition, because demand levels and residual variation may change with the context. At the same time, treating every context as unrelated would waste the repetition present in nearby customer, product, or seasonal states. The policy must borrow information locally while remembering that both the best price and the right inventory level move with the context.
Define , , , and . We take a measurable maximizer . The policy regret is
For inventory profiling, define the stockout probability and the critical probability . When the conditional demand law is continuous,
Thus the stockout indicator gives an observable direction for inventory adjustment even though the full profit is censored.
The location model implies under the conditional mean-zero normalization . This equality is used only for analysis; the algorithm does not estimate from uncensored means.
Structural assumptions. The assumptions support local information sharing, within-context price calibration, and inventory profiling from stockout events.
Assumption 1 (Context distribution). The contexts are i.i.d. draws from an arbitrary distribution supported on . No density or lower-mass condition is imposed.
Assumption 2 (Contextual location surface). For some and finite , and . The surface is uniformly bounded and keeps demand nonnegative almost surely.
Assumption 3 (Context-conditioned shared noise and observable quantile). For every , the conditional noise law is shared across all prices. It has mean zero, common compact support , continuous distribution function , and density . For , write . Define
There are a known and constants such that the following hold uniformly in . The density is bounded on its support and locally bounded away from zero around the calibration and critical quantiles:
The visible calibration quantile is separated from the critical quantile:
Finally, the noise family is Hölder in context in Kolmogorov distance:
Remark 1 (Role and scope of context-conditioned sharing). The seller is not required to face the same randomness in every context: may differ from . The key restriction is that, conditional on a context, changing the price shifts the demand location without changing the residual shape. This creates a common calibration reference across prices, but it does not cover an arbitrary family .
Remark 2 (No revealing cap). Compact support makes profit and regret bounded, but the support endpoint need not be known or feasible as inventory; in particular, we allow . The algorithm uses neither this endpoint nor a demand-revealing action.
Assumption 4 (Inventory regularity and quantile visibility). For every , the equation has a unique solution in the interior of the inventory interval. There are constants such that
whenever . Moreover, on the same neighborhood. The visible-quantile condition requires
Assumption 5 (Price-value regularity). The optimized value is uniformly Lipschitz: . For the smooth-price specialization, we strengthen this condition to .
How to read these restrictions. The assumptions are meant to isolate the censoring issue rather than to make demand fully observable. Contexts may arrive from an uneven distribution, and some regions may be visited rarely. The learner is not promised a revealing inventory level that uncensors every demand realization. What is available is more modest: nearby contexts have related demand behavior, within a fixed context the residual shape is shared across prices, and a low quantile remains below the critical stocking level. These are exactly the ingredients needed to compare prices from sales records without reconstructing the whole demand distribution.
This distinction matters for the interpretation of the model. The shared-noise condition is not saying that all contexts face the same demand shocks; the noise law may change with the context. It is saying that, once a context is fixed, changing the price shifts the demand location while preserving a common within-context reference. The visible-quantile condition then gives the algorithm a calibration mark that survives censoring. The rest of the paper uses these two facts to turn censored observations into a context-dependent price-learning signal.
Knowledge boundary. The learner knows the horizon, context dimension, action ranges, cost parameters, smoothness exponent, visible quantile level, and kernel. It does not know the demand surface, the context-specific noise laws, the critical inventory levels, or the optimal prices. The fixed tuning convention and the technical consequences of the assumptions are stated in Sections B.1 and B.2.
For , let denote the uniform price grid over with mesh at most , including both endpoints.
3 MEAN-CALIBRATED KERNEL UCB
The construction has three moving pieces: an observable sales-based score, an inventory profiler that makes a low quantile visible, and a contextual UCB rule that compares calibrated prices. The next paragraphs define these pieces before Algorithm 1 records the full policy.
Sales proxy and contextual calibration. The seller needs a score that can be computed from the sales record, even when the lost-sales penalty cannot be computed directly. We construct such a score in two steps. First, we choose the coefficient on leftover stock so that the observable score points toward the same inventory decision as true profit. For , matching the stockout and nonstockout inventory slopes gives . After normalization, the observable score is .
This score satisfies the sample-path identity . Thus, with , we have ; the proxy preserves inventory maximizers and inventory regret gaps. Price comparison still needs one correction: defining and , the calibrated target satisfies . At a fixed context, the remaining offset is common to all prices. Formal statements are collected in Section B.2.
The intuition is an accounting one. The observable score is not the profit; it differs from profit by , a demand term the seller does not observe in stockout periods. For inventory choice at a fixed price and context, this extra term is harmless because it does not depend on the stock level. The same sales record can therefore tell the seller which way to move inventory without revealing the missing tail of demand.
The difficulty is price comparison. A price that produces larger mean demand also produces a larger shift in the observable score, so optimizing the raw score can rank prices differently from optimizing profit. Calibration removes precisely this price-dependent shift. Once the profiler makes a lower demand quantile visible, subtracting leaves only the common context term . That common term can vary from one context to another, but within the same context it is shared by all prices, so it does not change the price ranking.
Inventory profiling. Before comparing prices, the seller needs an inventory level that makes visible. The profiler searches for this level using only stockout indicators. Once the profiled inventory is safely above , the lower -quantile of sales equals the corresponding demand quantile.
Let be a compactly supported Lipschitz kernel with for and for . Set and . Partition into a deterministic collection of axis-aligned cells with diameter at most . We use for a representative point of . Then . These profiler cells are deliberately coarser than the bandwidth- cells used only in the kernel counting proof. The asynchronous policy and its profiling-action bound do not require a lower bound on the probability of any cell.
Profiler implementation. For each profiler cell and anchor price , the profiler maintains a bisection interval for the root of . At a candidate stock level it asks whether a stockout occurred, and then moves the interval up or down. After a batch of observations it stops when the remaining inventory uncertainty is small enough to cause only value loss. Profiling is asynchronous across cells: a context only advances the unfinished cell it actually belongs to, and a completed cell can immediately start using UCB. For a fine-grid decision price , the policy reuses the profile at the nearest anchor instead of running a new inventory search. This is why the algorithm pays for inventory profiling on a coarse grid, while retaining a fine grid for price learning. The one-round profiler update is given in Algorithm 2. The guarantee in Lemma 2 shows that, at , completed cells return inventories within of the critical level, keep the inventory value loss at , make visible, and use only profiling rounds.
Contextual UCB layer. Once a context cell has a safe inventory profile, the seller can return to price learning. The UCB layer combines two kernel estimates from the same sales history: one for the observable proxy and one for the visible quantile used to calibrate it. The raw proxy is not optimized directly because its price-dependent shift could favor the wrong price. Throughout the UCB concentration and counting analysis, write ; the profiler grid is always denoted separately by .
Let be the UCB rounds before on which price was played. The kernel effective sample size, proxy estimate, weighted sales CDF, and empirical calibration quantile are
The ratio-based estimates are used only when . For , the weighted empirical CDF is a right-continuous step function determined by finitely many observed triples. The displayed infimum is therefore a measurable statistic of the history. At zero weight the estimate
Algorithm 1 Mean-Calibrated Kernel UCB (MCK-UCB)
Require: horizon , context smoothness , visible quantile level , price mode , fixed tuning constants
1: Fix and set
2: if then
3: Set , and
4: else
5: Set , and
6: Set , , and ; construct with cell diameter at most , and initialize the persistent anchor-profiler states in Algorithm 2
7: if then
8: Play on all rounds and stop
9: for round do
10: Observe context and let
11: if cell is not profiled then
12: Execute the one-round update in Algorithm 2 and continue
13: Compute if , and otherwise use
14: Choose , let and , play , and observe
15: Append , where , to the history of
is left undefined and the algorithm uses the infinite index directly. Define the corrected estimate .
MCK-UCB implementation. For price mode , the decision grid has spacing ; for , it has spacing . In both modes, the context bandwidth is , the target value accuracy is , and inventory is profiled on the coarser resolution . On every round, the policy first checks whether the arriving context belongs to an unfinished profiler cell. If so, that round advances the cell's inventory search. Otherwise the policy computes a calibrated optimistic value for each decision price, chooses the largest one, and reuses the profiled inventory at the nearest anchor. It then stores the observed sale and proxy in that price's history.
Design choices. The policy is not a separate explore-then-exploit scheme. Each context cell keeps its own profiling state, and a cell switches to price learning as soon as its anchor inventories are certified. This matters when the context distribution is uneven: frequently visited cells should not wait for rare cells, while rare cells should not be forced into price learning before the sales quantile is visible.
The two resolutions also serve different roles. Inventory is profiled on a coarser price grid because the profiler only needs to make the calibration quantile safely observable and keep inventory loss small. Price learning uses a finer decision grid because price comparison is the final optimization problem. Sharing inventory profiles from nearby anchors reduces the number of rounds spent on profiling without changing the calibrated target used by UCB.
The startup fallback makes the policy well defined before the certified visibility resolution is available. Otherwise the policy never waits for global profiler completion: sparse cells remain in profiling mode, while completed cells accumulate UCB observations. The deterministic number of profiling actions is of order ; all other rounds are UCB rounds. For all sufficiently large , . The finitely many earlier horizons are covered by bounded regret and a larger theorem constant.
Remark 3 (Concentration and counting). Once a context cell is profiled, the UCB rule behaves like a local price learning problem. The effective sample size is , so the statistical uncertainty decreases at the usual scale. The remaining terms come from price resolution and contextual smoothing. Summed along the realized trajectory, the local uncertainties contribute . The formal concentration and counting statements are collected in Section F.
4 MAIN RESULTS
Let denote the instance class satisfying Assumptions 1 to 5 with Lipschitz price values, and let be its twice-smooth specialization. The formal upper and lower statements, including the fixed numerical envelopes and tuning constants, are given in Section B.
Theorem 1 (Minimax rates for contextual censored sales). For fixed , MCK-UCB achieves the minimax regret rate, up to logarithmic factors, in both price classes:
The rates quantify the cost of contextual variation. Larger spreads observations across more local neighborhoods, while larger allows stronger sharing across nearby contexts. The twice-smooth price class improves the exponent because a coarser price grid is enough to achieve the same approximation accuracy.
Where the rates come from. The upper bound has three visible sources. First, the policy spends rounds profiling inventory in coarse context cells and at coarse price anchors. This is the cost of making the calibration quantile observable. Second, after a cell is profiled, the policy runs a contextual optimistic search over prices; nearby contexts share observations through the kernel, but the effective sample size is still local. Third, the continuous price interval is replaced by a finite grid, which creates approximation error.
Suppressing logarithms and constants, the regret accounting has the form
Here is the context bandwidth, is the target value accuracy, and is the number of decision prices. The first term is profiling, the second is local approximation and inventory error, and the third is the accumulated statistical uncertainty from contextual price learning. For Lipschitz price values, , and balancing the last two terms gives the exponent . When the optimized value is twice smooth in price, the grid can be coarser, , giving . The profiling term is designed to remain lower order at these choices.
The matching lower bound says that these costs cannot all be avoided. Censored sales do not contain enough information to reveal the hidden tail for free, and context variation prevents all observations from being pooled into one global pricing problem. The theorem therefore reflects the intrinsic cost of learning from censored contextual demand, not only the design of MCK-UCB.
5 EXPERIMENTS
The experiments ask whether the main pieces of the theory behave as expected in finite samples. We instantiate the model with a controlled homoskedastic specification , which isolates the effects of context dimension, Hölder smoothness, inventory profiling, and contextual pooling while preserving the within-context sharing structure used by the algorithm. Complete environment definitions, tuning parameters, baseline specifications, and additional diagnostics are given in Section C.
We vary the horizon, context dimension, and contextual smoothness. For , we run five independent repetitions for each pair . Figure 1 reports mean cumulative regret with 95% confidence bands. The dashed reference in each panel is , where .

Figure 1: Cumulative-regret scaling of the paper-aligned MCK-UCB policy for different context dimensions and Hölder exponents . Solid curves are means over five exogenous trajectories, shaded regions are 95% confidence intervals, and dashed curves give representative guides.
The fitted log-log slopes, ordered by the panels, are 0.886, 0.885, 0.893, 0.842, 0.832, and 0.824. The corresponding pure-power exponents are 0.800, 0.769, 0.750, 0.857, 0.824, and 0.800. All six finite-sample fits are sublinear. The dashed guides should be read as a scaling diagnostic rather than an estimate of the asymptotic minimax exponent: the experiment is deliberately narrower than the theory, but it shows that the policy can learn from sales-only feedback in a context-dependent environment. Appendix C reports the context geometry, baseline comparisons, smoothness-mismatch diagnostic, and implementation details.
6 RELATED WORK
This paper sits at the intersection of four literatures: censored inventory learning, online pricing and inventory control, contextual bandits, and partial monitoring.
Table 1 highlights the main distinction. Prior work typically has context without online joint pricing–inventory learning, or joint pricing–inventory learning without context. Our setting requires both: the same censored sale must guide inventory, price comparison, and local information sharing across market conditions.
Censored pricing and inventory learning. Besbes & Muharremoglu (2013) show that sales-only feedback changes the exploration problem even when inventory is the only decision. The closest pricing–inventory papers are Chen et al. (2021) and Chen et al. (2024). They study nonparametric learning with lost sales and censored demand, but in a context-free setting. The former uses high-inventory exploration and spline estimation, while the latter estimates reward differences from censored data and uses structured search. We retain their useful within-context location-modeling convention, but add contextual pooling and a decision-equivalent calibration target.
Ding et al. (2024) study feature-based inventory control with censored demand and construct an inventory-oriented stochastic subgradient. Our setting also needs the same censored sale to support price comparison, which creates the price-calibration step.
Table 1: Setting comparison with closely related work.
| Work | Context | Decisions | Feedback and deployment |
| Besbes & Muharremoglu (2013) | No context | Inventory only | Online lost-sales feedback; no price decision. |
| Chen et al. (2021; 2024) | No context | Price and inventory | Online sales-only feedback; nonparametric but context-free. |
| Ding et al. (2024) | Features or context | Inventory only | Online censored-demand inventory control; no price calibration. |
| Tang et al. (2025); Hu et al. (2026) | Features or context | Pricing or pricing–inventory | Historical data are available before deployment, rather than collected only online. |
| Abernethy et al. (2016); Verma et al. (2019) | Model dependent | Threshold or resource actions | Abstract censored-feedback models, not lost-sales profit with an endogenous inventory threshold. |
| This paper | Nonparametric context | Price and inventory | Online sales-only feedback; learns by locally calibrating censored sales. |
Contextual and offline pricing–inventory learning. Tang et al. (2025) study feature-based pricing with finite inventory and censored demand using an offline data set of historical features, prices, inventory, and sales. Hu et al. (2026) study contextual joint pricing and inventory control from historical data using a conditional generative model. These works use rich context information but study historical data available before policy deployment. Gundem & Qi (2025) also studies offline sequential pricing and inventory with censored, dependent demand.
Partial monitoring and contextual bandits. Abernethy et al. (2016) analyze threshold bandits in which feedback is revealed only on one side of a threshold, and Verma et al. (2019) study censored semi-bandits for resource allocation. The nonparametric contextual bandit literature studies how nearby contexts can share information (Rigollet & Zeevi, 2010; Perchet & Rigollet, 2013; Qian & Yang, 2016; Guan & Jiang, 2018; Reeve et al., 2018), while Krishnamurthy et al. (2020); Gur et al. (2022) consider continuous actions and smoothness. These papers generally assume that an unbiased reward or loss is available after the action. Here the inventory threshold is endogenous, the reward is a continuous lost-sales profit, and neither the reward nor its gradient is observed.
Contextual dynamic pricing. Qiang & Bayati (2016) and Wang et al. (2025) study pricing with observed covariates under parametric or partially specified demand models. Wang et al. (2021) study nonparametric continuous-action pricing when the observed-reward function may be multimodal. These papers clarify the value of contextual information and of avoiding global concavity, but they do not jointly model an endogenous inventory level that censors the reward. Our contribution is the interaction of these ingredients, together with matching upper and lower bounds under the stated shared-noise subclass.
7 CONCLUSION
We studied a seller who must make two decisions at once: how much to charge and how much to stock. The seller sees the context and the resulting sales, but not the demand that was turned away. We showed that, under a nonparametric contextual location model, the visible part of censored sales can still support joint pricing and stocking. MCK-UCB combines inventory profiling, local contextual pooling, and calibrated price learning, and achieves matching minimax rates for the stated Lipschitz and twice-smooth price classes.
The result remains a per-period model without inventory carryover or lead times, and the shared-noise location structure does not cover arbitrary price-dependent noise distributions. Extensions to dynamic inventory states, weaker feedback, or a more general conditional demand law are natural directions for future work.
REFERENCES
Jacob D. Abernethy, Kareem Amin, and Ruihao Zhu. Threshold bandits, with and without censored feedback. In Advances in Neural Information Processing Systems, volume 29, pp. 4889–4897, 2016.
Omar Besbes and Alp Muharremoglu. On implications of demand censoring in the newsvendor problem. Management Science, 59(6):1407–1424, 2013. doi: 10.1287/mnsc.1120.1654.
Boxiao Chen, Xiuli Chao, and Cong Shi. Nonparametric learning algorithms for joint pricing and inventory control with lost sales and censored demand. Mathematics of Operations Research, 46(2):726–756, 2021. doi: 10.1287/moor.2020.1084.
Boxiao Chen, Yining Wang, and Yuan Zhou. Optimal policies for dynamic pricing and inventory control with nonparametric censored demands. Management Science, 70(5):3362–3380, 2024.
Jingying Ding, Woonghee Tim Huh, and Ying Rong. Feature-based inventory control with censored demand. Manufacturing & Service Operations Management, 26(3):1157–1172, 2024. doi: 10.1287/msom.2021.0135.
Melody Y. Guan and Heinrich Jiang. Nonparametric stochastic contextual bandits. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, pp. 3119–3125, 2018. doi: 10.1609/aaai.v32i1.11749.
Korel Gundem and Zhengling Qi. Offline dynamic inventory and pricing strategy: Addressing censored and dependent demand. arXiv preprint arXiv:2504.09831, 2025.
Yonatan Gur, Ahmadreza Momeni, and Stefan Wager. Smoothness-adaptive contextual bandits. Operations Research, 70(6):3198–3216, 2022. doi: 10.1287/opre.2021.2215.
Xiangbin Hu, Xianghua Jiang, Zhisheng Ye, and Xun Zhang. Conditional generative learning for joint pricing and inventory control. Working paper, minor revision at Manufacturing & Service Operations Management, 2026.
Akshay Krishnamurthy, John Langford, Aleksandrs Slivkins, and Chicheng Zhang. Contextual bandits with continuous actions: Smoothing, zooming, and adapting. Journal of Machine Learning Research, 21(137):1–45, 2020.
Vianney Perchet and Philippe Rigollet. The multi-armed bandit problem with covariates. The Annals of Statistics, 41(2):693–721, 2013. doi: 10.1214/13-AOS1101.
Wei Qian and Yuhong Yang. Kernel estimation and model combination in a bandit problem with covariates. Journal of Machine Learning Research, 17(149):1–37, 2016.
Sheng Qiang and Mohsen Bayati. Dynamic pricing with demand covariates. arXiv preprint arXiv:1604.07463, 2016.
Henry Reeve, Joseph Mellor, and Gavin Brown. The k-nearest neighbour ucb algorithm for multi-armed bandits with covariates. In Proceedings of Algorithmic Learning Theory, pp. 725–752, 2018.
Philippe Rigollet and Assaf Zeevi. Nonparametric bandits with covariates. In Proceedings of the 23rd Annual Conference on Learning Theory, pp. 54–66, 2010.
Jingwen Tang, Zhengling Qi, Ethan Fang, and Cong Shi. Offline feature-based pricing under censored demand: A causal inference approach. Manufacturing & Service Operations Management, 27(2):535–553, 2025. doi: 10.1287/msom.2024.1061.
Arun Verma, Manjesh K. Hanawal, Arun Rajkumar, and Raman Sankaran. Censored semi-bandits: A framework for resource allocation with censored feedback. In Advances in Neural Information Processing Systems, volume 32, 2019.
Hanzhao Wang, Kalyan Talluri, and Xiaocheng Li. Technical note: On dynamic pricing with covariates. Operations Research, 73(4):1932–1943, 2025.
Yining Wang, Boxiao Chen, and David Simchi-Levi. Multi-modal dynamic pricing. Management Science, 67(10):6136–6152, 2021.
A ALGORITHM LISTINGS
Algorithm 2 One-Round Two-Resolution Inventory Profiler Update
Require: horizon , coarse profiler partition , current context , its cell , persistent profiler state for , value accuracy , anchor grid , confidence level , fixed tuning constant
1: At initialization, set and
2: At initialization, for every , initialize
3: Select the next unfinished anchor in the round-robin schedule of cell
4: Set and , play , observe , and append to the current batch of
5: if the current batch contains indicators then
6: Let be their average
7: if then
8: Set
9: else if then
10: Set
11: else
12: Mark finished and set
13: if is unfinished and then
14: Mark finished and set
15: Clear the completed batch
16: if all , are finished then
17: Mark cell profiled and define for , , where
B FORMAL STATEMENTS AND TUNING
B.1 TUNING CONVENTION
The learner knows the horizon, context dimension, action ranges, cost parameters, smoothness exponent, visible quantile level, and kernel. It does not know the demand surface, the context-specific noise laws, the critical inventory levels, or the optimal prices. Fix numerical constants . The analysis is stated for fixed choices that dominate the constants needed in batch sizes and confidence radii, including
and fixed action/kernel constants. The visibility condition requires, for every ,
where and are certified bounds on proxy magnitude and one-period regret. Any fixed admissible choices change only multiplicative constants and finite-horizon transients, not the regret exponent. The latent functions, quantiles, and optimizers remain unknown and are never policy inputs.
B.2 AUXILIARY STATEMENTS
Proposition 1 (Location-model separation). Under Assumptions 2 to 4,
and
where
Moreover, there is a fixed such that, uniformly in , each of , , , and changes by at most between contexts .
Proposition 2 (Uniform price discretization). Under Assumption 5,
and
Under the smooth-price specialization, the grid has cardinality and approximation error .
Proposition 3 (Exact proxy identity). For every demand realization,
Consequently, with , one has . In particular, , , and .
Lemma 1 (Mean calibration up to a within-context common shift). Under Assumptions 2 and 3, define . Then
For a fixed , the rightmost offset is independent of and . Hence an upper confidence bound for the left-hand side orders prices exactly as an upper confidence bound for .
Lemma 2 (Two-resolution asynchronous profiling guarantee). Under Assumptions 1 to 4, take . Let be the number of rounds up to horizon on which the asynchronous policy performs a profiling update. Deterministically,
and, with probability at least , every completed cell has returned estimates satisfying, uniformly in and in that cell,
and
Under the certified resolution ,
so the -quantile of equals . No completion guarantee for cells that have not received enough arrivals is needed. Since and ,
B.3 UPPER AND LOWER BOUNDS
Theorem 2 (Lipschitz-price contextual upper bound). Under Assumptions 1 to 5, with , and with the certified tuning inputs in Section B.1, MCK-UCB satisfies
Corollary 1 (Twice-smooth price upper bound). Under the smooth-price specialization in Assumption 5, invoke MCK-UCB with , using the same fixed tuning constants and fallback rules. Its price mesh is , with
Then
Theorem 3 (Context-conditioned shared-noise lower bounds). Assume and , and let . There exist fixed nondegenerate compact price and inventory ranges and a context-conditioned shared-noise location subclass satisfying Assumptions 1 to 5 such that every policy obeys, under Lipschitz price regularity,
Under the twice-smooth price specialization, the lower bound is
Corollary 2 (Context-conditioned shared-noise minimax rates). Fix common numerical envelopes for all constants in Assumptions 1 to 5 and the fixed tuning constants, as well as fixed action ranges containing the subclass in Theorem 3. Let be the resulting context-conditioned shared-noise class with Lipschitz price values, and let be its twice-smooth specialization. For fixed , the upper and lower bounds yield
Under twice-smooth price values the corresponding rate is
C EXPERIMENTAL DETAILS
Experimental environment and feedback. All experiments use , shortage cost , holding cost , and visible quantile level . Contexts are i.i.d. uniform on and
where we specify the context-conditioned residual family as for every . Thus the residual law is the same across prices at each context and, in this controlled design, also does not vary with context. The learner receives only and updates the observable proxy
For the scaling and mismatch experiments, . The constant residual family has Hölder modulus zero, so the environmental exponent is introduced through the location surface. To make this smoothness explicit, define the centered cusp
For , the location surface is
For , it is
Each surface is -Hölder and contains an -order cusp, so changing changes the environment rather than only the algorithmic bandwidth.
The two-dimensional baseline comparison uses and the instance
Paper-aligned MCK-UCB implementation. We use the Lipschitz-price mode of Algorithm 1. At declared horizon ,
The decision-price mesh is , the profiler-anchor mesh is , and a decision price uses the completed inventory estimate of its nearest anchor. Profiler cells have diameter at most . Within every unfinished cell, anchors are visited round-robin; each midpoint threshold is held fixed for a batch of
observations and is compared with . Completed cells switch immediately to calibrated kernel UCB, while unfinished cells continue profiling on their own arrivals. Only UCB rounds enter the price-specific proxy and sales-quantile histories. We set and before running any simulation and do not select either value by seed, horizon, environment, or observed reward. is a fixed scale factor in batch lengths and confidence radii; fixed admissible choices affect multiplicative constants and finite-sample transients but not the regret exponent. The value is only a technical startup cutoff. Every experimental bandwidth satisfies , so this cutoff never changes an action in the reported experiments.
The scaling grid contains and five repetitions for each of
The top row of Fig. 1 fixes and the bottom row fixes . In this experiment the algorithm input equals the environmental smoothness, .
Smoothness-mismatch diagnostic. We separately fix and cross in the cusp environment with the algorithm input . Each cell uses six repetitions. For fixed , all three values of receive the same pre-generated context and residual-shock arrays. Figure 4 shows that has the lowest mean regret for every tested , including the two rough environments. Thus matching to is not empirically necessary on this benchmark. This is a finite-sample robustness diagnostic, not a general smoothness-adaptation guarantee.
Common random numbers and baselines. Our benchmark comparison is designed to isolate the online feedback contribution. The closest available online methods handle joint inventory and pricing with censored demand in the noncontextual setting: the CWZ trisection method of Chen
(a) Optimal reward surface

(b) Context-optimal price

Figure 2: Geometry of the two-dimensional instance used in the baseline comparison. Left: optimized reward . Right: context-optimal price . The substantial price variation makes context information decision relevant.
(a) Two-dimensional comparison

(b) Per-round decay

Figure 3: Two-dimensional comparison with neighboring online joint pricing–inventory methods under common exogenous context and residual-shock trajectories. Curves are means over eight repetitions and shaded regions are 95% confidence intervals. CWZ and SALA are noncontextual prior-work baselines and pool away the context, whereas MCK-UCB uses contextual kernel estimates.
et al. (2024) and a SALA-style implementation based on Chen et al. (2021). They provide relevant pricing–inventory benchmarks rather than model-identical competitors; both implementations pool away the context, whereas MCK-UCB uses contextual kernel estimates. Recent feature-based censored-pricing work is offline and is therefore not a drop-in online baseline for the present experiment.
Before any policy starts, each seed generates a complete context array and a complete residual-shock array from two independent child random streams. MCK-UCB, CWZ, and SALA receive the same pair on every calendar round, so their actions cannot change later contexts or shocks. The two-dimensional comparison uses and eight repetitions. The CWZ implementation uses minimum epoch size 8, sample scale 0.006, and final exploitation fraction 0.35. The SALA-style implementation explores seven prices, uses exploration scale 1.1, estimates a pooled demand curve and residual distribution, and then exploits one price-inventory pair. Both baselines deliberately ignore the context.
We use a two-dimensional instance in which the context changes both willingness to pay and market size. At T = 8000, over eight repetitions, the mean cumulative regrets of MCK-UCB, CWZ, and SALA are 2570.1, 4957.7, and 5482.1, respectively.

Figure 4: Sensitivity to smoothness mismatch at . Each curve fixes the true cusp exponent and varies the algorithm input ; points are means over six common-random-number repetitions and error bars are 95% confidence intervals. Left: . Right: .
For reproducibility, the scaling seed and the mismatch seed are both
independently of in the mismatch experiment. The comparison seed is . The regret benchmark maximizes on an 801-point price grid over . One-round regret is the expected-value gap
not realized-profit noise or price distance. Reported curves are means across repetitions; shaded bands are mean plus or minus 1.96 standard errors.
D PROOF ROADMAP AND COMMON NOTATION
The main text carries the intuition; this appendix records the technical reasons the intuition is correct. The proofs separate identification, estimation, regret accounting, and hardness. This separation is useful because the learner never observes the true reward. Define the calibrated value
The first equality identifies a target that can be estimated from sales, and the second shows that its maximizers are exactly those of . The upper-bound proof then follows the same story as the main text: first make inventory safe, then calibrate the proxy, then use contextual optimism. The formal dependency chain is:
-
Proposition 3 and Lemma 1 establish that a censored observation supplies a bounded proxy sample and a visible quantile correction for .
-
Lemma 2 profiles only coarse context cells and -spaced price anchors, then transfers the nearest anchor estimate to each decision price. The resulting inventory is within of the critical inventory. Its value loss is , and its positive separation above makes the calibration quantile uncensored.
-
Lemmas 3 and 4 give a simultaneous confidence interval for under adaptive price choices. The radius contains a stochastic term and the two bias terms and .
-
Lemma 5 sums the stochastic radii. Price discretization and profiling supply the remaining deterministic regret terms, producing the three-term decomposition used in Theorem 2 and Corollary 1.
For the lower bound, we restrict to the admissible subfamily , and that noise law is even revealed to the learner. A value bump is implemented by the location shift ; Lemma 7 verifies that these shifts remain inside the model class. The square-root density of the fixed noise law has finite translation energy, so a location shift of size contributes only squared Hellinger information. The complete proof in Section I averages this information over disjoint price supports inside every context cell and then applies a product prior over cell labels. This is the direct-sum step responsible for the factor .
The common compact support of , boundedness of , and compact action sets imply constants such that and one-round regret is at most on every instance considered below. Constants denoted by may change from line to line and depend only on the fixed model constants, never on , or the packing labels.
E PROOFS FOR THE PROXY AND PROFILING RESULTS
Proof of Proposition 1. Fix , abbreviate , and write . By Assumption 4, the optimizer is the unique interior solution of the inventory first-order condition. Using Section 2, this condition is
Since is continuous and , its unique solution is . Hence .
At this inventory, the following identities hold sample by sample:
Substitution into the definition of gives
It remains to prove the asserted context regularity. Put . For , put . When , the two quantiles must be within ; were, say, , integrating from to would give , contradicting the definition of . Inside that neighborhood, the same integration argument gives
When , compact support gives
Thus both and are uniformly Hölder in , and the same is true of and after adding the location bound from Assumption 2.
For completeness, let denote the law of . In one dimension,
where the last step uses . For fixed , the profit is Lipschitz in demand with constant at most . The Kantorovich–Rubinstein inequality therefore bounds by a constant times , uniformly in . Taking maxima over the common inventory interval proves the same bound for . Finally, , so is Hölder as well. Choosing one constant that dominates these four bounds proves the last claim.
Proof of Proposition 2. The displayed cardinality bound follows directly from the construction of . A maximizer has a grid point within distance ; the Lipschitz bound then gives
Under the bounded-second-derivative condition, Taylor's theorem around an interior maximizer gives a loss at most . The same order follows at a boundary maximizer because both endpoints themselves belong to the grid, and hence the discretization loss is then zero. A grid of mesh therefore incurs loss and contains points.
Proof of Proposition 3. The elementary identity
gives
because . This is exactly . Taking conditional expectations proves . The added term is independent of , so maximizers and inventory gaps agree.
Proof of Lemma 1. Mean-zero noise gives , while the location family gives . Substitute both identities into .
Proof of Lemma 2. Put and . We first construct a single event on which every anchor-price bisection decision is correct. Fix a profiler cell with positive context probability and an anchor . Define its conditional-average stockout curve
Cells of zero probability receive no arrivals and contribute no profiling rounds. Every individual root in the cell equals , and therefore
Continuity and monotonicity place a root of between the smallest and largest individual roots. Consequently
The visibility condition keeps this entire root interval inside the region where every conditional density is bounded below. Hence the averaged curve is strictly decreasing there with slope magnitude at least a fixed multiple of , so the displayed root is unique in the relevant neighborhood.
The within-cell scheduler depends on the cell index and the past, but not on the exact location of the current context inside the cell. Conditional on an arrival to the cell, the context therefore retains the fixed conditional law used in . During a fixed threshold batch, each stockout indicator is a bounded martingale difference after subtracting . Hoeffding's inequality gives stochastic error at most from
samples, where
bounds the number of thresholds queried by one bisection. Taking the union bound over the at most adaptive batches yields an event of probability at least on which
for every queried batch. The union bound is valid for adaptive thresholds because the conditional tail bound holds at every batch given its starting history.
We next verify the bisection invariant. Initially . The averaged stockout curve is nonincreasing. On , implies , hence and replacing the lower endpoint by preserves the invariant. The symmetric statement holds when . In the remaining case,
The startup check and the definition of keep the relevant neighborhood inside the density-lower-bound region. The averaged-curve slope bound therefore gives
Outside that neighborhood monotonicity gives a fixed stockout gap, so the ambiguous branch cannot terminate there once . A width-based termination also has error at most half the final bracket width. Consequently every cell-anchor output satisfies
We now transfer the anchor estimate to a decision price . Since has bounded derivative and along the quantile curve ,
Here the first inequality follows by integrating the density between the two quantiles; every intermediate quantile is for a price between and . Thus is uniformly Lipschitz under the context-conditioned shared-noise assumption. With , . Since Proposition 1 gives , for ,
It remains to count the rounds that actually perform profiling. Each cell-anchor pair uses at most batches, and each batch uses arrivals assigned to that cell. Hence every cell uses at most
profiling actions. Since , summing this deterministic cap over cells gives, for every arrival realization and every horizon,
An unfinished cell cannot create waiting loss elsewhere: each arrival to an unfinished cell is one of the actions counted above, and each arrival to a finished cell is a UCB round. On , every cell that does finish has the accuracy guarantees in Section E. Cells that have not received enough arrivals remain in profiling mode and never supply an uncertified inventory to the UCB history.
Under , the certified bound on Section E lies inside the radius in Assumption 4. Its quadratic loss condition and give
The equality of the proxy and true inventory gaps follows from Proposition 3. Finally, , and the definition of makes the right-hand side of Section E at most . Hence . At every , censoring is therefore inactive, so the -quantile of sales equals the -quantile of demand.
F PROOFS FOR KERNEL CONCENTRATION AND COUNTING
Lemma 3 (Sequential kernel proxy and quantile concentration). Let . There is an event with probability at least such that, on its intersection with the profiling event, uniformly over UCB queries with ,
Lemma 4 (Kernel calibrated-value confidence). On the intersection of the profiling event and , uniformly over UCB queries with ,
Lemma 5 (Kernel counting). Let be the set of UCB rounds. For every predictable interleaving rule and price sequence on those rounds,
Proof of Lemma 3. We first make the sequential measurability explicit for the interleaved policy. Include the policy's internal random seed and initialized profiler state in , and let
The decision whether round is a profiling or UCB round, and then the action , are -measurable. The fresh noise , and hence the outcome , is generated afterward and is conditionally independent of the past given . Write when round is a UCB round.
Fix a query time , a price , and condition on . For , enlarge the pre-outcome sigma-field to
This is legitimate because the contexts are i.i.d.: is independent of , which already contains each past context and its context-conditioned noise outcome. In particular, adjoining does not change the conditional law of the period- outcome. Set
The weight is -measurable, and . Hence is a bounded martingale difference in the filtration that reveals after . Since and , Hoeffding's conditional lemma gives, for every ,
Thus the product of the factors in Section F is a nonnegative supermartingale. Also,
Applying the exponential supermartingale inequality on the dyadic events , and assigning failure probability to each query and dyadic level, gives
for this conditional query. The same argument applies to the negative martingale. After division by , the stochastic proxy error is at most . This derivation handles the data-dependent effective sample size; no deterministic lower bound on is used.
On the profiling event, every observation with comes from a cell whose profile was already completed before choosing the action. Hence Proposition 3 and Lemma 2 give
Moreover, the context-regularity conclusion of Proposition 1 implies, whenever ,
The weighted average of Section F, combined with Section F, proves
We now control the weighted empirical quantile. Put
When , context smoothness gives
Together with the profiling margin and the certified inequality , this shows that
throughout . Thus censoring does not alter the lower-tail indicators:
Let be a deterministic grid of with mesh at most , so . Conditional on , augment the grid points lying in by the two endpoints of that interval. This query-specific grid still has at most points, all inside the uncensored neighborhood. Fix one such point and set
The visibility calculation in Section F applies and . Consequently obeys the same exponential-supermartingale bound as the proxy sequence. Allocate failure probability to every and dyadic weight level. A union bound gives the desired inequality at all relevant grid points.
For an arbitrary , take adjacent grid points . Monotonicity gives , while the population CDF changes by at most between adjacent points. Absorbing this deterministic term into the radius yields, simultaneously over ,
The upper density bound, the Hölder condition on , and imply
Consequently,
The target CDF equals at . On the fixed neighborhood from Assumption 3, its density is at least . Suppose first that
Integrating the density lower bound on both sides of gives
and
Both evaluation points lie in , so Section F implies that the empirical CDF is below at the lower point and above at the upper point. The defining crossing property of the measurable weighted empirical quantile then yields
Outside the regime in Section F,
Both quantiles lie in the fixed bounded sales interval, so enlarging the universal radius constant by that interval's diameter divided by gives the same order there as well.
Finally, every bound above was conditional on an arbitrary value , and its failure probability does not depend on . Taking conditional expectations therefore removes this conditioning. A union bound over at most realized time-price queries, at most dyadic weight levels, and CDF grid points has total failure probability at most . The logarithm of this cardinality is bounded by , completing both simultaneous claims without a union bound over the uncountable context space.
Proof of Lemma 4. By Lemmas 1 and 3,
which is the stated radius after enlarging C.
Proof of Lemma 5. Use a deterministic partition of into cells of diameter at most , and let denote the cell containing on a UCB round. Two contexts in the same cell are at distance at most . Hence every earlier UCB observation in cell at price has kernel weight at least . Let be the number of such UCB observations strictly before . Pathwise,
Order the visits to a fixed pair by . On its -th visit, the preceding count is . The first visit contributes one because the denominator in the lemma is truncated at one, and
After absorbing , summing this bound and applying Cauchy–Schwarz gives
This argument is deterministic once the context and price sequences are fixed, so it applies to every predictable adaptive interleaving policy.
G COMPLETE PROOFS OF THE CONTEXTUAL UPPER BOUNDS
Complete proof of Theorem 2. Let and , . The tuning constants are fixed problem constants. Since and
there is a finite such that for every . For , every branch of Algorithm 1 has regret at most , so increasing the theorem constant covers these horizons. We henceforth take ; the deterministic startup fallback is then inactive.
Run the interleaved profiler–UCB policy with , and let and denote the events from Lemmas 2 and 3. By definition, dominates the constants in the profiler and confidence radii. For fixed , the logarithm in the index is equivalent up to a constant to . A union bound gives
On , total regret is at most , so its expected contribution is at most .
For every arrival and outcome realization, Lemma 2 bounds the number of profiling rounds by
Every one of these rounds costs at most , so
For the stated bandwidth this quantity is ; arrivals to already completed cells are not included in this charge and are UCB rounds.
Consider a UCB round with . Let maximize over the grid. By Proposition 2,
Recall , and define
On , whenever both relevant effective sample sizes are positive,
The middle inequality is the defining UCB choice. When , a candidate with zero effective sample size has infinite index, so cannot have zero weight; hence the displayed chain indeed covers this case. When , boundedness gives , which is absorbed by the same right-hand side because and . Since the common shift cancels, Section G therefore yields for every UCB round
The period regret decomposes exactly as
The first term is controlled by Section G, the second by Section G, and the third is at most by Lemma 2. Thus
Summing Section G over the UCB rounds, applying Lemma 5, adding Section G, and then adding the failure-event contribution gives
For the Lipschitz price class, , , and . With , Section G becomes
Ignoring logarithmic factors, the choice is equivalent to , and consequently
Since , the profiling term is lower order. The logarithmic modification in Algorithm 1 changes only the polylogarithmic factor, completing the proof.
Complete proof of Corollary 1. Let . With the smooth bandwidth and grid, and the profiling-action bound below is , so there is a finite after which the deterministic visibility fallback is inactive. Earlier horizons satisfy . For later horizons, the good-event, profiling-action, optimism, and counting argument from Section G through Section G is unchanged. Under the bounded-second-derivative condition, Proposition 2 permits a mesh of width . It has and price approximation loss . Therefore Section G becomes
Substitute . Ignoring logarithms, the bandwidth satisfies , so
The profiling exponent is strictly smaller than . Finally,
The logarithmic factor in the stated bandwidth is again absorbed by polylog(T).
H PROOFS FOR THE LOWER BOUND CONSTRUCTION
Lemma 6 (Slack flat-value baseline). There exist a smooth compactly supported mean-zero density , intervals , a smooth , and such that the constant family satisfies Assumption 3,
equals on , is smaller outside , and is at most outside . The baseline can be chosen so that, uniformly in ,
with , and have uniformly bounded first two price derivatives.
Definition 1 (Normalized context-price packing). Fix the baseline and the interval from Lemma 6. Let
Then , it equals one on , and its support is . Define the normalized context bump
For , put , index the multi-indices by , where , and set
Thus the cells are pairwise disjoint, , and on .
Choose once and for all a closed interval , and write . For , let
and define
The sets are pairwise disjoint and contained in . Finally, let
and, for every label vector , define
The augmented set contains the zero-label reference experiments; the final hard prior is supported on .
Proposition 4 (Properties of the normalized packing). For the construction in Definition 1, constants depending only on , , and the fixed bump satisfy
Under the uniform context distribution,
Moreover, uniformly over ,
For , the perturbation reduces exactly to
Consequently, when , its maximum over is , attained on the plateau of , while it is zero for every .
Lemma 7 (Stability of lower-bound perturbations). There are and a baseline from Lemma 6 such that, for , , the packing in Definition 1 with , and every ,
is nonnegative, satisfies all assumptions, and has an optimal price in . The twice-smooth construction satisfies the same claim for the packing with and uniformly bounded .
Proof of Lemma 6. Let
This density is symmetric and hence mean zero, is positive on every compact subset of , and vanishes to all orders at the endpoints. Therefore . A fixed rescaling retains these properties and has finite . Since and is continuous, after taking the price interval sufficiently small around an interior , all relevant probability levels lie in one compact subset of . Their quantiles therefore lie in a compact subinterval on which admits uniform positive lower and finite upper bounds. Choose from this compact subinterval. Write , , and let denote the residual-value functional in Proposition 1 for . Choose strictly below .
Choose a location level , and fixed inventory endpoints, so that and both and lie strictly inside the inventory interval. This is possible by first taking the noise scale small and then centering the inventory interval at . Define
The function is on the chosen price interval: the quantile map is there by the density lower bound, and the truncated expectations defining may be differentiated under the integral. Hence is , equals at , and remains inside all strict feasibility margins after shrinking the price interval.
Choose around and a smooth cutoff that is zero on and one outside , and is strictly positive on . For a sufficiently small fixed , set
Continuity on the compact price interval and the strict margins of permit choosing and the interval widths so that all four inequalities in part (iii) hold. The cutoff construction gives part (ii), while and smoothness of give the derivative bounds in part (iv). This proves every item of the lemma.
Proof of Proposition 4. For , , which yields the first cardinality bound. Similarly, gives . The cells and their cores have Lebesgue volumes and , respectively, proving Proposition 4 under the uniform context law.
The centers of distinct context cells differ by at least in one coordinate, whereas every has side length . Hence their supports are disjoint. Likewise, adjacent price centers are apart and each price support has width , so the sets are pairwise disjoint. The first three bounds in Proposition 4 now follow from , the disjoint context supports, and the fixed finite quantities and .
It remains to verify the context Hölder bound, including pairs of points in different cells. Since is smooth and compactly supported,
When lie in the same cell, or one of them lies outside every cell, this proves the claim directly. When they lie in distinct cells, the separation of the supports gives ; boundedness by one then gives the same inequality. Multiplication by proves the last bound in Proposition 4. Finally, on , all other context bumps vanish there, and . This proves Proposition 4 and the final assertion.
Proof of Lemma 7. We now verify the five assumptions uniformly over the packing.
Assumption 1: context process. The context distribution is uniform on , so the i.i.d. requirement in Assumption 1 holds.
Common perturbation bound and slack choice. By Proposition 4, , and, with ,
Fix
Choose small enough that the context Hölder constant below is at most the prescribed . Then choose so that, for every ,
This also guarantees in both price-regularity regimes, so every object in Definition 1 is well defined.
Assumption 2: location surface and nonnegative demand. The baseline margin and Section H give
The same inequality and compactness give uniform boundedness of demand.
The context bound in Proposition 4, together with and , gives
For price regularity of the demand surface,
By Proposition 4, the Lipschitz packing has because . In the smooth packing, , and the same first derivative is even . Combining these bounds with the fixed smooth baseline proves the price-Lipschitz part of Assumption 2 uniformly over the two families.
Assumption 3: context-conditioned shared noise and calibration separation. Set for every context and every packing instance. This constant family has Hölder modulus zero. Its mean-zero normalization, compact support, bounds , and quantiles are identical across contexts and across the packing. In particular, Lemma 6 gives
uniformly in , proving Assumption 3.
Assumption 4: inventory root, loss, and visibility. The stockout probability is
Its root is
and the calibration quantile is
Both quantities shift from their baseline values by the same . Hence the explicit slack choice gives
The lower density bound around gives the local two-sided slope condition in Assumption 4; the upper density bound gives the matching upper slope. More explicitly, for in the fixed root neighborhood, the mean-value theorem gives
Integrating from to the root yields
This is the required quadratic inventory-loss condition after enlarging . Positivity of on the radius- neighborhood of also makes the critical root unique. Together with Section H, this proves every part of Assumption 4.
Optimal-price interiority. By Proposition 1, for every price,
All price bumps are supported in . For a context with positive bump amplitude, a point on the corresponding price-bump plateau attains , whereas every price outside has value at most . With zero bump amplitude, every point of , hence some interior point, is a baseline maximizer. Thus every perturbed instance has an optimal price in the required interior interval, and no price-monotonicity property is used.
Assumption 5: optimized price value. In the Lipschitz construction, Proposition 4 gives , yielding the uniform Lipschitz value bound after adding the fixed smooth baseline . In the smooth construction, , so
which proves the bounded-second-derivative specialization. Outside , the perturbation vanishes and has fixed bounded derivatives. This completes the uniform verification of Assumptions 1 to 5.
Lemma 8 (Location-family information bound). With , shifts of the baseline density satisfy
Thus neighboring bump instances have one-round squared Hellinger distance on the affected context-price region and zero elsewhere. The same bound holds for censored sales under every adaptive inventory action.
Proof. Let . The fundamental theorem of calculus gives
For the neighbors used below, and agree outside one cell , while their labels in that cell are 0 and . By Definition 1, their locations agree unless and , and everywhere differ by at most . Censoring is a measurable image of demand, so data processing proves the claim.
I COMPLETE DIRECT-SUM PROOF OF THE LOWER BOUND
Complete proof of Theorem 3. Fix one of the two price-regularity regimes, set in the Lipschitz regime and in the twice-smooth regime, and use the family in Definition 1. By Lemma 7, every member of this family belongs to the claimed model class. It remains to show that no adaptive policy can learn all context-cell labels quickly enough. We give the argument for a deterministic policy; conditioning on a randomized policy's internal seed and then applying Yao's principle gives the stated conclusion for randomized policies.
All objects below are those formally constructed in Definition 1; in particular, the price supports are pairwise disjoint and on . We use the three counts
The first count includes the transition shell . This inclusion is essential because observations in that shell also carry information about the label. The core counts will be used only to lower-bound regret.
Fix a cell . Put an independent uniform prior on the labels of all other cells. Let be the resulting mixture history law when cell has no bump, and let be the mixture law when its label is . The no-bump instance is a reference experiment only; it need not receive positive mass under the final prior. Conditional on a fixed configuration of the other labels, adaptive Hellinger tensorization and Lemma 8 give
To see why, condition on the history immediately before round . The policy uses the same action kernel in the two experiments. Their conditional observation laws differ only when and ; on such a round their locations differ by at most . Censoring at the adaptively chosen inventory is a measurable map of demand, so data processing preserves the one-round bound. Summing these conditional bounds under the reference law proves Section I.
Squared Hellinger distance is jointly convex. Averaging Section I over the other labels and then over gives
The second inequality uses disjointness of the price supports and , as established in Proposition 4. Choose the fixed packing constant and the bandwidth so that
for a sufficiently small numerical . Since , Jensen's inequality and Section I yield
where can be made smaller than 1/8.
We next convert indistinguishability into regret. Define
Because the price supports are disjoint, on every sample path with , at most two of the events can occur. Therefore
By Proposition 4, the random variable is binomial with mean , independently of the policy. Under Section I, this mean diverges along the hard sequence; a Chernoff bound gives, for all sufficiently large ,
Equations Section I imply
Indeed, the average reference probability is at least , and changing from the reference to the alternatives reduces it by at most the average total-variation distance.
By Proposition 4, on under label and for , the optimized value is
Its maximum is . Every price in but outside has gap exactly ; every price outside has gap at least , because the baseline extension is at most and all price bumps are supported in . On , at least core visits use prices outside . Inventory suboptimality is nonnegative, so
Combining this inequality with Section I proves the cellwise Bayes bound
Now draw uniformly from ; equivalently, all cell labels are independent and uniform. For fixed , integrating out the other labels gives exactly the mixture experiment above. The conditional observation kernel can depend directly on only on rounds with , which is precisely the localization used in Section I. The core cells are disjoint, so summing Section I yields Bayes regret
Yao's principle turns Section I into a worst-instance lower bound for every randomized policy.
It remains to solve the information balance. In the Lipschitz construction, and , so Section I is tight at
Together with , this gives
In the twice-smooth construction, and . Hence
and
This proves both lower bounds. Enlarging the constants covers the finitely many horizons preceding the hard-sequence regime.