A/B testing vs multi-armed bandit testing
A classic A/B test
An A/B test splits visitors in fixed shares, usually half and half, for the whole test. At the end you compare the two versions and keep the better one.
- Good at: a clean, easy-to-explain answer about how much better one version is.
- Cost: while the test runs, half your visitors keep seeing the weaker version, however clear the gap becomes.
A multi-armed bandit
The name comes from a gambler choosing between slot machines ("one-armed bandits"): keep pulling the one that pays, but try the others now and then in case one is better. A bandit test does the same with traffic. As results come in, it sends more visitors to the versions that convert and fewer to the ones that don’t, while still giving every version some traffic.
- Good at: losing fewer customers while you test, and handling several versions at once.
- Cost: the weaker versions get less traffic, so the estimate of exactly how much worse they are is less precise.
Which one to use
- Use a fixed split when you need a precise measurement to report, or for a big change you want to understand before rolling out.
- Use a bandit when the goal is simply to make more money from the page, when you test more than two versions, or when the test runs for a short window such as a seasonal offer.
How Avenue Lift does it
Each experiment can use a fixed split or bandit allocation (bandit allocation from the Starter plan). The bandit uses Thompson sampling: it picks traffic shares in proportion to how likely each version is to be the best, given the results so far.
- Every live version keeps at least 5% of traffic, and the original keeps at least 10%, so a version that started badly can still recover.
- Shares move only once there is data: at least 100 visitors per version and 10 conversions in total.
- Visitors keep the version they first saw. Changing the shares only affects new visitors, so nobody sees your page change under them.
- A winner needs evidence. By default a version is called the winner only after at least 7 days, 500 visitors and 10 conversions per version, with at least a 95% chance of being the best.
The details, including how the numbers are calculated, are in Experiments and the bandit.