Manuscript Offprint
arXiv:2611.02267Overcoming Demand Censoring through Randomization for Risk-Sensitive Newsvendor Learning
informs https://pubsonline.informs.org/journal/opre
OPERATIONS RESEARCH
Vol. 00, No. 0, XXXXX 0000, pp. 000–000 ISSN 0030-364X, EISSN 1526-5463
Submitted to Operations Research
Overcoming Demand Censoring through Randomization for Risk-Sensitive Newsvendor Learning
Zhengchao Wang
The University of Sydney, zhengchao.wang@sydney.edu.au
Nam Ho-Nguyen
The University of Sydney, nam.ho-nguyen@sydney.edu.au
Authors are encouraged to submit new papers to INFORMS journals by means of a style file template, which includes the journal title. However, use of a template does not certify that the paper has been accepted for publication in the named journal. INFORMS journal templates are for the exclusive purpose of submitting to an INFORMS journal and are not intended to be a true representation of the article's final published form. Use of this template to distribute papers in print or online or to submit papers to another non-INFORM publication is prohibited.
Abstract. We study online newsvendor learning with bounded demand, censored observations, and convex nonlinear shortage costs. Because stockouts can conceal the shortage magnitudes needed by gradient-based algorithms, we use randomized ordering to construct unbiased subgradient estimates. We characterize admissible randomization distributions within this framework and develop an online inventory policy that combines the resulting subgradient estimates with gradient-based updates. Our regret analysis quantifies the cost of randomization via the estimation variance and an additional loss term. We characterize the randomization distributions that minimize this objective. For piecewise-linear shortage costs, the optimal distribution is computed through a linear-time recursion; for costs with bounded curvature density, it is characterized by a scalar ordinary differential equation. The policy achieves expected regret of against the best fixed order in hindsight over periods. Under independent demand and suitable curvature of expected losses, the bound improves to . Matching minimax lower bounds establish rate optimality over the corresponding classes with a fixed marginal-cost bound. Both rates extend to nonperishable inventory under uniformly positive conditional expected demand. Numerical experiments on synthetic and retail data show improvements over alternative policies using censored observations.
Key words: Newsvendor; censored demand; lost sales; online convex optimization; regret; nonlinear shortage cost
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
The quality of an inventory decision depends on various factors such as the production cost, sales revenue, holding or disposal costs for unsold inventory, and penalties for unmet demand in case of an inventory shortage. While it is common to model shortage penalties as linear, in general the consequences of a shortage need not be proportional to the unmet demand. A small shortage may be absorbed through routine service recovery, whereas a severe shortage may require increasingly expensive fulfillment alternatives, incur escalating service penalties, or increase the risk of reputational harm. A nonlinear convex shortage penalty models this aspect of a risk-sensitive decision maker who is averse to large shortages.
This difference also changes what can be learned from sales. A gradient-based inventory policy adjusts orders using marginal loss information, which measures the effect of a small change in the order quantity. With a linear shortage cost, the marginal cost is constant whenever demand exceeds inventory, so the sales observation provides a valid subgradient even when demand is censored. With a nonlinear shortage cost, however, the marginal loss can depend on how much demand went unserved. Two demand realizations may therefore produce identical sales but imply different marginal costs. Censoring can thus hide the first-order information needed for learning, even though the inventory loss remains convex.
We study this information problem in a repeated newsvendor model with continuous quantities, a known demand bound, and known inventory costs. Our starting point is perishable inventory, with unsold units discarded at the end of each period and only sales observed. Demand may depend arbitrarily on the full past, including earlier orders and random draws, but is conditionally independent of the current period's order given that past. No stationary demand distribution is required although our developed algorithm works for independent stationary and nonstationary demands. Performance is measured by expected regret relative to the best fixed order in hindsight, evaluated on the same demand sequence.
We address the missing marginal loss information through randomization. The policy maintains a virtual order, which is the quantity updated by online gradient descent, and adds a randomized nonnegative amount to obtain the physical order placed in that period. The additional inventory can reveal information that would remain censored at the virtual order. Using the resulting sales and the known randomization distribution, we construct an unbiased subgradient estimate at the virtual order for each fixed demand realization. This estimate determines the next virtual order, without estimating a demand distribution. Loss and regret are evaluated at the physical order, so our analysis accounts for the inventory used to acquire information.
We consider estimators that use the exact subgradient when sales are strictly below the physical order quantity. When sales exhaust that quantity, the estimator uses a correction determined by the randomization distribution and evaluated at the realized additional inventory. Within this class, we establish necessary and sufficient conditions on the distribution for unbiased estimation of the loss subgradient at the virtual order for every fixed demand realization. We also derive an expression for the worst-case conditional variance, allowing us to compare estimation precision across randomization designs.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
3
The distribution of additional inventory also affects the operating loss. Thus, in each period, we choose the distribution to minimize the corresponding contribution to our regret bound: a weighted sum of the worst-case conditional variance and expected additional inventory. The optimal distribution depends on where and by how much the marginal shortage cost increases. For piecewise-linear shortage costs, an optimal distribution assigns probability only to zero and the feasible breakpoints, with probabilities computed by a linear-time forward-backward recursion. For shortage costs with a bounded curvature density, the optimal distribution is characterized by a scalar ordinary differential equation.
For general convex shortage costs, our randomized ordering policies achieve expected regret over periods under the adaptive demand model described above. A matching lower bound establishes minimax optimality over classes with a fixed upper bound on marginal shortage costs. This bound holds even under independent and identically distributed demand, showing that the learning difficulty persists even when demand is stationary. Under independent demand from distributions fixed in advance but allowed to vary across periods, the regret bound improves to when the expected losses are uniformly strongly convex, or when they share a minimizer and satisfy a uniform restricted secant inequality. Matching lower bounds establish minimax optimality over both structural classes with fixed curvature and marginal-cost bounds. When the shortage cost is linear, sales reveal the required subgradient, so additional inventory is unnecessary (Hihat et al. 2023, Huh and Rusmevichientong 2009). Our framework then recovers an regret guarantee under the adaptive demand model.
Our method extends to nonperishable inventory, where unsold units from a period can be kept to service demand in the next period. Inventory remaining from earlier periods may exceed the current randomized order-up-to target, preventing the policy from implementing that target exactly. We show how to recover the sales observations required by the estimator from actual sales and bound the additional cost of inventory held above the target. When expected demand conditional on the full past is uniformly bounded away from zero, the policy retains expected regret relative to the best fixed base-stock policy in hindsight. Under the same lower bound, the faster rate is also preserved when demands are independent across periods, and the expected losses satisfy either curvature condition stated above.
1.1. Related work
Inventory learning with censored demand. Research on censored-demand inventory control examines how ordering decisions affect both operating costs and subsequent learning. Bayesian studies investigate the value of information and its implications for ordering policies (Besbes et al. 2022, Ding et al. 2002, Lariviere and Porteus 1999, Lu et al. 2008). Nonparametric approaches instead learn inventory policies or demand distributions directly from sales observations (Bisi et al. 2015, Godfrey and Powell 2001, Huh et al. 2011b). Besbes and Muharremoglu (2013) show that, under their regularity conditions, censoring leaves the regret order unchanged for continuous demand, while a lost-sales indicator can improve learning rates
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
4
in the discrete-demand setting. Our setting raises a related question: whether sales reveal the marginal loss needed to improve an order when shortage costs are nonlinear.
Stochastic approximation and gradient-based policies provide a direct way to update inventory decisions (Huh and Rusmevichientong 2009, 2014, Kunnumkal and Topaloglu 2008). For the classical newsvendor loss with linear shortage costs, sales reveal a valid subgradient, which makes such updates possible without observing all demand. Other first-order frameworks accommodate more general losses by assuming access to the required subgradients. In particular, Hihat et al. (2023) study inventory optimization beyond the iid setting under subgradient feedback, including systems with inventory carryover. Our method uses online gradient descent (Zinkevich 2003), but constructs the subgradient estimates from sales and accounts for the inventory required to obtain them.
Nonstationary censored-demand learning is also studied by Lugosi et al. (2023), who use randomized exponential weighting over a finite set of inventory levels under linear overage and shortage costs. Their loss-estimation approach establishes guarantees without a stationary demand model. We consider continuous inventory quantities and nonlinear shortage costs, for which sales may conceal the marginal information available in the linear model. Related work addresses capacity constraints (Shi et al. 2016), finite shelf lives (Zhang et al. 2018), and replenishment lead times (Lyu et al. 2024, Zhang et al. 2020); these studies address operational constraints that are complementary to the information problem considered here.
Inventory models with nonlinear costs. Kyparisis and Koulamas (2018) characterize optimal pricing and inventory decisions in a newsvendor model with nonlinear salvage revenue and shortage costs. Huh et al. (2011a) establish conditions for the optimality of base-stock policies in backorder systems with penalties depending on backlog quantities and customer waiting times. Sillanpää et al. (2021) study procurement contracts with piecewise-linear shortage costs that assign higher marginal costs to larger shortages. These studies analyze how richer cost structures affect optimal decisions under specified demand models. They do not address the sequential learning problem that arises when sales observations hide the shortage amount and hence the marginal loss.
Yang and Shi (2023) directly address this problem for integer-valued demand and inventory under iid demand from an unknown distribution. Their policy separates learning and optimization: designated learning periods use elevated inventory levels to estimate a truncated demand distribution, and intervening periods choose inventory levels using that estimate. They establish regret of order up to logarithmic factors, together with a lower bound having the same horizon exponent. Our policy instead estimates marginal losses through randomized additional inventory in each period, and its general regret guarantee holds under the demand model described above. The decision and demand assumptions also differ: our quantities are continuous and demand has a known finite bound, whereas their analysis allows unbounded integer-valued demand under additional restrictions. Continuous quantities require a separate lower-bound argument, because intermediate orders can sometimes acquire information at arbitrarily small additional
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
5
cost. Our lower-bound construction rules out such inexpensive information acquisition and establishes the lower bound for continuous orders. Under independent demand, the expected-loss curvature conditions further identify settings in which our regret rate improves to .
Randomization and information acquisition. Randomization has several roles in operations and optimization. The “Dice”-sion framework of Delage et al. (2019), randomized assortment optimization of Wang et al. (2024), and randomized robust pricing of Guan and Mišić (2026) examine its value under risk or distributional ambiguity. In sequential learning, randomized decisions also acquire information, as in dynamic pricing and revenue management (Ferreira et al. 2018, Nambiar et al. 2019) and Thompson sampling for the repeated newsvendor problem (Chen et al. 2026). Optimizing sampling allocations is also central to pure exploration, where the objective is accurate identification rather than cumulative operating performance (Qin and You 2026, Russo 2020).
The closest connection to our estimator construction is the comparison-based stochastic optimization framework of Chen et al. (2020). They construct unbiased gradient estimates by comparing a sample with the current decision, then drawing an auxiliary point based on this result for a second comparison with the same sample. They optimize sampling densities to reduce the estimator’s second moment, with loss evaluated at the original decision. However, the two-comparison approach cannot be applied to newsvendor problems in general, since we typically only observe censored demand once in each period. Our method circumvents this by constructing a subgradient estimate from this one observation. Because the physical order also determines the operating loss, our distribution design balances estimation variance with a bound on the loss increase from additional inventory.
More broadly, the choice of an exploration distribution can be guided by its contribution to learning performance. Information-directed sampling balances immediate regret against information acquisition (Russo and Van Roy 2018), while exploration by optimization jointly designs exploration distributions and loss estimators through a regret-bound objective (Lattimore and Szepesvári 2020). Our distribution-design problem follows this principle, with the cost of information determined by the physical inventory decision.
Organization. Section 2 presents the inventory model and randomized learning method, and Section 3 develops the distribution-design results. Section 4 establishes the regret bounds and lower bounds and treats nonperishable inventory. Section 5 evaluates the methods using simulated demand and recorded retail sales, and Section 6 concludes.
Notation. We use tildes for scalar quantities that may be random, such as demand and orders . The corresponding untilded symbols denote realizations or generic values, and the subscript indexes periods. We write and use for the indicator function.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
2. Model and learning via randomization
2.1. Inventory model and regret
We consider a perishable-inventory problem over a fixed horizon of periods, with unsold inventory discarded at the end of each period. (The extension to nonperishable inventory will be discussed in Section 4.4.) Let be a known upper bound on both demand and order quantities. In each period , the decision maker chooses an order quantity before demand is realized. The decision maker observes only sales, . If , demand is revealed exactly; if , it reveals only that demand is at least the order quantity. For the rest of this subsection we may consider a generic stochastic demand sequence that may or may not be adaptive to the ordering policy; we will clarify its assumptions in Section 2.2.
Let denote the per-unit purchase cost, the selling price, and the per-unit disposal cost, with . A shortage of units incurs a penalty . This penalty need not represent a direct monetary payment: it may capture emergency procurement, service-level violations, or damage to customer relationships. The “profit” from an order at demand , net of the shortage penalty, is . Define and . Rearranging the profit expression gives , where
We interpret as the loss from ordering when demand is : it measures the profit shortfall relative to the maximum possible profit . The excess-inventory cost includes purchase and disposal costs, while the shortage cost combines the forgone sales profit with the additional shortage penalty. We formally describe assumptions on in Section 2.2. Because the benchmark is independent of the order quantity, maximizing cumulative profit is equivalent to minimizing cumulative loss on the same demand sequence.
We evaluate a policy by its expected regret , where
The comparator is the best fixed order in hindsight, selected after observing the realized demand sequence. Both the policy and the comparator are evaluated on this same sequence. The expectation is over the policy's randomization and, when demand is random, the demand sequence. This criterion is at least as stringent as pseudo-regret, , which compares the policy with a fixed order minimizing expected cumulative loss.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
7
2.2. Virtual orders, randomization and dependence
We seek to learn order quantities directly from sales to minimize the expected regret , without first estimating a demand distribution. Our starting point is projected online gradient descent (Zinkevich 2003), which adjusts orders using subgradients of the inventory loss. The algorithm maintains an order target . If demand were fully observed, we would start from a specified , implement this target directly as , and use the observed demand to update . Here is a selected subgradient of the loss at inventory level with demand , is the step size, and projects the update onto the feasible interval.
We now introduce the following convex structure on our losses via the shortage cost ; see Eq. (1).
ASSUMPTION 1. The function is continuous, convex, and nondecreasing, with . Its right derivative is finite for every , and the endpoint limit is finite. Write for and for the marginal shortage cost.
Allowing to be nonlinear and convex captures increasing marginal consequences of shortages, representing aversion to large shortages. With censored sales, however, the subgradient needed for this update may be unavailable. To see what is missing, fix an order target and demand , and suppose that we order and observe sales . Consider the following choice of subgradient:
(3)
where is the marginal shortage cost and is its increase relative to . Sales determine the first two terms in the final expression. When , demand is observed as , and the subgradient equals . When , we know only that , so the shortage amount and the corresponding correction may remain unknown.
One possible method is to use whenever , effectively setting the missing correction to zero. For the convex shortage costs considered here, this value need not be a valid subgradient of at , and using it can lead to linear regret. For example, let , , and , with in every period. Start the projected update at , place , and use the subgradient estimate whenever . Because , every update leaves the order unchanged, so for all , regardless of the positive step sizes. The true derivative at is , so zero is not a valid subgradient. The policy incurs per period, whereas the fixed order incurs zero loss, giving regret .
Our aim is therefore to construct unbiased subgradient estimates while controlling the additional inventory used to obtain information. We propose to use random additional inventory to estimate the loss subgradient at the current order target. Let denote the target updated by the learning algorithm, which we
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
call the virtual order. Using the observed history, choose a distribution supported on , draw additional inventory , and place the physical order . The physical order determines sales and operating loss, while the resulting sales are used to estimate the loss subgradient at the virtual order.
Before introducing our methods to choose , we clarify the dependence structure between our variables and the demand sequence. To do so, we introduce the following notation.
DEFINITION 1. Fix a time period . Let be the sigma-algebra generated by the full history prior to , and let be the sigma-algebra generated by the policy's randomization and observed sales. Let be a collection of standard uniform random variables. Define and .
The are seed random variables introduced to allow for potential randomness in and from choosing a distribution based on the relevant histories, and then simulating the randomness with and respectively. For our dependence structure, we will assume the following.
ASSUMPTION 2. For each , the sigma-algebras , , and are mutually independent. Furthermore, for each , is -measurable, is -measurable, and is -measurable. Consequently, the variables , , and are mutually independent conditional on . Indeed, is determined by this history, while and depend on independent fresh seeds.
As a refinement of Assumption 2, we also consider independent demand: for each , is independent of the full history and has distribution , fixed before the first period. These distributions may vary with ; independent and identically distributed demand is the special case for all .
2.3. Admissible randomization
Having established the appropriate dependence structure, we now describe how to construct a useful sub-gradient estimate by specifying . Fix a period ; for convenience we will suppress the time index. Then is the virtual order, is the randomized additional inventory, is the physical order, is demand, and is the observed sales quantity. When , demand is revealed since , allowing us to evaluate the exact subgradient . When , we have , so, according to Eq. (3), the required subgradient is . We retain the known term and replace the potentially unobserved correction by . Define
We seek a correction such that for every fixed demand , where the expectation is over with the history, , and held fixed. If , this requirement holds automatically because demand is always revealed and the estimator equals . For , let
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
9
and let be the distribution function. Demand is revealed when , whereas inventory is exhausted when . Since the estimator in Eq. (4) contains the same baseline in either case, unbiasedness of requires recovering in expectation. The event on which demand is revealed contributes toward this correction, so the stockout event must supply the remaining . Thus, unbiasedness for every demand is equivalent to
The same correction , chosen without knowing , must satisfy this identity for every possible shortage . To ensure Assumption 2 holds, we choose and using only the observed history , then sample using a fresh independent uniform seed .
However, not every distribution admits such a correction. The next theorem shows that an unbiased correction exists exactly when a curvature measure defined below is absolutely continuous with respect to . The correction equals plus the corresponding Radon–Nikodym derivative. Since is convex, the marginal shortage cost is nondecreasing. We describe its increases using the finite nonnegative Lebesgue–Stieltjes curvature measure induced by , which is specified by and for , so . The curvature measure records both jumps and continuous increases in marginal shortage cost. Write for and set . In the theorem, denotes absolute continuity of measures, and the derivative in Eq. (6) is a Radon–Nikodym derivative.
THEOREM 1. Fix and a probability distribution supported on . There exists a correction for which the estimator in Eq. (4) is unbiased for for every fixed demand if and only if on . When this condition holds, the correction is unique -almost surely and is given on by
with . Write . Then for every fixed demand. If, in addition, , the conditional variance of is nondecreasing in , and its worst-case value is
The proof is given in Appendix A. The absolute-continuity condition requires whenever , for every Borel set . In particular, if marginal shortage cost jumps at and assigns positive probability below , then must also assign positive probability to .
We call a randomization distribution admissible if it satisfies the condition in Theorem 1 and , and denote the class of such distributions on by . This class is nonempty: the distribution , where denotes the point mass at , is admissible and implements the physical order with probability one. For this choice, and the conditional variance is zero.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
Algorithm 1 Online stochastic gradient descent with randomized ordering
Require: A deterministic initial virtual order and a deterministic, positive, nonincreasing step-size sequence .
1: for do
2: Choose an -measurable randomization distribution .
3: Sample additional inventory using a fresh independent random seed .
4: Place the physical order and observe sales .
5: Compute using Eq. (4) with from Eq. (6).
6: Update .
7: end for
We now use these estimators in the sequential ordering policy specified in Algorithm 1, which ensures that Assumption 2 holds. In particular, is independent of conditional on the history . Theorem 1 therefore gives and almost surely. The distribution determines both the estimator's worst-case conditional variance and expected additional inventory for period . In Section 3 we describe how to select to minimize the weighted sum of these quantities that appears in the regret bound.
3. Optimizing randomization distributions
3.1. Regret bound and distribution selection
Algorithm 1 permits any -measurable admissible distribution of additional inventory in each period. The additional inventory is added to the virtual order , giving the physical order . Choosing therefore affects both the variance of the subgradient estimator and the inventory actually ordered. We hence choose to minimize their combined contribution to the regret bound.
To account for the physical order, we compare its loss with the loss at the virtual order. Adding units gives for and , because the excess-inventory cost increases by at most while the shortage cost cannot increase. Let , so the exact subgradient satisfies for every . This bound applies to the exact subgradient; the subgradient estimates need not be bounded by . Combining the loss-increase bound with the projected-gradient analysis at the virtual orders gives the following result.
PROPOSITION 1. Let the step sizes be deterministic, positive, and nonincreasing. Under the demand conditions in Assumption 2 and the sampling rule in Algorithm 1, the policy's expected regret satisfies the following bound for every admissible sequence of randomization distributions:
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
11
Both expectations are taken over the policy's randomization and any randomness in demand.
The proof is given in Appendix B.1. It combines a standard regret bound for the virtual orders with a martingale difference argument to account for stochastic gradients. These contribute the first two terms as well as the first term of the final sum. The second term in the final sum is the contribution from using the physical order instead of .
To choose the distribution for the current period, condition on the observed history and denote the current virtual order and step size by and . Although affects subsequent virtual orders, we select it by minimizing only its current-period contribution to the regret bound. This results in the following optimization problem: for an admissible distribution , define the one-period objective and its infimum by
To solve this problem, we first identify where needs to place its support to minimize . Recall that the curvature measure records increases in marginal shortage cost, and its support identifies points around which these increases occur. The next lemma shows that it is sufficient to consider supported on . Here denotes the restriction of to , and denotes the closed support of a measure.
LEMMA 1. Fix , and set . For every , there is a distribution supported on such that and . The second inequality is strict whenever .
The proof in Appendix B.1 moves the probability assigned to each additional inventory to the largest point of not exceeding and averages the corrections for quantities moved to the same point. This reassignment cannot increase expected additional inventory, and conditional averaging cannot increase the correction's second moment. Because , Lemma 1 implies that every optimizer of the one-period objective in Eq. (9) is supported on .
3.2. Piecewise-linear shortage costs
Fix a virtual order and step size . For a convex piecewise-linear shortage cost , let be its breakpoints in the feasible range of additional inventory, and let be the jump in marginal shortage cost at . The curvature measure on this range is . Write and for , with . If , then is optimal with objective value zero, so no additional inventory is needed. Hence, we assume below that .
By Lemma 1, it suffices to choose probabilities on . Selecting the additional inventory means placing the physical order . For , let be the probability of
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
adding at most units. The probability of adding exactly units is , with and for . Thus is the probability of placing the virtual order without additional inventory, and .
Admissibility restricts how these probabilities can be assigned. At a breakpoint with , Eq. (6) gives . If , the condition requires , or equivalently . Conversely, imposing this condition at every breakpoint with zero probability ensures admissibility on the finite support. Thus an initial set of breakpoints may receive zero probability, but once positive probability is assigned below a breakpoint, that breakpoint must also receive positive probability.
In these variables, the variance is , with each term satisfying interpreted as zero; the expansion is given in Appendix B.2. Using and , the optimization problem in Eq. (9) becomes the finite convex program
We interpret the quotient as zero when and as when . This is the lower-semicontinuous extension of the quadratic-over-linear term; it preserves convexity and excludes inadmissible probability choices. The next theorem solves the problem in Eq. (10) in two passes through the ordered breakpoints: a forward pass computes scalar quantities, and a backward pass recovers the cumulative probabilities. In Sections 3.2 and 3.3, we suppress the dependence of optimal distributions and their cumulative distribution functions on .
THEOREM 2. For , define the forward recursion as follows.
Starting from , define for , and let assign mass to zero and mass to . Then uniquely solves Eq. (10), and the associated distribution uniquely minimizes over , with . Whenever , its correction is . The forward and backward passes require arithmetic operations.
The proof is given in Appendix B.2. Since and for every , the backward pass produces nondecreasing cumulative probabilities. To implement the rule at a given virtual order and step size, retain the breakpoints of in and execute the two passes. The operation count applies once the breakpoints are ordered and their marginal-cost jumps are available.
For a single breakpoint with marginal-cost jump , let be the probability of adding u units to the virtual order, with the remaining probability assigned to no additional inventory.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
13
When , the subgradient estimator equals with probability and otherwise, giving the worst-case conditional variance . The one-period objective is therefore , with minimizer .
Holding the other parameters fixed, the optimal probability is nondecreasing in the marginal-cost jump . For a fixed , the estimator variance grows quadratically with , so a larger jump increases the benefit of ordering more frequently to reduce this variance. By contrast, a larger additional inventory increases the term , which bounds the expected loss increase from additional inventory, without changing the worst-case variance at a fixed . The optimal probability is therefore nonincreasing in , balancing the benefit of more accurate subgradient estimates against the bound on the expected loss increase from additional inventory.
With , , and fixed, the optimal probability is also nonincreasing as the step size decreases, and decreases strictly once it is below one. A smaller step size reduces the weight on estimator variance in the regret bound, while leaving the additional-inventory term unchanged for a fixed . Consequently, reducing variance becomes less valuable relative to reducing additional inventory, and the optimal rule orders the additional inventory less frequently, accepting higher estimator variance.
3.3. Absolutely continuous marginal shortage costs
We now solve the same distribution-selection problem when marginal shortage cost changes continuously rather than through discrete jumps. Specifically, assume that is absolutely continuous with nonnegative almost everywhere. The optimization still ranges over all admissible distributions, including those that assign positive probability to zero additional inventory. In this case, we construct the optimal distribution from an auxiliary function defined by a scalar ordinary differential equation (ODE). Its argument denotes an additional-inventory level, not a time period. For , consider the ODE
The differential equation is required to hold almost everywhere on .
LEMMA 2. Suppose that is absolutely continuous with nonnegative almost everywhere. For every , Eq. (12) has a unique nonnegative absolutely continuous solution on . It satisfies for , and is integrable on .
The proof is given in Appendix B.3. These properties allow us to recover the optimal cumulative distribution function from .
THEOREM 3. Fix and . Under the assumptions of this subsection, the unique minimizer of Eq. (9) has cumulative distribution function
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
It has an atom of size at zero and an absolutely continuous component on . Choose ; for , its correction is . The optimal value is . For , the unique feasible distribution is and the same value formula holds.
The proof in Appendix B.3 obtains a lower bound on the one-period objective in Eq. (9) by completing the square. An admissible distribution attains this bound precisely when holds -almost surely. Together with Eq. (6) and the normalization , this condition determines the optimal cumulative distribution function in Eq. (13). By Lemma 2, the integral defining is finite, so the optimal distribution assigns positive probability to zero additional inventory. For a fixed step size , the ODE needs to be solved only once on , since changing the virtual order changes only the upper integration limit in the cumulative distribution function.
Equation (12) can be approximated numerically using a backward Euler scheme (Hairer and Wanner 1996); Appendix B.3 provides the construction and error analysis. For fixed and problem parameters, this scheme approximates uniformly on to within using grid intervals. Substituting the resulting approximation into the distribution and correction formulas in Theorem 3, while retaining the original shortage cost, yields an admissible distribution whose one-period objective value is at most above the optimum. This objective error can be easily included in the allowance in the subsequent regret analysis.
For some shortage costs, the ODE solution itself has a simpler representation, allowing the distribution to be evaluated without approximation. For a quadratic shortage cost, the construction reduces to a single scalar equation, as the following example shows.
EXAMPLE 1. Suppose , where and . Then , , and . For , let be the unique solution of . A direct differentiation shows that solves Eq. (12). Therefore, Theorem 3 gives, for ,
Since , the probability of ordering without additional inventory is .
4. Regret guarantees and minimax optimality
Section 3 selects the distribution of additional inventory for a given virtual order and step size. We now use the resulting one-period bounds to choose step sizes and control cumulative regret. Under Assumption 1, the policy achieves expected regret for adaptive demand and its special cases such as stationary or nonstationary independent demand. Under independent demand, the rate improves to when
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
15
the expected losses are uniformly strongly convex, or when they share a minimizer and satisfy a uniform restricted secant inequality around it. Matching lower bounds establish that neither rate can be improved over its corresponding class with a fixed marginal-cost bound, even under iid demand. These lower bounds apply to all nonanticipating policies that observe only orders and sales, not just Algorithm 1. We then give sufficient conditions for the faster rate and extend the analysis to nonperishable inventory.
4.1. Distribution-free regret and the general minimax rate
The distributions in Section 3 depend on the shortage cost, the virtual order, and the step size, but their one-period objective values can be bounded in a common way. To express this bound, define and . The square-root weight arises from balancing estimator variance against the bound on the expected loss increase from additional inventory in Eq. (9). Both quantities are finite under Assumption 1, and we call the curvature index. They weight increases in marginal shortage cost by the square root of the additional inventory level needed to reach each shortage threshold. The first quantity uses the feasible range of additional inventory at x, while the second gives a bound common to all virtual orders. The next theorem converts this one-period bound into cumulative regret and allows a nonnegative additive allowance above the analytic one-period bound in each period.
THEOREM 4. Under Assumption 1, for every and ,
Let be deterministic, positive, and nonincreasing, and let be deterministic and nonnegative. In Algorithm 1, suppose that the distributions are -measurable and satisfy almost surely in every period. Let be any demand process supported on , and suppose that are sampled as described in Section 2.3 so that Assumption 2 holds. Then the expected regret of Algorithm 1, relative to the best fixed order evaluated on the realized demand sequence, satisfies
The expectation is taken over the policy's randomization and any randomness in demand. In particular, with any gives expected regret whenever .
The proof is given in Appendix C.1 and is divided into two steps. Lemma 3 first constructs an admissible distribution for every finite curvature measure, including measures with both atomic and nonatomic parts, and establishes Eq. (14). Substituting the one-period bound into Proposition 1 gives Eq. (15). The allowance bounds any excess of the one-period objective over the analytic bound in Eq. (14). An -optimal solution of Eq. (9) satisfies this requirement, but need not equal the gap to the optimum. It can also account for the objective error introduced by numerically approximating Eq. (12), as discussed above.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
The step-size schedule balances the terms and , both of which have order , while has order . This schedule does not require advance knowledge of . The guarantee does not require demand to be independent or stationary across periods. It applies to fixed demand sequences and adaptive demand whose conditional distribution may depend on the full past, provided current demand and the additional-inventory draw are conditionally independent given that past.
The same bound shows that the amount of additional inventory used for learning declines on average. The term bounds the expected loss increase from additional inventory. Since both terms in are nonnegative, , and hence
Under the schedule and , the expected average additional inventory is . Since additional inventory is nonnegative, its time average therefore converges to zero in . If also , the one-period bound gives in . These statements concern the additional inventory added to the virtual order, not the probability of adding any inventory.
When , the shortage cost is linear and the selected subgradient is observable without additional inventory. Taking in every period and in Proposition 1 then gives an expected regret bound for fixed or adaptive demand under the same conditions.
We next consider whether the rate can also be improved uniformly over general convex shortage costs. To resolve this, it suffices to establish a matching lower bound under iid demand, a special case of the demand environments in Assumption 2 covered by the upper bound. Fix a marginal-cost bound and let be the class of pairs such that satisfies Assumption 1, , and is a demand distribution on . Within each instance, demands are drawn independently from , and the policy knows but not . For fixed , Theorem 4 gives a uniform upper bound over .
We prove the lower bound for pseudo-regret, which compares the policy with the fixed order minimizing expected loss under , rather than the best fixed order chosen after observing the demand sequence. As discussed in Section 2.1, expected hindsight regret is at least as large: for every policy and instance ,
A matching lower bound on the right-hand side therefore establishes rate optimality for the original regret criterion, as stated in the next theorem.
THEOREM 5. Fix . Under iid demand, for every ,
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
17
where the infimum is over all nonanticipating policies that know the shortage cost and observe only orders and sales. There is a fixed piecewise-linear shortage cost, independent of and satisfying , for which the same lower bound holds when the supremum is taken only over .
The statement for a fixed shortage cost highlights the difficulty of distinguishing demand distributions from censored sales, even when the shortage cost is fixed and known. We prove this result using a construction that is closely related to that of Yang and Shi (2023). However, their lower-bound argument for integer orders does not apply directly to the continuous-order extension of their instance: continuous orders can reveal the same demand information as their computed larger integer order while incurring arbitrarily small additional expected loss under one of the demand distributions. Our construction rules out such low-cost information acquisition and establishes the lower bound over the full continuous decision interval. Furthermore, our construction can be adapted to certify rate-optimality in more structured settings; see Section 4.2.
To establish this property, we begin with the normalized instance and . Define the piecewise-linear shortage cost , where
For and , consider the demand distribution
Relative to the reference distribution with masses , transfers probability from demand two to demand three, while transfers the same amount in the opposite direction. Their expected losses are minimized at and , respectively. Yet every order produces the same sales distribution under both demand laws, because demands two and three both exhaust the available inventory. Only orders above two distinguish the two instances, and each such order has expected loss bounded away from the minimum expected loss.
The policy therefore faces a choice between acquiring information at an operating cost and continuing to order without distinguishing the demand laws. Obtaining sufficiently many informative observations incurs regret of order ; otherwise, choosing the wrong order region incurs regret of order . Balancing these terms with gives the lower bound. Detailed arguments and the extension to arbitrary are provided in Appendix C.1.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
4.2. Faster regret under expected-loss curvature
The general lower bound does not rule out faster learning when the expected losses have additional structure. In this subsection, suppose demands are independent, with , where the distributions are fixed before the first period but need not be identical. Define the expected loss and its selected subgradient . Let minimize cumulative expected loss. This deterministic order is used only in the analysis; the regret benchmark remains the best fixed order on the realized demand sequence. Under iid demand, we write and .
Under independent demand, the next theorem gives two alternative conditions on the expected losses under which Algorithm 1 achieves expected regret. The first requires each expected loss to be uniformly strongly convex. The second requires the expected losses to share a minimizer and satisfy a restricted secant inequality around it. This inequality ensures that, away from the common minimizer, the negative expected subgradient points toward it and has magnitude at least proportional to the distance. Unlike strong convexity, this condition compares each order only with the common minimizer, rather than imposing a curvature bound between every pair of orders. Under iid demand, the common-minimizer requirement is automatic, but the restricted secant inequality must still hold.
THEOREM 6. Under Assumption 1, suppose demands are independent and, for a constant , one of the following conditions holds.
(i) Each expected loss is -strongly convex on , so that for .
(ii) The expected losses , have a common minimizer , and their selected subgradients satisfy the restricted secant inequality
Set in case (i) and in case (ii). Fix , choose , and in each period of Algorithm 1 choose satisfying almost surely, where is deterministic. Then
The expectation is over demand and the policy's randomization. In particular, the expected regret is whenever .
To see where the improvement comes from, first compare the policy with the order minimizing cumulative expected loss. Both conditions strengthen the usual subgradient inequality to
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
19
In case (i), this follows directly from strong convexity. In case (ii), it follows from taking and averaging the convexity bound with , which follows from Eq. (18). The negative squared-distance term makes the comparison tighter whenever the virtual order differs from .
With this comparison established, we follow the standard projected stochastic subgradient argument, using the squared-distance analysis for strongly convex online losses (Hazan et al. 2007). Writing , we apply the additional-inventory bound to obtain
With , we have for , so the coefficients of cancel when these terms are summed. Their combined sum is , leaving an upper bound that does not grow with . The cumulative contribution is . Since it is assumed that and , this term contributes at most over the horizon. Combining the three contributions and dividing by bounds cumulative expected loss relative to by . The analysis also shows that estimator variance and additional inventory account for the term, while the remaining terms are bounded or grow logarithmically in .
This argument bounds expected loss relative to , but the best fixed order selected after observing demand can incur a smaller cumulative loss. Expected hindsight regret therefore also includes the advantage of selecting the comparator after demand is observed: . Curvature makes departures from costly in expected loss, while independence and bounded marginal losses limit the random fluctuations that can make another order preferable on a realized demand sequence. Lemma 6 uses these properties to show that , independently of . Adding this constant gives Eq. (19), so the faster rate holds for the original hindsight regret, not only for pseudo-regret. The full argument is given in Appendix C.2.
We next show that the dependence cannot be improved uniformly over either class in Theorem 6. Fix and let denote either the class of independent-demand instances satisfying condition (i) or the class satisfying condition (ii), in each case under Assumption 1 and . Policies know and the supplied lower bound , but not the demand distributions.
THEOREM 7. Fix . For either structural class and every ,
The infimum is over all nonanticipating policies that observe only orders and sales. In particular, the lower bound holds under iid demand for a fixed quadratic shortage cost independent of , whose expected losses satisfy both conditions in Theorem 6.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
The proof uses the same pair of demand distributions and statistical-testing argument as Theorem 5, with the shortage cost replaced by in the normalized instance. Obtaining enough informative observations still incurs regret of order , but the loss from choosing the wrong order region is now of order rather than . Balancing these terms gives the lower bound.
For , rescaling the construction and setting yields the lower bound . For larger , the construction is translated to , where , and uses . Orders below can be replaced by without increasing loss or removing information. This reduction preserves the lower bound while ensuring the required strong-convexity constant over the full decision interval. The details are given in Appendix C.2.
4.3. Sufficient conditions from shortage costs and demand
To apply the faster regret guarantee, we need conditions on the shortage cost and demand that ensure the required structure of the expected losses. Strong convexity of alone is insufficient, because the realized loss is affine in the order quantity whenever . For example, if for some , then on , so cannot be strongly convex on the entire interval . The next proposition gives sufficient conditions that are easy to verify.
PROPOSITION 2. Suppose demands are independent and satisfies Assumption 1. The following conditions imply the corresponding structure in Theorem 6.
(i) Suppose there is a constant such that for , and . Then each is -strongly convex on .
(ii) Suppose the absolutely continuous component of each has a density satisfying for almost every , uniformly in . Then each is -strongly convex on . The distributions may also have atoms or singular continuous components.
(iii) Suppose the slope condition in part (i) holds, and the expected losses share a minimizer . If there is with , then Eq. (18) holds with .
Parts (i) and (ii) obtain strong convexity in different ways. In part (i), demand equals with probability at least , contributing the strongly convex loss over the full decision interval. All remaining demand realizations contribute convex losses, so taking expectations retains a uniform strong-convexity bound. Part (ii) instead uses demand mass between order levels: for , we have . The density lower bound makes the expected subgradient increase at least linearly with the order quantity, even when neither nor is smooth.
Part (iii) does not require global strong convexity. Demand above b provides sufficient curvature on , which contains the common minimizer, and monotonicity of the expected subgradient extends the restricted
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
21
secant inequality beyond . The argument also permits the boundary minimizer and does not require . The proofs of all three parts are given in Appendix C.3.
The constants in the proposition also provide the lower bound on needed for the step-size schedule in Theorem 6. Exact knowledge of the demand distributions or the common minimizer is unnecessary when suitable uniform bounds are available. For example, a tail bound and a positive separation with allow the choice . These bounds are supplied as properties of the assumed demand family, rather than estimated by the algorithm from censored sales. The distinction is that the shortage cost determines which marginal-cost information censoring may hide, while the shortage cost and demand together determine whether the expected losses support the faster rate.
4.4. Extension to nonperishable inventory
We now allow unsold inventory to carry forward rather than being discarded at the end of each period. Let denote the per-unit holding cost, while the purchase cost , selling price , and shortage penalty remain as defined in Section 2.1. Let denote inventory carried into period and the quantity purchased before demand, so that is the total available inventory. Thus now denotes available inventory, while denotes purchases; the two coincide in the perishable setting. Sales remain , with . Starting from , inventory evolves as for . Since inventory cannot be discarded or returned, the feasible stock levels satisfy . Thus, previous decisions and demand now restrict the stock levels available in subsequent periods.
The period profit, net of the shortage penalty, is . Define , where is unchanged. Using the inventory-balance identity gives
For two policies evaluated on the same realized demand sequence, the demand-only term cancels, so their cumulative profit difference is the negative of the difference between their bracketed losses. The period loss retains the form of Eq. (1), with replacing . With no terminal salvage credit, the additional term accounts for the purchase cost of inventory remaining at the end of the horizon.
For comparison, we use the fixed base-stock policy class considered in Hihat et al. (2023), Huh and Rusmevichientong (2009). Each comparator is evaluated on the same realized demand sequence as the learning policy. This policy starts from empty inventory and replenishes its own inventory to a fixed level before demand realization in every period. Its cumulative period loss is , and its terminal inventory is . Regret against the best fixed base-stock level in hindsight is therefore
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
Both policies' terminal inventories lie in , so including the terminal terms changes regret by at most and does not affect its rate.
Since the period loss retains the same form as in the perishable case, the main difficulty in applying Algorithm 1 comes from the inventory constraint. In the perishable setting, the randomized target is implemented by purchasing that quantity at the start of the period. With carryover , reaching the same target is infeasible when . We therefore retain the randomized target but purchase only the amount needed to reach it, placing no order when carryover already exceeds it. Specifically, choose using the observed history, draw according to the sampling rule in Algorithm 1, and purchase . The resulting stock is , which satisfies . When this stock exceeds the randomized target , we must account for the difference both in the observations supplied to the subgradient estimator and in the loss entering regret.
First, the estimator requires sales censored at the randomized target, whereas actual sales are censored at the available stock. Since , we can recover the required observation by defining the synthetic sales . The first expression uses only observed quantities, and the equality shows that these are exactly the sales that would have been observed at the randomized target. Let denote the estimator in Theorem 1 with in place of . Because is unchanged, the admissible distributions , corrections , and variance bounds are unchanged. We compute and update . By Theorem 1, conditional on and current demand , this estimate is unbiased for the selected subgradient of and has variance at most . The virtual order can therefore be updated as before, while the replenishment rule separately enforces physical feasibility.
Second, recovering the correct feedback does not remove the loss incurred by stock held above the target. The preceding regret analysis controls losses at the randomized targets, giving bounds on the corresponding perishable comparison
Thus is regret evaluated at the randomized targets, with no carryover or terminal term. These bounds apply under their respective assumptions, with in place of and in place of . Actual losses, however, are evaluated at , which may exceed . Write for the inventory held above the target. This additional stock cannot increase shortage loss, and its additional holding loss is at most . Hence , and the regret comparison gives
It remains to bound the cumulative inventory held above the randomized targets.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
23
Recall that . The inventory dynamics give
The first equality follows from and . The inequality uses the nonnegativity of and , which follows from .
The term bounds the excess inventory created when the virtual order decreases, while is the excess remaining after demand. The following proposition uses a uniform positive lower bound on the conditional mean of demand to ensure that demand reduces excess inventory in expectation, allowing demand to depend on the full past.
PROPOSITION 3. Consider the nonperishable case starting from with deterministic step sizes . Suppose that and are conditionally independent given and that, for some constant , demand satisfies and almost surely in every period. Then, for every ,
The proof is given in Appendix C.4. Conditional independence of and given implies . Thus, the lower bound on conditional expected demand remains valid after conditioning on the current inventory increment. This allows us to bound the expected cumulative inventory held above the randomized targets in terms of the expected total randomization increments and the cumulative step sizes. Both quantities are controlled by the preceding regret analysis. Combining these bounds yields regret guarantees for the nonperishable implementation of Algorithm 1. Specifically, under the assumptions of Proposition 3, choosing with and selecting as in Theorem 4 gives expected regret whenever . If demands are also independent and the expected losses associated with satisfy either curvature condition in Theorem 6, the step sizes and distribution choices in that theorem give expected regret whenever . Thus, under the stated assumptions, inventory carryover changes the regret bounds but not their rates.
5. Numerical studies
We evaluate the proposed policy against alternative policies using synthetic demand and real data. The synthetic experiments provide controlled comparisons under stationary demand and gradual distributional drift. In the real-data experiments, recorded sales serve as demand inputs, and each policy's censored observations are generated from those inputs without fitting a demand model.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
5.1. Common experimental settings
All experiments use the perishable inventory model in Section 2, with demand and physical orders in and the excess-inventory cost coefficient normalized to . We set in the synthetic experiments and specify the real-data demand bounds in the corresponding section. We use piecewise-linear and quadratic shortage costs, given respectively by
Our proposed policy, OPT, implements Algorithm 1 with the optimized randomization distribution . We compute at step size , using the recursion in Theorem 2 for the piecewise-linear cost and the construction in Example 1 for the quadratic cost. The step size is , where bounds the magnitude of an exact loss subgradient.
As a full-information reference, we consider FI-SGD, which uses the same projected subgradient update as OPT but computes the subgradient from exact demand. It therefore does not require randomized ordering to reveal demand. We set its step size to following the standard online subgradient descent algorithm.
We also consider two sales-only comparison policies: a learning-doing policy (LD), adapted from Yang and Shi (2023) to our setting with a known demand bound and a continuous action space, and a sales-based sample average approximation policy (SAA). Both use empirical loss minimization but differ in how they collect and use observations. For a nonempty multiset of observations treated as demand inputs, define
When multiple minimizers exist, we select the smallest one.
LD divides the horizon into epochs, each beginning with one learning period followed by doing periods. The epoch start times are and for . In each learning period, the policy orders units so that sales reveal demand exactly. In each remaining period of the epoch, it orders , where contains all demand observations collected in earlier learning periods.
SAA uses a rolling window of sales observations and orders units with a fixed probability. Its parameters are the window length and the randomization probability . For , let contain the sales observations from the preceding periods, and set the operating target to . In every period , the policy draws independently of all past information. It orders units if and units otherwise. Sales from every period enter the rolling window and are treated as demand inputs, even when they may be censored.
We report mean loss and regret per period, evaluated at physical orders and including all inventory used for learning. We decompose total loss into excess-inventory loss and shortage loss. Regret is computed relative to the best fixed order in hindsight, chosen separately for each demand sequence as in Eq. (2).
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
25
For each policy, we select hyperparameters on calibration data separate from the evaluation data, using mean loss per period as the selection criterion. For OPT and FI-SGD, we search over . For LD, we search over . For SAA, we use for synthetic demand and for real data. We use shorter rolling windows for the real-data experiments because the available demand sequences are short. Ties are resolved in the listed candidate order, with Cartesian grids ordered lexicographically. Hyperparameters are calibrated separately in the synthetic and real-data settings. All policies begin each demand sequence without any initial demand observations. We initialize OPT and FI-SGD at and SAA at . Each policy follows its ordering rule from period 1; in particular, LD first orders units.
5.2. Synthetic demand experiments
We consider one stationary demand profile and one profile with gradual distributional drift. Let denote a normal distribution with parent mean and variance , truncated to . The moments after truncation need not equal . The stationary bimodal surges profile is the mixture . Its first component represents regular demand concentrated near 4.5, whereas its second component represents occasional demand surges near 8.5. Each period uses an independent draw from this mixture. This profile examines the cost of acquiring information about infrequent high demand when ordering at the maximum demand bound can substantially exceed typical demand.
The gradual drift profile has independent demands with time-varying distributions , , . The denominator 1999 is fixed across horizons, so shorter experiments use shorter prefixes of the same drift profile. Over periods, increases from 4 to 7. This profile examines how policies adjust to increasing demand, particularly whether reliance on observations from earlier, lower-demand periods leads to insufficient orders and higher shortage costs.
For both profiles, we consider . For each combination of shortage cost, demand profile, and horizon, we use 100 independently generated demand sequences for calibration and 1000 fresh sequences for evaluation. All policies face the same demands within each sequence. Each horizon is calibrated separately.
Figure 1 reports mean loss per period for each policy and setting. OPT has lower mean loss than both sales-only comparison policies at every reported horizon under both demand profiles and costs. FI-SGD, which receives exact demand rather than censored sales, has lower loss than OPT in all displayed settings.
Under stationary bimodal surges demand, LD narrows the loss gap relative to OPT as the horizon increases. As T grows from 100 to 2000, its percentage gap in mean loss relative to OPT falls from 33.9% to 6.9% under the piecewise-linear cost and from 21.7% to 7.7% under the quadratic cost. This narrowing
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research


Figure 1 Mean loss per period under synthetic demand. Panels (a)–(d) show bimodal surges with the piecewise-linear and quadratic costs, followed by gradual drift with the piecewise-linear and quadratic costs. Each horizon group contains OPT, LD, SAA, and FI-SGD, from left to right. Blue and yellow segments are excess-inventory and shortage loss; patterns identify policies. Dashed lines mark OPT's mean total loss per period.
gap is consistent with the accumulation of fully revealed demands from an unchanged distribution. Nevertheless, ordering to obtain these observations can be expensive when typical demand is concentrated near 4.5. Here, our proposed randomization obtains useful first-order information at a lower operating cost than the LD strategy.
SAA improves less as the horizon increases. At , its mean loss remains 48.4% above OPT's under the piecewise-linear cost and 28.6% above OPT's under the quadratic cost. Its fixed-length window discards older observations even though the demand distribution is unchanged. It also treats sales as demand: when demand exceeds the order quantity, the unmet demand is missing from its sample, which can lead to orders that are too low. This is also consistent with SAA's small excess-inventory loss. Occasional orders of reveal demand but can leave substantial excess inventory.
Under gradual drift, the value of accumulating more observations must be balanced against their declining relevance to current demand. At , LD incurs 62.9% more loss than OPT under the piecewise-linear cost and 34.3% more under the quadratic cost. Because LD retains all learning observations, its empirical objective continues to reflect earlier, lower-demand periods as demand increases. This is consistent with the larger shortage component in Figure 1(c)–(d). SAA's rolling window limits the retention of outdated observations but does not eliminate the effects of censoring or the cost of randomized full revelation. At
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
27


Figure 2 Mean regret per period under synthetic demand. Panel assignments and policy order are the same as in Figure 1. The comparator is the best fixed order in hindsight for each demand sequence. Dashed segments mark OPT's mean. Negative regret indicates lower cumulative loss than the fixed-order comparator, not negative loss.
T = 2000, SAA incurs 69.8% more loss than OPT under the piecewise-linear cost and 28.8% more under the quadratic cost.
Figure 2 compares the policies with the best fixed order in hindsight. Under stationary demand, mean regret per period declines for OPT and LD as the horizon increases, consistent with sublinear regret. Under gradual drift, OPT's mean regret per period becomes negative at T = 2000: -0.3024 under the piecewise-linear cost and -0.0373 under the quadratic cost. Its adaptive orders therefore incur lower cumulative loss on average than the comparator, which must use a single order quantity throughout each demand sequence. This illustrates the benefit of adjusting orders as demand changes, even when the fixed-order comparator is chosen with full knowledge of the demand sequence. For LD, mean regret per period first decreases and then increases with the horizon. This pattern suggests that, under nonstationary demand, LD's regret is driven primarily by limited data at short horizons and by reliance on outdated observations at longer horizons. This comparison highlights the adaptability of our proposed policy, OPT, across different demand environments.
5.3. Real data experiments
The real-data experiments use the public Dingdong-Inc/FreshRetailNet-50K dataset (Dingdong-Inc 2025, Wang et al. 2025). We combine the released training and evaluation data and aggregate hourly sales over [06:00, 22:00) for each store–product pair and recorded date. The resulting daily quantities are multiplied
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
by 10 and ordered chronologically to form the experimental demand sequences. The cost parameters apply to these scaled quantities. Zeros and observations with historical stockouts are retained. The experiments thus evaluate performance on recorded sales inputs, which may already be censored by historical stockouts. Each retained observation constitutes one period; missing dates neither create additional periods nor restart the policies.
We choose eligible pairs to have at least 42 retained daily observations and no more than seven zeros among their first 14 observations, yielding 49,108 pairs from 897 stores. For each selected pair , we process the complete sequence, including the first 14 observations, chronologically under the common initialization rule. Its horizon is the number of retained observations. Before period 1, all policies receive the same ex post bound , defined as the maximum quantity in that pair's complete scaled sequence.
We repeat the calibration and evaluation procedure independently 100 times, referring to each repetition as a trial. In each trial, we first sample 50 evaluation pairs uniformly without replacement from the eligible pool. We then sample 20 calibration pairs uniformly without replacement from pairs whose stores do not appear in the evaluation set. Thus, calibration and evaluation use different stores within each trial. Pairs may appear again in later trials. All policies use the same calibration and evaluation pairs within a trial.
For calibration, we evaluate every candidate parameter configuration on the 20 calibration pairs. Each randomized policy is run 30 times on each pair's complete demand sequence; deterministic policies are run once. These policy runs use the same recorded demand sequence and differ only in the policy's random choices. For each configuration, we first average loss per period over its runs on each pair and then average equally across the 20 pairs. We select the configuration with the lowest resulting mean loss. This parameter selection is repeated from scratch in every trial.
We then evaluate each selected policy under the calibrated parameter configuration on the 50 evaluation pairs, using 200 policy runs per pair for randomized policies and one run for deterministic policies. For each performance metric, we first average its per-period values over runs on each pair and then average equally across the 50 pairs. Each pair receives equal weight, regardless of the length of its demand sequence. This produces one evaluation average per policy and metric for that trial. The reported performance is the average of these trial-level results over all 100 trials.
The reported error bars are approximate 95% Monte Carlo confidence intervals. For a given policy and metric, let denote the evaluation average from trial , for . Writing and for the sample mean and sample standard deviation of these 100 values, we compute the interval as . Here, is the 97.5th percentile of the Student- distribution with 99 degrees of freedom. The degrees of freedom are because the variance is estimated from the 100 trial averages. The policy runs within each trial have already been averaged before this calculation. For regret comparisons between policies, we first compute the difference between their evaluation averages within each trial. We then apply
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
29

(a) Mean loss per period.

(b) Mean regret per period.
Figure 3 Performance on real data, averaged over 100 trials. Within each cost group, policies appear as OPT, LD, SAA, and FI-SGD, from left to right. In panel (a), blue and yellow segments represent excess-inventory and shortage loss; annotations show the percentage increase in total loss of LD and SAA relative to OPT. In panel (b), annotations show their absolute regret differences from OPT. Dashed lines mark OPT's mean. Error bars are approximate 95% Monte Carlo intervals conditional on the observed dataset.
the same interval calculation to the resulting 100 paired differences. These intervals measure uncertainty from sampling calibration and evaluation pairs, selecting parameters, and randomizing policy decisions.
Figure 3(a) shows that OPT achieves the lowest mean loss among the sales-only policies under both shortage costs. Under the piecewise-linear cost, LD and SAA incur 28.6% and 41.1% more loss than OPT, respectively. Under the quadratic cost, the corresponding gaps are 22.3% and 99.6%. The advantage over SAA is therefore particularly pronounced under the quadratic shortage cost.
The loss decomposition explains this advantage: OPT incurs higher excess-inventory loss than either sales-only comparison policy, but its lower shortage loss more than offsets this increase. For example, under the quadratic cost, OPT's excess-inventory loss is 12.3988 per period, compared with 6.0709 for SAA, whereas its shortage loss is only 2.2946, compared with 23.2518. The same trade-off holds under the piecewise-linear cost. These results suggest that businesses facing high shortage costs may benefit from ordering more to reduce shortages, even if this increases excess-inventory costs.
Figure 3(b) presents these losses relative to each sequence's best fixed order in hindsight. Because the policies share the same comparators, the panel shows their remaining gaps to those comparators without changing their ranking. FI-SGD has lower mean loss than the sales-only policies and achieves negative mean regret under the piecewise-linear cost. Its better performance illustrates the potential benefit of access to the uncensored experimental demand inputs. In these experiments, the small gap between our proposed policy and FI-SGD shows that our policy can approach full-information performance using only censored sales at a modest additional operating cost.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
6. Conclusion
We study inventory learning under censored demand and nonlinear convex shortage costs. A stockout can conceal the shortage amount and hence the marginal loss needed to update the order. Our policy overcomes this difficulty by adding random additional inventory to a virtual order and using the resulting sales to construct an unbiased subgradient estimate. The randomization is chosen to balance subgradient estimation accuracy against a bound on the loss increase from additional inventory. The unbiased subgradient estimate allows the policy to learn directly from sales without first estimating the demand distribution.
Our proposed approach does not require stationarity or independence across periods in the perishable inventory model. Demand may respond to earlier orders and random draws, provided it is conditionally independent of the current period's randomization given the full past. It achieves expected regret against the best fixed order in hindsight on the same realized demand sequence, including the cost of the additional randomized inventory used to acquire information. Under independent demand and the stated conditions on expected losses, the rate improves to . Matching lower bounds establish that both rates are optimal for the corresponding classes with a fixed marginal-cost bound. For nonperishable inventory, a uniform positive lower bound on expected demand conditional on the full past preserves the rate against the best fixed base-stock policy in hindsight. The rate additionally requires independent demand and the stated expected-loss curvature conditions.
The numerical experiments illustrate the value of this approach. The proposed policy achieves lower mean loss and mean regret per period than LD and SAA in the reported synthetic and real-data experiments. In the real-data experiments, its lower shortage loss more than offsets its higher excess-inventory loss. Under gradual drift, adjusting orders also allows the policy to outperform the best fixed order in hindsight on average at the longest horizon. These findings illustrate how learning from censored sales can improve ordering decisions, even though demand may remain censored.
Several questions remain open. First, incorporating a variation budget could yield guarantees that adapt to the magnitude of distributional changes. An appropriate time-varying comparator would further distinguish the cost of tracking changing demand from the benefit of adaptation relative to a fixed order. Second, the nonperishable extension relies on demand conditions that control the persistence of excess inventory. Understanding how to design randomization when these conditions are unavailable would broaden the treatment of intertemporal inventory dynamics.
Finally, historical censored observations could be used to refine the randomization design as information about demand accumulates. The current one-period objective protects against the worst-case demand, which need not be representative of a particular demand environment. A promising direction is therefore to combine distribution-free protection with instance-dependent improvements in information acquisition and operating performance.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
31
References
Ambrosio L, Fusco N, Pallara D (2000) Functions of Bounded Variation and Free Discontinuity Problems. Oxford Mathematical Monographs (Oxford: Oxford University Press).
Besbes O, Chaneton JM, Moallemi CC (2022) The exploration-exploitation trade-off in the newsvendor problem. Stochastic Systems 12(4):319–339.
Besbes O, Muharremoglu A (2013) On implications of demand censoring in the newsvendor problem. Management Science 59(6):1407–1424.
Bisi A, Kalsi K, Abdollahian G (2015) A non-parametric adaptive algorithm for the censored newsvendor problem. IIE Transactions 47(1):15–34.
Chen L, Qin H, Xu Y, Zhu R, Zhang W (2026) Thompson sampling for repeated newsvendor. Working paper.
Chen X, Lin Q, Wang Z (2020) Comparison-based algorithms for one-dimensional stochastic convex optimization. INFORMS Journal on Optimization 2(1):34–56.
Delage E, Kuhn D, Wiesemann W (2019) “dice”-sion-making under uncertainty: When can a random decision reduce risk? Management Science 65(7):3282–3301.
Ding X, Puterman ML, Bisi A (2002) The censored newsvendor and the optimal acquisition of information. Operations Research 50(3):517–527.
Dingdong-Inc (2025) FreshRetailNet-50K: Dataset card and data dictionary. Hugging Face dataset repository, accessed September 20, 2026.
Ferreira KJ, Simchi-Levi D, Wang H (2018) Online network revenue management using Thompson sampling. Operations Research 66(6):1586–1602.
Godfrey GA, Powell WB (2001) An adaptive, distribution-free algorithm for the newsvendor problem with censored demands, with applications to inventory and distribution. Management Science 47(8):1101–1112.
Guan X, Mišić VV (2026) Randomized robust price optimization. Management Science Published online June 9, 2026.
Hairer E, Wanner G (1996) Solving Ordinary Differential Equations II: Stiff and Differential-Algebraic Problems, volume 14 of Springer Series in Computational Mathematics (Berlin, Heidelberg: Springer), 2 edition.
Hazan E, Agarwal A, Kale S (2007) Logarithmic regret algorithms for online convex optimization. Machine Learning 69(2–3):169–192.
Hihat M, Gaïffas S, Garrigos G, Bussy S (2023) Online inventory problems: Beyond the i.i.d. setting with online convex optimization. Advances in Neural Information Processing Systems, volume 36, 20421–20440.
Huh WT, Janakiraman G, Muharremoglu A, Sheopuri A (2011a) Technical note—inventory systems with a generalized cost model. Operations Research 59(4):1040–1047.
Huh WT, Levi R, Rusmevichientong P, Orlin JB (2011b) Adaptive data-driven inventory control with censored demand based on Kaplan–Meier estimator. Operations Research 59(4):929–941.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
Huh WT, Rusmevichientong P (2009) A nonparametric asymptotic analysis of inventory planning with censored demand. Mathematics of Operations Research 34(1):103–123.
Huh WT, Rusmevichientong P (2014) Online sequential optimization with biased gradients: Theory and applications to censored demand. INFORMS Journal on Computing 26(1):150–159.
Kunnumkal S, Topaloglu H (2008) Using stochastic approximation methods to compute optimal base-stock levels in inventory control problems. Operations Research 56(3):646–664.
Kyparisis GJ, Koulamas C (2018) The price-setting newsvendor with nonlinear salvage revenue and shortage cost. Operations Research Letters 46(1):64–68.
Lariviere MA, Porteus EL (1999) Stalking information: Bayesian inventory management with unobserved lost sales. Management Science 45(3):346–363.
Lattimore T, Szepesvári C (2020) Exploration by optimisation in partial monitoring. Proceedings of the Thirty Third Conference on Learning Theory, volume 125 of Proceedings of Machine Learning Research, 2488–2515.
Lu X, Song JS, Zhu K (2008) Analysis of perishable-inventory systems with censored demand data. Operations Research 56(4):1034–1038.
Lugosi G, Markakis MG, Neu G (2023) On the hardness of learning from censored and nonstationary demand. INFORMS Journal on Optimization 6(2):63–83.
Lyu C, Zhang H, Xin L (2024) UCB-type learning algorithms with Kaplan–Meier estimator for lost-sales inventory models with lead times. Operations Research 72(4):1317–1332.
Nambiar M, Simchi-Levi D, Wang H (2019) Dynamic learning and pricing with model misspecification. Management Science 65(11):4980–5000.
Orabona F (2026) Online learning: A modern introduction using convex optimization. ArXiv:1912.13213, version 10.
Qin C, You W (2026) Dual-directed algorithm design for efficient pure exploration. Operations Research 74(2):1104–1125.
Russo D (2020) Simple Bayesian algorithms for best-arm identification. Operations Research 68(6):1625–1647.
Russo D, Van Roy B (2018) Learning to optimize via information-directed sampling. Operations Research 66(1):230–252.
Shi C, Chen W, Duenyas I (2016) Technical note—nonparametric data-driven algorithms for multiproduct inventory systems with censored demand. Operations Research 64(2):362–370.
Sillanpää V, Liesiö J, Käki A (2021) Procurement decisions over multiple periods under piecewise-linear shortage costs and fixed capacity commitments. Omega 100:102207.
Walter W (1998) Ordinary Differential Equations, volume 182 of Graduate Texts in Mathematics (New York: Springer).
Wang Y, Gu J, Long L, Li X, Shen L, Fu Z, Zhou X, Jiang X (2025) Freshretailnet-50k: A stockout-annotated censored demand dataset for latent demand recovery and forecasting in fresh retail. Working paper.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
33
Wang Z, Peura H, Wiesemann W (2024) Randomized assortment optimization. Operations Research 72(5):2042–2060.
Yang J, Shi JJ (2023) Discrete-item inventory control involving unknown censored demand and convex inventory costs. Production and Operations Management 32(1):45–64.
Zhang H, Chao X, Shi C (2018) Technical note—perishable inventory systems: Convexity results for base-stock policies and learning algorithms under censored demand. Operations Research 66(5):1276–1286.
Zhang H, Chao X, Shi C (2020) Closing the gap: A learning algorithm for lost-sales inventory systems with lead times. Management Science 66(5):1962–1980.
Zinkevich M (2003) Online convex programming and generalized infinitesimal gradient ascent. Proceedings of the Twentieth International Conference on Machine Learning, 928–936.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
Appendix A: Proofs of results in Section 2
We first prove Theorem 1, then justify the auxiliary-randomization claim in Section 2.3.
Proof of Theorem 1: Set . The argument is pointwise in the realized demand , so the only randomness in the conditional expectation comes from . For an integrable correction , define the auxiliary estimator of the increase in marginal shortage cost by
The subgradient estimate in Eq. (4) can then be written as
Write when the unbiased correction exists. We also use the auxiliary measure on defined by for . This is a finite nonnegative Lebesgue–Stieltjes measure because is nondecreasing and right-continuous, , and .
Suppose first that . Since , we have and hence . The first branch in the definition of therefore applies and gives . Thus the curvature estimator is unbiased automatically when .
Suppose now that and set . If , then , so and the estimator equals . If , then , so and the estimator equals the observed value . Splitting the conditional expectation over these two events gives .
This expression equals the target if and only if . Since every corresponds to a unique , unbiasedness for every is equivalent to Eq. (5).
It remains to characterize when a function satisfying Eq. (5) exists. Suppose first that satisfies Eq. (5), and define the finite signed measure by for every Borel set . For every , Eq. (5) gives . It follows by subtraction that and agree on every interval and on the singleton . These sets generate the Borel sigma-algebra on , so the two finite signed measures agree on every Borel set. Consequently, , which implies . The same measure identity shows that is a version of the Radon–Nikodym derivative .
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
35
Conversely, suppose that . The Radon–Nikodym theorem provides a measurable function satisfying for every Borel set . The measure is finite because and . Therefore . Applying the Radon–Nikodym identity to gives . Thus satisfies Eq. (5) and hence yields an unbiased curvature estimator.
Finally, if and are two integrable unbiased corrections, then both are Radon–Nikodym derivatives of with respect to . The uniqueness of the Radon–Nikodym derivative therefore gives -almost surely. The Stieltjes product rule gives , which proves the absolute-continuity characterization and the correction formula in Eq. (6).
Because and , we have and . The first two terms of therefore coincide with the corresponding terms of in Eq. (3). The preceding argument establishes , so the remaining term also agrees in expectation, giving .
For the variance claims, suppose . Since the first two terms of are fixed conditional on and , and have the same conditional variance. We will show that this variance equals , where for . Taking in Eq. (5) gives . Hence , so a possible atom at zero contributes nothing to the second moment and can be omitted from the integral.
If , then is identically zero and . Its conditional variance is therefore , as required. Now suppose that and set . As in the unbiasedness calculation, the estimator equals on and equals on . Consequently, the conditional second moment has the following form.
The conditional mean is by the first part of the theorem, so subtracting its square gives . This proves the variance identity.
It remains to show that is nondecreasing. Fix . Subtracting Eq. (5) at from the same identity at yields . If , then the integral on the left is zero because is -null. The preceding identity therefore gives . Moreover, , and hence .
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
Suppose next that . We have the following bound on the variance difference.
where the inequality follows from Cauchy–Schwarz, . Thus is nondecreasing on . Since ranges over this entire interval, the worst case is attained at . Finally, , so .
Appendix B: Proofs of results in Section 3
B.1. Regret decomposition and the one-period objective
Proof of Proposition 1: Write , , and , and let be the smallest minimizer of over .
The conditional independence in Assumption 2 and Theorem 1 give and . Thus, is a square-integrable martingale difference sequence with respect to , so and . Moreover, predictability of gives , while conditional unbiasedness and imply .
Orabona (2026, Theorem 2.13) provides a projected-gradient regret bound for nonincreasing step sizes. Fixing an arbitrary sample path and applying this bound to the linear losses yields simultaneously for all . In particular, the inequality holds for the hindsight comparator . Combining it with convexity and , and taking expectations, yields , where we used and .
Since , Cauchy–Schwarz inequality gives . By Young’s inequality, this is at most , where the last inequality uses and . Substituting this estimate proves the claimed bound.
Proof of Lemma 1: Set . The proof moves probability mass inside each curvature-free interval to the largest point of not exceeding the corresponding additional inventory. Equivalently, increases of the cdf inside such an interval are reassigned to that earlier point. This can only
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
37
reduce the physical order, and averaging the old correction over points that are merged by this map can only reduce its second moment. We now formalize this argument.
Define a map , which is nondecreasing and well defined for every because the set is compact and contains zero. Let , the law of when . Then is supported on . Moreover, for every , with strict inequality whenever . Therefore , and the inequality is strict if .
Let be the cdf of . For , define . Because is nondecreasing, is an initial interval, possibly open at its right endpoint, and . Any part of lying to the right of is contained in a connected component of . The curvature measure vanishes on such a component, so is constant there and equals . By the endpoint formula for the Lebesgue–Stieltjes measure induced by , with a left limit when is open at its right endpoint, we obtain the following identity.
The two finite measures agree on every initial interval, and hence .
Let and write , so that . Since and , the new Radon–Nikodym derivative may be chosen as almost surely. Indeed, integrating either side against any bounded Borel function of gives the same integral with respect to . Conditional Jensen's inequality now yields the following second-moment bound.
Also, , so we may choose . Thus . Finally, both variance terms are obtained from the corresponding second moments by subtracting the same terminal term . Hence the preceding inequality implies .
B.2. Piecewise-linear shortage costs
We first verify the variance formula used in Section 3.2, with the same notation and zero-mass convention. Whenever , direct expansion gives
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
Under this convention, the same identity holds at zero-mass breakpoints, with both sides equal to zero. Because and , telescoping gives . This is exactly the terminal term subtracted in Eq. (7), so .
Proof of Theorem 2: Write and . By Lemma 1, restricting to distributions supported on does not change the infimum. Moreover, because , any optimizer over must be supported on this set: otherwise, support reduction strictly decreases the inventory term without increasing the variance. Since , , and , the forward recursion gives and hence for every .
To prove the result, for each , let us consider a scalar function defined by . This function is strongly convex because . If , then , so the unique minimizer is and the minimum is . If , then the unique solution of is , and substitution gives . Consequently, for every , with equality if and only if .
We use this result to lower-bound the objective in (10). Let be a feasible cdf with finite objective. For , set , and set when . Then and for every . Summation by parts and the identity give
(22)
The inequality follows from for all . The final sum telescopes because and . Moreover, from the above analysis of , equality holds if and only if at every index with .
Now, we demonstrate optimality and uniqueness of the proposed randomization distribution. Starting from , define recursively for . Since , we have , so is a feasible cdf. If , then , and hence equality holds in the scalar bound . If , then the recursion also gives , so both sides of the corresponding term in Eq. (22) are zero. Thus equality holds at every index in Eq. (22), and consequently . Thus is optimal and the stated value formula
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
39
follows. If another feasible cdf is optimal, then equality in Eq. (22) forces whenever . When , monotonicity gives , so the same recursion holds at every index. Starting from , this backward recursion determines the cdf uniquely, and hence is the unique optimizer.
It remains to verify admissibility and the correction formula. The mass at is . Since , the equality implies . The jump of the measure induced by at is , so it vanishes whenever . The same measure has no mass at zero because , and therefore . Whenever , its Radon–Nikodym derivative is . This correction is finite on the finite support, so taking gives . Finally, the definition of yields . Each forward or backward step uses a constant number of arithmetic operations, so the total complexity is .
B.3. Absolutely continuous marginal shortage costs
Proof of Lemma 2: Write and . All differential identities and inequalities below hold almost everywhere. The square root is not locally Lipschitz at zero, so existence and uniqueness are handled separately.
Extend the equation to all real values of by writing and . For each fixed , the map is measurable, and for almost every , the map is continuous. Moreover, . The Carathéodory existence theorem therefore gives a local absolutely continuous solution to with (Walter 1998, Chapter 3). The linear-growth bound and Gronwall's inequality rule out finite-time blow-up, so the solution extends to all of .
Next, let us show that is nonnegative. On the set where , the extension satisfies because . For the negative part , the chain rule for absolutely continuous functions gives . Since and , it follows that is identically zero. Thus the extended solution is nonnegative and hence solves the original ODE. Because , the ODE gives . Integrating from zero yields for every .
Now, we show strict positivity of . If , then the ODE reduces to , so and the claim is immediate. Suppose now that , and set . Whenever , the derivative satisfies the following lower bound.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
Assume for contradiction that for some . By continuity, there is a such that on . Integrating the preceding derivative bound on this interval gives , a contradiction. Hence for every .
As for the integrability of , the only possible singularity is at . Let . If and , then the upper bound gives . Thus throughout in the almost-everywhere sense, and integration gives . Consequently, for almost every . The right-hand side is integrable at zero. If , continuity and strict positivity give a positive minimum of on , so the ratio is bounded there almost everywhere. This proves integrability on ; its value at the single point zero is immaterial.
For uniqueness, let and be two nonnegative solutions. Subtracting the equations gives . Using , the chain rule yields the following derivative identity.
Thus is nonincreasing. It is nonnegative and starts from zero, so it must be zero identically. This proves uniqueness.
Proof of Theorem 3: The case is immediate, because the only distribution supported on is and both terms in the objective are zero. Hence fix and write . All integrals below are over unless their limits are shown explicitly.
We first derive a lower bound for by completing the square in its integral representation. Let have cdf , and define . Because is absolutely continuous with derivative , the Stieltjes product rule gives . On the other hand, the definition of gives . Subtracting the common term yields the measure identity . Applying the product rule to and using and gives . With these equalities, it follows that
Thus the worst-case variance is exactly the squared norm of the excess correction .
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
41
Define , with . The ODE in Eq. (12) is equivalent to . Also, Stieltjes integration by parts, together with and , gives . Using the preceding measure identity and ODE identity gives the following square expansion.
For a random variable supported on , the tail-integral identity gives . Substitution produces the following exact square-completion identity.
The square is nonnegative, so every admissible distribution has objective value at least .
Now, we show that the lower bound is achieved by the distribution in the statement. By Lemma 2, for and is integrable on . Hence Eq. (13) is well defined. Its exponent is nonpositive, so , it is nondecreasing, and . Moreover, it is absolutely continuous on and satisfies for almost every . Extending this cdf by zero to the left of zero shows that it defines a probability measure with an atom of size at zero and the displayed density on . Because , the atom at zero does not affect the following measure identity on .
The product rule now gives . Thus the Radon–Nikodym correction is , with value zero chosen at the atom at zero. The bounds and show that this correction is bounded, and hence belongs to . Therefore is admissible. For this distribution, the preceding measure identity says exactly that -almost surely. The square in Eq. (23) vanishes, so the lower bound is attained and the optimal value is .
For uniqueness, let be any optimizer. Equality in Eq. (23) forces -almost surely. Combining this equality with the excess-correction measure identity gives . Since is strictly positive on , the restriction of to this interval is absolutely continuous, and
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
its cdf satisfies almost everywhere. For any , solving this scalar linear equation backward from the terminal condition gives . Right continuity then gives and fixes the atom at zero. Thus , proving uniqueness.
Numerical approximation and objective error. We construct an approximation of and show that the resulting distribution remains admissible, with the one-period objective error bounded by the uniform approximation error. Fix and write and .
We first control the variation of , which will be used to bound the discretization error. Choose sufficiently small that . Wherever , the ODE gives almost everywhere. Thus, the negative part of cannot increase from its initial value zero, proving . Together with , the ODE also gives almost everywhere. Away from zero, the chain rule therefore gives . This bound is integrable at zero, so the chain-rule identity extends to . Consequently, is absolutely continuous and .
Divide into equal intervals, with and . On each interval, use the average coefficient . Starting from , compute
Because , the left-hand side is strictly increasing from zero to infinity. Each step therefore has a unique positive solution, obtained by solving a quadratic equation for . Also, , so induction gives . Define the piecewise-constant approximation by and for .
To bound the error, substitute the exact values and into the discrete update. Integrating the ODE over the interval shows that the residual is . The function increases by at least the change in s. Hence, a perturbation of the right-hand side changes its solution by no more than the size of that perturbation. Bounding the residual by the variation of on the interval therefore gives . Summing this inequality bounds the error at the grid points. Within each interval, the exact solution varies by at most . Combining these two bounds yields
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
43
We next use to construct a distribution, while retaining the original marginal shortage cost . For a virtual order , set and . Define through its cdf
For each fixed grid, is bounded away from zero on , so the integral is finite. The distribution has mass at zero and density on . Substituting this density into Eq. (6) gives for , with . This correction is bounded, so is admissible for the original shortage cost.
Finally, Eq. (23) shows how the approximation error affects the objective. Using for , we obtain
For , take . Since does not depend on , choosing gives objective error at most uniformly over all virtual orders.
Both the cell averages and the cdf integrals can be evaluated using increments of , because is constant within each grid interval. Thus, continuity of is not required. For fixed and problem parameters, grid intervals suffice. This count excludes the cost of evaluating and inverting the resulting cdf.
Verification of Example 1: The function is continuous and strictly increasing from zero to infinity on , so the scalar equation has a unique solution for each . For , implicit differentiation gives . Hence satisfies for . Since and , this solution extends absolutely continuously to zero with . Lemma 2 therefore identifies it with the solution used in Theorem 3. Also, for . Substituting and the formula for into Eq. (13) gives , with the value at zero determined by continuity. The correction, optimal value, and mass at zero then follow directly from Theorem 3.
Appendix C: Proofs of results in Section 4
C.1. Distribution-free regret and the general minimax rate
We first prove an auxiliary one-period objective (9) bound and use it to establish Theorem 4. We then establish the statistical-testing inequalities needed for the general minimax lower bound in Theorem 5.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
LEMMA 3. For every and , the optimized one-period objective satisfies Eq. (14). There is an admissible distribution with .
Proof of Lemma 3: Set . If , then is the only feasible distribution, its objective is zero, and all claims follow immediately. Assume henceforth that , and recall that and . The objective in Eq. (9) is . In this proof, for each , we construct an admissible distribution satisfying and . After verifying admissibility and these two bounds, we choose to balance the two terms in the objective and conclude the proof.
Let us start with the construction. Fix . We choose the distribution so that the correction in Theorem 1 will take the form for . We first define its cdf and check that it determines a probability distribution. Write the restriction of to as , where has no atoms, is at most countable, and . Define, for ,
The exponential factor accounts for the nonatomic part of , while each factor in the product accounts for one atom. For fixed , over atoms and . Thus the product converges and for . The integral and the sum of logarithms are right continuous and decrease as increases, so is nondecreasing and right continuous. Together with and the definition of , these properties show that is the cdf of a probability distribution on .
Now, we verify admissibility of and identify the correction . By Theorem 1 and the definition in Section 2.3, admissibility requires and a correction in . By the correction formula in Eq. (6), an unbiased correction must satisfy for every Borel set . To obtain , we therefore establish the measure identity
We then check that the resulting correction is square integrable.
Fix and work first on , where is bounded. Set and . Since and is nondecreasing, is finite and has bounded variation on this interval. For , Eq. (24) gives
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
45
. Thus the nonatomic part of the Stieltjes measure of is . Let denote the nonatomic part of . Applying the chain rule for the nonatomic parts of functions of bounded variation to gives on (Ambrosio et al. 2000, Theorem 3.96). This rule applies to Stieltjes measures, so need not have a density with respect to Lebesgue measure.
At an atom , we have . Exponentiating gives , and hence . Since is countable and has no atoms, for -almost every in this interval. Combining the nonatomic and atomic parts proves Eq. (25) on . For any Borel set , apply this identity to and let . Continuity from below proves Eq. (25) on all of .
Equation (25) shows that on , with Radon–Nikodym derivative . Theorem 1 therefore gives the unbiased correction for , with . Since on , we have . Both requirements for admissibility are therefore satisfied, so .
Next, we bound expected additional inventory and subgradient estimator variance under the constructed distribution . Multiplying Eq. (25) by and integrating gives . Since , this proves .
For the variance, Eq. (7) gives . We expand and use the Stieltjes product rule to account for the terms involving . The chain rule for functions of bounded variation (Ambrosio et al. 2000, Theorem 3.96) gives as the nonatomic part of the Stieltjes measure of . At an atom , the jump is , because . It follows that .
The Stieltjes product rule for remains valid when both factors jump (Ambrosio et al. 2000, Example 3.97). Integrating it over gives , since and . Substituting this expression for into the variance formula in Eq. (7) and expanding cancels the common term . This gives the first equality below. The second equality follows from substituting into the last integral and using Eq. (25) to replace
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
by in the first integral, and rearranging terms.
The sum is finite since .
We now express each of the two remaining terms as an integral against . For the first term, multiply Eq. (25) by and integrate to obtain . For the sum, apply the same measure identity to the set , where , to get . Substituting and multiplying by gives . Since for -almost every , summing over atoms gives . Adding the two integrals combines and into . Therefore , where the inequality uses .
Finally, let us choose to conclude the proof. The bounds above and the objective definition in Eq. (9) give . Choose , so that . The admissible distribution then satisfies , proving the existence claim. Since and , Eq. (14) follows.
Proof of Theorem 4: Lemma 3 proves the first assertion. Conditional on , the virtual order and the selected distribution are fixed. The allowance can include error from approximating the one-period objective. The assumed one-period objective bound in the statement and therefore give almost surely. Substituting this bound into Eq. (8) proves Eq. (15) under the demand model in Assumption 2. For , we have , , and . Substituting these bounds into Eq. (15) gives
The asserted conclusion follows immediately when .
We first establish two auxiliary inequalities for the proofs of Theorems 5 and 7: one bounds the information obtained from censored sales, and the other relates this information to regret. Recall
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
47
the normalized setting , , and the demand pair introduced in Section 4.1. For and , demands are iid with distribution
Fix a known shortage cost , common to both demand laws. Write and choose . Let be any nonanticipating policy with conditional order distribution , where is the observed history. The policy may depend on , and any supplied curvature bound, but its conditional order distribution at a fixed history must be the same under both demand laws.
Write and for expectation and probability under policy and demand law , and define the pseudo-regret by . As discussed in Section 4.1, expected regret relative to the best fixed order in hindsight is at least as large:
It therefore suffices to establish lower bounds for pseudo-regret on these iid instances.
For every fixed order , the sales kernels under and coincide: demand two and demand three are both censored at . Thus only orders above two provide information for distinguishing the demand laws. Such an order reveals whether the demand was zero, two, or three, even when sales equal the order. The next lemma bounds the resulting KL divergence by the expected number of such orders.
LEMMA 4. Let also denote the law of the history generated by policy under . Then
Proof of Lemma 4: We first compute the information from one order and its sales observation, and then sum the conditional contributions over time. Let be the observable history before period . For a fixed physical order , let denote the law of the sales observation under . Conditional on , the joint law of the next order and sales observation factors as . The policy kernel is the same under the two demand laws. Therefore it contributes no likelihood ratio, and the conditional relative entropy has the following representation.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
We now compute the inner divergence. If , demands two and three both produce the same censored sale, so and the divergence is zero. If , sales zero has probability under both laws, while the probabilities of sales two and sales are interchanged. Thus . To bound this expression, write . Then , giving the upper bound . Consequently, the conditional divergence is at most .
For the second step, apply the chain rule for relative entropy to the sequence . Because the divergence is directed from to , the conditional divergences are averaged under . The chain rule and tower property therefore give the following bound.
This proves Eq. (29).
The next lemma turns this information bound into a reusable regret inequality by relating the pseudo-regret to .
LEMMA 5. Suppose that a Borel set and constants satisfy for , for , and for . Then every nonanticipating policy satisfies
Proof of Lemma 5: Let , the expected number of informative orders under . There are two cases: sufficiently many informative orders directly incur regret, while too few leave the history laws close and force a substantial probability of choosing the wrong order region. The threshold is chosen so that the second case gives a KL divergence below .
First suppose that . All population loss gaps are nonnegative, and the first assumption gives . Therefore , which proves the first term in Eq. (30).
Now consider the second case, in which . By Lemma 4, . Pinsker's inequality gives . Here total variation is the supremum of the absolute probability difference over all events in the history space.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
49
For each , define the event . Because is part of the complete observable history, is measurable with respect to the history space on which the total-variation distance is evaluated. Hence . It follows that the combined wrong-region probability satisfies the following bound.
The event incurs the stated loss gap under , whereas incurs it under . Thus the preceding inequality prevents the policy from choosing a low-loss region with high probability under both demand laws.
The two wrong-region gap assumptions now imply the following combined regret bound.
Thus, at least one of the two pseudo-regrets is greater than . Combining the two cases proves Eq. (30).
We now apply these auxiliary results to the general lower bound in Theorem 5. Let the piecewise-linear shortage cost be defined by , where is defined in Eq. (17). For , take in Eq. (27). This specifies the normalized shortage cost and demand family used to prove Theorem 5.
Proof of Theorem 5: We proceed in three steps. First, we determine the optimal orders in the normalized instance. Second, we verify the three loss-gap conditions in Lemma 5 and obtain the normalized regret bound. Third, we scale demands, orders, and losses to arbitrary .
For the first step, fix any nonanticipating policy and consider the expected losses under the demand pair in Eq. (27). Away from demand points and breakpoints of , differentiation under the finite expectation gives .
For , only demand zero lies below the order, while shortages from demands two and three fall in the slope-one and slope-two regions of . For , the corresponding shortage slopes are and 1. For , demands zero and two lie below the order, and a demand of three has shortage slope . Substituting the masses from Eq. (27) gives the following piecewise derivative.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
When , the first derivative is negative for and positive for , while all derivatives to the right of one are positive. Convexity therefore gives and .
For the second step, take . The threshold lies between the two optimal orders, so choosing the opposite region leaves a loss gap under the corresponding demand law. If , then and the derivative of is on . Therefore . Under , all three displayed derivatives are positive, so is increasing. Thus every satisfies . These are the two wrong-region inequalities with .
To verify the informative-order gap, note that is increasing on . Every satisfies . Hence the informative-order gap condition holds with . Applying Lemma 5 gives the following lower bound.
The first term is the cost of obtaining enough informative observations, and the second is the loss from selecting the wrong region when the observations do not distinguish the two laws. With , both terms have order and the first is the smaller one. The assumption ensures . Finally, Eq. (28) converts the pseudo-regret into the normalized expected-regret lower bound . The policy was arbitrary, so this is a lower bound for the infimum over all policies followed by the supremum over iid demand laws. No restriction to Algorithm 1 has been imposed.
For the third step, let be arbitrary and denote the normalized shortage cost and loss by and , respectively. Define and scale every normalized demand and order by . For every , the corresponding scaled pair satisfies
Thus, quantities scale by and losses by . Sales scale by the same quantity factor because . Hence, any policy in the scaled problem can be implemented in the normalized problem by rescaling its orders and observed sales. This preserves nonanticipation and allows arbitrary policy randomization. Since both cumulative loss and the best-fixed-order benchmark scale by , regret scales by this factor as well. The normalized lower bound therefore becomes , proving Eq. (16). The scaled shortage cost satisfies Assumption 1 and has marginal cost , so the constructed instance belongs to . The shortage cost is fixed independently of , and the lower bound applies even when it is known to the policy.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
51
C.2. Faster regret under expected-loss curvature
Before proving Theorem 6, we establish an auxiliary result in Lemma 6.
LEMMA 6. Suppose demands are independent and either condition (i) or condition (ii) of Theorem 6 holds with constant . Then, for every ,
Proof of Lemma 6: The gap in Eq. (31) is the expected reduction in cumulative loss obtained by choosing the fixed order after observing demand rather than minimizing expected loss. Let and . We use subscripts + and - on derivatives to denote right and left derivatives, respectively; for example and are the right and left derivatives, respectively. Choose a minimizer of ; in case (ii), take the common minimizer. Then
The expression inside the expectation is nonnegative, proving the lower bound. We bound its expectation from above by controlling the possible reduction in realized loss on either side of .
Both structural conditions ensure that expected loss increases as the order moves away from . More precisely, for ,
In case (i), is -strongly convex. At an interior minimizer, zero is a valid subgradient, so strong monotonicity gives these inequalities. At a boundary minimizer, the same argument uses or . In case (ii), average Eq. (18) over and divide by , reversing the inequality when . The resulting bounds on the average selected subgradient imply the stated slope bounds because that subgradient lies between the left and right derivatives of . Neither argument requires the selected subgradient at to be zero.
Consider first orders to the right of . Increasing the order can reduce realized loss only where the realized slope is negative. Since is absolutely continuous, for every ,
We therefore bound the expected negative part of this slope.
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
For fixed , is a sum of independent random variables, each bounded in absolute value by . Bounded difference quotients and dominated convergence give . Thus, the slope can become negative only through a downward deviation from its positive mean. For , Hoeffding's inequality gives . Integrating this tail bound yields
The last inequality follows by separating the two squared terms in the exponent and evaluating the Gaussian integral. Applying Tonelli's theorem to the preceding pathwise bound and extending the integration interval gives
To the left of , reducing the order can lower realized loss only where the left derivative is positive. For , absolute continuity gives . The possible reduction is therefore bounded by . Since , the same argument, now using Hoeffding's upper-tail bound, shows that the expected reduction over all orders in is at most . If is an endpoint, the corresponding side contains only and contributes zero.
The best order in hindsight lies on one of these two sides. Its reduction in realized loss is the larger of the two one-sided reductions and is therefore at most their sum. Adding the two bounds gives , which proves the upper bound in Eq. (31).
With the comparator bound established, we can prove the faster regret bound.
Proof of Theorem 6: Recall that is a deterministic minimizer of over . In case (ii), we take to be the common minimizer of the expected losses.
We first separate the policy’s expected loss relative to from the advantage of the hindsight comparator. Under the independent-demand assumption and the conditional sampling rule, the current order is independent of current demand, so . Consequently,
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
53
Lemma 6 bounds term B by . It therefore remains to bound term A.
Both structural conditions give the following comparison:
where in case (i) and in case (ii). In case (i), this is the strong-convexity inequality. It holds for any comparison order, so need not minimize each separately. In case (ii), convexity gives , while the restricted secant inequality gives . Adding these inequalities and dividing by two proves Eq. (32) with .
We now use the projected update to bound the loss difference in Eq. (32). Conditional on , the virtual order and distribution are fixed, and demand has law . Pointwise unbiasedness therefore gives . Theorem 1 also gives . Indeed, conditional on the full past and current demand , the estimator has mean and variance at most ; the bound follows by using and taking conditional expectations (on the demand ) again. These second moments are integrable because and the assumed objective bound is finite.
Write . Projection onto cannot increase the distance from . Expanding the squared distance after the update and using the conditional moment bounds yields . Rearranging and applying Eq. (32) bounds the expected loss at the virtual order. To account for the physical order, use . Since , the resulting variance and inventory terms satisfy . Thus,
The choice cancels the intermediate terms when we sum over periods:
Here the second equality holds because and the final inequality uses and .
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
The assumed one-period objective bound and give . Summing Eq. (33) over yields
Since the summands are decreasing, comparison with their integrals gives and . Applying these inequalities and adding the bound of term proves Eq. (19). For fixed problem parameters, the resulting bound is whenever .
We next prove the corresponding minimax lower bound by applying the information and loss-gap inequalities to a quadratic shortage cost.
Proof of Theorem 7: We prove the result in three steps. First, we prove the lower bound on a normalized instance using the demand pair and information inequalities from Appendix C.1. Second, we extend the construction to arbitrary by rescaling and shifting demands and orders, and show that the lower bound applies to all policies on . Third, we verify the constructed instance satisfies both structural conditions in the statement.
For the first step, take , , and . Use the demand pair in Eq. (27) with . The condition ensures . For the quadratic shortage cost, . When , only demand zero lies below the order, and direct substitution gives
Both optimizers lie in , and convexity makes them global minimizers. Integrating the derivative from to yields for every . For , demands zero and two lie below the order, and only demand three contributes a shortage term. Thus on the interval. Hence, the expected losses under both demand profiles are increasing beyond two.
Take . If , then and its distance from is at least . The quadratic gap formula therefore gives . If , its distance from is at least , so the same formula gives . If , monotonicity beyond two gives a gap of at least . Hence the two wrong-region conditions in Lemma 5 hold with .
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
55
Every informative order satisfies . Thus the informative-order condition holds with . Lemma 5 gives
Unlike the piecewise-linear instance, the wrong-region loss is quadratic in the separation between the optimal orders. Choosing makes both terms proportional to , and the first is the smaller one. By Eq. (28), every policy in the normalized problem therefore satisfies .
For the second step, let be arbitrary and set . Define the shortage cost by for every . Let be the distribution obtained by transforming a demand from Eq. (27) into . Its support is , with the same three probabilities as in the normalized instance. Write for the normalized loss with excess-inventory coefficient and shortage cost . For normalized orders and demands , direct substitution gives
Sales transform by the same affine map, because the minimum of the transformed order and demand is . Consequently, a policy restricted to corresponds to a policy on with exactly the same normalized observation history.
Take any policy with orders in . Construct by raising every proposed order below to and implementing all other proposals unchanged. For subsequent decisions, update using its proposed order and the sale that order would have produced. Specifically, for a proposal , record , since every transformed demand is at least ; otherwise, record the actual order and sale. Each replacement also strictly reduces loss: for and every transformed demand , . Thus, incurs no greater cumulative loss than . The hindsight benchmark is also unchanged when orders are restricted to , because every fixed order below is dominated by . Consequently, incurs no greater regret than .
By construction, orders only in , so the restricted-policy lower bound applies. Under at least one transformed demand law, its expected regret is at least . The expected regret of is no smaller under that same law. Since was arbitrary, the lower bound holds for all policies on .
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
For the third step, we show that the constructed instances satisfy the conditions in Theorem 6. Write . The shortage cost is 2h/b-strongly convex on all of , not only on . Also, . On this event, the realized loss is 2h/b-strongly convex throughout the full decision interval ; all other realized losses are convex. Averaging therefore makes each at least -strongly convex on . Since , this modulus is at least , proving condition (i). Strong convexity also implies the restricted secant inequality around the minimizer on , with the same constant . Within each instance, demand is iid, so all periodwise expected losses share this minimizer. Thus condition (ii) holds as well.
The shortage cost satisfies Assumption 1 and depends only on , not on or the sign . Its marginal cost satisfies . Thus the transformed pair belongs to both stated structural classes, with one fixed known quadratic shortage cost. Taking the supremum over either class and then the infimum over policies gives Eq. (20), because . When , the construction has and reduces to ordinary scaling; larger is covered by the translation and domination argument above.
C.3. Sufficient conditions from shortage costs and demand
Proof of Proposition 2: We prove the three parts in order, using mass at the maximum demand, mass between two order levels, and tail mass above the common minimizer, respectively. Throughout, fix a period ; all lower bounds are uniform in .
For part (i), the slope condition makes -strongly convex on . Indeed, the right derivative of is , which is nondecreasing by assumption, so this function is convex, which implies that is -strongly convex. On the event , the realized loss is throughout , so it is -strongly convex in . For every other demand realization, the loss remains convex. Averaging over therefore makes at least -strongly convex, and the assumed mass bound gives the modulus uniformly in .
For part (ii), fix . The selected subgradient is nondecreasing in for every fixed . If , its increase is ; for all other demands its increase is nonnegative. Taking expectations and using the density lower bound therefore gives
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
57
This inequality uses only the absolutely continuous part to obtain a lower bound; any atoms or singular continuous component make an additional nonnegative contribution.
Write for this part. The function is -Lipschitz and hence absolutely continuous, and its selected subgradient agrees with its derivative almost everywhere. For , integrating over gives
For , integrate over and reverse the sign of the integral to obtain the same inequality. The case is immediate, so is -strongly convex on .
For part (iii), the slope condition again makes -strongly convex. Fix a demand realization . For every , the realized loss is , which is -strongly convex in on this interval. For realizations with , the loss remains convex there. Averaging over therefore makes at least -strongly convex on , and thus at least -strongly convex.
Optimality of and strong convexity give, for and , . Subtracting , dividing by , and letting yields . This argument also holds at . Applying the strong-convexity inequality at , with subgradient , now gives
Since the stated constant is no larger than , Eq. (18) holds on .
It remains to consider when . Monotonicity gives , and the preceding inequality at gives because . Consequently,
The second inequality uses . This proves Eq. (18) on the remaining interval, uniformly over periods.
C.4. Extension to nonperishable inventory
Proof of Proposition 3: Recall that . As shown in the main text,
Author: Randomization for Risk-Sensitive Newsvendor Learning Article submitted to Operations Research
The second inequality follows from for , since and .
Set . Conditional on and is fixed and nonnegative. Since and are conditionally independent given , . Taking conditional expectations and then averaging gives
Let . Summing over gives
Since , the sum on the left equals and . Thus,
Rearranging, using , and dividing by establishes
which is the desired result.