Manuscript Offprint
arXiv:2611.00165Learning to bid and bundle: a posterior-sampling agent for online retail
Abstract
An online retailer launching a perishable product bids for sponsored-search clicks, discounts a bundle with an always-stocked staple and displays its remaining stock, which raises willingness to pay. It knows neither how clicks respond to its bid nor how strong and dispersed its market is, and learns both over repeated seasons from data its own decisions censor: a zero bid reveals nothing about paid clicks, and choices follow only clicks. We design a posterior-sampling agent for it. Each period it draws a market from an exact posterior and posts the bid and discount of that market's exactly solved season plan, so every action is one a fully informed seller could take. In a simulated online florist it has the lowest regret averaged over markets. In weak markets it gives up 12% to 23% of one season's revenue over 500 seasons, four to seven times less than drawing once per season. A planner acting on point estimates can stop bidding and never learn that bidding pays. The agent escapes after about three seasons on average, against fifty with one draw per season. Where displayed scarcity keeps willingness to pay above the posted price, the discount needs no learning. Customers waiting for the discount to return to its recent level look like lost sales, so frequent waiting makes the agent underrate its market. One discount per season removes waiting at a cost of 5.9% of clairvoyant revenue in a weak market and none in a strong one.
Keywords: Online retailing, Sponsored search advertising, Bundle pricing, Dynamic pricing, Thompson sampling, Reinforcement learning, Scarcity effect
1. Introduction
Online retailers buy traffic through sponsored search, offer a second item at a discount on the product page, and show shoppers how many units are left. Each lever matters on its own: paid listings partly take traffic that organic results would otherwise bring (Moshary, 2025), scarcity cues raise booking intentions on hospitality platforms, partly through perceived value (Teubner & Graul, 2020), and when to disclose limited inventory is itself a decision that shapes sales (Z.
*Corresponding author. Email address: h.mohammadi@uu.nl (Hadi Mohammadi)
Liu et al., 2026). An online florist with fresh-cut bouquets to sell before the week is out uses all three. Each period it bids for the search keyword that brings shoppers to its page and sets a discount on a bouquet bought with a glass vase, while the page shows how many bouquets are left. With demand known, the bid and the discount can be planned together by dynamic programming (Mohammadi, Akrami, et al., 2026; Tunuguntla et al., 2019; Ye et al., 2015). At launch the florist knows little. It does not know how strongly clicks respond to its bid, how much its shoppers will pay, or how dispersed they are, and it has to learn all three from the clicks and sales that its own bids and discounts generate.
Two features make this harder than learning a posted price. The instruments censor the data. Organic visitors keep arriving without a bid, but only a positive bid reveals how paid clicks respond, and a purchase choice is seen only after a click. A seller that concludes advertising does not pay and stops bidding will never see evidence to the contrary. The discount, in turn, reaches customers who can wait: when it moves within the season, patient shoppers hold out for a better one, and in the seller's data a waiting shopper looks like a lost sale. Displayed scarcity adds a twist of its own. Deep scarcity lifts every shopper's willingness to pay above the posted price, so low-stock periods say little about the market.
We design and test a decision agent for this setting, with an offline planning module and an online learning loop. Offline, it solves the season program exactly by backward induction for every candidate market and click curve on a grid and stores the plans. Online, it keeps an exact posterior over the candidates, which splits into a click part and a choice part, and in each period draws a candidate and posts the bid and discount that the candidate's plan prescribes at the current stock and time. A decision is a table lookup, and every action is one a fully informed seller would take in some market the data still allow. Drawing once per season instead gives posterior sampling for reinforcement learning (Osband et al., 2013), which is easier to analyze and underlies a variant that holds one discount for the whole season. We test both in a seeded simulation of an online florist against certainty equivalence, randomized and scripted exploration, model-free learners, and oracles that know part of the truth.
Four findings stand out. Drawing every period is the version to deploy. It has the lowest regret averaged over markets (74.0 for certainty equivalence and 11 against $25), and it is the policy that can stop bidding for good. Tabular Q-learning, which needs no demand model, still earns 9% less than the oracle after 500 seasons in the strong market. Under a pessimistic prior that trap occurs, and posterior sampling escapes it at a rate we can predict. With 2% prior weight on responsive click curves, certainty equivalence never bids and forgoes more than half of the clairvoyant revenue every season, while one draw per season first bids after fifty seasons on average and one draw per period after three. Displayed scarcity decides what must be learned. Where it keeps every shopper's willingness to pay above the posted price, the optimal discount is a harvest level that depends only on known quantities, and the only market question left is whether the market is of that kind. Customers who wait contaminate learning. Waited bundles are recorded as no-sales, so once waiting is frequent the agent's beliefs drift toward weaker markets, whichever schedule it uses. Holding one discount for the season removes waiting at a cost of 5.9% of clairvoyant revenue in a weak market and none in a strong one.
The paper adds to work on learning agents for e-commerce decisions in design, testing and guidance. On design, the agent learns a per-click bid and a bundle discount together from data censored twice, with an exact posterior and an offline library of exactly solved plans, so its actions stay readable and its computation small. On testing, it is compared with standard and model-free learners in strong and weak markets and under two stress tests: a pessimistic prior that traps certainty equivalence, for which we derive how fast posterior sampling escapes under each sampling schedule (Proposition 3), and customers who wait for a better discount, whose waits bias the agent once they are frequent (Lemma 2 gives the threshold for a frozen plan). The analysis also shows that displayed scarcity can make discount learning unnecessary (Proposition 2). On guidance, Section 8 turns the results into deployment rules with the signals a seller can watch.
Two unpublished manuscripts are closest to this one. Mohammadi, Akrami, et al. (2026) solves the season model used here with demand known. We restate that model in full, so the paper can be read on its own, with one change, and study it under learning, which that work does not address. Mohammadi, Rabbani, and Nili Ahmadabadi (2026) studies a seller with unlimited inventory that learns which of a few prices to post, with no bid or bundle, against customers who wait. Section 7 applies its buy-wait-leave rule, which it takes from Nabi-Abdolyousefi (2018), to the bundle discount. Section 2 sets out what each contributes here.
Section 2 reviews related work. Sections 3 to 5 present the model, the agent with its computing cost, and the analytical results, Sections 6 and 7 the experiments, and Section 8 the rules for deployment. Section 9 concludes. Proofs are in Appendix A. The online supplement holds numerical checks and additional exhibits but no proofs.
Advertising and pricing. With demand known, Ye et al. (2015) optimize a sponsored-search bid jointly with a posted price over a selling season, Tunuguntla et al. (2019) add inventory-linked willingness to pay for a perishable product, and Salehi and Mirmohammadi (2023) a limited advertising budget. N. Agrawal et al. (2025) set campaign prices and exchange bids in one exactly solved Markov decision process on an advertising agency's side, with no retail price, goods inventory or bundle, and H. Li and Yang (2022) feed Bayesian click-through estimates from real campaign logs into a static keyword-targeting model. Mohammadi, Akrami, et al. (2026) replaces the posted price with a bundle discount under scarcity-dependent reservation prices and establishes the bid-discount separation and complementarity that our agent's plans inherit. With learning, the nearest published counterpart is Gurkan et al. (2026), who learn demand and advertising response while setting price, advertising level and inventory, giving sufficient conditions for fast learning and an asymptotically optimal policy. Their advertising decision is a level, ours a per-click auction bid whose zero level leaves the click data uninformative about the paid click response. J. Liu et al. (2026) price while learning an unknown advertising model from a class that includes the Nerlove-Arrow and Vidale-Wolfe models and show that static policies are near-optimal for the classic models. Online learning in repeated auctions studies bidders who learn values or competition (Balseiro & Gur, 2019; Guo et al., 2026; Han et al., 2025; Weed et al., 2016; W. Yang et al., 2025), and auto-bidding agents set each auction's bid against value or return-on-spend targets (Aggarwal et al., 2024). In all of these the bid is the only lever and inventory is absent. Here the bid interacts with a pricing lever through a perishable stock, and what the bid censors is the seller's own demand data: a zero bid hides the click curve.
Bundling and displayed scarcity. Bundling and cross-selling models price a second product against limited inventories without an advertising decision (Bulut et al., 2009; Gökgür & Karabatı, 2019; Netessine et al., 2006; Song & Xue, 2021). With name-your-own-price bids and an uncertain supplier cost, complementarity and marginal cost decide whether the bundle beats separate sale (Hemmati et al., 2023), and Abdallah and Reed (2026) show that as inventory becomes scarce relative to market size, optimal dynamic mixed bundling converges to component pricing. The harvest discount of Mohammadi, Akrami, et al. (2026) points the same way: under deep scarcity the discount only prices the abundant staple into the bundle. We read that result for learning. Where displayed stock keeps willingness to pay above the posted price, the discount needs no learning.
Customers who wait and learning sellers. Forward-looking customers who time purchases against markdowns are classic (Aviv & Pazgal, 2008; Cachon & Swinney, 2009; Su & Zhang, 2008). When they know the stockout risk, a larger initial stock sends more of them to wait (Zhao et al., 2022). Prices that move in one direction only are a known remedy (Y. Chen & Jasin, 2024), and e-commerce platforms choose when coupons can be redeemed with strategic consumers in mind (C.
Table 1: How the closest learning studies differ from this paper.
| Study | Decisions | Learned | Feedback | Customers |
|---|---|---|---|---|
| Rana and Oliveira (2015); Qiao et al. (2024) | prices of perishable products | a policy or value function, model-free | sales | myopic |
| den Boer and Zwart (2015) | price of a finite stock over repeated seasons | demand parameters | sales | myopic |
| Ferreira et al. (2018) | prices against finite stocks | demand parameters | sales | myopic |
| Gurkan et al. (2026) | price, advertising level, inventory | demand and advertising response | sales | myopic |
| Zhang and Jasin (2022) | prices | valuations and patience | purchases over time | patient |
| This paper | per-click bid and bundle discount for a fixed stock | click curve, market strength and spread | clicks, informative only at positive bids; choices only after a click | myopic, or waiting for a better discount |
Li et al., 2020). For a learning seller, Aviv et al. (2019) find that committing to a price increasingly dominates responsive pricing as the share of strategic consumers grows. Near-optimal markdown policies for demand learning with forward-looking customers delay markdowns (Birge et al., 2025), Zhang and Jasin (2022) learn valuation and patience and converge to cyclic pricing, and customers also react to experimentation visible in a learning seller's prices (X. Chen et al., 2022; Golrezaei et al., 2021). In Mohammadi, Rabbani, and Nili Ahmadabadi (2026) a seller with unlimited inventory learns which of a few prices to post against patience-driven waiting. Its benchmark posts one price throughout, so waiting there comes only from the learner's own price changes. We apply the buy-wait-leave rule it takes from Nabi-Abdolyousefi (2018) to the bundle discount of a perishable stock, where the clairvoyant discount itself moves within the season, and show that waits recorded as no-sales bias a myopic likelihood, a misspecification of the kind studied by Berk (1966) and, in revenue management, by Cooper et al. (2006).
Table 1 sets the paper apart on what is learned and on what the data reveal. Model-free agents need no demand model but many episodes. Model-based learners in operations research learn a few parameters from sales that every posted price reveals. Here the instrument that buys information is a per-click bid whose zero level reveals nothing, choices arrive only after a click, and scarcity and waiting change what the choices say about the market. The results of the paper are about these features: the trap and how fast sampling escapes it, what scarcity removes from the learning task, and how waiting biases the learner.
3. Model and learning environment
3.1. The selling season
We adopt the season model of Mohammadi, Akrami, et al. (2026) and state it here in full, in our notation and with one change: we anchor its click curve at the organic rate. An online retailer sells two commodities over a season of periods, indexed by the number of periods remaining . The primary commodity is perishable: the season starts with units, there is no replenishment, and units left at the end have salvage value per unit (baseline ). The secondary commodity is an abundant staple that never stocks out. Component prices and are fixed for the season. The two products are also offered as a bundle at price , where the bundle discount is one of the retailer's two per-period controls.
The other control is a cost-per-click sponsored-search bid . Periods are short enough that at most one customer clicks per period; a click arrives with probability and costs whether or not a purchase follows. We use the S-shaped click curve
anchored so that exactly for every location : without a bid the retailer gets its organic click rate and learns nothing about the paid part of the curve. (The curve of Mohammadi, Akrami, et al. (2026) is not anchored, and Section S1 of the online supplement re-solves the oracle under it.) A positive floor matches the evidence that paid listings partly draw traffic that organic listings would otherwise receive (Moshary, 2025), so a seller that stops bidding keeps selling and never learns why. Every click is billed at the bid, organic ones included. This overstates the cost of bidding, a limitation Section 9 returns to. The slope and the floor and cap describe the retailer's own listing and are known from history. The location reflects the competitiveness of the keyword auction and is unknown for a new product. Competing advertisers enter through it, so a single seller learning its click curve covers auction competition in reduced form.
A clicking customer sees the posted discount and the remaining inventory , and displayed scarcity shifts willingness to pay (WTP): the reservation price for the primary commodity is
with , while is inventory-independent and the bundle reservation price is additive, (Adams & Yellen, 1976); and denote the distribution functions of and . The scalers and summarize the market's strength and dispersion and are unknown for a new product. The display sensitivity , the Gamma shapes and the scales are known. The customer buys the surplus-maximizing option among the primary alone , the secondary alone , and the bundle , provided its surplus is positive; denote the resulting choice probabilities at , the last for no purchase. Customers in the main model are myopic. Section 7 lets them wait for a better discount.
3.2. The full-information oracle
Given the unknown primitives (made precise below), let be the optimal expected remaining revenue with periods and units left, and the marginal value of the -th unit. The Bellman recursion is
(3)
with , , and the choice probabilities in the inner objective evaluated at , so the state enters through the scarcity level and through the marginal value. For every parameter value, does not depend on the bid, so each period's maximization splits into two one-dimensional searches, and both optimal controls are nonincreasing in (Mohammadi, Akrami, et al., 2026; Topkis, 1998): where stock is scarce relative to remaining time, is high and paid traffic cannot pay for itself. Numerically this gives an on-off bid with a switching curve (the lowest inventory at which the bid is on with periods remaining) and, in strong markets, a discount pinned at the harvest level with , which prices the secondary commodity into the bundle (Section 5 makes this limit precise).
3.3. The learning problem
The retailer knows the model structure but not the demand primitives, which we collect in with and . We let range over a finite grid of candidate values with . The true parameter is . The grid spans weak to strong markets and cheap to expensive click auctions, so learning means discovering which market regime the product lives in, the question a merchandiser faces at launch.
Selling proceeds over repeated seasons (fashion-like assortment cycles): each season resets inventory to and runs periods under the same unknown . Within a period at state the retailer posts and observes two signals:
Clicks are billed, hence observed. Item-level sales identify , , and , and a billed click without a sale identifies (Figure 1). The choice signal is censored by the click: periods without a click carry no information about and, by the anchoring in (1), periods without a bid carry none about . A season ends at or at stockout, so successful policies self-censor late-season choice data.
Table S.1 in the online supplement collects the notation. The retailer starts from a prior on and updates to after season . Performance is measured against the full-information oracle: with the oracle season value and the exact expected season revenue of a policy under the true parameters, per-season regret and cumulative Bayes regret are
where is the policy deployed in season and the expectation is over the prior, the observation noise, and the algorithm's randomization. For a learner that plays one season plan, is exact after one backward pass, so its regret estimates carry no simulation noise beyond which plan was deployed. A learner whose actions respond to data within the season, the per-period agent of Section 4, -greedy and Q-learning (Section 4.2), plays no fixed plan. Its regret is estimated as the oracle's realized revenue minus its own, with the same customers facing both (common random numbers), which is unbiased.
4. The learning agent
Figure 1 shows the agent's two parts. Offline, before the first season, it solves the season program (3) for every candidate in and stores each plan as a bid map and a discount map over the remaining time and stock. Online, it keeps the posterior as two vectors, one over click curves and one over willingness-to-pay parameters, updates them after every click and choice, and in each period draws a candidate and looks up that candidate's action.
4.1. Likelihood and exact posterior
Write for the history through season : the posted controls, click outcomes, and post-click choices at their visited states. The likelihood factors into a click part and a choice part,
because the click depends on the bid alone and the choice, given a click, on alone. The posted controls depend on only through past data, so they add no factor that involves . A product prior therefore stays a product under any policy: clicks update only the -marginal and choices only the -marginal. The agent keeps the posterior exactly as two vectors on and

Figure 1: The learning agent (left) and the events within a period (right); solid outcomes are observed.
, with one log-likelihood update per observation. Draws, means and modes are exact up to a floor on choice likelihoods for numerical stability (Section S1 of the online supplement).
4.2. The agent and its benchmarks
The plans are solved by backward induction with ties broken toward the smallest control. With the discount separated from the bid and the choice tables precomputed, each plan takes milliseconds (Section 4.3). Algorithm 1 then draws a candidate from the posterior in every period and posts the action that the candidate's plan prescribes at the current state. We call this TS-UPDATE. Like the Thompson-sampling algorithms of Ferreira et al. (2018), it samples every period, and the stored plans already respond to the remaining stock and time. Drawing only at the start of each season and playing that plan to the end is posterior sampling for reinforcement learning (PSRL) of Osband et al. (2013), the form that Proposition 4 covers and that Section 7 restricts to one discount per season. Either way every action is one that the full-information plan of some candidate prescribes, which at our calibration means a bid that switches on and off along the plan's switching curve and a harvest or clearance discount (Section 3.2). PSRL follows one plan for a whole season; TS-UPDATE may switch plans within the season as the data arrive, which is what lets it act on early evidence.
Benchmarks. We compare against the clairvoyant oracle ; certainty equivalence (CE), which solves (3) each season for the posterior-mean click curve and choice tables; -greedy, CE with a decaying per-period probability of a uniform random control pair; explore-then-commit, a scripted
Algorithm 1: The learning agent (TS-UPDATE; the boxed line is skipped by PSRL, which draws only at season start)
Input: grid , prior , stored plans
1 for season do
2 draw ; set ;
3 for while do
4 post ; observe click and, if , the choice ; collect revenue;
5 update the click posterior with and, if , the choice posterior with ;
6 re-draw ;
Table 2: Computing cost of the agent by grid size : choice tables and all season plans (offline), plan memory, and time per decision and per update (online).
| Offline | Online | ||||
|---|---|---|---|---|---|
| Tables (s) | Plans (s) | MiB | Decision (s) | Update (s) | |
| 27 | 1.5 | 0.007 | 0.03 | 2.7 | 0.64 |
| 125 | 4.2 | 0.033 | 0.16 | 2.9 | 0.63 |
| 405 | 13.6 | 0.106 | 0.52 | 3.7 | 0.68 |
| 891 | 16.6 | 0.237 | 1.14 | 4.1 | 0.70 |
control sweep for a fixed number of seasons followed by CE; static-pair Thompson sampling, a model-free yardstick that treats each constant pair on a coarse grid as an arm with the season return as reward; the best static pair under the true parameters, the strongest clairvoyant benchmark that does not adjust within the season; two half oracles that know one block of and learn the other; and tabular Q-learning, a model-free reinforcement learner in the manner of Rana and Oliveira (2015) that learns action values over the states and 36 fixed bid-discount pairs from the revenue it earns, exploring -greedily.
4.3. Computing cost
Table 2 reports what the agent costs to run, measured in Python with one process on an Apple M4 Max. Most of the offline time goes into the choice tables, about 0.17 seconds per willingness-to-pay candidate. Once they exist, a season plan takes about 0.26 milliseconds, so the 125 plans of the main grid take 0.03 seconds and 0.16 MiB. Online, a decision (one posterior draw and one table lookup) takes about 3 microseconds and an update after an observation under one, whatever the grid size. The agent never solves anything while it sells.
5. Design properties
This section states what the agent can rely on: which data inform which part of the posterior, what displayed scarcity removes from the task, how fast sampling leaves a pessimistic prior, and the regret guarantee of the once-per-season form. Proofs are in Appendix A. Throughout, is finite and a season's revenue lies in an interval of length : each period earns at most and pays at most for a click, and salvage adds at most .
5.1. What scarcity removes from the learning task
Where scarcity carries the price, the discount can be frozen at a level that needs no learning:
Proposition 1 (Harvest limit: strong markets need no discount learning). Fix and let , the probability that the primary reservation price fails to clear the undiscounted primary price. Then, uniformly over and over compact -sets,
and depends only on the known secondary taste distribution. As the optimal discount converges to the harvest level , independent of , , , and . (At the baseline calibration the residual is below and with .)
With at every reachable inventory level this is the harvest discount of Mohammadi, Akrami, et al. (2026). The bound carries it to markets that are only nearly saturated. When scarcity keeps willingness to pay high, the discount only prices the secondary commodity into the bundle, and that trade-off involves nothing the retailer needs to learn.
The bid is the agent's only source of click-curve data, and the stock extremes say little about the market:
Lemma 1 (Censoring and saturation). (i) A policy that never bids generates data whose likelihood is constant in , so under a product prior the click-curve posterior never moves. (ii) Conditional on the secondary draw, the choice is a piecewise-constant function of whose decisive thresholds all lie in the window . Hence, for any two , the total-variation distance of the choice laws satisfies
In particular, if both reservation-price distributions place at most of their mass below the top of the window (deep scarcity), or both at most above its bottom (dead market), the choice laws differ by at most : both inventory extremes are uninformative about .
Part (i) is exact because of the anchored click curve (1). Part (ii) is visible at the calibration of Section 6.1: the choice laws of the strongest and weakest markets are indistinguishable at low inventory, where scarcity lifts every market's willingness to pay above the window, and separate almost completely at season-start inventory ( is below for both at , against 0.00 and 1.00 at ).
Season-start states are informative, and every new season revisits them, so learning is fast.
In strong markets the willingness-to-pay side reduces to a single yes-or-no question:
Proposition 2 (Saturated markets: one class, one policy, one bit). Call saturated if at every inventory level the season can reach; since in (2), is the smallest value can take and the condition is the closed-form one , and let collect the saturated grid points. Then (i) for every saturated and every , and : all saturated parameters share a single choice law, free of and of ; (ii) their season programs coincide and reduce to , so value, optimal bid and optimal discount are common to all of them, and the optimal discount is the harvest discount in every state; (iii) hence the choice likelihood is constant on : under any policy and any product prior, the -posterior restricted to is the prior restricted to for every , and in a season in which the sampled and the true WTP blocks are both saturated the regret is exactly that of the click-curve sample; (iv) the boundary is identified one-sidedly: a single no-purchase or secondary-only purchase has probability zero under every saturated parameter and eliminates at once, while a saturated truth never generates one, so the class separates from the rest of the grid only at the rate of its Kullback–Leibler (KL) divergence.
The condition, the choice law of part (i), and the reduced season program and harvest discount of part (ii) come from the full-information analysis of Mohammadi, Akrami, et al. (2026), where the condition is an assumption. Parts (iii) and (iv) give them their learning meaning. For a given click curve the saturated points share one season plan, so the seller has no need to tell them apart: on the willingness-to-pay side the question is the single bit “is the market saturated” (Section 6.3).
5.2. The no-bidding trap and how fast sampling escapes it
The sampling schedule sets how fast the agent leaves a pessimistic prior.
Proposition 3 (The no-bidding trap). Let the prior be a product prior, fix a set of click curves, called responsive, with prior mass , and suppose (a) the posterior-mean model's optimal bid is zero in every state, along every posterior reachable without bidding, and (b) at every state a season reaches without a bid, a sampled plan bids if its click curve is responsive and does not bid otherwise. Then: (i) CE never bids, its click-curve posterior stays at the prior forever, and if bidding is profitable under it loses at least a fixed positive amount every season: its regret grows linearly in . (ii) PSRL first bids in a season whose index is geometric with success probability , so the mean is seasons. (iii) TS-UPDATE first bids in a period whose index is geometric with success probability . If seasons without a bid last periods, its first bidding season is geometric with success probability , with mean , close to when is small.
Premise (a) can be checked by season solves and holds, for example, when enough prior mass sits on a click curve whose midpoint lies beyond the feasible bid range. This is the episodic, advertising-side analogue of the uninformative-price traps of Harrison et al. (2012) and Keskin and Zeevi (2014): acting on the belief that clicks are unresponsive destroys the only data that could refute it. Parts (ii) and (iii) show why the sampling schedule matters. Drawing every period gives the agent chances per season to try a responsive click curve, so for small its expected wait is about times shorter. One bidding period moves the click-curve posterior, and learning proceeds from there. Section 6.4 quantifies the trap at a calibration where the frozen belief costs more than half of the oracle revenue per season. Premise (b) fails there only for a few plans of the weakest market, which post no bid at the start of a season, and the observed escape times match both formulas (S1, Figure S.1).
Part (iii) also tells the seller how to set the prior. Under the premises, and if seasons without a bid last periods, TS-UPDATE has posted no bid after seasons with probability , so it bids within seasons with probability at least once the prior puts mass on responsive click curves. PSRL needs for the same guarantee. With , and the two floors are 0.049 and 0.632.
5.3. A regret guarantee
Proposition 4 (Bayes regret of PSRL). Under the protocol of Section 3.3 with finite of size , any prior and drawn from it, the cumulative Bayes regret of PSRL satisfies
where is the set of distinct season plans, is the optimal one, and is its entropy under the prior.
This is the information-theoretic bound of Russo and Van Roy (2016) with seasons as rounds and season plans as actions, applied to the exact posterior; we claim no new rate. It rules out freezing but forecasts little. At our calibration the right-hand side is about over 500 seasons, more than the passive policy's regret, while the regret of PSRL is 37 at the baseline truth and 109 averaged over the prior, and it does not grow with the grid size (S1). Since |II| counts distinct plans, grid points that share one, such as the saturated class of Proposition 2 at a given click curve, leave |II| unchanged. We know of no comparable bound for TS-UPDATE, whose draws within a season are not independent rounds. Its case rests on Proposition 3(iii) and on the numerical study.
6. Experimental evaluation
6.1. Test case and protocol
The calibration describes an online florist and takes its season and taste primitives from Mohammadi, Akrami, et al. (2026). The perishable product is a fresh-cut bouquet listed at 20 that is always in stock, and each period the florist chooses a discount for buying the two together and a bid for its search keyword. Monetary amounts throughout are in U.S. dollars. No retailer's records informed the calibration. Component prices are fixed for the season, so in the strong market the $50 list price sits far below what shoppers would pay and the bid and the discount are the only levers.
Table 3 collects the calibration and the experimental design. Unless stated otherwise, a season has periods and units, the season of the two weak-market scenarios of Mohammadi, Akrami, et al. (2026) (its own baseline season is shorter and smaller, and ). The parameter grid is , , and , giving candidates from near-dead to strong markets and cheap to expensive click auctions. Priors are uniform unless stated. The baseline truth is the strong market , the low-mean truth , and the low-dispersion truth . The saturation condition of Proposition 2 reads here, so the baseline truth is saturated together with nine of the other twenty-four market grid points, while both weak truths are not. Under the anchored click curve (1) the oracle season values are (baseline), (low mean), and (low dispersion). The oracle bids on-off with switching curve and posts a harvest discount at the baseline (a bundle, with the vase at ) against clearance-deep discounts in the weak markets, where bid-only revenue collapses to the passive level while the joint policy earns 13 to 14 times as much, the complementarity of Mohammadi, Akrami, et al. (2026) recomputed under the anchored curve.
Conditions run paired replicates under common random numbers (identical customer uniforms per replicate and season), unless Table 3 says otherwise; the agent, PSRL, CE and -greedy run 2,000 replicates in the four main settings. Regret is computed as Section 3.3
Table 3: Calibration and experimental design.
| Season | , controls on 0.1-grid |
|---|---|
| Prices, tastes | |
| Click curve | unknown |
| Grid | |
| Truths | baseline (170, 42; 5.5); low mean (50, 6; 5.5); low dispersion (60, 2; 5.5) |
| Replicates | , paired; 2,000 for the four main learners in the main settings, 100 in robustness and scaling; seeds (seed, replicate, season) |
| Seasons | headline, weak markets ; trap 1000; waiting 300; robustness 300 |
| Trap | truth (170, 42; 4); prior mass 0.98 (0.95, 0.90) on an added unresponsive curve, |
describes: exactly for learners that play one plan per season, against the oracle under common random numbers for the others. Differences between learners are reported as paired means with 95% confidence intervals.
6.2. Headline: regret against the clairvoyant
Figure 2 sets the learners side by side in every test case and Table 4 gives the numbers at the strong baseline truth and averaged over the prior. The agent (TS-UPDATE) has the lowest regret in four of the five settings. Averaged over the prior (Bayes mode, the truth drawn from the prior) it gives up 33.6 over 500 seasons, below CE by 40.4 (paired 95% interval [29.7, 51.1]) and below PSRL by 75.8 ([67.7, 84.0]). At the strong baseline truth it gives up 25.4, about 3% of one season's oracle revenue of $804.3, and 22.1 of that in the first ten seasons; drawing once per season gives up 12.0 more ([9.9, 14.2]). Certainty equivalence does better at this truth, at 11.4, below the agent by 14.0 ([12.0, 15.9]). With a uniform prior its mean model already bids, so its clicks keep correcting its beliefs, and it never plays a deliberately sampled plan, so it pays nothing for exploration. The trap of Proposition 3 stays silent here.
Exploration without the model is expensive. Explore-then-commit pays 1,175, nearly all of it in its ten sweep seasons, and decaying -greedy keeps paying for exploration long after it stops learning (722). The model-free bandit, Thompson sampling over 256 fixed bid-discount pairs with the season's revenue as its reward, pays 63,190 and still sits 6.5% below the oracle after 500 seasons. Tabular Q-learning needs no demand model at all and pays for it: it gives up 49,456 over 500 seasons at the baseline and still earns 9% less than the oracle at the end, and in the weak markets it ends at 45% and 18% of the oracle's revenue. Run for 20,000 seasons, its greedy policy reaches 95% of the oracle at the baseline after 6,500 seasons and stays near 82% in the low-mean market (Table S.5). Which half of the truth is costly to learn depends on the market. At the saturated baseline it is the click side: knowing the willingness to pay still leaves 31.0, knowing the click curve only 6.5. Averaged over the prior it is the willingness-to-pay side (65.3 against 37.1). These half oracles draw once per season.

Figure 2: Cumulative regret over 500 seasons (the trap: 1,000) with 95% intervals. The agent, ε-greedy and Q-learning are scored against the oracle under common random numbers, the others exactly.
Table 4: Cumulative regret. The first four learners: 2,000 replicates; the others: 200. The agent, ε-greedy and Q-learning are scored against the oracle under common random numbers. Bayes mode draws the truth from the prior; the half oracles draw once per season.
| Policy | Baseline truth | Bayes mode | |
|---|---|---|---|
| 10 seasons | 500 seasons (s.e.) | 500 seasons (s.e.) | |
| Agent (TS-UPDATE) | 22.1 | 25.4 (1.0) | 33.6 (1.6) |
| One draw per season (PSRL) | 33.0 | 37.4 (0.6) | 109.4 (4.5) |
| Certainty equivalence | 9.5 | 11.4 (0.3) | 74.0 (5.6) |
| ε-greedy | 47.7 | 721.5 (3.5) | 887.8 (13.7) |
| Explore-then-commit | 1,169.6 | 1,175.4 (0.6) | 1,574.2 (80.8) |
| Thompson sampling, 256 fixed pairs | 2,007.1 | 63,190.1 (45.5) | 72,904.8 (2,151.3) |
| Tabular Q-learning, 36 pairs | 2,790.0 | 49,456.1 (398.7) | |
| Known click curve (learn WTP) | 6.5 | 6.5 (1.3) | 65.3 (13.5) |
| Known WTP (learn click curve) | 27.2 | 31.0 (1.2) | 37.1 (2.5) |
| Best static pair (clairvoyant) | 4,674.1 | 7,442.6 | |
| Passive | 225,716.6 | ||
6.3. Recovering the switching curve
Figure 3 shows what is learned, at the harder low-mean truth under PSRL. The posterior-expected bid policy is already recognizably on-off after one season and visually indistinguishable from the oracle by season 30. The mean distance between the expected and oracle bid policies falls from 0.35 (season 1) to 0.0075 (season 30) to numerical zero by season 200. Posterior mass on the true market-strength row reaches 0.88 within five seasons and 1.00 by season 30, because season-start states separate weak from strong almost perfectly; the click-curve location, learnable only through bids, lags (mass 0.91 at season 20, 1.00 by season 200). At the baseline truth the posterior never concentrates, yet regret vanishes, as Propositions 1 and 2 predict: the truth and the nine other saturated market grid points prescribe the same season plan, and after 500 seasons

Figure 3: Policy recovery at the low-mean truth under PSRL. Top: posterior-expected bid policy after seasons (white: oracle switching curve). Bottom: posterior mass on the true parameters (left) and distance to the oracle policies (right).
they hold 0.595 of the posterior in ten equal shares of 0.0595 (S1). At the low-mean truth the class holds 0.011 of the posterior after one season and after two (Proposition 2(iv)).
6.4. Weak markets and the trap
Weak markets are where learning costs money. At the low-mean truth, where bid-only revenue collapses to the passive level (52.9 against the joint oracle's 747.2), the agent gives up 91.3 over 500 seasons, and 160.7 at the low-dispersion truth, about 12% and 20% of one season's oracle revenue (Figure 4, left). It earns 99.7% and 99.5% of the oracle over its first fifty seasons, more than the best static pair chosen with full knowledge of demand (92.5% and 93.4%; both in Table S.3). One draw per season costs four to seven times as much (680.5 and 712.5). Certainty equivalence lies in between at the low mean (349.2) and above both at the low dispersion (723.7), and -greedy pays 1,736 and 3,528. The gap between the two sampling schedules comes from the first seasons. A draw from a strong market posts harvest discounts that a weak market cannot convert, and the first no-sales at those discounts already refute it. TS-UPDATE acts on that evidence in the next period, PSRL only in the next season.
The right panel of Figure 4 shows the trap of Proposition 3 at a strong market with cheap clicks (, oracle value 825.9), under a prior with mass 0.98 on a click curve whose midpoint lies beyond the feasible bid range, so that the mean-model bid is zero in every state. Certainty

Figure 4: Left: cumulative regret at the two weak-market truths. Right: the trap, under prior mass 0.98 on an unresponsive click curve (log scale); inset: share of replicates that have ever bid.
equivalence never bids in any of 200 replicates over 1,000 seasons and loses 464.9 per season, more than half of the oracle's revenue, so its cumulative regret grows linearly. PSRL draws a responsive click curve with probability 0.02 per season. It first bids in season 50.9 on average (predicted: 50) and gives up 23,210 in total. TS-UPDATE draws twenty times a season, first bids in season 2.9 on average (predicted: 3.0) and gives up 2,004. At live mass 0.05 and 0.10 the mean first-bid seasons are 21.1 and 10.0 for PSRL and 1.5 and 1.1 for TS-UPDATE, against predicted 20, 10, 1.6 and 1.1 (Figure S.1). Randomized exploration also escapes ( -greedy: 2,552) but keeps paying its exploration tax where nothing is left to learn (722 at the baseline). A point-estimate system that recommends “do not advertise” produces data that can never contradict it.
6.5. How the results compare with existing findings
Certainty equivalence does well wherever its own decisions keep producing informative data. den Boer and Zwart (2015) show that with finite inventories and repeated selling seasons a slightly modified certainty-equivalent pricing policy learns, because optimal prices vary with the remaining stock. Here the bid switches on and off with stock and time in the same way, so clicks keep informing the click-curve estimate, which is why CE wins at the strong baseline. That endogenous learning stops once the plan stops bidding, because a zero bid makes clicks uninformative. The trap is the incomplete learning of Harrison et al. (2012) and Keskin and Zeevi (2014) moved from the price to the bid, and the remedy changes with it: those papers force deviations from the myopic price, while here a single positive bid informs, so one responsive draw suffices. The Thompson-sampling algorithms of Ferreira et al. (2018) also sample every period and re-solve a linear program each period, in one variant with inventory constraints that follow the remaining stock. With exactly solved plans the stock and time are already handled, and the sampling schedule is the design choice left. It matters most where the first observations contradict the draw, in weak markets and in the trap. Gurkan et al. (2026) give sufficient conditions for exponentially fast learning when price, advertising and inventory are set together, and find that departing from them to avoid experimentation costs profit. A zero bid is the extreme case: it avoids experimentation on the advertising side altogether, and learning about clicks stops. Model-free agents, such as the reinforcement-learning pricers of Zhou et al. (2022) and Qiao et al. (2024), learn a policy from many simulated episodes. The two model-free learners here show what that costs without the season structure: the bandit over fixed pairs gives up 63,190 and tabular Q-learning 49,456 over 500 seasons, and Q-learning needs thousands of seasons to come within 5% of the oracle. A model-based agent avoids that cost by learning three parameters rather than a value function. Section 7 adds two comparisons on the customer side.
6.6. Prior misspecification and robustness
In every robustness variant the agent either beats once-per-season sampling or matches it within sampling error (Table S.2). An off-grid truth leaves a regret plateau that tracks the mesh: a roughly sevenfold finer grid cuts it from 0.42 to 0.10 per season (Table S.2). The picture is unchanged across and positive salvage, but not when the display sensitivity k is learned as well: at a fast-decay truth off a coarse 81-point grid posterior sampling settles at 90.2% of the oracle. When the market weakens every 40 seasons, every learner that keeps all its data pays once the market turns weak, and keeping only the last 40 seasons of data cuts the regret by a third (S2). Regret is flat in the grid size (36.6 at J = 27, 31.9 at J = 405; Figure S.1), far from the of Proposition 4, because every observation updates all candidates at once.
7. Customers who wait for a better discount
7.1. Waiting on the discount margin
Component prices are fixed within a season, so the only price a customer can hope to improve by waiting is the bundle's. Following the three-way choice model of Mohammadi, Rabbani, and Nili Ahmadabadi (2026), itself adopted from Nabi-Abdolyousefi (2018), a clicking customer whose surplus-maximizing option is the bundle, with surplus , compares buying now, worth , with waiting one period for a deeper discount, worth at patience and a forecast of the posted discount. The customer therefore waits exactly when
(7) buys otherwise, and, having waited, returns next period with probability , purchasing its surplus-best option at the then-posted discount and displayed inventory. As in Mohammadi, Rabbani, and Nili Ahmadabadi (2026), the forecast weights recent prices most. Here it exponentially smooths the posted discount within the season, , starting afresh at each season's first posted discount. Customers thus hold adaptive expectations: they respond to the posted price path and never see the seller's algorithm, and they wait when the discount falls below its recent level. This is a scope choice. A discount that deepens through the season, the classic markdown, never makes them wait, whereas customers with rational expectations would wait for it (Aviv & Pazgal, 2008; Su & Zhang, 2008). Setting recovers the myopic environment of Section 3 exactly.
Waiting is priced entirely by the discount path:
Proposition 5 (Immunity of constant discount paths). Under the waiting rule (7): (i) is nondecreasing in and in the forecast gap and zero whenever . (ii) If the posted discount is constant within the season, , then and in every period: no customer waits, revenue and transitions coincide with the myopic environment's for every and every bid path, and hence the season value of any policy posting season-constant discounts is invariant to . (iii) In a saturated market the full-information plan is such a policy, since by Proposition 2(ii) it posts the harvest discount in every state: every saturated market's oracle is immune to waiting, and any waiting observed there under a learner is caused by whoever varies the discount, that is, by learning itself.
Parts (i) and (ii) follow directly from (7), and (ii) carries to the discount the observation of Mohammadi, Rabbani, and Nili Ahmadabadi (2026) that a price held constant leaves customers nothing to wait for. Part (iii) ties immunity to the saturated class. Off that class the oracle's own discount moves with the state, taking 37 distinct levels at the low-mean truth and 43 at the low-dispersion truth, so there even the clairvoyant seller trains waiting.
The seller's likelihood stays myopic: a customer who waits is recorded as a click without a sale, indistinguishable from a genuine , and returning purchases arrive outside the click-attributed data stream. Waiting therefore also contaminates the seller's beliefs, with a sharp threshold:
Lemma 2 (A dichotomy for belief contamination). Fix two WTP candidates, the truth and a rival , both with all four outcome probabilities positive at every visited state, and let each clicking customer whose surplus-best option is the bundle wait with probability . (i) At any state the expected per-click increment of the log-likelihood ratio of against is
, with slope
it is linear in , negative at , and, whenever (for which and at that state suffice), positive exactly above . (ii) Aggregate over a frozen season plan's visited states, weighting by expected clicks with the visit measure held at its myopic benchmark and seasons i.i.d., and suppose the aggregated slope is positive, a computable condition on known quantities. Then the posterior odds of against converge to 0 almost surely when the waiting rate is below and diverge almost surely when it is above.
Waited bundles become recorded no-sales, so beliefs drift toward weaker markets once the waiting rate crosses the threshold. This is the learning counterpart of the spiral-down effect of Cooper et al. (2006), in which a revenue manager who ignores customers' substitution reads it as weaker demand. Under the frozen clairvoyant plan at the weak truth only the weakest rival (50, 2) has a positive aggregated slope, with . Forcing exogenous waiting on that plan keeps posterior mass on the truth at 1.00 up to and drives it to 0.00 from , so for a frozen plan the computed threshold is conservative (S1, Figure S.2). For a learner, whose plans vary, it is a guide only: at the season-level learner's realized waiting rate is about 0.27, just below the threshold, and its mass on the truth has already fallen to 0.33.
7.2. Results
Figure 5 reports the waiting experiments, and Table S.4 gives the weak-truth results by patience level. The protocol of Section 6.1 applies, with and . Alongside the learners of Section 6 we run the flat-discount learner, the variant of PSRL that Proposition 5(ii) suggests: draw from the posterior once per season, then play the best season plan whose discount is one constant level (the level is optimized at the draw and the bid stays state-dependent).
Exposure to waiting. At the strong-market truth the oracle’s simulated revenue is 804.1 per season (exact value 804.3) at every patience level, because the flat harvest discount gives customers nothing to wait for. Both sampling learners match it for , since their discount settles within a few seasons. At early exploration trains waiting (0.94 events per season for PSRL, 1.10 for TS-UPDATE), and both lose 2.5% of revenue on average while the oracle loses nothing. The average mixes two outcomes. In 150 (PSRL) and 137 (TS-UPDATE) of the 200 runs no customer ever waits and nothing is lost; in the rest an early wait refutes the saturated class, and revenue settles at 90.2% and 92.2% of the oracle's (S1). weak-market truth the oracle itself discounts less as stock clears, so all are exposed. At the oracle reaches 85.4% of the myopic-clairvoyant value, CE 83.7%, PSRL 80.1% and TS-UPDATE 79.5%, and at the three learners all reach 69.4%. Drawing every period buys nothing here: once the posterior settles, both schedules post the same plans.
What trains waiting. Waiting needs a discount that varies within the season. Where it does not vary, nobody waits; where it does, patience drives how many do (Figure 5, right). Clamping the learner's discount (at the cap at the weak truth and at at the strong truth) while the bid keeps learning eliminates waiting at both truths and, at the weak market with , recovers revenue to 93.6% of the clairvoyant, above both the unclamped learners and the oracle. Waiting also contaminates inference. At the weak truth, posterior mass on the true after 300 seasons falls from 1.00 () to 0.98, 0.33 and 0.00 as rises to 0.6, 0.9 and 0.99 under PSRL, and to 0.29 and 0.00 at the two highest levels under TS-UPDATE. At the saturated truth a waited bundle is the no-purchase observation that every saturated parameter rules out (Proposition 2(iv)), so a single wait refutes the whole class (S1).
Committing the discount. The flat-discount learner turns Proposition 5(ii) into a design rule. Its waiting count is zero at every patience level by construction, and its beliefs stay clean: posterior mass on the true at the weak truth is 1.00 for every . The price is the flatness itself. At the weak truth the best flat plan earns 94.1% of the clairvoyant value, so under myopic customers commitment gives up 5.9 points that the unrestricted learners keep. At it earns more than the unrestricted learners, the learner with a clamped discount and the myopic-optimal oracle, and at it leads the unrestricted learners by 24.7 points (94.1% against 69.4%). At the strong truth commitment is free: the optimal plan is already flat (Proposition 2(ii)), and the flat-discount learner earns the oracle's simulated 804.1 at every patience level. Committing the discount need not slow the bid. An agent that keeps drawing the bid every period but holds the discount drawn at the start of the season makes nobody wait either, earns 94.1% of the clairvoyant value in the weak market at every patience level and, in the trap, first bids after 2.9 seasons on average, as the agent does. Its price is a slower start on the discount, about 800 in the weak markets on top of the cost of flatness, most of it in the first ten seasons (S2). seller can watch for waiting directly: returning customers buy outside the click-attributed data, so bundle purchases without a click that rise after the discount falls are its signature. Committing the discount mirrors Aviv et al. (2019), who find that committing to a price increasingly dominates responsive pricing as strategic customers become more common, and it keeps learning across seasons while committing within each.

Figure 5: Customers who wait. Left: revenue per season (final 100 seasons) against patience . Right: waiting incidence against the within-season standard deviation of the discount.
8. Rules for deployment
Table 5 turns the results into six rules for a seller who launches a perishable product into an unknown market, each with a signal the seller can watch. The numbers come from the simulated florist of Section 6.1.
Two of the rules have a price. The prior floor makes the agent bid in seasons where a pessimistic seller would not, which costs money if clicks really are unresponsive. Commitment gives up the discount's response to stock: at patience 0.3 and 0.6 the unrestricted learner still earns 99.6% and 98.3% of the clairvoyant value, so committing would cost 5.5 and 4.2 points there, and it pays only once patience is high.
9. Conclusions
We designed and tested a learning agent for an online retailer that must learn how clicks respond to its sponsored-search bid and what shoppers will pay for a perishable product as displayed stock runs down. Sampling a candidate market every period and following its exactly solved plan learns fastest where learning is expensive, escapes a planner's decision to stop advertising within a few seasons, and leaves every action readable. Where displayed scarcity keeps willingness to pay above the posted price, the discount needs no learning, and where shoppers wait for a better discount, one discount per season keeps their waits from biasing the agent.
Limitations and future research
The evidence is simulated from an illustrative calibration, so a field test on a retailer's click and sales logs is the natural next step. Three modeling choices deserve that test. Every click is
Table 5: Rules for deploying the agent.
| Rule | Signal to watch | Action | Evidence here |
|---|---|---|---|
| Draw every period | always | draw a market from the posterior in each period and post its plan's bid and discount | regret 91.3 and 160.7 in the weak markets against 680.5 and 712.5 with one draw per season; 33.6 against 109.4 averaged over markets (Sections 6.2 and 6.4) |
| Keep a prior floor on bidding | before launch | put prior mass on click curves whose plans bid | bids within three seasons with probability 0.95 (Proposition 3); without bidding, is lost every season |
| Distrust a plan to stop advertising | the posterior-mean plan bids zero everywhere | keep sampling until a bid has moved the click-curve posterior | a zero bid reveals nothing about paid clicks (Lemma 1) |
| Freeze the discount where scarcity carries the price | the estimated share of full-stock shoppers who would not buy the product at its list price is below a small | post the harvest discount ($5.40 here) and learn only the bid | the loss is at most of order (Proposition 1); tuning buys nothing there |
| Commit the discount when shoppers wait | bundle purchases without a click rise after the discount falls | hold the discount drawn at the start of the season and keep drawing the bid every period | 94.1% of clairvoyant revenue at every patience level, against 80.1% and 69.4% at patience 0.9 and 0.99; the bid still leaves the trap after 2.9 seasons; costs 5.9 points when nobody waits, nothing in the strong market (Section 7.2) |
| Refine the grid when learning stalls | the posterior settles between neighbouring candidates | add candidates near the posterior mode and re-solve offline | a sevenfold finer grid cuts the late regret from 0.42 to 0.10 per season (Table S.2) |
billed at the bid, organic ones included, which overstates the cost of bidding. Customers who wait hold adaptive expectations, so a classic markdown that deepens through the season does not make them wait. Customers who anticipate the seller's plan would, and a learner facing them would need a model of their timing. The scarcity response is assumed: scarcity cues raise booking intention on hospitality platforms (Teubner & Graul, 2020), which supports the assumption, but its exponential form and the display sensitivity are taken as known. When is learned as well, at a fast-decay truth off a coarse grid, posterior sampling settles at 90.2% of the oracle (Section 6.6). The parameter grid is finite. Refining it is cheap and the misspecification plateau tracks the mesh, but fully continuous posteriors would need approximate season solves. Component prices are fixed within the season, one product pair is bundled, and the stock is displayed in every period, although whether and when to disclose it is itself a decision (Z. Liu et al., 2026). Competition enters only through a stationary click curve for a single keyword. A learner over several keywords would answer the call of H. Li and Yang (2022) for keyword targeting that adjusts to market responses. Our model-free benchmarks are a bandit over fixed pairs and tabular Q-learning; deep reinforcement learning, which needs simulated training at a scale the agent avoids, is left for problems with richer state. On the theory side, a regret bound for sampling within the season and instance-dependent regret under censoring remain unresolved.
Appendix A. Proofs
This appendix proves the claims of Section 3.2 and the results of Sections 5 and 7, in the order in which they appear.
Separation and monotonicity of the season program (Section 3.2). (i) In (3) the bid enters only through and the per-click cost, and depends on alone, so with . (ii) is a maximum of functions affine and nonincreasing in (the coefficient of is ), hence nonincreasing in . As is nondecreasing, has increasing differences in , so by Topkis's theorem (Topkis, 1998) the largest and smallest maximizers are nondecreasing in , hence nonincreasing in . A deeper discount raises only the bundle's surplus, so the no-purchase and secondary-only events shrink: is nondecreasing in , has decreasing differences in , and is nonincreasing in .
Proof of Proposition 1. Write and let : the probability that the primary reservation price fails to clear the undiscounted primary price. On the event , the primary-alone surplus is positive, the bundle beats the secondary alone (their surplus difference is ), and the bundle beats the primary alone exactly when ; so the choice is the bundle with probability and the primary alone otherwise, regardless of the fine location of . Hence , , , and , uniformly in . Substituting into ,
using and after collecting terms. The bound is uniform on compact -sets and vanishes as . The limit objective is , whose -dependence is all in , so every selection of maximizers converges to (unique at the calibration), which involves only the known .
Proof of Lemma 1. (i) By the anchored curve (1), for every , so with every click factor in (6) equals , independent of , so under a product prior the -posterior never moves.
(ii) Fix and couple the two models through a common draw. Condition on and trace the choice as a function of . Two cases exhaust the possibilities. Case .
The bundle’s surplus is below the primary’s and the secondary’s is negative , so the choice is if and otherwise: one decisive threshold, . Case . The bundle weakly dominates the primary, so the choice is among : the bundle beats the secondary alone exactly when , i.e. , and beats no-purchase exactly when ; when the bundle loses both comparisons the choice is if and otherwise, with no further dependence on . The two decisive thresholds are and , and the latter matters only while it exceeds , i.e. for , and is at most because : both lie in . In both cases the conditional choice law is a function of at most two values of evaluated inside , so its total variation across is at most . Integrating over the common preserves the bound and gives the display in the lemma.
For the two inventory extremes, note on : if both distributions place at most of their mass below , both distribution functions are at most throughout the window and the sup difference is at most (deep scarcity: every customer clears every threshold and the choice reduces to the secondary-membership comparison of Proposition 1). Symmetrically, if both place at most above , both distribution functions are at least on the window (dead market: the primary never sells and the choice degenerates to the secondary-alone comparison).
Proof of Proposition 2. Saturation gives for every and every reachable , hence also there. (i) Integrating the case analysis in the proof of Lemma 1 over gives because ; because the integration range lies in ; and by adding up. None of the four involves or . (ii) Substituting , into (3) leaves the inner objective , and gives the stated recursion. Its data are and the click curve only. With s and , also free of , the value function, both maximizers (under the fixed tie-breaking rule) and therefore the whole season policy are common to all saturated parameters, and the discount maximizes alone, so it equals in every state. (iii) By (i) the choice factor of the likelihood (6) is identical across for every observation, and under a product prior the -posterior is the prior times the choice factor, so the posterior odds between two saturated points never move from their prior value. Renormalizing gives the claim. If and are both saturated then, by (ii), and both the played and the optimal season value under are unchanged if is replaced by :
the season's regret is the click-curve sample's alone. (iv) A post-click observation of or carries likelihood factor or under every saturated parameter, so one such observation sets the mass of the whole class to zero. Under a saturated truth neither outcome ever occurs, while every non-saturated parameter gives the observed outcomes positive probability, so it is down-weighted only at its Kullback–Leibler rate.
Proof of Proposition 3. (i) Suppose the posterior-mean model at the prior has optimal bid 0 in every state. Then CE posts in season 1. By Lemma 1(i) the -posterior after season 1 equals the prior. The -posterior may move (organic clicks still arrive at rate ), but by assumption the mean-model bid is zero in every state for every -posterior reachable under the frozen -prior (the checkable premise). At our calibration it holds because the pessimistic click curve makes paid traffic unprofitable at every demand model on the grid. By induction CE never bids, its click-curve beliefs never move, and it plays a no-bidding policy every season. If the optimal no-bidding value under falls short of by , its regret is at least per season. (ii) While no bid has been posted, the click posterior equals the prior (Lemma 1(i)), and since the posterior is a product, the click part of every draw has the prior law whatever its willingness-to-pay part. By the premise a PSRL draw bids during the season exactly when its click curve is one whose plans bid, which has probability , and draws in different seasons use independent randomness. The index of the first bidding season is therefore geometric with success probability . (iii) The same argument applies period by period. TS-UPDATE draws afresh in every period, each draw's click curve has the prior law until the first bid, and by the premise the draw bids at the current state exactly when its click curve is one whose plans bid. The first bidding period is therefore geometric with success probability . If a season without a bid lasts periods, it passes without a bid with probability , independently across seasons, so the first bidding season is geometric with success probability . After the first bid, click probabilities at the posted bid differ across the click curves in the prior's support, so the click-curve posterior moves.
Proof of Proposition 4. Treat each season as one round of the Thompson-sampling problem of Russo and Van Roy (2016). The action in season is the season plan , the observation is the season's record of posted controls, clicks and choices, and the reward is the season's revenue, a function of that lies in an interval of length . The set is finite, and each plan is a function of under the fixed tie-breaking rule. Given and the plan, the records of different seasons are independent and identically distributed, because every season restarts from under the same (Section 3.3). PSRL draws from the posterior and plays .
Since and have the same law given the history ,
so the algorithm is Thompson sampling over in their sense (the plans already played add no likelihood factor that involves ; Section 4.1), and the regret (5) is their Bayesian regret. Write and for expectation and mutual information given , and let
be the information ratio of season . Russo and Van Roy (2016) show that a policy satisfying (A.1) has whenever in every season (their Proposition 1), and that when the actions are finitely many and the rewards lie in an interval of unit length (their Proposition 3). Dividing the revenue by divides the numerator of by and leaves the denominator unchanged, so , which gives the first bound. The second follows from and .
Proof of Proposition 5. (i) With surplus and forecast gap , waiting is preferred exactly when , i.e. ; is nondecreasing in and in and zero at . (ii) If for all , the forecast recursion , initialized at the first posted discount, gives for all , so and : no customer waits, no returning pool forms, and revenue and transitions coincide with the myopic environment's for every bid path, so the season value of any season-constant policy is invariant to . (iii) By Proposition 2(ii) the full-information plan at a saturated parameter posts in every state, a season-constant discount, so (ii) applies to it.
Proof of Lemma 2. Fix the state and write over the four outcomes . With waiting rate , a clicked customer produces the outcome law
the truth's law with a w-fraction of bundle outcomes recorded as no-sales. The myopic likelihood accumulates at the observed outcome y, so the expected per-click increment of is
by direct substitution: the -term collects the coefficient of the mass moved from to . This proves (i): is linear in and strictly negative at (a Kullback–Leibler divergence between distinct laws). If it is strictly increasing and crosses zero exactly at , and the displayed bracket is positive whenever and at the state, the sufficient ordering quoted in the statement. For (ii), weight each state by its expected clicks under the plan’s myopic occupancy (season-start mass one at , depletion with probability , stockout absorbing) and sum: the season drift is , with because the two laws differ at some visited state, and by hypothesis. The hypothesis is a finite sum of known quantities, so it is checkable at any calibration, and the pointwise ordering at every visited state is one sufficient condition for it. Seasons under a frozen plan are i.i.d., and each season’s increment is bounded (finitely many states, all outcome probabilities positive at visited states by hypothesis), so the strong law of large numbers gives almost surely. The log-posterior odds differ from by the constant log-prior odds, so they diverge to below and to above.
Declarations
The author declares no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.
Data and code availability. All results are simulated from the parameter values reported in the article and its online supplement. The code, seeded configurations and result summaries are available at https://anonymous.4open.science/r/bid-bundle-agent-code-17D7 and will be deposited in a public repository on acceptance. The online supplement is included with this preprint as an ancillary file.
Declaration of generative AI and AI-assisted technologies in the manuscript preparation process
During the preparation of this work the author used Claude (Anthropic) in order to help edit the text and check the consistency of reported results. After using this tool, the author reviewed and edited the content as needed and takes full responsibility for the content of the published article.
References
Abdallah, T., & Reed, J. (2026). The diminishing value of bundling under inventory scarcity. Management Science. Advance online publication. https://doi.org/10.1287/mnsc.2025.03120
Adams, W. J., & Yellen, J. L. (1976). Commodity bundling and the burden of monopoly. The Quarterly Journal of Economics, 90(3), 475–498. https://doi.org/10.2307/1886045
Aggarwal, G., Badanidiyuru, A., Balseiro, S. R., Bhawalkar, K., Deng, Y., Feng, Z., Goel, G., Liaw, C., Lu, H., Mahdian, M., Mao, J., Mehta, A., Mirrokni, V., Paes Leme, R., Perlroth, A., Piliouras, G., Schneider, J., Schwartzman, A., Sivan, B., ... Zuo, S. (2024). Auto-bidding and auctions in online advertising: A survey. ACM SIGecom Exchanges, 22(1), 159–183. https://doi.org/10.1145/3699824.3699838
Agrawal, N., Najafi-Asadolahi, S., & Smith, S. A. (2025). Dynamic pricing and bidding for display advertising campaigns. Manufacturing & Service Operations Management, 27(3), 843–861. https://doi.org/10.1287/msom.2023.0600
Agrawal, S., & Goyal, N. (2017). Near-optimal regret bounds for Thompson sampling. Journal of the ACM, 64(5), Article 30. https://doi.org/10.1145/3088510
Araman, V. F., & Caldentey, R. (2009). Dynamic pricing for nonperishable products with demand learning. Operations Research, 57(5), 1169–1188. https://doi.org/10.1287/opre.1090.0725
Aviv, Y., & Pazgal, A. (2005). A partially observed Markov decision process for dynamic pricing. Management Science, 51(9), 1400–1416. https://doi.org/10.1287/mnsc.1050.0393
Aviv, Y., & Pazgal, A. (2008). Optimal pricing of seasonal products in the presence of forward-looking consumers. Manufacturing & Service Operations Management, 10(3), 339–359. https://doi.org/10.1287/msom.1070.0183
Aviv, Y., Wei, M. M., & Zhang, F. (2019). Responsive pricing of fashion products: The effects of demand learning and strategic consumer behavior. Management Science, 65(7), 2982–3000. https://doi.org/10.1287/mnsc.2018.3114
Balseiro, S. R., & Gur, Y. (2019). Learning in repeated auctions with budgets: Regret minimization and equilibrium. Management Science, 65(9), 3952–3968. https://doi.org/10.1287/mnsc.2018.3174
Bastani, H., Simchi-Levi, D., & Zhu, R. (2022). Meta dynamic pricing: Transfer learning across experiments. Management Science, 68(3), 1865–1881. https://doi.org/10.1287/mnsc.2021.4071
Berk, R. H. (1966). Limiting behavior of posterior distributions when the model is incorrect. The Annals of Mathematical Statistics, 37(1), 51–58. https://doi.org/10.1214/aoms/1177699597
Besbes, O., & Zeevi, A. (2009). Dynamic pricing without knowing the demand function: Risk bounds and near-optimal algorithms. Operations Research, 57(6), 1407–1420. https://doi.org/10.1287/opre.1080.0640
Birge, J. R., Chen, H., & Keskin, N. B. (2025). Markdown policies for demand learning with forward-looking customers. Operations Research, 73(5), 2550–2566. https://doi.org/10.1287/opre.2019.0402
Broder, J., & Rusmevichientong, P. (2012). Dynamic pricing under a general parametric choice model. Operations Research, 60(4), 965–980. https://doi.org/10.1287/opre.1120.1057
Bulut, Z., Gürler, Ü., & Şen, A. (2009). Bundle pricing of inventories with stochastic demand. European Journal of Operational Research, 197(3), 897–911. https://doi.org/10.1016/j.ejor.2006.09.106
Cachon, G. P., & Swinney, R. (2009). Purchasing, pricing, and quick response in the presence of strategic consumers. Management Science, 55(3), 497–511. https://doi.org/10.1287/mnsc.1080.0948
Chen, X., Gao, J., Ge, D., & Wang, Z. (2022). Bayesian dynamic learning and pricing with strategic customers. Production and Operations Management, 31(8), 3125–3142. https://doi.org/10.1111/poms.13741
Chen, Y., & Jasin, S. (2024). Simple monotonic readjustment policies with applications to markdown pricing and pricing in the presence of strategic customers. Operations Research, 72(5), 1893–1905. https://doi.org/10.1287/opre.2020.0774
Cooper, W. L., Homem-de-Mello, T., & Kleywegt, A. J. (2006). Models of the spiral-down effect in revenue management. Operations Research, 54(5), 968–987. https://doi.org/10.1287/opre.1060.0304
den Boer, A. V. (2015). Dynamic pricing and learning: Historical origins, current research, and new directions. Surveys in Operations Research and Management Science, 20(1), 1–18. https://doi.org/10.1016/j.sorms.2015.03.001
den Boer, A. V., & Zwart, B. (2014). Simultaneously learning and optimizing using controlled variance pricing. Management Science, 60(3), 770–783. https://doi.org/10.1287/mnsc.2013.1788
den Boer, A. V., & Zwart, B. (2015). Dynamic pricing and learning with finite inventories. Operations Research, 63(4), 965–978. https://doi.org/10.1287/opre.2015.1397
Fang, L., Tang, J., & Pan, Z. (2025). Learning-based bundling strategy for two products under uncertain consumer's valuations. IEEE Transactions on Engineering Management, 72, 1970–1982. https://doi.org/10.1109/TEM.2025.3567326
Ferreira, K. J., Simchi-Levi, D., & Wang, H. (2018). Online network revenue management using Thompson sampling. Operations Research, 66(6), 1586–1602. https://doi.org/10.1287/opre.2018.1755
Gallego, G., & van Ryzin, G. (1994). Optimal dynamic pricing of inventories with stochastic demand over finite horizons. Management Science, 40(8), 999–1020. https://doi.org/10.1287/mnsc.40.8.999
Gökgür, B., & Karabati, S. (2019). Dynamic and targeted bundle pricing of two independently valued products. European Journal of Operational Research, 279(1), 184–198. https://doi.org/10.1016/j.ejor.2019.05.022
Golrezaei, N., Javanmard, A., & Mirrokni, V. (2021). Dynamic incentive-aware learning: Robust pricing in contextual auctions. Operations Research, 69(1), 297–314. https://doi.org/10.1287/opre.2020.1991
Greenstein-Messica, A., & Rokach, L. (2020). Machine learning and operation research based method for promotion optimization of products with no price elasticity history. Electronic Commerce Research and Applications, 40, Article 100914. https://doi.org/10.1016/j.elerap.2019.100914
Guo, M., Zhang, W., Shen, Y., & Zhang, Q. (2026). Bid shading in first-price auction: Nonstationary Bayesian multiarmed bandit methods for real-time bidding. Information Systems Research. Advance online publication. https://doi.org/10.1287/isre.2025.1837
Gurkan, H., Keskin, N. B., & Parker, R. P. (2026). Dynamic learning for joint pricing, advertising, and inventory management. Manufacturing & Service Operations Management. Advance online publication. https://doi.org/10.1287/msom.2024.1182
Han, Y., Weissman, T., & Zhou, Z. (2025). Optimal no-regret learning in repeated first-price auctions. Operations Research, 73(1), 209–238. https://doi.org/10.1287/opre.2020.0282
Harrison, J. M., Keskin, N. B., & Zeevi, A. (2012). Bayesian dynamic pricing policies: Learning and earning under a binary prior distribution. Management Science, 58(3), 570–586. https://doi.org/10.1287/mnsc.1110.1426
Hemmati, M., Fatemi Ghomi, S. M. T., & Sajadieh, M. S. (2023). Separate and bundling selling strategies for complementary products in a participative pricing mechanism. Computers & Industrial Engineering, 177, Article 109018. https://doi.org/10.1016/j.cie.2023.109018
Huh, W. T., Kim, M. J., & Lin, M. (2022). Bayesian dithering for learning: Asymptotically optimal policies in dynamic pricing. Production and Operations Management, 31(9), 3576–3593. https://doi.org/10.1111/poms.13786
Kavoosi, A., Tavakkoli-Moghaddam, R., Sajedi, H., Tajik, N., & Tafakkori, K. (2025). Dynamic pricing and inventory control of perishable products by a deep reinforcement learning algorithm. Expert Systems with Applications, 291, Article 128570. https://doi.org/10.1016/j.eswa.2025.128570
Keskin, N. B., Li, Y., & Song, J.-S. (2022). Data-driven dynamic pricing and ordering with perishable inventory in a changing environment. Management Science, 68(3), 1938–1958. https://doi.org/10.1287/mnsc.2021.4011
Keskin, N. B., & Zeevi, A. (2014). Dynamic pricing with an unknown demand model: Asymptotically optimal semi-myopic policies. Operations Research, 62(5), 1142–1167. https://doi.org/10.1287/opre.2014.1294
Li, C., Chu, M., Zhou, C., & Zhao, L. (2020). Two-period discount pricing strategies for an e-commerce platform with strategic consumers. Computers & Industrial Engineering, 147, Article 106640. https://doi.org/10.1016/j.cie.2020.106640
Li, H., & Yang, Y. (2022). Keyword targeting optimization in sponsored search advertising: Combining selection and matching. Electronic Commerce Research and Applications, 56, Article 101209. https://doi.org/10.1016/j.elerap.2022.101209
Liu, J., Sun, Q., Xie, J., & Yuan, S. (2026). Joint dynamic advertising and pricing: Near-optimality of static policies and demand learning. Production and Operations Management. Advance online publication. https://doi.org/10.1177/10591478261481053
Liu, Z., Chen, S., Moinzadeh, K., & Tan, Y. (2026). When to broadcast? Inventory disclosure policies for online sales of limited inventory. Information Systems Research, 37(1), 117–137. https://doi.org/10.1287/isre.2023.0746
Mohammadi, H., Akrami, E., Sazvar, Z., & Ghaderi, S. F. (2026). Dynamic sponsored search bidding and bundle discounting for online retailers under inventory-dependent consumer behavior [Manuscript submitted for publication].
Mohammadi, H., Rabbani, M., & Nili Ahmadabadi, M. (2026). Dynamic pricing with demand learning and advertising in a nonstationary environment with forward-looking customers [Manuscript submitted for publication].
Moshary, S. (2025). Does sponsored search advertising augment organic search? Evidence from an e-commerce platform. Management Science, 71(11), 9687–9709. https://doi.org/10.1287/mnsc.2024.04792
Nabi-Abdolyousefi, S. (2018). Study of customer behavior in a revenue management setting using data-driven approaches [Doctoral dissertation, University of Washington]. https://hdl.handle.net/1773/42218
Netessine, S., Savin, S., & Xiao, W. (2006). Revenue management through dynamic cross selling in e-commerce retailing. Operations Research, 54(5), 893-913. https://doi.org/10.1287/opre.1060.0296
Osband, I., Russo, D., & Van Roy, B. (2013). (More) efficient reinforcement learning via posterior sampling. Advances in Neural Information Processing Systems, 26, 3003-3011.
Qiao, W., Huang, M., Gao, Z., & Wang, X. (2024). Distributed dynamic pricing of multiple perishable products using multi-agent reinforcement learning. Expert Systems with Applications, 237, Article 121252. https://doi.org/10.1016/j.eswa.2023.121252
Rana, R., & Oliveira, F. S. (2015). Dynamic pricing policies for interdependent perishable products or services using reinforcement learning. Expert Systems with Applications, 42(1), 426-436. https://doi.org/10.1016/j.eswa.2014.07.007
Rothschild, M. (1974). A two-armed bandit theory of market pricing. Journal of Economic Theory, 9(2), 185-202. https://doi.org/10.1016/0022-0531(74)90066-0
Russo, D., & Van Roy, B. (2014). Learning to optimize via posterior sampling. Mathematics of Operations Research, 39(4), 1221-1243. https://doi.org/10.1287/moor.2014.0650
Russo, D., & Van Roy, B. (2016). An information-theoretic analysis of Thompson sampling. Journal of Machine Learning Research, 17(68), 1-30. https://jmlr.org/papers/v17/14-087.html
Salehi, S., & Mirmohammadi, S. H. (2023). A solution approach for sponsored search advertising and dynamic pricing for a perishable product and an online retailer with budget constraint. Computers & Industrial Engineering, 177, Article 109086. https://doi.org/10.1016/j.cie.2023.109086
Shimizu, K., Honda, J., Ito, S., & Nakadai, S. (2024). Learning with posterior sampling for revenue management under time-varying demand. Proceedings of the 33rd International Joint Conference on Artificial Intelligence, 4911-4919. https://doi.org/10.24963/ijcai.2024/543
Simchi-Levi, D., Sun, R., & Zhang, H. (2022). Online learning and optimization for revenue management problems with add-on discounts. Management Science, 68(10), 7402-7421. https://doi.org/10.1287/mnsc.2021.4222
Song, J.-S., & Xue, Z. (2021). Demand shaping through bundling and product configuration: A dynamic multiproduct inventory-pricing model. Operations Research, 69(2), 525–544. https://doi.org/10.1287/opre.2020.2062
Su, X., & Zhang, F. (2008). Strategic customer behavior, commitment, and supply chain performance. Management Science, 54(10), 1759–1773. https://doi.org/10.1287/mnsc.1080.0886
Tajik, M., Tosarkani, B. M., Makui, A., & Ghousi, R. (2024). A novel two-stage dynamic pricing model for logistics planning using an exploration-exploitation framework: A multi-armed bandit problem. Expert Systems with Applications, 246, Article 123060. https://doi.org/10.1016/j.eswa.2023.123060
Teubner, T., & Graul, A. (2020). Only one room left! How scarcity cues affect booking intentions on hospitality platforms. Electronic Commerce Research and Applications, 39, Article 100910. https://doi.org/10.1016/j.elerap.2019.100910
Topkis, D. M. (1998). Supermodularity and complementarity. Princeton University Press.
Tunuguntla, V., Basu, P., Rakshit, K., & Ghosh, D. (2019). Sponsored search advertising and dynamic pricing for perishable products under inventory-linked customer willingness to pay. European Journal of Operational Research, 276(1), 119–132. https://doi.org/10.1016/j.ejor.2018.12.026
Wang, B., & Zareeihemat, P. (2025). Multi-channel advertising budget allocation: A novel method using Q-learning and mutual learning-based artificial bee colony. Expert Systems with Applications, 271, Article 126649. https://doi.org/10.1016/j.eswa.2025.126649
Weed, J., Perchet, V., & Rigollet, P. (2016). Online learning in repeated auctions. Proceedings of Machine Learning Research, 49, 1562–1583.
Wu, C., Bi, W., & Liu, H. (2023). Proximal policy optimization algorithm for dynamic pricing with online reviews. Expert Systems with Applications, 213, Article 119191. https://doi.org/10.1016/j.eswa.2022.119191
Yang, W., Xiao, B., & Wu, L. (2025). Learning unknown private valuation in Generalized Second Price position auction. Electronic Commerce Research and Applications, 72, Article 101507. https://doi.org/10.1016/j.elerap.2025.101507
Yang, Y., Chu, W.-L., & Wu, C.-H. (2022). Learning customer preferences and dynamic pricing for perishable products. Computers & Industrial Engineering, 171, Article 108440. https://doi.org/10.1016/j.cie.2022.108440
Ye, S., Aydin, G., & Hu, S. (2015). Sponsored search marketing: Dynamic pricing and advertising for an online retailer. Management Science, 61(6), 1255–1274. https://doi.org/10.1287/mnsc.2014.1915
Zhang, H., & Jasin, S. (2022). Online learning and optimization of (some) cyclic pricing policies in the presence of patient customers. Manufacturing & Service Operations Management, 24(2), 1165–1182. https://doi.org/10.1287/msom.2021.0979
Zhao, N., Wang, Q., & Wu, J. (2022). The reference effect on a retailer's selling strategy with limited initial inventory level and strategic consumer behavior. Computers & Industrial Engineering, 169, Article 108260. https://doi.org/10.1016/j.cie.2022.108260
Zhou, Q., Yang, Y., & Fu, S. (2022). Deep reinforcement learning approach for solving joint pricing and inventory problem with reference price effects. Expert Systems with Applications, 195, Article 116564. https://doi.org/10.1016/j.eswa.2022.116564