Manuscript Offprint
arXiv:2611.00719Pricing Today, Shaping Tomorrow: Contextual Dynamic Pricing in Purchase-Driven Evolving Systems
Abstract
Across diverse markets, it is important for firms to balance attracting customers with managing operational conditions, such as workloads and delivery times. Dynamic pricing plays a central role in this tradeoff, as the orders generated today can change the conditions faced by future customers. We develop a novel framework for contextual dynamic pricing with an observed shared state and unknown purchase-driven transitions. The valuation model allows unknown mean functions of customer covariates and state, unknown state-specific scales and a common unknown standardized noise distribution. We propose Shadow-Adjusted Pricing in Evolving Systems (SHAPE), which incorporates a purchase's future revenue consequences into current pricing. Purchase-shadow adjustment and scale standardization reveal a common one-dimensional oracle price map across states, allowing SHAPE to retain its pricing history across value updates without repeating coarse exploration. The same active sales records support price-map learning and joint updates of continuation values and purchase shadows, without fitting the noise distribution or full transition matrices. To support this reuse under purchase-driven feedback, we establish pricing guarantees for history-dependent inputs and stability bounds for the joint updates. Under regularity, coverage and design conditions, we obtain sublinear expected regret against a finite-horizon dynamic oracle for linear, Hölder and sparse linear mean models. For affine valuations at fixed state and feature dimensions, SHAPE matches the static semiparametric minimax time exponent up to logarithmic factors for every fixed noise-tail smoothness order . Numerical experiments further demonstrate the appealing performance of SHAPE.
1 Introduction
Contextual pricing uses observed features to learn customers' willingness to pay and tailor prices (Cohen et al. 2020, Ban and Keskin 2021). In a shared sales system, current prices can also affect the conditions under which later customers buy (Çelik and Maglaras 2008, Zhang et al. 2022). For a service provider, outstanding orders may lengthen announced delivery times, reducing the attractiveness of an offer to customers who value speed. A new purchase can add to this workload and change the conditions faced by the next customer. Evidence from retail queues shows that purchase incidence responds to waiting and that waiting sensitivity differs across customers (Lu et al. 2013). Customer covariates describe the current buyer and request; the shared state carries the effects of earlier sales into later pricing decisions.
This link between current sales and future conditions creates an intertemporal pricing tradeoff. A lower price may encourage a purchase and raise current revenue, yet move the system toward states in which later sales are less valuable. When customer response and purchase-driven transitions are unknown, the seller must learn to evaluate both effects from prices, binary purchase responses and observed next states. The prices used to collect these observations also influence future sales conditions. Pricing must therefore support learning while accounting for the revenue consequences of the state path it creates.
Existing contextual-pricing methods learn customer response from binary sales without specifying the valuation-noise distribution (Fan et al. 2024, E. Chen et al. 2026), and Fan et al. (2026) learn the oracle price map directly. Adding the system state to a myopic pricing rule can capture its effect on current purchases, but not the future value of purchase-induced state changes. Zhang et al. (2022) analyze purchase-driven customer relationships with a known model, while Hu et al. (2025) study shared-state contextual decisions in an offline policy-learning framework. We ask how to learn contextual prices online when both valuations and purchase-driven shared-state transitions are unknown, with performance evaluated over the state path generated by the pricing policy.
In this paper, we develop a novel framework for contextual dynamic pricing in purchase-driven evolving systems. The seller observes each customer's covariates and a shared finite system state, while mean valuation, state-specific scales and the common standardized noise distribution are unknown. Mean valuations may depend nonlinearly on covariates and differ across states, and purchases induce unknown stochastic state transitions. We propose Shadow-Adjusted Pricing in Evolving Systems (SHAPE), which values a purchase through its current revenue and its effect on future revenue. Its key device is the purchase shadow, the difference in expected continuation value after a purchase and a nonpurchase. Shadow adjustment and scale standardization reveal a common one-dimensional oracle price map across states. Future-value estimates can change its inputs without changing the map, allowing the pricing policy to reuse observations as continuation-value estimates are updated.
We establish regret guarantees against a finite-horizon dynamic oracle that knows the valuation and transition models. Under the stated structural and design conditions, SHAPE matches the static semiparametric minimax time exponent for affine valuations at fixed state and feature dimensions, despite learning unknown purchase-driven dynamics. The same policy gives explicit regret upper bounds for nonlinear Hölder and sparse linear valuations. In a workload system, we compare SHAPE with state-aware myopic pricing, dynamic plug-in pricing and a state-blind price-map method. Across 200 paired replications in the reported setting, SHAPE has the lowest mean regret among these four implementations, 41.25% below myopic pricing and 14.80% below dynamic plug-in pricing (Table 1).
Second, we develop a novel learning architecture that couples one persistent, cross-state price-map learner with joint value and purchase-shadow updates. The shared pricing structure allows the learner to retain its observations as future-value estimates change, avoiding repeated coarse exploration after each value update. Building on direct oracle-map learning (Fan et al. 2026), SHAPE learns the common map from binary purchases without first fitting the noise distribution. It esti-mates purchase shadows by comparing estimated continuation values at the next states observed after purchases and nonpurchases, without fitting full transition matrices. A further methodological innovation is to use the same active sales records to update continuation values and purchase shadows, so value learning progresses alongside price-map learning. Different mean-estimation routines specialize this same architecture to linear, nonlinear Hölder and sparse linear valuations.
Third, we develop a joint analysis of price learning and value estimation under purchase-driven state transitions. Prices affect the purchase and next-state observations used for value updates, while these updates shape subsequent pricing inputs. We control the resulting feedback through regret bounds for the persistent pricing learner and a stability analysis of the joint value and shadow updates. Combining these results with mean and scale estimation bounds yields regret guarantees against the finite-horizon dynamic oracle. For affine mean valuations with fixed state and feature dimensions, the upper and lower bounds match up to logarithmic factors under the stated structural and design conditions. Thus, for every fixed noise-tail smoothness order , SHAPE matches the static semiparametric minimax time exponent (Fan et al. 2026) while also learning unknown purchase-driven dynamics. The same analysis gives explicit regret upper bounds for nonlinear Hölder and sparse linear valuations through the mean-estimation interface.
1.2 Related literature
Pricing with evolving customer and market states. Closely related pricing models link current choices to future customer relationships and customer pools. Zhang et al. (2022) characterize optimal prices when purchases change a firm's relationship with a customer, taking the response and transition models as given. Kostami and Koenigsberg (2026) jointly study pricing, customer acquisition, retention and capacity with unknown demand and customer-transition functions. Their learning guarantee uses stage-constrained one-period optima during learning and a best fixed action during deployment, evaluated at the realized state and context. Our focus is online pricing for a state shared across successive customers, with regret comparing the learner's and dynamic oracle's revenues along their respective state paths.
Other pricing models capture persistence through customer preferences, reference prices, adoption or arrival history. Keskin and Li (2024) study quality-differentiated products when customer preferences follow a Markovian process with unknown transition probabilities. Under reference effects, den Boer and Keskin (2022) study learning with unobserved reference prices, while Agrawal and Tang (2024) analyze long-term reference effects with a dynamic-oracle regret guarantee. Purchases drive adoption in the Bass model of Agrawal et al. (2021) and stimulate future arrivals in the self-exciting model of Yuan et al. (2026). In our model, the horizon counts quotation opportunities; purchase outcomes drive unknown transitions of a shared state faced by later customers.
Contextual pricing with unknown valuations. Learning prices from binary sales is a classical exploration-exploitation problem, including under parametric choice models (Broder and Rusmevichientong 2012). Observed features introduce heterogeneity into this problem, with results for linear valuations (Cohen et al. 2020) and sparse high-dimensional response models (Ban and Keskin 2021). Xu and Wang (2024) further study contextual elasticity and heteroscedastic valuations under a known noise distribution. Nonparametric approaches allow the purchase-response function to vary flexibly with covariates and price (Chen and Gallego 2021). Within random-utility models, Fan et al. (2024) combine linear-mean estimation with an unknown noise distribution, while E. Chen et al. (2026) allow both mean utility and noise distribution to be nonparametric.
Recent work also addresses what must be learned and which observations can be used. Chai et al. (2026) use feature diversity to refine noise estimates with observations collected during exploitation.
Fan et al. (2026) instead learn the oracle price map directly and provide a modular utility-estimation interface, including nonlinear and sparse extensions. We adopt ORBIT's scalar grid-search and local-polynomial construction. Its scalar-pilot analysis excludes feedback from its own active pricing calls when forming future inputs and stopping decisions. Here active purchases change subsequent shared states and shadow estimates, so the learner's later inputs can depend on its own earlier pricing feedback. Retaining pooled observations therefore requires a guarantee for this feedback-dependent pricing process.
Pricing and learning in service systems. Service-system pricing also links customer response to operating conditions. Çelik and Maglaras (2008) jointly optimize dynamic prices, quoted lead times and operational controls for price- and delay-sensitive customers. With unknown customer response, Jia et al. (2024) learn prices in service systems with reusable resources and unknown price-dependent arrival and service rates. X. Chen et al. (2026) learn prices and capacity when the arrival-rate function and service distribution are unknown, accounting for transient queueing effects while optimizing steady-state profit. In a competitive setting, Lian (2026) studies queue-based service systems, learning customers' sensitivity to total price-and-waiting cost from routine arrivals. Our focus is learning from individual quotations, with binary purchase outcomes and observed next states linked by purchase-conditioned transitions.
Policy learning in dynamic systems. Regret against an optimal policy in an unknown controlled Markov system is an established objective in reinforcement learning; for example, Jaksch et al. (2010) give guarantees for communicating finite-state, finite-action models. Hu et al. (2025) study optimal targeting when covariates arrive within a shared evolving system and actions influence subsequent states. Their offline policy-learning framework separates fresh covariates from persistent system state and uses relative-value methods to evaluate long-run consequences. Our continuous prices must instead be learned online while the seller competes with a finite-horizon dynamic oracle. This requires joint control of price-map learning and value and shadow updates computed from the same sales records.
1.3 Organization and notation
Section 2 introduces the model, benchmark and structural conditions. Section 3 presents SHAPE, and Section 4 establishes its regret guarantees and the fixed-dimensional affine minimax result. Section 5 develops the nonlinear and sparse specializations. Section 6 reports the numerical comparisons, and Section 7 concludes the paper. The appendices provide implementation details and proofs.
For a positive integer , write . We use for an all-ones vector and for an indicator. For a vector , denotes its norm, counts its nonzero coordinates, and is its support. Matrix spectral and entrywise maximum norms are written and . Unsubscripted norms are Euclidean for vectors and spectral for matrices. For symmetric matrices, means that is positive semidefinite, and is the smallest eigenvalue. For a function, is the supremum norm over its stated domain.
For , its span seminorm is . For a closed interval , denotes clipping to . A transition kernel acts on a state-value vector through . For nonnegative sequences, means that for a constant independent of , and means and . The symbols and suppress logarithmic factors. Dependence of constants on model parameters is specified with each result.
2 Model, information, and benchmark
2.1 Customer arrivals and purchase-driven dynamics
We consider an evolving multi-state sales system in which a seller sells a single product over a horizon of periods. At each time , the seller observes the current system state and the arriving customer's covariate vector , drawn from an unknown distribution with support . We model the customer's latent valuation as
Here is the unknown mean valuation for covariates and system state , and is the unknown noise scale in that state, with known bounds . The valuation noise has a common unknown distribution , normalized to mean zero and variance one. The covariate vector and valuation noise are drawn independently from and , respectively, and are jointly independent of the current state and past observations. Throughout the paper, we study a normalized model class in which almost surely in every state. Accordingly, at time , the seller posts a price , with , and then observes but not the customer's valuation or valuation noise , where indicates whether the customer purchases.
After the purchase decision, the system evolves from to , following the fixed and unknown transition distributions and after a nonpurchase and a purchase, respectively (Figure 1):
Given and , the next state is drawn independently of the current covariates, price, valuation noise, and past observations, and the seller then observes . The seller's objective is to learn a pricing policy that maximizes expected cumulative revenue over the periods.

Figure 1: Purchase-driven feedback across successive customers.
Remark 1 (Special cases and economic interpretation). The mean function accommodates nonlinear effects of customer characteristics and their interactions with system state. It includes state-specific linear utilities and additive state effects , while setting gives a common noise scale. With , the model reduces to contextual pricing with additive valuation noise (Fan et al. 2026). Price- and delay-sensitive service models motivate the following illustration (Çelik and Maglaras 2008). Consider heterogeneous delay costs, and let be the announced delivery time, the service value without delay, and the customer's delay sensitivity, where is constant. Then
2.2 Dynamic oracle and regret
We compare the seller with an oracle that knows the covariate distribution, purchase probabilities, and transition distributions. From the valuation model, we have
where is the survival function of the valuation noise. At price , the seller's expected revenue is , while the next-state distribution is
Let denote all possibly randomized pricing policies that choose prices in using only the information available to the seller at each pricing decision. The oracle's optimal expected cumulative revenue from initial state is
We define the regret of a learning policy relative to this oracle as
The two expected revenues are evaluated over the same periods from the same initial state , with each policy generating its own state path. We write when the policy and initial state are clear from context.
To characterize the oracle's optimal revenue, let denote its optimal expected revenue from state with periods remaining and set . Since future covariates are independent of past observations, the continuation value after the current period is . Conditional on purchase outcome , its expected value is , where for a continuation vector . Combining current revenue with this continuation value gives the Bellman recursion
In (2.6), is the expected continuation value after a nonpurchase and does not depend on the current price. The difference , called the purchase shadow, measures how a purchase changes expected future revenue relative to a nonpurchase. The oracle therefore selects its current price by maximizing , which accounts for both current revenue and the purchase's effect on future revenue.
2.3 Pricing regularity
This pricing objective can be written in a common scalar form across states. For a continuation vector , set
to obtain
Here is the standardized valuation residual. Let and be the supplied compact input and action intervals. Write and let denote a maximizer of over . The positive factor does not affect maximization on this common standardized-action interval, giving one scalar map for all states. Assumption 4 below relates this map to the original physical price interval. We first state conditions on the tail and the scalar pricing objective.
Assumption 1 (Tail smoothness). On a known compact residual interval , belongs to the -Hölder ball of radius , where . We use the Hölder convention in Appendix A.1.
Assumption 1 bounds how purchase probabilities change with the valuation residual. As in Fan et al. (2026), we impose smoothness on the noise tail without specifying a parametric noise distribution. Smoothness alone does not determine the shape of the pricing objective, so we also impose the following revenue conditions.
Assumption 2 (Revenue geometry and oracle-map regularity). The following conditions hold on and on the fixed enlarged domains in Appendix A.1.
(i) Quadratic growth. The maximizer is unique, lies in and has a fixed positive distance from its boundary. For fixed constants ,
uniformly over the stated domains.
(ii) Map regularity and local concavity. The map belongs to the -Hölder ball of radius on the stated input domain. In addition, there is a fixed such that
Part (i) bounds the loss in above and below by squared action error; it does not require concavity over the whole action interval. Part (ii) controls how the best action changes with and gives a concave neighborhood in which to refine a local polynomial rule. ORBIT derives corresponding map regularity and local concavity from its basic pricing assumptions. Here we require these properties explicitly on the enlarged domains used for input and scale errors. Appendix A.1 specifies those domains and margins.
2.4 State coverage and the stationary oracle
Learning the purchase shadow requires observations of both purchase outcomes and the states that follow them. Prices affect which of these observations the seller receives: at purchase probability , the next-state distribution is
We therefore impose coverage on purchase outcomes and on this effective transition kernel.
Assumption 3 (Purchase-outcome and state coverage). The algorithm is supplied with a full-support probability vector on and constants , and , with , such that
(i) for every ;
(ii) the effective kernel satisfies
Part (i) keeps both purchase outcomes observable on the residual interval used for learning. Part (ii) gives every state a positive visitation probability in the stated purchase-probability range. This is a one-step coverage condition, stronger than irreducibility in the stated purchase-probability range; neither nor must satisfy it separately. A purchase-independent reset into a common full-support distribution with uniformly positive probability is one sufficient mechanism. Hu et al. (2025) instead impose uniform mixing on true and estimated kernels across stationary policies; the kernel and policy ranges differ from those considered here.
The finite-horizon oracle uses a different continuation vector for each number of periods remaining. For learning, we instead use a stationary relative value and relate its pricing loss to finite-horizon regret. Following the relative-value analysis of Hu et al. (2025), consider a reference Bellman problem with prices restricted to
where is a fixed compact residual subinterval of ; Appendix A.1 specifies its margins. When these price sets are nonempty, as required below, coverage makes the reference Bellman operator a contraction in span. It therefore has a relative value and an average revenue . The vector compares future revenue across starting states and is defined up to an additive constant.
Normalize at a fixed reference state. Coverage gives , and its purchase shadow is . Substituting this shadow into the common pricing map gives the candidate stationary price
To compare with the oracle in Section 2.2, this price must maximize purchase-adjusted revenue over the original interval , not just over the reference prices.
Assumption 4 (Full-interval stationary oracle). There is a known compact interval such that, for every model in the class, all true shadows belong to and all oracle indices belong to .
The reference price sets defined in Appendix A.1 are nonempty. For every , the price in (2.9) lies a fixed distance inside that reference set and maximizes over the full interval .
Assumption 4 retains a full-price optimum inside the reference set at the true shadow , with a positive margin. As in ORBIT, it requires an interior optimum; here the reference prices must also retain the optimum over the original interval . The reference solution then satisfies
Implementing this stationary pricing rule requires estimates of mean valuations, state scales, the common price map and purchase shadows. Section 3 develops SHAPE to learn these quantities from purchase responses and next-state observations. Section 4.2 relates its Bellman pricing loss to the finite-horizon regret in (2.5), with a boundary term at most .
3 The SHAPE pricing policy
SHAPE (Shadow-Adjusted Pricing in Evolving Systems) uses the purchase shadow to account for future revenue when setting the current price. As (2.9) shows, adding this shadow to mean valuation and dividing by the state scale gives a scalar input to the common oracle-price map. The policy learns one map across states and converts each standardized action back to a physical price using the same scale and shadow. Updating the shadow changes this input and price conversion, but not the target map . Observations from different states and earlier blocks can therefore contribute to the same pricing learner, whose history is retained as the estimated future values change.
Figure 2 shows how pricing and value learning work together across blocks. Initialization estimates and freezes mean valuations and state scales, then uses randomized residual prices to obtain initial continuation and shadow estimates. Active block starts with a fixed continuation vector and an inherited shadow . Within the block, every purchase outcome updates the shared pricing learner through the payoff . At the end of a complete block, the same pricing records, combined with the fixed , produce both the next continuation vector and shadow . These estimates enter the next block while the pricing learner continues from its existing history. The shadow is learned by comparing next-state continuation values after purchases and nonpurchases, without fitting transition matrices. We first describe the shared pricing step, then the initialization and joint updates that supply its state-dependent inputs.

Figure 2: Shadow-adjusted pricing and joint value learning across blocks.
3.1 Shadow-adjusted pricing with a shared map
On a pricing call with , the outer policy supplies estimates and a shadow , which determine the raw scalar input
The module projects this input onto its prescribed interval, , before locating its bin and evaluating its action rule. It selects . The seller posts , observes , and passes it back to the module. The module computes , the normalized purchase-adjusted payoff, since .
The construction below uses locally accurate inputs and feasible prices, with the margins stated in Assumption 5 in Section 3.4. For these inputs, we adapt the scalar learner of Fan et al. (2026): a grid search finds a reference action in each input bin, and a polynomial action rule learns how the action varies within the bin.
Grid search within each input bin. Partition into deterministic bins of width at most , and place a fixed coarse grid in . Each bin maintains its own counts and payoff means, pooling calls from all system states. On successive visits it samples each grid action times and records the empirical mean of . After completing this schedule, it stores the empirical maximizer over the full grid using fixed tie-breaking. This anchor identifies the action range in which local refinement can exploit concavity. A bin with an incomplete grid schedule continues that schedule on its next visit.
Learning the within-bin action rule. The grid search identifies an action level. A polynomial rule then learns how the best action varies with the scalar input within the bin. For bin midpoint , width and , define
The allowed coefficient vectors satisfy , keeping every candidate rule near the anchor throughout the bin. As in Fan et al. (2026), the module projects the generated action onto the allowed interval before returning it: . Under successful localization and the supplied precision settings, the entire unprojected action range lies inside and within a concave part of the expected payoff, so projection is inactive. Since is linear in , the negative expected payoff is then convex in the coefficients. A bin-specific bandit optimizer selects and receives the normalized loss , where .
As in Fan et al. (2026), we implement refinement with the normalized online-Newton bandit routine of Fokkema et al. (2024), using local doubling restarts indexed by each bin's refinement visits. The module is initialized once with budget , which sets the bin width and coarse sampling counts. Each bin retains its anchor and ordered action-feedback history between calls; its optimizer is not given the eventual number of visits to that bin. A change in the supplied shadow changes the input and physical price, but not the target map , so the bin histories are kept when the shadow is updated. These outer updates neither restart the bin clocks nor repeat the coarse search. Algorithm 1 gives the pricing and feedback steps.
Algorithm 1 The pooled scalar pricing module
Require: , domains , bin width , grid , , and the refinement generator specified in Appendix A.
1: Initialize the bins, their grid counters and empirical payoff means once; retain them across all later calls. On a pricing call with scalar input :
2: Check that is finite; on failure return a flag. Set and locate its bin .
3: if bin has not completed coarse localization then
4: Return its next scheduled grid action .
5: else
6: if this is the first refinement visit to bin then
7: Store the grid maximizer and construct its symmetric coefficient trust body.
8: Initialize a bin-specific refinement generator with an empty action-feedback history.
9: end if
10: Obtain from that generator and return .
11: end if
After the outer policy posts the physical price and returns :
12: if the call used a coarse-grid action then
13: Update that action's count and empirical mean of in bin .
14: else
15: Append to bin 's refinement history.
16: end if
The feedback differs from the ideal scalar objective because the mean and scale are estimated. Conditional on past observations and the current state and covariates, before fresh optimizer randomization, a candidate action has expected payoff
With exact mean and scale inputs, this expression reduces to . Under the local precision conditions, the raw input belongs to and projection leaves it unchanged. Estimation errors perturb that objective, and state evolution makes later inputs depend on earlier purchases. We therefore analyze feedback conditional on the information available at each call, rather than condition on the full future input stream as in ORBIT's pilot interface. Appendices C and D give this analysis. We next construct the estimates supplied to the module.
3.2 Constructing the initial inputs
We construct the initial inputs in two stages. Uniform-price calibration estimates mean valuation and state scales from binary purchases. Empirical Bellman iterations then initialize the continuation vector and its purchase shadow using the observed next states as well as purchase outcomes.
Joint mean and scale calibration. The seller does not observe valuations, so the first task is to recover their conditional means and state scales from binary purchases. During initial periods, draw uniformly from independently of the current valuation given the observed state and covariates. With , form the observed responses
Since and the normalized noise has mean zero and variance one, integration over the random quote gives
(3.5)
The first response is an unbiased signal of mean valuation; the second gives a second moment centered at . Let be a specified function class containing the statewise mean functions . We fit these functions using a regression routine with the uniform guarantee in Definition 1 below, and use that fit to remove the mean contribution from the second moment.
Let and . Let contain all calibration visits to state , and write . Use all records for both mean fitting and scale estimation, with as the required minimum, and project the mean fit into . Set
Replacing by in the squared correction changes each summand by at most . This deterministic bound permits the mean and scale estimates to use the same records. After calibration, freeze and for all subsequent blocks.
The choice of regression routine determines the mean-estimation accuracy, while the pricing module uses its estimates and error radii. Following the general-utility construction of Fan et al. (2026), we express the required regression guarantee separately from the choice of estimator.
Definition 1 (Bounded-response regression interface). For each state , the supplied routine has a deterministic sample-size gate and a known uniform error radius . Whenever the gate passes, for independent pairs with , and , its projected output satisfies
Any reported empirical design failure counts toward the failure probability .
Appendix B applies this fixed-sample contract simultaneously over statewise calibration-visit prefixes, so that it holds at the random retained count . Local-polynomial regression, least squares and sparse regression are possible choices when their respective design conditions give this guarantee. The subsequent pricing construction is the same for each such choice.
Empirical Bellman initialization. Calibration supplies mean and scale estimates, but the module also needs an initial shadow. We obtain it through Bellman iterations based on randomized residual prices, whose construction does not use a shadow estimate. Choose the supplied compact residual interval from Appendix A.1, let be a grid in it, and partition the fitted-mean interval into bins, denoting the bin of by . A policy selects one residual arm for each state and fitted-mean bin, posting . Assumption 5(i) gives feasibility and retention of the oracle price for this family. For a fixed continuation vector , we use the finite policy class to approximate the maximum expected one-step return .
Each initialization iteration uses one randomized residual-price block. Begin with and freeze throughout iteration . Choose the residual arm uniformly from [4] and record
Subtracting the minimum continuation value makes this return nonnegative and bounds its continuation component by the span of . Let index all visits to state in this block and put . After checking , score each fitted-mean-bin/arm pair by
The factor A corrects for uniform arm sampling. Maximization separates across fitted-mean bins. Adding back the subtracted baseline gives the empirical Bellman value
Thus the update is computed from the randomized block by choosing the best empirical arm in each bin. Set
(3.9)
The projection keeps the continuation span at most and anchors one coordinate. Both the scores and their maxima use the same frozen , so the randomized block supplies the update directly.
After iterations, retain and . The same final randomized block also provides the initial shadow : for each state and each purchase outcome, average over all of that pair's observations, and project the purchase-minus-nonpurchase difference into . The final block must supply at least observations per pair. Both calculations use ; the resulting is first used in the active stage. Appendix A specifies all grids, quotas and the number of iterations from the supplied bounds.
3.3 Updating continuation values and purchase shadows
After initialization, the policy updates continuation values and shadows in blocks of pricing calls. Block starts with and the inherited shadow , both fixed before the block begins. The shadow enters the input and physical price conversion in Section 3.1; the continuation vector determines the returns used for the two updates. For each observed record, store
Conditioning on the current state, covariates and quote gives
The expected return is the Bellman objective evaluated at the posted price, so averaging these returns evaluates the pricing decisions actually made in the block.
For a complete block , let count visits to state s and count its outcome-y observations. Form the statewise return mean and outcome-conditional continuation means
(3.11)
The block produces two outputs:
The contrast estimates , so both outputs use the same pre-block continuation vector. The next block starts with and continues the existing pricing module. This timing leaves a one-block lag: the incoming shadow was estimated from , while current returns use . The block schedule below accounts for this lag.
3.4 The complete policy
Algorithm 2 combines initialization, pricing and the block updates. Mean and scale fits remain frozen after calibration; each complete active block produces the next continuation vector and shadow. For these calls, the outer policy projects fitted means into , scales into and shadows into . The following condition states the price-domain requirements for initialization and active learning.
Assumption 5 (Feasibility under estimated inputs). There is a supplied radius such that the following hold uniformly over states and covariates.
(i) When the mean and scale errors are at most , every price in the residual-price family used to construct the initialization grid is feasible and has residual in . This price set contains with a fixed interior margin.
(ii) If the shadow error is also at most , every action produces a feasible price with residual in . Its fitted input belongs to , and its transformed oracle action remains inside with a known margin , as specified in Appendix A.1.
(iii) The coverage threshold satisfies .
Parts (i) and (ii) require positive price-domain margins: small input errors must neither remove the oracle price from the exploration family nor move a quoted price outside . Projection keeps each estimate in its own range, but does not ensure these joint margins. Compared with ORBIT's scalar pilot condition, we also account for scale and shadow errors when converting actions back to prices. Part (iii) places the coverage threshold within the average purchase overlap provided by uniform-price calibration; it does not require overlap at each individual randomized quote. Appendix A.1 gives the precise domains and margins.
The policy is supplied with the horizon, the mean-estimation routine and conservative bounds for scales, domains, smoothness, coverage and revenue geometry. Active blocks have lengths for a supplied growth factor . Longer blocks improve the continuation estimates; their growth is chosen to control the one-block lag in the shadow update. Counts are checked at each completed block, and every quote is checked for feasibility before it is posted. Appendix A specifies , , initialization precision and all refinement settings from the declared bounds.
Algorithm 2 Shadow-Adjusted Pricing in Evolving Systems (SHAPE)
Require: , a mean-estimation routine and the structural settings in Appendix A.
1: Check deterministic budgets and precision gates. On failure, use for the entire horizon and stop.
2: Collect uniform-price records; fit and freeze using all records from each state, checking empirical design and minimum counts.
3: Set . Run empirical Bellman initialization blocks from Section 3.2.
4: Retain , , and estimated using in the final initialization block.
5: Initialize the pooled pricing module once with global budget .
6: for while periods remain do
7: Freeze for the continuation updates and provide to the existing pricing module without resetting it.
8: Let .
9: for the next periods do
10: Observe and compute (3.1) using . Call Algorithm 1 for ; on failure, use fallback and stop learning. Otherwise set .
11: If , use fallback and stop learning. Otherwise post once and observe .
12: Complete the feedback update in Algorithm 1 using , and store (3.10).
13: end for
14: if then
15: If a state/outcome count check fails, use fallback and stop learning. Otherwise compute (3.12) using the same frozen .
16: else
17: Stop without a continuation or shadow update.
18: end if
19: end for
Initialization count shortfalls may first use the bounded recovery rule in Appendix A. All other failures follow the same convention: before posting an invalid quote, or after a failed design, count or numerical check, switch to for all remaining periods and perform no further updates. Every initialization period counts toward the horizon; the minimum count gates do not discard later records. A final partial active block continues to quote prices and return purchase feedback to the module, but does not update the continuation vector or shadow.
4 Regret guarantees and a linear benchmark
The regret analysis must account for the effect of prices on both current revenue and future system states. We first give an overall guarantee that separates learning the common pricing map from calibrating mean valuations and state scales. We then relate regret to pricing loss on the learner's state path and show how the joint value and shadow updates control this loss. A linear benchmark pairs an explicit calibration routine with a matching time-exponent lower bound; Section 5 applies the same guarantee to nonlinear and sparse mean valuations.
4.1 Overall regret guarantee
For fixed , and structural bounds, the main statistical costs are learning the shared price map, with time power for , and accumulating squared mean and scale errors over the horizon. After accounting for these calibration errors, value learning contributes the smaller time power . The bound also counts all calibration and initialization periods and the cost of failures.
Write for the squared calibration radii in Appendix A. Let be the nominal startup budget, including calibration, Bellman initialization and one initial active block. We use . The constants below may depend on fixed , the structural envelopes and certified module constants, including the coverage margins and fixed admissible initialization, block-growth and action-neighborhood settings specified in Appendix A, but not on or . These structural choices are fixed independently of the horizon and confidence level.
Theorem 1 (Regret of SHAPE). Assume the model and Assumptions 1–5. Run Algorithm 2 with a mean-estimation routine satisfying Definition 1, the copy settings and certified optimization model of Proposition 2, and suppose the deterministic gates in Appendix A pass. Then there is a constant such that, uniformly over the initial state,
(4.1)
If a deterministic startup gate fails, the stated fallback policy instead has the unconditional bound .
In (4.1), is the map-learning power and is the cost of mean and scale errors. The value-update term has a smaller exponent, since . Keeping one pricing history avoids repeating the grid search at each value update, although the global input partition requires an initial active block of length at polynomial confidence. This cost is included in , while charges failure events in the expected-revenue bound. The following corollary collects these terms and makes the calibration tradeoff explicit. Write for the number of input bins in the shared pricing module.
Corollary 1 (Regret through the calibration interface). Under the conditions of Theorem 1, take , write for the per-state, per-prefix fitting failure level, and keep and the structural quantities fixed. For budgets satisfying the deterministic gates, with , use the prescribed initialization minimum counts and the smallest satisfying (A.9). Put . The policy then satisfies
The bound is uniform over the initial system state.
The calibration periods incur an initial cost; a more accurate fit reduces the subsequent cost . For a nonincreasing radius this is . The additional comes from estimating the state scales after correcting for the fitted means. In particular, the deterministic correction bound on the shared calibration records gives . The precision gates also give . The nominal Bellman-initialization budget is polylogarithmic, and is dominated by the map-learning term. Substitution into Theorem 1 proves (4.2). Thus a change in the valuation class changes the calibration cost, while the pricing and value-update architecture remains the same.
4.2 Pricing loss along the evolving state path
To connect regret with the pricing module, we compare current revenue together with the continuation value after a purchase or nonpurchase. The true stationary shadow incorporates this future effect into the conditional decision loss
Assumption 4 gives the maximizer over the full physical interval, so for every feasible price. The bound follows by writing the objective as current revenue plus expected next-state value: the first lies in and the second lies between and .
Proposition 1 (Finite-horizon comparison). Under Assumptions 1, 2, 3 and 4, every admissible policy satisfies, uniformly over its initial state,
The comparison evaluates conditional decision loss on the learner's own state path, while the two full-horizon revenues follow their respective policy-induced paths. If , those state distributions are independent of prices. The two policies then have the same terminal-state distribution, and the comparison is exact without the boundary term.
The comparison uses the true shadow , whereas the policy prices with an estimate inherited from the preceding block. To measure map learning at the supplied shadow, write for that input on active call t and define the comparison price
The corresponding adjusted pricing loss is
The local domain contract makes feasible, and scalar quadratic growth gives . Here uses the true shadow , whereas uses the inherited shadow. We allocate failure probability to the pricing module.
Proposition 2 (Persistent pooled pricing). Under Assumptions 1, 2, 4 and 5, the single pricing module of Section 3.1, with the precision gates in Appendix A and the certified convex-bandit implementation in Appendix C, has the following guarantee. Condition on its initialization with valid frozen fits. For a predictable shadow process in , constant within each outer block and satisfying , with probability at least , it produces valid quotes without a failure flag and, simultaneously for all active prefixes ,
Here is specified in (D.13), with the structural constant in (D.12). The stopped guarantee holds before the first local-shadow exit, without conditioning on eventual local success.
The envelope , with fixed at initialization and counting active calls, collects the one-time grid search, bandit refinement and polynomial approximation costs; under the prescribed tuning, . For the pricing module, the predictable-loss analysis in Appendices C and D permits shadows to change with earlier observations and requires no positive input-bin probability or covariate Gram bound. Nonnegativity of bounds its sum within a block by the global prefix loss through that block, supplying the bound needed by the continuation update. The second inequality in (4.6) leaves the squared shadow error to control. We next show that the joint updates keep this error small while reusing the pricing records.
4.3 Joint value learning and the proof argument
Proposition 2 controls pricing loss while the supplied shadow is close to . Maintaining this accuracy requires controlling value and pricing errors together: current prices affect the purchase and next-state observations used to update both the continuation vector and shadow. The joint-block bound below expresses this dependence through the pricing loss; combining it with the pricing certificate gives a stable recursion with a one-block lag.
Calibration and randomized Bellman initialization provide the starting precision for this recursion. The moment identities in (3.5) control the mean and scale estimates on the same statewise records. Initialization then uses a fixed residual-price family containing the stationary oracle price. Its Bellman operator contracts span, so the iterations reach the required local precision without accurate intermediate shadows. Proposition 3 in Appendix B gives the corresponding finite-sample guarantee.
For a complete active block, write , and . Lemma 1 gives, on its count and concentration event,
Here and are the sampling radii in Appendix A. The value error contracts up to the displayed pricing-loss and sampling terms, while the shadow estimate inherits the error in . Both updates use this fixed pre-block vector. Their joint control follows from chronological martingales on the same records, without splitting those records into separate update samples.
The pricing guarantee bounds by map-learning loss, calibration error and the squared error of the inherited shadow. Since that shadow was obtained from , substitution gives the two-step recursion
where (B.6) specifies the pricing and sampling contributions in . The linear contraction acts on the current value error, whereas the squared term comes from the preceding value error through the inherited shadow. Starting from the initialization neighborhood, the block schedule yields contraction of a weighted sum of successive errors, up to the pricing and sampling contributions in . Proposition 4 proves that the shadows remain in the local domain, so the stopped pricing guarantee continues to apply throughout active learning.
The same weighted estimate controls the sum of squared shadow errors over the geometrically growing blocks. Applying the pricing prefix bound once to all active calls then controls total decision loss. A terminal partial block contributes pricing loss without requiring another value update. Adding calibration, initialization, failure-event costs and the finite-horizon boundary term gives Theorem 1. Appendix B contains this aggregation and the auxiliary finite-sample statements.
4.4 Linear mean valuations
A linear mean valuation provides a concrete benchmark for the general guarantee: least squares supplies an explicit calibration routine, and a matching lower bound determines the time exponent for fixed dimension and state count. We retain the unknown state scales and purchase-driven dynamics of the model and specialize only the mean function.
Let be a known feature vector, with and . Consider state-specific coefficients satisfying
For affine mean valuations, take and . The constant coordinate represents the unknown intercept. The following condition supports least squares on the fixed calibration sample.
Assumption 6 (Linear calibration design). The common feature Gram matrix satisfies for a supplied .
For each state, fit the shifted response by least squares and clip the resulting mean function. The routine checks that the empirical Gram matrix has smallest eigenvalue at least . Lemma 4 includes this design failure in the confidence budget and proves
The population Gram condition is a sufficient condition for this uniform frozen fit. In contrast, ORBIT's adaptive linear pilot certifies the currently arriving feature direction without a population Gram bound (Fan et al. 2026). Here the fixed calibration sample supplies both the mean and state-scale estimates used throughout subsequent value updates.
Corollary 2 (Linear mean valuations). Under the common conditions of Corollary 1, suppose (4.7) and Assumption 6 hold. Use the least-squares routine of Lemma 4 and its calibration budget in (E.13). For fixed , feature envelopes and design bounds, the deterministic gates pass for sufficiently large , and
The bound is uniform over the initial state and common class bounds.
To assess the time dependence of this guarantee, we use the linear-model lower bound of Fan et al. (2026). The embedding below keeps the full physical price interval and preserves valuations when standardizing the noise. It also places the hard instances inside a single class with the preceding Gram lower bound.
Theorem 2 (A fixed-dimension lower bound). Fix and , and take the physical price interval to be . There are horizon-independent structural envelopes for Assumptions 1–5 and a constant with the following property. Let be the class of models within these envelopes having statewise affine mean valuations and , where . For every fixed initial state and all sufficiently large ,
The infimum includes all randomized policies observing the information in Section 2, without restricting their prices to the algorithm's exploration or standardized-action grids.
Corollary 2 and Theorem 2 therefore give, for the same fixed-dimensional class with these common envelopes,
The hard family has purchase-independent transitions, so the lower bound reflects the intrinsic difficulty of learning the common price map. The upper bound also accommodates purchase-driven state changes within the maintained class. This comparison fixes and the structural bounds; the design dependence of the calibration routine remains explicit in (4.8). Appendix E proves the same-class embedding.
5 Nonlinear and sparse valuation models
The calibration interface also accommodates nonlinear covariate effects and high-dimensional sparse features. In each case, we specify the mean class, the design condition needed to estimate it and the resulting regret bound. Only the calibration routine and its budget change; the shared pricing module, scale estimation and joint continuation updates remain the same. Throughout this section, we use , the per-state failure level for each state and possible prefix, and the initialization and starting-block choices of Corollary 1.
5.1 Nonlinear mean valuations
To allow nonlinear responses to covariates within each state, consider and assume that belongs to a multivariate -Hölder class with common radius , where and . The mean smoothness and the noise-tail smoothness describe different functions and need not coincide. We use the precise Taylor convention in Appendix E.1, including its integer-order definition. Uniform calibration also requires observations throughout the covariate domain.
Assumption 7 (Covariate density for nonlinear calibration). The common covariate distribution has a density on with supplied bounds almost everywhere.
Under this condition, cellwise polynomial least squares supplies the required mean estimate. For each state's retained calibration sample, fit degree- polynomials, where , and clip the fitted mean to . With the empirical design check specified in Lemma 3, the estimator has uniform error radius
The constant and deterministic sample gate depend only on the displayed density, smoothness and value bounds. This density condition is needed for the mean fit, while the pricing learner continues to operate on the scalar input without a bin-coverage condition. Substitution into Corollary 1 gives the following guarantee.
Corollary 3 (Nonlinear mean valuations). Retain the model, structural conditions and certified pricing implementation of Theorem 1. Suppose that the statewise means satisfy (E.1) and Assumption 7 holds. Use the cellwise polynomial estimator in calibration and take . For fixed and common structural bounds, all deterministic gates pass for sufficiently large , and
The bound is uniform over the initial state and the stated class.
The first term is the cost of learning the common price map; the second balances calibration periods against squared mean-estimation error during pricing. State-dependent scale estimation uses the same records and has squared error of order . Consequently it introduces no larger time power in this bound. Appendix E verifies the estimator interface, statewise sample selection and the calibration balance.
5.2 Sparse linear mean valuations
When the feature vector is large but only a few coordinates affect mean valuation, retain (4.7) and assume has size at most a supplied . Sparsity allows least squares to be replaced by an -penalized fit. Its design requirement concerns the directions in which a sparse coefficient vector can be estimated.
Assumption 8 (Sparse calibration design). For a supplied , each nonempty true support satisfies
The learner is supplied with and the compatibility lower bound, not with the supports.
The full Gram bound implies this condition with ; the sparse routine only needs the stated cone bound. It is the compatibility condition used by ORBIT's sparse extension, restricted here to the true supports needed in the proof. For each state, use all calibration observations and minimize
and clip the fitted mean to . All coefficients, including an intercept coordinate, are penalized and counted in . Lemma 5 proves a uniform error radius
A deterministic sample-size gate makes empirical compatibility a high-probability proof event; the policy need not test compatibility over unknown supports.
Corollary 4 (Sparse mean valuations). Retain the common conditions of Corollary 1, the representation (4.7), the feature bound and Assumption 8. Use the Lasso routine and its calibration budget in (E.13). Whenever the remaining startup and active-block gates pass, with fixed , value, feature and dynamic-system bounds,
The hidden constant is independent of and ; the logarithmic factors may depend on . For fixed the gates pass for all sufficiently large .
The linear dependence on in the leading calibration cost comes from controlling the fitted mean uniformly over covariates: bounded features convert an coefficient error into (5.4). The additional squared-sparsity term retains the finite-sample design and precision floors. When , it is absorbed by the calibration term proportional to . The dimension enters through the regression problem, while the pricing learner continues to use a scalar input.
6 Experiments
We evaluate online pricing when purchases add to the system's workload and the resulting state affects subsequent customers' valuations. We compare SHAPE with state-aware myopic pricing, dynamic plug-in pricing and a state-blind ORBIT adaptation in this workload system.
6.1 Experimental setup
We consider workload bands, ordered from least to most loaded, and independent covariates . The mean valuation and state scales are
Higher workload lowers mean valuation, while the largest and smallest noise scales differ by a factor of two. The common valuation noise has density
which has mean zero and variance one. The physical price interval is [0, 8], containing the valuation support in every state. The true mean function, state scales, noise distribution and transition kernels are unknown to all methods.
Without a purchase, the system can recover to the next lower workload band. A purchase can instead add one band of workload, replacing that opportunity for recovery. To specify these transitions, let
The common refresh component allows changes unrelated to the purchase outcome. The displayed experiment sets purchase pressure at and recovery probability at . Every run starts from and lasts T = 48,000 periods.
We compare SHAPE with three feasible methods. State-aware myopic uses state-specific mean and scale estimates but sets the purchase shadow to zero. Dynamic plug-in estimates the common noise tail from purchase observations and maximizes estimated shadow-adjusted revenue over a physical-price grid. Both methods observe the system state. The state-blind ORBIT adaptation, based on the general-utility explore-then-price-map construction of Fan et al. (2026), fits a pooled utility pilot and prices without state labels or transition observations. The comparisons therefore assess state-blind pricing, state-aware myopic pricing and two approaches to learning dynamic quotes. Each method generates its own purchases and state path.
All methods begin with 3,328 uniform-price calibration periods. The state-aware methods use the pseudo-response to fit separate linear mean models within two covariate cells in each state, estimating the state scales from the same records as in Section 3.2. SHAPE then uses 2,560 periods for dynamic initialization, whereas plug-in uses a nominal 768 periods; myopic and state-blind pricing do not require this stage. Initialization blocks can extend when their observation-count gates are not met. These extensions, as well as all exploration and fallback periods, count toward the horizon.
As in the numerical implementation of Fan et al. (2026), local price-map refinement uses projected zeroth-order gradient updates rather than the theoretical online-Newton subroutine. SHAPE and myopic pricing use local linear price rules on four input bins, a trust radius of 0.3, and respectively 7 and 10 coarse-grid actions, with 100 observations per action in each bin. The
This section presents one regime from the completed two-regime evaluation.
state-blind implementation uses one input bin and 25 physical-price grid actions. Plug-in uses 81 noise-tail bins and a grid of 481 physical prices, refitting the tail every 256 active observations. Each method has one numerical configuration, fixed before the 200 evaluation replications.
We use 200 new independent Monte Carlo replications per method, with common exogenous random draws across methods within each replication. Regret is evaluated against the finite-horizon dynamic oracle of Section 2.2, using continuous-price maximization and 32-point Gauss–Legendre integration over the covariate. We evaluate each quote through its conditional expected revenue and average over replications. Each policy is configured once for ; its curve records performance over elapsed periods , not separate runs tuned for each shorter horizon.
In addition to absolute regret, we plot the regret of each state-aware comparator minus that of SHAPE. Positive differences favor SHAPE. We first subtract the two regret paths within each replication, then compute the mean and its Monte Carlo standard error. Shaded bands give pointwise 95% Student- intervals; the terminal comparisons use the same paired replications. All 200 replications are retained for every method in the displayed experiment.
6.2 Pricing performance under purchase-driven transitions
Figure 3 shows the cumulative regret trajectories, and Table 1 reports terminal means and paired comparisons. SHAPE has the lowest mean regret in this system. Its terminal mean regret is 4,480.74, compared with 7,627.40 for state-aware myopic pricing, a reduction of 41.25%. The paired advantage is 3,146.67, with 95% interval [2,848.44, 3,444.89]. Both methods use the current state and the same calibration data, but only SHAPE incorporates continuation values into its price-map inputs.

Figure 3: Cumulative regret: means and pointwise 95% intervals over 200 replications.
The difference curves in Figure 4 make the comparison with the two state-aware methods easier to see. SHAPE's advantage over myopic pricing grows over the horizon. The policies also induce different state visits: SHAPE spends 16.22% of periods in the highest workload band, compared with 27.44% for myopic pricing. These visitation frequencies describe each method's own path, including its learning periods, and show how pricing changes the operating conditions faced by subsequent customers.
The dynamic plug-in method initially has lower mean regret than SHAPE, but the ordering reverses later in the horizon. At , SHAPE reduces regret from 5,259.21 to 4,480.74, or by 14.80%. Its paired advantage is 778.47, with interval [566.03, 990.91]. Both policies account for future states, but plug-in first estimates the noise tail, whereas SHAPE learns the common price map directly.

Figure 4: Comparator regret minus SHAPE regret, with paired pointwise 95% intervals; positive values favor SHAPE.
All three state-aware methods also have lower mean regret than the state-blind ORBIT adaptation, whose mean regret is 13,450.05. Omitting the state combines customers facing different mean valuations and dispersion even when their covariates coincide. The absolute-regret plot compares all four implementations, while the paired plots distinguish SHAPE from methods that already use the state.
Table 1: Terminal cumulative regret and paired comparisons at .
| Method | Mean regret (Monte Carlo SE) |
|---|---|
| SHAPE | 4,480.74 (52.75) |
| State-aware myopic | 7,627.40 (150.40) |
| Dynamic plug-in | 5,259.21 (96.64) |
| State-blind ORBIT | 13,450.05 (182.86) |
| Comparator minus SHAPE: mean [paired 95% interval] | |
| State-aware myopic | 3,146.67 [2,848.44, 3,444.89] |
| Dynamic plug-in | 778.47 [566.03, 990.91] |
| State-blind ORBIT | 8,969.32 [8,603.91, 9,334.72] |
Parentheses give Monte Carlo standard errors across 200 replications. Positive paired differences favor SHAPE. All startup, exploration, extension and fallback costs are included; all 200 replications in this regime are retained.
7 Conclusion
This paper develops a novel framework for contextual dynamic pricing in systems where purchases change the conditions faced by subsequent customers. The purchase shadow measures that sale's contribution to future revenue; combining it with mean valuation and the state scale gives a common scalar pricing problem across states. SHAPE uses this structure to learn one price map while updating continuation values and purchase shadows from the same sales records. The pricing history is retained as those values change, and the policy learns the quantities needed for pricing without fitting the full noise distribution or transition matrices. This connects customer-level price responses with the value of the evolving sales environment.
Under the stated regularity, coverage and design conditions, the regret analysis separates price-map learning from valuation calibration and controls their interaction with value updates. For affine mean valuations, fixed state and feature dimensions, and every fixed , matching bounds identify the minimax time exponent . The same policy architecture gives explicit upper bounds for nonlinear and sparse mean valuations. The reported workload experiment complements these guarantees: SHAPE has lower mean regret than state-aware myopic and dynamic plug-in pricing, and its prices lead to fewer visits to the highest workload band than myopic pricing. Together, the structural reduction, learning guarantee and numerical comparison show how pricing can account for both the customer facing an offer today and the system inherited by later customers.
References
S. Agrawal and W. Tang. Dynamic Pricing and Learning with Long-term Reference Effects. Full version, arXiv:2402.12562v2, 2024. Extended abstract in Proceedings of the 25th ACM Conference on Economics and Computation, p. 72, 2024. doi:10.1145/3670865.3673599.
S. Agrawal, S. Yin, and A. Zeevi. Dynamic Pricing and Learning under the Bass Model. Full version, arXiv:2103.05199v1, 2021. Extended abstract in Proceedings of the 22nd ACM Conference on Economics and Computation, pp. 2–3, 2021. doi:10.1145/3465456.3467546.
G.-Y. Ban and N. B. Keskin. Personalized Dynamic Pricing with Machine Learning: High-Dimensional Features and Heterogeneous Elasticity. Management Science, 67(9):5549–5568, 2021. doi:10.1287/mnsc.2020.3680.
J. Broder and P. Rusmevichientong. Dynamic Pricing Under a General Parametric Choice Model. Operations Research, 60(4):965–980, 2012. doi:10.1287/opre.1120.1057.
S. Çelik and C. Maglaras. Dynamic Pricing and Lead-Time Quotation for a Multiclass Make-to-Order Queue. Management Science, 54(6):1132–1146, 2008. doi:10.1287/mnsc.1070.0836.
J. Chai, Y. Duan, J. Fan, and K. Wang. Optimal Semiparametric Dynamic Pricing with Feature Diversity. Working paper, arXiv:2605.04207v1, 2026.
E. Chen, X. Chen, L. Gao, and J. Li. Dynamic Contextual Pricing with Doubly Non-Parametric Random Utility Models. Management Science, forthcoming, 2026. Full preprint, arXiv:2405.06866v3, 2024.
N. Chen and G. Gallego. Nonparametric Pricing Analytics with Customer Covariates. Operations Research, 69(3):974–984, 2021. doi:10.1287/opre.2020.2016.
X. Chen, G. Hong, and Y. Liu. Online Learning and Optimization for Queues with Unknown Arrival Rate and Service Distribution. Operations Research, 74(4):2053–2074, 2026. doi:10.1287/opre.2023.0304.
M. C. Cohen, I. Lobel, and R. Paes Leme. Feature-Based Dynamic Pricing. Management Science, 66(11):4921–4943, 2020. doi:10.1287/mnsc.2019.3485.
A. V. den Boer and N. B. Keskin. Dynamic Pricing with Demand Learning and Reference Effects. Management Science, 68(10):7112–7130, 2022. doi:10.1287/mnsc.2021.4234.
J. Fan, Y. Guo, and M. Yu. Policy Optimization Using Semiparametric Models for Dynamic Pricing. Journal of the American Statistical Association, 119(545):552–564, 2024. doi:10.1080/01621459.2022.2128359.
Y. Fan, Y. Han, J. Lv, X. Xu, and Z. Zhou. Harnessing Unimodality in Semiparametric Contextual Pricing via Oracle Price Map Learning. Working paper, arXiv:2605.15411v1, 2026.
H. Fokkema, D. van der Hoeven, T. Lattimore, and J. J. Mayo. Online Newton Method for Bandit Convex Optimisation. Full version, arXiv:2406.06506v1, 2024. Extended abstract in Proceedings of the 37th Conference on Learning Theory, PMLR 247:1713–1714, 2024.
Y. Hu, S. Li, and S. Wager. Optimal Targeting in Dynamic Systems. Working paper, arXiv:2507.00312v4, 2025 (revised 2026).
T. Jaksch, R. Ortner, and P. Auer. Near-optimal Regret Bounds for Reinforcement Learning. Journal of Machine Learning Research, 11(51):1563–1600, 2010. jmlr.org/papers/v11/jaksch10a.html.
H. Jia, C. Shi, and S. Shen. Online Learning and Pricing for Service Systems with Reusable Resources. Operations Research, 72(3):1203–1241, 2024. doi:10.1287/opre.2022.2381.
N. B. Keskin and M. Li. Selling Quality-Differentiated Products in a Markovian Market with Unknown Transition Probabilities. Operations Research, 72(3):885–902, 2024. doi:10.1287/opre.2022.0316.
V. Kostami and O. Koenigsberg. The Operational Challenges of Customer Growth. HEC Paris Research Paper MOSI-2026-1664, 2026. doi:10.2139/ssrn.7566778.
Z. Lian. Online Learning in Queue-Based Service Competition. Working paper, SSRN:7569020, 2026. doi:10.2139/ssrn.7569020.
Y. Lu, A. Musalem, M. Olivares, and A. Schilkrut. Measuring the Effect of Queues on Customer Purchases. Management Science, 59(8):1743–1763, 2013. doi:10.1287/mnsc.1120.1686.
J. Xu and Y.-X. Wang. Pricing with Contextual Elasticity and Heteroscedastic Valuation. In Proceedings of the 41st International Conference on Machine Learning, PMLR 235:55286–55304, 2024. proceedings.mlr.press/v235/xu24x.html.
Q. Yuan, L. Du, and M. Hu. Dynamic Pricing Under Self-Exciting Arrival Processes. Operations Research, 74(3):1408–1424, 2026. doi:10.1287/opre.2024.1172.
X. Zhang, A. Megahed, and P. I. Frazier. Dynamic Pricing with Long-Term Relationships. Working paper, SSRN:4149982, 2022. doi:10.2139/ssrn.4149982.
Appendices
The appendices give the algorithm settings and proofs. Appendix A specifies the domains, sample budgets and initialization rules. Appendix B proves the regret guarantee through the joint value and shadow updates. Appendix C establishes the conditional convex-bandit guarantee used in Appendix D to control the persistent pricing learner. Appendix E verifies the valuation estimators and the fixed-dimensional lower bound.
Appendix A Operational settings for the method
This appendix gives the deterministic settings used by the algorithm in Section 3. Precision checks use error radii computed from minimum sample counts and supplied bounds. For , put and write , , , and . Every grid and tie-breaking rule below is fixed before the data it uses.
A.1 Domains and feasibility margins
We use the Taylor convention for Hölder balls. For an order and radius , put . A function on a compact interval belongs to this ball if it has continuous derivatives through order , each bounded in absolute value by , and
At integer orders this is the convention. In particular, order one means Lipschitz continuity, so Assumptions 1 and 2 give the and -Lipschitz bounds used below. The pointwise second-derivative condition near the scalar maximizer is stated separately in Assumption 2.
The policy uses three compact intervals: for its scalar input bins, for standardized actions and for the residual grid used in Bellman initialization. The common tail is regular on from Assumption 1. For analysis, the supplied domains satisfy
All intervals here are compact. The intermediate residual interval defines a reference operator; and accommodate index and scale perturbations.
The enlarged-domain requirement in Assumption 2 means that its quadratic bounds hold for every , with the same . For each , is the unique maximizer over and has a fixed positive distance from . Its Hölder and Lipschitz bounds hold on , and the local-concavity bound holds on this domain whenever .
Recall the reference price sets from Section 2.4.
and define
Assumption 4 requires these price sets to be nonempty and the displayed stationary selector to lie inside them with a fixed margin. Coverage then gives the anchored solution
, so a universal shadow bound follows from coverage. The policy may use a tighter supplied interval .
Here are the precise domains in Assumption 5. With uniform mean and scale errors at most , every price , , is in and has true residual in ; this price set contains with a fixed interior margin. If the shadow error is also at most , define
The fitted input lies in , every gives a valid physical price with true residual in , and
The shadow always belongs to .
The containments and follow from the fixed interval margins. Let be the distance from to , and the distance from to . Put . Choose the supplied local radius small enough that
Indeed, and . Thus and at every locally admissible pricing call.
A.2 Calibration and local precision
Require and before computing any calibration radius; otherwise invoke fallback. Use the mean-estimator failure level for each state and each possible prefix. Require its deterministic sample-size gate at every integer , and let
The second radius uses the state-scale estimator in (3.6) on the same complete statewise sample as the mean fit. The supremum gives a radius valid at every possible retained count. For the concrete routines in Sections 4.4 and 5, a gate that passes at also passes at every larger count, and the radii are nonincreasing. Checking therefore suffices. A failed regression gate, an empirical design failure, or fewer than calibration visits in any state invokes fallback.
The perturbation coefficient can be computed from the declared envelopes. Let , , and . Put
With denoting a uniform bound on the supplied shadow error, the squared-input contribution to the pricing certificate is ; Appendix B verifies the deterministic perturbation steps separately from bandit optimization. The persistent module uses the global prefix envelope in (D.13), with the known structural in (D.12). Its leading time exponent is . These are deterministic settings, not fitted model parameters.
For , and the local radius below, the active-block schedule is
The conditions on ensure and . This choice accounts for the lagged shadow update, rather than only the Bellman contraction . With , the number of active calls through a block is at most times its planned length. Select
The number is as in (A.4). Require and
Here for the block schedule (A.4). One conservative approximation constant is
It bounds the safe residual-price objective's Lipschitz and fitted-mean approximation errors for . Thus (A.6) sets a precision requirement on the regression budget.
A.3 Finite initialization budgets
Use fitted-mean bins and a residual grid with mesh sizes ; include both endpoints of . Let their sizes be and , respectively. Set
If the residual interval is a singleton, use and interpret . Each initialization block uses every observation of each state for its empirical Bellman maximum, with minimum count . The final block uses all observations of each state/outcome pair for the initial shadow, with minimum count .
For a statewise quota n and overlap factor , define
Put and . The first initialization blocks have nominal length ; the final block has nominal length . The quotas set minimum counts; the estimators use the full realized counts. Every elapsed period counts toward the horizon. A count shortfall is checked at block end and invokes fallback, unless bounded count recovery is used. Under this optional rule, a block with insufficient counts continues with the same randomized prices, frozen continuation vector and accumulated records until all its count gates pass, up to three times its nominal length or the end of the horizon. An unresolved shortfall then invokes fallback if periods remain. A block that passes at its nominal deadline is unchanged; the deterministic startup check still uses nominal lengths. No division by an empty bin is needed in (3.8); an empty fitted-mean bin has zero scores and uses the fixed tie-breaking arm.
Write . The number of initialization iterations is
Every block maximizes empirical IPS values using the fixed pre-block vector . The last block uses in both its value maximum and initial-shadow contrast. The nominal initialization duration is
A.4 Pricing-module and active-block settings
Let be the length of the nondegenerate input envelope. If necessary, enlarge a singleton declared input envelope to a nondegenerate compact interval inside that still satisfies the declared geometry and domain bounds. Write and . Choose , and a grid so that
including both endpoints of Q. Define
Take and
These are additional deterministic precision and tuning checks. Fix , initialize one module with global budget T, and choose
Partition the entire envelope into equal-width bins, with unique half-open assignments and the rightmost endpoint included. For every such width, the preceding settings give
One may take
Require ; then . Each bin uses
All bins, anchors and local-copy histories are retained when the outer block changes. Only the predictable shadow used in the scalar input and physical-price conversion is updated. The refinement generator uses affine normalization and local doubling as in the theoretical ORBIT construction. Its declared dimension is , and its observed normalized loss is . Use the copy confidence allocation in (D.2), the explicit body positioning in (D.8), and the tuning and short-copy rule in (C.2). A short copy plays the anchor, the centered body's origin. No copy queries the unknown map. Use the symmetric polynomial trust region around the stored grid maximizer as the coefficient body. Project each generated refinement action onto Q, and form the normalized loss from the executed action. On successful localization, the entire trust region already takes values in Q, so this projection is inactive. The fixed Legendre transformation in Appendix D positions its coefficient body between Euclidean balls of radii one and ; it uses no covariate-design assumption. Membership is checked at the endpoints and, for a nonconstant polynomial, at its real critical points in .
For complete-block calculations define the deterministic radii
Choose so that
Together with (A.6) and (A.5), these inequalities allocate the forcing terms in the delayed value recursion. The map gate includes the nonvanishing term ; increasing alone cannot make that term small. For complete active blocks the other terms decrease with block length. The global budget gate is
If any deterministic gate fails, use fallback for the entire horizon, as in Algorithm 2 and Theorem 1.
For a complete active block of length L, require, for every state and outcome,
On failure, do not form (3.12). Before each active quote, check that is finite, project it onto , and check the module's numerical flag and ; a failed check rejects the candidate and invokes the fallback rule in Section 3.4. Projection changes neither the supplied shadow nor the conversion from a standardized action to a physical price. On the local-precision event, the maintained domains and model assumptions give the purchase overlap used in the analysis.
A partial terminal block has no count check or continuation update. The persistent module retains its global budget T and all local histories; stopping does not retune its bins or restart its generator.
For fixed structural constants and , the map floor tends to zero. Writing and , sufficient map settings are
Together with the sampling gates they permit . This startup cost is retained explicitly. For other confidence schedules, the displayed finite-sample gates determine feasibility.
Appendix B Proofs for the regret analysis
Write , , and in this appendix. At a period , let contain the entire past, the current and all fixed block inputs, but not the current covariate or fresh pricing randomization. After the quote and purchase, let additionally contain , before is observed. These information times distinguish selection of a state visit from selection of a state-outcome visit.
B.1 Bellman structure and the benchmark
Consider a price correspondence whose feasible prices have residuals in . Assumption 3 gives the common minorization for every induced transition row. The difference between its Bellman operators at and lies, at every state, in
Indeed, every feasible transition row is for a probability row . Apply the maximum-difference inequality at each and integrate. Taking span gives contraction by . On anchored vectors, span is a norm, so Banach's theorem gives the unique anchored and its additive eigenvalue . The span of is at most , which gives . The true-shadow oracle in Assumption 4 makes the restricted and full Bellman objectives agree at this fixed point.
Proof of Proposition 1. By (4.3), the conditional one-period identity is
Telescoping gives
Nonnegativity of the gaps bounds any policy's revenue above by . The stationary selector (2.9) has zero gap and revenue at least . These two bounds also sandwich the finite-horizon optimum. Subtract the learner's identity and use to obtain (4.4). If , every policy has the same terminal-state distribution. The zero-gap stationary selector attains the resulting revenue bound, so subtracting its identity gives the exact comparison in this case.
The span projection used throughout the method is nonexpansive. To check this, let and . Monotonicity and translation equivariance of give
Thus . If , then . Anchoring does not change span, so projection cannot increase the error relative to when the comparison vector is .
B.2 Coverage, calibration and finite initialization
We first record the probability arguments used below. Suppose a block's quoted prices preserve purchase overlap and its inputs are fixed or predictable. For a block of length L, the L-1 successor states after its first period have conditional visit probability at least q for each state. Multiplicative Bernoulli martingale concentration gives
For completeness, if has conditional mean at least , then for , . Iterating and applying Markov's inequality at yields the usual lower-tail bound .
To count outcomes, take and consider the first visits to state . Before the purchase on each such visit, both outcomes have conditional probability at least after averaging the current covariate and seed. A second application of the same inequality gives
The visit sequence can be defined by continuing the frozen phase virtually beyond its scheduled end. On the count event, its first visits occur within the real block. Neither (B.1) nor (B.2) conditions on the final visit count. In particular, no one-step lower bound is asserted for the pair indicator when the current state has already been revealed.
For a bounded martingale difference with conditional range at most , the exponential bound implies a two-sided prefix-mean bound with failure at most . Predictable state selection, or selection after the purchase but before the next state, preserves this argument by stopping the exponential supermartingale. A union bound over makes the bound valid at every observed visit-prefix length.
Calibration event. Uniform prices have purchase probability . For ,
The scale lower bound therefore gives overlap . With the deterministic calibration count gate in Appendix A, (B.1) supplies visits to each state except with probability . Continue the uniform-price phase virtually beyond its scheduled end. A state visit is selected before its fresh covariate, quote and valuation noise, whose conditional distribution is the same at every visit to that state. Induction therefore gives the regression routine's product experiment for every deterministic statewise prefix. This experiment is not conditioned on its finite-block count. Write for the actual number of calibration visits to state .
Apply the regression contract at failure level to every prefix length . The deterministic gates in Appendix A cover all these lengths. A union bound over states and prefixes costs at most . On this simultaneous event and the count event, the fit at succeeds and has error at most the deterministic envelope . No independence conditional on is required.
To analyze scale estimation on the same records, use the oracle response
Equation (3.5) gives conditional mean before the uniform quote and purchase. Apply the prefix-mean bound with range and exponent , then take a union over states and . Except with probability , the sample mean of each prefix differs from by at most . Evaluate this bound at the actual . On the uniform mean-fit event, projection of both means into gives the pathwise bound
Variance projection and therefore give
This argument intersects two concentration events after proving them; it neither conditions on the fitted mean nor assumes independence between the mean and scale estimates. Their squared scale error is . Counts and scale means together fail with probability at most , since . Together with the simultaneous regression event, these events cover all calibration failures.
Let be the event that calibration passes its empirical checks and the frozen fits have errors at most and from Appendix A. Conditional on the calibration history on this event, all residual prices in the continuous family are feasible. This family's fixed population Bellman operator, denoted by , contracts span by and retains the true fixed point:
The equality uses feasibility of at , not optimality of the scalar price map at every intermediate continuation vector.
Proposition 3 (Initialization from binary feedback). Use the grids, quotas, precision gates and iteration count in Appendix A. If the deterministic budget gate passes, then, conditional on the calibration history on , with probability at least all initialization quotas pass and, for ,
In particular, with and ,
The finite residual grid and fitted-mean bins are used only to reach a fixed structural precision. Each residual-price block estimates all candidate policy values and uses their empirical maximum to update the continuation vector. The proof controls these values using the total number of visits to each state, including bins of arbitrarily small probability, without a separate evaluation block or noise-tail estimate. At fixed structural constants, the initialization budgets beyond calibration grow logarithmically with the confidence parameter and horizon.
Proof of Proposition 3. Condition on the calibration history on . The safe residual-price correspondence is now fixed. Every one of its transition rows minorizes , so its true population operator contracts span by . Assumption 5(i) retains , hence .
Fix an initialization iteration and a vector of span at most . For a state , the true one-step return mean at residual is
For two contexts in one fitted-mean bin, uniformly in w,
Rounding to the residual grid changes by at most . Both endpoints in each comparison are actual safe residuals in ; its Lipschitz condition therefore applies on the intervening interval. The difference between the expected maximum grid return within a bin and the largest expected fixed-arm return is at most twice the within-bin oscillation. Sum over bins, with zero contribution from null bins. The best bin policy is within
of at every state.
Now condition on the start of iteration , so is fixed, and write for its calendar length. For a fixed bin policy , its IPS response is . It lies in and its conditional mean equals the policy's expected shifted return. Continue the same frozen iteration virtually, apply the visit-prefix mean bound, and take a union over the policies and every prefix length . This costs at most per state and iteration. On the resulting simultaneous event, let be the actual number of state- records in the block. When , the uniform score error for the full-record scores is at most
The empirical Bellman value is the maximum of these empirical policy values after restoring . The difference between two maxima is bounded by the largest pointwise difference, so its error relative to the best population bin-policy value is at most , without a policy-selection loss or a new evaluation sample. The grid and bin approximation then give
To verify the minimum counts used in these bounds, use (B.1)–(B.2) with . Here . Thus every randomized block of length supplies at least visits to every state, apart from the stated exponential failures. The final duration also supplies observations of every state/outcome pair. These are intersections with the simultaneous prefix events, not conditioning on future counts. The estimates use all available records once these minimum gates pass.
Projection nonexpansiveness now gives . Starting from proves (B.3). The chosen J makes when , and . Thus both final errors are at most . For and J=2, the same conclusion follows after one update.
In the final randomized block, every observation of a state/outcome pair evaluates the already frozen , not . Conditional on the purchase but before the next state, the mean of is and its range has length at most . Apply the outcome-selected martingale mean bound to every prefix and take a union over states, outcomes and . The failure cost is at most . On this event, write for the actual pair counts. The unprojected contrast error is at most
Projection can be compared with , and
This gives the initial-shadow conclusion. Sharing the final block requires no independence between the IPS values and outcome means: their concentration bounds are derived under block-start information and then intersected with each other and the count events. All probability bounds are conditional on the information preceding their respective randomized blocks. The passing horizon budget implies . IPS errors over all iterations cost at most , while the count errors are bounded by . Including the final-shadow means, their sum is at most
□
B.3 One-block identities and delayed stability
For a complete active block k, put
The next lemma does not assume a pricing-regret bound. It quantifies how the actual pricing loss enters the return-based update.
Lemma 1 (One pricing block, two continuation estimates). Condition on block-start information, including the fixed vector with span at most . Suppose the block has length , all quotes are feasible, and the purchase probability after averaging current covariates and policy randomization lies in . If , there is an event with conditional failure probability at most
on which all runtime count gates pass, , and the updates satisfy
(B.4)
The value and shadow estimates may depend on one another. The proof uses the fixed pre-block target and chronological martingales, rather than held-out independence. Effective coverage applies to the transition row after averaging the current policy's randomization; it need not hold for either purchase-conditioned row separately.
Proof of Lemma 1. Fix the block-start inputs and put . Let
The Bellman equation and the independence of the fresh covariate give the exact identity
This is an evaluation identity for the actual pricing decisions, not an assertion that the empirical return mean equals .
The purchase probability averaged over the current covariate and policy seed belongs to the effective-coverage interval. Thus , and every lies in the same interval . Its width is .
For each state and every visit prefix, apply the martingale mean bound to and . Each underlying variable has conditional range at most . For the outcome-selected continuation means, condition instead on ; the model gives
Their conditional range is at most . Union over both sides, states, two outcomes and prefixes costs at most . Let be the return-mean noise and the mean of in state . On this event, average (B.5) by state:
Since and the realized gaps are nonnegative,
The common interval for and the span of therefore give
Use (B.1)–(B.2). On their success event, and . The first bound and span nonexpansiveness give the value inequality with the stated, conservative .
For the shadow, interval projection is nonexpansive relative to :
The outcome count bound makes the last term at most . The count and martingale failures sum to the lemma's stated bound. All intersections are taken after deriving these bounds under block-start information; no independence of the two estimates or conditioning on a future pricing-success event was used.
Proposition 4 (The delayed continuation recursion). Work on the calibration and initialization events of Proposition 3, and suppose the single pricing event in Proposition 2 and the block events in Lemma 1 hold up to each complete block considered. Write , set and . Then, with ,
For the schedule in Appendix A, and
Consequently every inherited shadow stays inside the local domain.
Proof of Proposition 4. For , the strong state-count event implies . The previous shadow has error at most . Let be the number of active calls through this complete block. The geometric schedule gives
By nonnegativity of , the persistent prefix event and the pointwise shadow transfer imply
The prefix event is applied only at the actual ; monotonicity of then permits evaluation at , even when this deterministic argument exceeds . Substitute this bound into (B.4) and use . This gives (B.6) with .
The pilot, map, previous-shadow sampling and current-value sampling terms in are each at most . For this follows from ; for later blocks . The length-dependent terms decrease with complete-block length; the fixed map-approximation floor is included in the map gate. Also , so . Put ; then . Whenever ,
Initialization gives . Induction and preserve . The inherited shadow error is consequently at most . Thus the induction keeps the domain assumptions valid at every active block start; it does not test this true error in the algorithm.
B.4 Deterministic pricing-input perturbations
Fix a pricing call with valid frozen mean, scale and shadow estimates, and condition on its current state and covariates . Write , , and . The maximizer is . The exact relation gives
A degree- Taylor comparator for on the current bin has additional action error at most . Quadratic growth for therefore bounds its normalized loss by . Successful coarse localization and the stated precision settings place this comparator in the local coefficient body.
We next transfer the scalar loss to the true shadow. Fix and let range over the interval . Define the scalar branch value
At , Assumption 4 identifies with the maximum over the full physical price interval. If the local shadow interval is a singleton, there is no shadow perturbation and the transfer bound follows directly from this identity. Otherwise, we establish a smooth envelope on that interval. The local domain contract places in and in the interior of . Thus is feasible and its residual has a neighborhood inside . The first-order condition for the interior scalar maximizer is
Because is Lipschitz, W is absolutely continuous on the local shadow interval. At almost every b, differentiation and the first-order condition give
The right-hand side is continuous, so this identity holds throughout the interval, with one-sided derivatives at its endpoints. Moreover, is -Lipschitz in and purchase probability is -Lipschitz between these safe prices. Hence is -Lipschitz. This envelope calculation does not identify with a full-interval maximum at perturbed shadows.
For a price proposed by the pricing module, with , write , and . Scalar quadratic growth gives . The envelope remainder and the safe-price Lipschitz bound yield
Young's inequality bounds the last term by , and therefore
Since , the displayed definition of absorbs the pilot-comparator and shadow terms. Appendix D controls the remaining bandit-learning loss.
B.5 Whole-horizon aggregation
Proof of Theorem 1. First construct the good event chronologically. The simultaneous regression contract costs ; calibration counts and scale means cost at most . Proposition 3 costs at most . Condition next on initialization of the pricing module with valid pilot and warm-start outputs. Use the predictable analytical extension in Appendix D: it agrees with the policy until a first block-start local-shadow exit and thereafter uses . The fits and all pricing-module histories are retained. If an optimizer flag would terminate learning, use a fixed thereafter in this probability experiment; on valid local domains this preserves feasibility and overlap. Assign bounded-span continuation vectors if an empirical update cannot be formed. All such replacements are predictable.
The single global pricing event costs at most . Lemma 1 supplies block concentration under successive block-start histories in the extended experiment, before intersection with the pricing event. Its estimates need no independence from the same observations that update the pricing module. The delayed induction below excludes the first local exit on these events, and the pricing event excludes an optimizer flag. The extended and actual processes then agree throughout learning. Neither probability argument conditions on eventual locality or future optimizer success.
The input and action projections preserve this construction. On valid frozen fits, Assumption 5(ii) places every raw fitted input in before the first local-shadow exit, so input projection is the identity on that stopped history. The coarse localization event in Appendix D places the entire symmetric coefficient body inside , making action projection inactive as well. For comparison, define an auxiliary guarded policy that uses the same bounded fallback when a raw input is outside or , and otherwise uses the unprojected action rule. Couple it to the projected policy using the same optimizer seeds, covariates, valuation noise and transition uniforms. Their complete histories agree before a first differing decision; the anchor rejection cannot occur and neither projection changes an action on the good event. The chronological event construction and delayed induction exclude such a difference on the good event. On its complement, the retained physical-price checks preserve the bound on the sum of conditional gaps, giving the same failure charge.
The active count tails are negligible at the declared starting length: implies . Over at most blocks, their sum is at most . The prefix-mean events cost at most . All failure costs therefore sum to less than , using . On the intersection, Proposition 4 applies inductively and no runtime failure is triggered. The concentration bounds were proved conditional on successive block-start histories. The induction is pathwise on their intersection and does not condition the data on future success.
We next sum the deterministic errors on this event. Put , and . Then
The geometric convolution has summable kernel. On any finite prefix its Euclidean sequence norm therefore satisfies
This follows by separating the initial sequence and applying the triangle inequality to the shifted forcing sequences; the sum of their kernel coefficients is . Since , it gives
where is the actual number of calls in block . The first shadow index is charged separately to . For the terminal block, , so the same estimate applies. In particular, it requires , not the stronger condition .
Let and . For , the forcing bound, and the preceding block's sampling radius give
The forcing is bounded by the precision gates and costs at most in (B.8). There are at most blocks. Their complete lengths sum to at most , and their reciprocal lengths form a geometrically summable sequence. Consequently,
The second bound follows directly from and treats separately.
The persistent pricing event is used only once for aggregation. If is the total active-call count, then
Thus the prefix bound is not summed again at every block. For and fixed structural constants,
Together with , these bounds account for every term of (4.1) on the good event. Calibration and warm initialization cost at most ; also covers the initial value transient. Outside this event, the sum of conditional gaps is at most even on a fallback path. Taking expectations adds at most . Finally, Proposition 1 adds at most . This proves (4.1) uniformly in the initial state. If the deterministic budget or precision gate fails, both oracle and policy revenue lie in , which gives the fallback bound.
The same guarantee holds with the optional initialization count recovery in Appendix A. Couple both policies using the same covariates, noises, transition innovations and private random streams. Their first possible difference is a nominal initialization deadline with insufficient counts. Every such deadline passes on the good event above, so no first difference occurs there. The initialization durations and all good-event bounds are therefore unchanged. On the complement, every executed price remains feasible and the conditional gap is still at most R. The same charge and H boundary term complete the proof; no accuracy claim on recovery paths is needed.
Appendix C The predictable convex-bandit module
The refinement losses change with the current state and covariates. We therefore use the adversarial, rather than the stochastic, version of the online-Newton method of Fokkema et al. (2024). This appendix verifies the information and concentration interfaces needed on this path. All source labels below refer to arXiv:2406.06506v1. Gaussian surrogate identities and their deterministic comparison inequalities are used as in that source; the conditional concentration argument is given here because the physical feedback is projected before it enters the Gaussian method.
C.1 Information, feedback and copy settings
Consider a single local copy on a known convex body in coefficient dimensions. In this appendix, denotes the Euclidean unit ball in . An invertible affine transformation positions this body so that . Its gauge is . For a positive semidefinite matrix , write . At call , let contain all information available before the copy draws its current seed. This includes observations received while the copy was idle and the current covariates. The convex loss is measurable at this time. For the complete fresh seed , put . The queried action is -measurable and the observed feedback satisfies
Thus the physical noise is centered after the complete seed and bounded by one. No independence of future losses from past actions is required.
Write for the announced copy length and for its failure allocation. With sufficiently large universal constants fixed once, set
The symbol is an optimizer setting, not a valuation scale. If , play the body's center throughout this copy. Its regret against every fixed action is at most , and
Otherwise use Algorithm 1 of Fokkema et al. (2024), including its bonus rule and convexified restart implementation, with the settings (C.2). Quadratic iterate minimizations and Gaussian draws use the exact real-arithmetic/oracle model; the restart minimum may instead be certified within the tolerance specified below. These are the optimization operations meant by the certified model in Proposition 2. The guarantee does not cover an arbitrary floating-point local solver. If an iterate, covariance or optimization certificate cannot be formed, a stand-alone copy plays the center on its remaining calls. Within SHAPE, the copy reports the failure to the outer policy, which applies its global fallback rule. The proof below bounds the probability of this failure.
For clarity, write and . The copy draws conditional on , queries , and constructs the observable return
Conditional on the full Gaussian seed, . The noise of this extended return is , so its concentration must account for the Gaussian projection factor.
C.2 Gaussian identities and conditional concentration
Let be the density of . Define
where conditions on . Conditional subexponential norms below use the convention
Conditional change of variables gives and the corresponding gradient and Hessian identities. These identities hold round by round for predictable ; they do not condition on future inputs. Put , and
The actual covariance recursion is
(C.6) with . Write for the same recursion with replaced by its conditional mean and with initialization .
We work in the source stopped experiment (Definition 7), stopping before a covariance comparison, focus or restart condition fails. Also stop analytically if the number of nonzero bonuses exceeds . Up to that first possible stop, . The basic covariance envelope there is . There is also a deterministic upper spectral envelope. If is the source extension's Lipschitz bound, the Gaussian Hessian identity and stopped covariance comparison give
Solving this scalar quadratic and using the comparison once more gives
The source bonus-count argument now gives at most nonzero bonuses. Thus the extra analytical stop cannot occur when the other comparison events hold. This envelope controls the spatial nets used below. Write for the shrunken body. The source focus set through a stopping time is
Every therefore satisfies
Write .
Lemma 2 (Concentration after projected feedback). In this stopped experiment there is a universal such that the following bounds hold, with conditional failure probability at most , simultaneously over . The constant is chosen so that each of the six families below costs at most . Put and
Then
(C.9)
For every , ,
(C.10) uniformly over . The same bound, up to a universal factor, holds for Hessians evaluated at the predictable and for any one specified predictable weight process in [1,2]. The statement does not take a supremum over weight processes.
Proof. All expectations in this proof are conditional before the current Gaussian seed. Put . Gaussian norm concentration and the Lipschitz property of give common events with failure at most per round on which and . Because , these events imply . They are common to all spatial and directional arguments and are not unioned over a net. Gaussian moments and also give a polynomial conditional fourth-moment envelope for .
For , the ratio in (C.5) is
On the common event and the slightly enlarged focus region , this ratio is bounded by a universal constant. The multiplier of in is therefore at most . Direct differentiation shows that the multiplier in is bounded by
The last inequality uses and . Thus each commonly truncated scalar score has conditional variance at most and magnitude at most . Bernstein's martingale inequality gives the first and third bounds in (C.9) after the spatial union described below. The moving-reference bound uses the same scalar argument directly at the predictable . A spatial supremum alone would not imply this reference bound.
The Hessian requires separate variance and magnitude estimates. For a fixed direction a, differentiation gives
Let and truncate on the common Gaussian event, obtaining . The one-dimensional Gaussian quadratic in this formula implies the conditional subexponential bound . Splitting a conditional expectation at yields
(C.11)
Choose in (C.2) to dominate the fixed polynomial fourth-moment envelope. This split is inside an expectation: it does not assert that the threshold holds for every direction simultaneously. For a uniform magnitude bound use the larger threshold , or the common Gaussian norm bound, and . Conditional centering then costs only a universal factor. If , Bernstein with a net logarithm gives
Dyadic peeling over the stopped polynomial spectral range handles and .
Here are the uniformity and truncation details. Set . At copy initialization take deterministic spatial nets of the bounded body and directional nets of the unit sphere with mesh . Their total logarithmic cardinality is . On the common Gaussian event, the displayed ratio and its first three spatial derivatives are bounded by on the enlarged focus region; this follows by differentiating its exponential quadratic and using (C.7) and . The same polynomial bound applies to conditional derivatives by Gaussian integration. Stop a spatial net point before it leaves the enlarged focus region. Every point of the final focus set has a nearby net point still in that region at all preceding rounds, by (C.8). Differentiating the displayed ratio gives these derivative bounds there, so interpolation errors are at most (and smaller than the corresponding spectral tolerance for directional interpolation). Gaussian ratio moments outside the common event are polynomial uniformly on the enlarged focus region. Conditional Cauchy–Schwarz therefore bounds every discarded-tail compensator by an arbitrary inverse polynomial when is large enough. This is a deterministic uniform bound, not a net union of tail events. The errors are absorbed by the displayed additive constants. The same construction applies to the scalar scores above.
Finally, for every allowed . Interpolation of the fixed-direction inequalities proves (C.10) without a data-dependent matrix net. Predictable weights in [1,2] change the variances and magnitudes by at most fixed factors. Evaluation at is predictable and requires no spatial net. Union over the finitely many score families and endpoints gives the stated probability.
C.3 Transfer of the online-Newton guarantee
Proposition 5 (Predictable convex-bandit guarantee). Under (C.1), the copy specified above has, conditionally on its initialization and with probability at least , the simultaneous comparator guarantee
It uses one observed feedback per call. In (D.1), one may consequently take and .
Proof. The short-copy assertion follows from (C.3). Consider a nonshort copy. We give the source interfaces, including the moving-reference and restart-comparator corrections, before combining its deterministic inequalities.
First, the square-return argument of source Lemma 10 remains conditional roundwise. Indeed, . The source Gaussian convex-moment inequality and its deterministic trace/log-determinant calculation give, until the stopping time,
This step uses for each realized convex extension, not a common loss across rounds. The deterministic Gaussian smoothing tails are controlled at analytic tolerance ; their accumulated remainders are included in the constant in this display. Truncating the nonnegative at and applying the scalar exponential-supermartingale inequality also gives, with the allocated failure,
The truncation remainder costs . All preceding identities hold with conditioning.
Apply Lemma 2 in this stopped experiment. Its scalar bounds control both the uniform surrogate regret error and the quadratic error by
The surrogate regret error includes the moving-reference sum in (C.9) as well as the spatial error. For the covariance event, use the weighted Hessian inequality with , where . The bonus rule makes predictable, even though its line is printed after feedback in the source pseudocode. The rule has at most nonzero bonuses, so . Substitution into (C.6) gives the source comparison . This is the comparison for the conditional-mean recursion defined above.
The spatial Hessian event also certifies the restart calculation. For a sufficiently large fixed , the known quadratic
makes convex on . This follows from before stopping and . Its minimum is obtained in the source certified convex-oracle model. Use the regularized restart statistic
and restart when it is at most . For certified approximate minima require error at most and charge below; for exact minima set . All stored objectives depend only on known Gaussian densities and observed feedback, not on evaluations of elsewhere.
We next record enough slack for this implementation. Let and let be the deterministic smoothing/trace conversion term from source Lemmas 24, 26 and 11, which give surrogate optimism, Gaussian smoothing and the trace bound. This conversion term includes their deterministic smoothing-tail remainders. Quadratic optimism has its own additive tolerance; reserve for its cumulative use in the FTRL and boundary arguments. In the nonshort branch,
Specifically, put
Optimism and the Gaussian smoothing comparison give for every in the shrunken body. This comparison is uniform and is valid before selecting either hindsight minimizer. The Gaussian event and (C.13) give . For a sufficiently large single choice of ,
(C.14)
The first four ratios in the last inequality are bounded by , , and , respectively. The diameter, gradient and scalar-error ratios in the preceding line are bounded by , and . Thus these requirements fix universal tuning constants and do not introduce an unknown model input.
It remains to check the comparator at restarts. Write for a minimizer of over the shrunken body. Before the first stopped round, . The source FTRL, bonus and optimism inequalities are pathwise. With (C.14) they show that a segment without a restart has extended regret at most . More explicitly, if and there is no restart, the source FTRL and optimism comparisons give
where . The slack makes this smaller than , preserving the next focus condition. It also bounds maximal surrogate regret and, after the trace conversion, maximal extended regret. If leaves , the restricted surrogate minimum has a boundary representative . Source Lemma 12 gives bonus at most there. Consequently the restart statistic is at most
Regularization can only decrease that statistic, so the computable rule detects this escape.
For a restarted segment, use consecutive surrogate minimizers, not an unproved focus property of an extended-loss minimizer. Optimality at gives
Indeed, the source extension bound implies . The deterministic smoothing inequality first bounds extended regret by maximal surrogate regret plus . The last display then replaces that global surrogate minimizer by . Uniform concentration and regularization therefore bound the maximal extended regret by
This proves nonpositive regret against every fixed comparator on each restarted segment. It avoids identifying a minimizer of the extended losses with a minimizer of the surrogate losses.
Condition at each restart history and allocate the concentration events at every endpoint. There are six concentration families in Lemma 2, one common Gaussian/feedback event and one square-return event. Choose so that each family costs at most per segment. There are at most segments, so the total is at most . The fallback conditions cannot fail on this event: covariance positivity and the focus induction hold, and the regularized programs have the stated certificates. The final nonrestarted segment contributes at most ; all earlier segments contribute nonpositive regret. Finally, conditional Hoeffding for the bounded physical losses and the source extension comparison give, uniformly in the comparator,
Both latter terms are at most . Substitution of (C.2), with the remaining failure allocation for this last martingale, proves (C.12).
Appendix D The persistent pooled pricing certificate
This appendix proves the map-learning certificate for the single pooled pricing module initialized after warm start. Its bins, coarse anchors, local-copy counts and refinement histories persist across all outer blocks. Only the predictable shadow input changes at block boundaries. The certificate controls learning of the shared map; transfer to the true Bellman loss is a separate, pointwise inequality.
We use Proposition 5 conditionally at the initialization of each local copy. For normalized losses and feedback in [0,1], write its fixed-horizon interface as
The conditional failure probability is at most , simultaneously over comparators in the copy's body. Here , , is supplied by Appendix C; thus throughout. The loss at a call is fixed before its fresh seed, and feedback is conditionally unbiased after that complete seed. The short-copy convention and exact real-arithmetic/certified-oracle model are those of that appendix.
D.1 A single initialization and a finite-budget bound
Fix the global budget when the pricing module is initialized. Abbreviate
Partition the full input envelope into these fixed bins, denoted by with closures . Each bin uses successive refinement-copy budgets , without restarting at outer-block boundaries. Allocate confidence only once:
(D.2)
The coarse quota for each bin/grid pair is . A copy is updated only on its own bin's refinement calls. Observations received while it is idle remain part of the chronological information at its next call.
Proposition 6 (All-prefix certificate for the persistent pricing module). Condition on the pricing module's initialization information, with frozen satisfying the local domain and precision conditions of Appendix A and actual error bounds . Let the shadow vectors be predictable, constant within each outer block, projected into , and locally admissible: for all states and pricing calls. Index pricing calls chronologically by , and put
The physical comparison price is the scalar branch price in (4.5). Thus the two definitions of agree. Run the single persistent pricing module with (D.2). There is an event of conditional probability at least on which no pricing-module or domain flag occurs and, simultaneously for all realized pricing prefixes ,
The probability statement conditions only on information at initialization, not on future shadows, states, covariates or bin counts. Moreover, at each locally admissible pricing call,
For a process that may leave the local shadow domain, the same probability guarantee controls every actual prefix strictly before its first local exit, as formalized at the end of the proof.
Proof. Fix an initialization history satisfying the premises. The fits, full-range bins and coarse schedule are now fixed, but future shadows need not be. For a locally admissible triple , write
The local domains give , , and in the interior of , with distance at least from its boundary. The exact identity gives
In particular every transformed gap is nonnegative. We first obtain anchors valid for all locally admissible future inputs, then construct a fixed polynomial comparator in each bin, and aggregate local-copy regret over the single global pricing history.
Coarse localization at actual occurrences. For bin and grid action , let indicate that the coarse schedule requests this pair. Once the pair's quota is complete, write for its mean observed payoff . Immediately before the purchase, the indicator, the current state, covariates, shadow and are known. Thus
is a martingale difference bounded in absolute value by 2Q. Stop its exponential supermartingale when the pair's count reaches , or at T if it does not. For , the bounded-increment estimate gives
Here are this pair's actual occurrences, possibly in different outer blocks. No conditioning on their future count has been made. Since , a union over the pairs costs at most
Call the resulting event . Incomplete pairs impose no concentration obligation and their bins do not enter refinement.
Changing shadows do not add a within-bin drift term. Indeed, the exact identity
holds for every locally admissible . For any two such triples whose fitted inputs lie in the same bin, it gives
Their residuals lie in . The declared Lipschitz bound for and the definition of therefore imply
On , every completed empirical grid objective is within
of every locally admissible objective in that bin, including those with shadow values not yet used. Let be a nearest grid point to an arbitrary such objective's maximizer. Empirical maximization and (D.5) yield
The grid and coarse gates consequently give
The supremum concerns the fixed model, frozen fits and observed anchor, not realized future occurrences. Its event is therefore measurable when bin first enters refinement. Although not observable by the policy, the supremum over this fixed set of possible maximizers is a continuous function of the observed anchor. In particular, the anchor has a uniform interior margin:
Every polynomial in the symmetric coefficient trust region therefore takes values in , making action projection inactive for the whole body on this event.
A fixed comparator and known body positioning. Let be the midpoint Taylor polynomial of the shared map of degree on the closed bin. It is the same comparator throughout all outer blocks. The integral Taylor remainder (the Lipschitz remainder at integer smoothness) gives
The use of , rather than the bin's possibly smaller actual width, only enlarges this bound. The deterministic perturbation calculation in Appendix B holds uniformly in locally admissible and gives . Choose one actual coarse occurrence of the completed bin. For all , the triangle inequality, its Lipschitz bound and (D.7) give
Thus its coefficients define a comparator in the actual whole-bin body. At every future locally admissible refinement call, each polynomial in that body obeys by the uniform anchor bound. The radius gate gives , so , and hence its composition with the affine coefficient map, is convex on the same fixed body despite changes of shadow.
For completeness, the body has a deterministic positioning that does not use a design distribution. Put , let be the Legendre polynomial with , and set for . Express a centered pricing polynomial as and use the known invertible transform . Orthogonality for and give
The transformed body is consequently
Translation by the observed anchor and this fixed basis change preserve the available prices and losses. Membership is determined by the endpoints and, for a nonconstant polynomial, its real critical points in . A maximizing point of a violated constraint supplies a separating hyperplane, and the Minkowski functional is . These formulas supply the known body operations required in the primitive's declared oracle model.
Finally, quadratic growth bounds the comparator bias at every refinement call by
This follows by squaring the sum of the Taylor and fitted-input action errors in the upper bound of (D.5). There is no shadow-estimation error term in this comparison with the current shadow objective.
Predictable refinement and global terminal prefixes. At a bin's refinement call, include the complete chronological past, its local history, and the current state, covariates and shadow in the pre-seed information. Conditional on that information, define the loss and observable feedback by
Both belong to [0,1]. The conditional feedback relation in (3.3), after conditioning on the complete current seed, gives . Their difference is bounded. On the bin's uniform anchor event (D.7), both input and action projections are inactive, and the losses are convex on the fixed body (D.8) for every locally admissible future shadow input. This event is measurable at the bin's first refinement initialization and hence at every later copy initialization. Apply the conditional primitive at those local initializations. Formally, outside that initial-information event, replace the local protocol by constant convex losses and their exact feedback. This analytical replacement is unused on coarse success; it does not condition the primitive on a future local-success event.
Fix a deterministic global pricing prefix . If a budget- copy has received only real calls by that prefix, terminate the real protocol there and append constant virtual losses, declared before each remaining fresh seed, with their exact constant feedback. Causality leaves the real actions unchanged, and for every fixed comparator ,
The global-prefix terminal signal and observations received while a copy is idle are allowed in its pre-seed information. The completed protocol therefore satisfies the same predictable interface. In particular, the real-prefix violation probability is bounded by the completed copy's failure probability, without conditioning on the random value of r, any future state path, or any future shadow value.
There are at most copies per bin by any prefix, since their budgets double. A union over bins, copies and the deterministic prefixes, using (D.2), costs at most on the respective initial-information anchor events. On the resulting event, write for bin 's real refinement count. If this is positive, the budget of its last used copy is at most , because the preceding budgets sum to one less than that budget. The geometric sum of square roots is consequently at most . The primitive gives normalized refinement regret at most
For a bin with no refinement calls the regret is zero. Summing over bins and undoing the factor 2Q in (D.10) bounds the unnormalized learning term by
since .
Each coarse call loses at most 2Q in the transformed objective. Let count all calls to bin j through prefix N, including coarse and refinement calls. The coarse-first schedule, whose counts persist across outer blocks, gives the exact accounting over the whole prefix
Adding this cost, the refinement learning term and (D.9) proves the transformed prefix bound for every on one event. Since each transformed gap is nonnegative,
The declared absorbs the fitted-input term. This proves (D.3), even when state scales and shadows vary between calls.
True-loss transfer, flags and local stopping. The deterministic shadow transfer in Appendix B holds at every locally admissible call:
The definition of proves (D.4). This pointwise bound is not included in the global map-learning charge: a later block uses its own current shadow errors, not those of all preceding blocks.
The coarse event costs at most , and the refinement union on its local anchor events costs at most . Their intersection thus has conditional probability at least . On that intersection, the primitive supplies feasible coefficient actions, the anchor's interior margin makes action projection inactive, and the local domain assumptions place every raw input in and every physical quote in . The certified primitive model excludes an additional numerical failure on its success event. Hence none of the declared pricing flags is triggered. Only this one initialization probability allocation is used.
For completeness consider the actual predictable shadow process without assuming that it remains local forever. Let be its first pricing call at which a shadow vector violates the local radius; it is detected before that call's fresh seed. Couple the process to an analytical extension that agrees before and, from onward, replaces every shadow vector by . Retain the frozen fits, all existing bin and copy histories, and the same future randomization mechanism; after the states evolve under this extended policy. This is a predictable, everywhere locally admissible process, so the proved certificate supplies a single event of conditional probability at least . On that event the actual and extended histories agree for every prefix , and the certificate and absence of pricing flags hold for those actual prefixes. No conditioning on or on future local success is involved. On valid frozen fits, Assumption 5(ii) also makes input projection the identity before ; the raw-input identities used above therefore remain exact on these stopped prefixes. On the same coarse event, the entire coefficient body lies in , so action projection is also the identity on every stopped refinement call. Outside a bin's initial-information anchor event, the constant-loss analytical replacement above is used; no convexity of a genuinely projected loss is asserted. The outer local-stability induction can therefore use this stopped certificate to show that the two processes agree throughout the actual active horizon. This completes the proof.
D.2 A known all-prefix map-learning envelope
The finite-budget coefficients give a single known envelope without resetting the budget at an outer-block boundary. Define
and choose the structural constant
(D.12)
This choice depends only on the declared structural settings and the primitive constant , not on or realized visits. With the of Appendix A, put
The final inequality holds on the event of Proposition 6, or before local exit in its stopped version.
To verify this explicit choice, implies and . Since , , and for integer . Consequently the single confidence allocation gives
As , each term in (D.3) is bounded by the corresponding term in (D.13), with the sum of the three coefficients in (D.12). This proves the announced global envelope. A terminal pricing prefix uses the same and persistent histories; it is not analyzed by restarting a pricing module with budget equal to its realized length.
Appendix E Valuation-model guarantees and proofs
The regression statements below concern independent bounded-response pairs with a common covariate distribution. They apply to the full statewise calibration samples as follows. Continue uniform-price calibration virtually beyond its planned end. A state visit is selected before the fresh covariate, quote and valuation noise, so successive visits to a fixed state give the same independent-pair experiment at every deterministic prefix length. Apply each routine at every with failure level , and take a union over states and prefixes. This costs at most , since . On that simultaneous event and the separate count event, substitute the actual without conditioning the regression distribution on its terminal count. For the routines below, a sample-size gate that passes at also passes at larger counts, and the error radius is nonincreasing. Its deterministic worst-case value is therefore attained at . The same-record analysis in Appendix B gives the scale-error bound for the estimator (3.6).
E.1 Uniform nonlinear regression
We first specify the multivariate Hölder convention used in Section 5.1. For each state, write , so that . Fix and a common radius . With , the mixed derivatives of through order are continuous, and its positive-order derivatives through are bounded by . For a multi-index , use , , , and for the corresponding mixed derivative. The Taylor remainder satisfies
At an integer order this is the convention, consistent with the univariate definition in Appendix A.1.
We give the construction for one state and suppress its index. Let be independent pairs with a common covariate distribution, such that , , and . The conditional response distributions need not be identical. Write . Put and assume the density bounds in Assumption 7 and the degree- Taylor remainder bound (E.1), with replaced by . No additional condition on the response distribution is imposed.
For an integer , put and partition the cube into cubes of side length . Use half-open cells, except that the rightmost endpoint is included, so that every has a unique assigned cell . Let be a cell's lower corner and define
In this subsection the zero multi-index is one coordinate of , equal to one. Every coordinate has absolute value at most one on the closed unit cube. Introduce the known moment matrix
The matrix is positive definite: the quadratic form of a nonzero coefficient vector is the integral of the square of a nonzero polynomial, which is positive on an open subset of the cube. In particular, .
With , form
(E.2)
The empirical design gate requires for every cell. If a cell fails, the routine reports a design failure. Otherwise set and
This is ordinary cellwise polynomial least squares: the normalization by cancels in each cell's normal equations.
Lemma 3 (Uniform regression from a finite polynomial partition). Under the preceding bounded-response, density and Taylor conditions, fix and an integer . Put
If the deterministic gate passes, then
where the supremum includes the cell boundaries and
For an explicit sample-size rule, let
If , choose
Then the deterministic gate above passes and (E.4) holds with the radius in (5.1), for . These constants are independent of and the unknown conditional distribution of given .
Proof. First control the finitely many empirical Gram entries. For any cell and coefficient vector , a change of variables and the density lower bound give
For one Gram entry, its unnormalized summand is in and its variance is at most . The bounded-scalar Bernstein inequality therefore gives, with failure at most ,
This particular inequality follows from the elementary moment bound for a centered and , followed by the exponential Markov inequality. The moment bound is obtained by expanding the exponential and using for . The deterministic gate makes the two displayed terms at most each. A union bound over entries yields an event with failure at most on which
Thus every design gate passes. The zero-index entry also gives
Next separate approximation from centered noise. For each cell let be the degree- Taylor polynomial of at , and let be its coefficients in the rescaled basis. The Taylor condition gives . Write , and put
The exact normal-equation identity is
On , the bias is bounded for every realized design:
Conditional on all covariates, the variables are independent and have conditional mean zero. Since , each summand in one noise-score coordinate has conditional range at most and is zero outside its cell. Conditional Hoeffding concentration and the preceding count bound show that, for a design in ,
\mathbb{P}\left(|(u_{C}^{\mathrm{n o i s e}})_{\alpha}|>B\sqrt{\frac{f_{\max}\ell_{b}}{n b^{d}}}\right|X_{1},\ldots,X_{n}\right)\leq2e^{-\ell_{b}}.Indeed, the sum of squared conditional ranges is at most . Union over coordinates costs at most , conditional on any such design. After integration, with total failure at most , all Gram gates pass and all cells satisfy
On this joint event, use uniformly for . For every point in a cell's closure,
This bound is uniform in because the finite coefficient bounds hold in every cell and the basis is uniformly bounded; no union over evaluation points is needed. Use the prescribed cell assignment at boundaries. Clipping to cannot increase error relative to in that interval. This proves (E.4), including the routine-success event.
Finally suppose and put . Then and , so
Moreover,
Substitution gives the stated . The clipped error is also at most , which permits the minimum with in (5.1). Both the deterministic sample-size test and all empirical Gram tests use only the observations and supplied constants. An empirical failure is included in the failure probability, exactly as required by Definition 1.
Proof of Corollary 3. Lemma 3 and the state-quota argument supply Definition 1 with radius (5.1). At fixed class constants is proportional to and the per-state logarithm is . Hence
The choice balances and . It is sublinear and grows faster than the deterministic regression threshold, while both calibration radii tend to zero. The fixed precision gates therefore pass. The prescribed warm initialization is polylogarithmic, and the smallest active starting block is . Thus the full elapsed-budget and remaining gates hold for large . Corollary 1 now gives (5.2), uniformly over the stated class and initial state.
E.2 Uniform linear regression
Lemma 4 (A bounded-response least-squares interface). Let be independent pairs with , and . The known map satisfies and . Assume the supplied population Gram bound
For , require the deterministic sample gate
Form and report an empirical design failure if . Otherwise set
Then the probability that the routine succeeds and has error at most
uniformly over is at least . The reported design failure is included in this probability budget.
Proof. Write and . Boundedness of the response and its conditional mean gives and . For any Gram entry, the summands lie in . Hoeffding's inequality and a union over the entries give, with failure probability at most ,
Here . Since , the deterministic gate ensures on this event.
Independence of the pairs and the conditional mean-zero identity give a second Hoeffding bound. With failure probability at most ,
Indeed, every coordinate summand is centered and belongs to . On the intersection, the ordinary least-squares identity yields
Consequently the unprojected fitted mean has uniform error at most . Projection cannot increase its distance from a true mean in and also bounds that distance by . This proves (E.6); the two failure allocations sum to .
E.3 Uniform sparse regression
Lemma 5 (A bounded-response Lasso interface). Let be independent pairs with , and , where . Suppose the true parameter has at most nonzero coordinates and satisfies (5.3). Require only the deterministic design gate
and put
Choose a fixed measurable minimizer
(E.10)
No empirical compatibility check is performed. With probability at least , the routine has uniform error at most
All coordinates, including a constant feature if present, are penalized and counted in .
Proof. Use the Gram and score events (E.7)– (E.8). Their proofs do not use a population eigenvalue bound. On their intersection, the deterministic sample-size gate gives . For and any in its compatibility cone, and hence
This compatibility bound holds on the Gram concentration event without a support test.
Let . Optimality in (E.10) and give the basic inequality
Thus lies in the compatibility cone, and . Combining this upper bound with empirical compatibility gives
If , the basic inequality instead forces on the score event. In both cases, proves the claimed radius before clipping, and projection supplies the minimum with . The two failure allocations sum to , proving the uniform regression interface.
E.4 Calibration choices and the model-specific regrets
For write the respective mean radius as , where
Let and put
At the per-state, per-prefix confidence , . The scale radius in Appendix A therefore gives
Here is a deterministic calibration choice that accounts for every precision floor. The quantities on the right below are the settings of Appendix A. Define
The condition implies the mean, scale, pilot-forcing and localization precision gates: in particular and . Let be the deterministic sample gate in Lemma 4 or 5, and set
(E.13)
Then and . Thus the regression sample gate and all calibration precision gates pass. The remaining active-block and elapsed-horizon gates are still checked by the policy.
Proof of Corollaries 2 and 4. The statewise sampling argument above verifies the regression interface at failure level per state and prefix. Use the initialization quotas and smallest admissible from Corollary 1. Define the non-calibration remainder
Substitution of (E.12) into the finite master bound gives
The constant here depends only on the common dynamic and pricing bounds, not the displayed feature and sparsity factors. The target quota is at least and at most the sum of that quantity, and two. Consequently
This bound retains the cost of a sample or precision gate that exceeds the balancing quota.
For the fixed linear class, and are constant and . Thus calibration uses periods and its error radii tend to zero. The initialization budget is polylogarithmic, and . All fixed precision and total-budget gates therefore pass for large . Equation (E.14) proves Corollary 2 uniformly over the stated class bounds.
For the sparse class, the compatibility constant satisfies whenever the true support is nonempty: apply compatibility to a coordinate vector on that support. Under the valuation model a zero coefficient vector would give mean and is incompatible with positive variance and valuation support . Thus the nonempty case applies. It follows that , where depends on the fixed value, feature and scale bounds. The same order controls the deterministic sample and precision floors, up to logarithms. Using gives (5.5), with all displayed dependencies retained. If are fixed, the calibration budget is again and all gates eventually pass. This proves Corollary 4.
E.5 The fixed-dimensional linear lower bound
Proof of Theorem 2. We embed the lower-bound-normalized pricing experiment of Fan et al. (2026), retaining its full physical price interval. We first verify that one set of envelopes contains the entire embedded family.
Write . In the source construction, an auxiliary random variable has survival function
where is the source's fixed odd bump with , , and . The baseline is smooth, agrees exactly with on , and is within a fixed arbitrarily small of the uniform survival function on the real line. These properties, and the full- pricing lower bound for this family, are verified in the lower-bound construction of Fan et al. (2026). The bumps have disjoint supports and zero integrals. Hence
does not depend on . Let and . The identities for the first two moments of a bounded nonnegative variable give
after choosing the fixed constants small enough. In particular, one fixed positive scale interval contains every , uniformly over and .
For take the source's actual covariate distribution, uniform on . For , append independent Bernoulli coordinates, independent of the source experiment. Use the same covariate distribution in every state and set
where is uniform on . All innovations are independent. The noise now has mean zero and variance one, while the valuation is still . At it equals . Thus neither physical prices nor physical revenues have been translated or changed by standardization.
We check the pricing and deployment conditions explicitly. At the uniform baseline, the standardized noise survival function is on the relevant residual interval. Choose
The true baseline indices lie in . For , , and
The auxiliary residual for remains strictly in once the fixed moment perturbations are sufficiently small. On this interval the baseline tail is exactly linear. The disjoint-bump construction has uniform -Hölder bounds and first- and second-derivative perturbations at most for . It follows that, on the entire enlarged rectangle, the standardized objective has second derivative between two fixed negative constants, and its unique zero of the first derivative remains a fixed distance inside . Taylor's theorem gives both quadratic-growth bounds. The first-order equation is uniformly -Hölder with its action derivative bounded away from zero. For , the mean-value theorem gives a uniform Lipschitz root; for larger orders, implicit differentiation and the Taylor remainder give the corresponding -Hölder bound, as in the oracle-map regularity argument of Fan et al. (2026). This verifies Assumptions 1 and 2 with common envelopes.
The full-interval optimum must also be retained. In the local source coordinate , the uniform-tail revenue has optimizer . Outside , its revenue gap is at least : on the nonsaturated part this is the quadratic gap, and in the two saturated parts the gap is larger. Uniform closeness of to the uniform tail preserves a positive outside gap. On the objective is strictly concave by the preceding derivative bounds, and its first-order equation places the optimum within of . The full- optimizer is consequently unique. Its standardized residual lies strictly in , because the baseline residuals lie in .
Take the supplied coverage constant to be ; the constructed rows satisfy this conservative certificate. The choice below one does not force other members of the declared upper-bound class to have purchase-independent transitions. At the baseline, on , so, for example, is valid after reducing the fixed perturbations. Choose and scale bounds sufficiently close to that . This verifies Assumption 3 and the calibration-overlap clause in Assumption 5.
Because all states have identical pricing primitives, the reference relative value is and the true shadow is zero. The full-price optimum is inside the reference residual set with the verified margin, giving Assumption 4. Choose a fixed small shadow interval and then a fixed small error radius . At the baseline, all residual exploration prices and all prices lie strictly in ; the fitted indices, true residuals, and transformed oracle actions also have positive margins in their respective intervals. The same is true uniformly after small mean, scale and shadow perturbations, by continuity on these fixed compact intervals. Choosing once, small enough for these finitely many strict margins, proves Assumption 5. All selected constants are independent of and of the choice of .
It remains to check the linear design rather than merely smooth membership. For sufficiently large and . Therefore
The additional coordinates give with . For the intercept-augmented feature map, put . Then
Thus a common choice suffices. The coefficient vector selecting is fixed and one-sparse, so it belongs to a fixed affine-linear coefficient envelope. The changing finite covariate supports all belong to one horizon-independent class of distributions satisfying this Gram floor.
Finally, a static simulator can run any dynamic pricing policy by retaining the specified initial state and drawing each later state independently from . It also generates the additional coordinates. None of this extra randomization depends on . It supplies the resulting state and covariates to the policy, posts its chosen physical price, and returns the source purchase outcome. The observed transcript is exactly that of the constructed dynamic instance. As state labels do not affect valuations or transitions here, the dynamic finite-horizon oracle is the static contextual oracle in every period. The two regrets are therefore equal, for every adaptive policy and every . The source lower-bound theorem yields the asserted inequality.