Multi-Armed Bandit Price Testing
Shift traffic toward winning prices while the experiment is still running
- Difficulty
- Moderate
- Time to result
- ~weeks to results
- Steps
- 5
- Confidence
- 96%
Traditional A/B testing divides traffic evenly between prices even after one option starts producing better results. A multi-armed bandit instead treats each candidate price as an arm and continually updates traffic allocation from observed conversions, revenue, or profit. More visitors progressively see the price moving toward the selected objective, reducing the opportunity cost of experimentation. Merchants first define an acceptable price range and optimization target, then regulate whether exploration should be aggressive or conservative. Learning speed depends on page traffic and market response: a busy product can generate evidence quickly, while a conservative experiment may require several weeks. The result is an adaptive pricing policy rather than a single static test report.
Origin
Extracted from Ecommerce Coffee Break, where Simeon Lukov contrasted multi-armed bandits with conventional 50/50 price testing.
Core principles
- 01Treat each candidate price as a testable option
- 02Optimize against a declared business objective
- 03Allocate more traffic to prices showing stronger results
- 04Control how aggressively the model explores
- 05Let sufficient traffic accumulate before drawing conclusions
How to run it
- 1
Declare the objective
Choose the measurable outcome the experiment should maximize, such as revenue, profit, or conversion volume. Avoid combining incompatible goals without defining their relative weight.
Pro tip Use profit rather than revenue when product costs or acquisition costs vary materially.
Watch out An unclear objective can make a commercially poor price appear successful.
- 2
Bound the experiment
Select several candidate prices within a range the business is genuinely willing to charge. Exclude prices that violate margins, contracts, or brand positioning.
Pro tip Start with a compact range around the current price before testing more extreme positions.
Watch out Testing unacceptable prices wastes traffic and can damage customer trust.
- 3
Set exploration behavior
Choose how aggressively the model should test uncertain prices versus favoring the current leader. Use conservative settings when downside risk is high.
Pro tip Match exploration intensity to traffic volume and the cost of a bad sale.
Watch out Excessive exploration can expose too many customers to weak prices.
- 4
Allocate traffic adaptively
Present candidate prices and update their traffic shares from observed performance. Gradually send more visitors to prices producing the chosen objective.
Pro tip Monitor objective value per visitor, not conversion rate alone.
Watch out Do not manually override individual results based on a small number of visits.
- 5
Review and operationalize
Confirm that the winning pattern is stable enough for the available traffic and market conditions. Adopt the strongest price or continue controlled learning as conditions change.
Pro tip Reopen exploration when seasonality, costs, or competition change.
Watch out A learned price is contextual and may not remain optimal indefinitely.
In the wild
A merchant launches a product with three acceptable prices and asks the bandit to maximize revenue. As visits and conversions accumulate, the model reduces exposure to the weakest price and routes more visitors toward the strongest performer instead of preserving equal traffic throughout the test.
→ The merchant learns while directing more sales toward the currently superior revenue-producing price.
A brand wants to know whether customers will accept a higher price but cannot tolerate sharp short-term conversion losses. It gives the model a narrow price range and conservative exploration settings, allowing evidence to accumulate over several weeks before making a larger shift.
→ The brand tests premium positioning while limiting exposure to experimental prices.
Common mistakes
Optimizing conversion alone
The cheapest price may convert best while producing less revenue or profit. Select the objective that reflects the commercial result the business actually wants.
Expecting instant learning without traffic
The model needs visits and conversions to distinguish candidate prices. Low-volume pages may require a longer test or aggregated experimentation.
Using an unrestricted price range
A learning system should only explore prices the business can safely and credibly charge. Apply margin and positioning constraints before experimentation begins.
Is it for you?
Best for
It is best for ecommerce products with multiple plausible prices and enough page traffic to learn from conversions.
Not ideal for
It is not ideal for low-traffic products, tightly regulated prices, or merchants unwilling to expose customers to varying prices.
From the transcript
“But right now we have new frameworks that are coming and it's more efficient to use techniques like multi arm bandits or bandits, some kind…”
“If you have 100 or thousand visitors on the page, the model will change the price based on the conversion rate and will decide what…”
“And it can be adjusted via metadata, I mean parameters. If the model should be aggressive or a bit conservative, so its experimenting stage could…”
From the episode
The Most Powerful Pricing Strategy You Are Probably Not Doing — Simeon Lukov
Simeon Lukov