Growth teams frequently treat Multi-Armed Bandit (MAB) algorithms as a magic upgrade to standard A/B testing. At 365Finds, we see teams jump into dynamic traffic allocation hoping to eliminate the "traffic tax" of underperforming variations, only to realize later that they sacrificed their causal understanding of what actually moved their metrics.
Optimizely provides both approaches, but they are built on fundamentally conflicting mathematical philosophies: statistical learning versus immediate reward exploitation. Understanding how Optimizely executes both is essential before switching your experiment flags.
Standard A/B Testing: Static Splits (50/50) ──> Hypothesis Validation & Causal Learning
Multi-Armed Bandit: Dynamic Allocation ──> Regret Minimization & Short-Term Revenue
1. The Core Mechanical Difference in Optimizely
In a standard Optimizely A/B test, traffic distribution is fixed. If you create three variations, Optimizely routes visitors in equal shares (33.3% / 33.3% / 33.3%) throughout the entire experiment window. It relies on Optimizely's proprietary Stats Engine—built on sequential testing and False Discovery Rate (FDR) controls—to evaluate whether any variation achieves true statistical significance relative to the baseline.
In an Optimizely Multi-Armed Bandit optimization, the traffic split is fluid. As conversions or engagement signals stream in, Optimizely dynamically reallocates traffic toward the winning arms and starves underperforming variants.
Incoming Visitors ──> Optimizely Decision Engine
│
┌────────────────────┼────────────────────┐
▼ (Exploitation: 75%)▼ (Exploration: 15%) ▼ (Exploration: 10%)
Variation B (Top) Variation A Variation C
Optimizely deploys two distinct algorithms depending on your metric type:
- Thompson Sampling (Bayesian update): Applied to binary (Bernoulli) metrics, such as signup rates or button clicks. Optimizely models posterior conversion probabilities for each variation and samples from them to assign the next visitor.
- Epsilon-Greedy: Applied to numeric or continuous metrics, such as average order value (AOV) or total revenue per user. Optimizely routes a majority fraction of traffic (
1 - ε) to the currently highest-performing variation while retaining an exploration fraction (ε) to test remaining variants.
Optimizely also offers Contextual Multi-Armed Bandits (CMAB) in Feature Experimentation. Instead of settling on a single winning variation for all incoming visitors, CMAB evaluates real-time user context (device type, geolocation, past behavioral attributes) and matches specific variations to specific audience profiles.
2. The Statistical Trade-Off: Learning vs. Earning
Here is the operational reality that many growth leads miss: Optimizely's Multi-Armed Bandit results page does not report p-values or statistical significance.
Because MAB constantly shifts traffic toward early winners, it violates the independent and identically distributed (i.i.d.) assumptions required for classical hypothesis testing. Optimizely explicitly shifts the primary reporting metric on MAB experiments to "Improvement Over Equal Allocation" (estimated cumulative uplift relative to running a static split).
| Dimension | Standard A/B Testing in Optimizely | Optimizely Multi-Armed Bandit (MAB) |
|---|---|---|
| Primary Goal | Causal inference, hypothesis testing, long-term learning | Immediate yield maximization, regret minimization |
| Traffic Allocation | Static / Fixed (e.g., 50/50 or equal split) | Dynamic / Real-time reallocation |
| Underlying Math | Sequential testing with FDR control (Stats Engine) | Thompson Sampling (binary) or Epsilon-Greedy (numeric) |
| Statistical Output | Statistical significance, p-values, confidence intervals | Estimated uplift over original / equal allocation |
| Sensitivity to Flukes | Low; balances temporal effects (day-of-week seasonality) | High; early noise can starve a slow-starting winner |
| Contextual Personalization | Static audience segmentation | Machine learning personalization via CMAB |
At 365Finds, what bothers us about bandit setups is how easily teams fall prey to sample bias. If Variant B catches a sudden surge of conversions on Tuesday morning due to an external marketing campaign or random noise, the algorithm starves Variant A before the evening crowd or weekend audience arrives. If your traffic exhibits strong cyclical patterns, dynamic allocation can lock onto a false early winner.
3. Implementation Requirements in Feature Experimentation
Configuring an MAB optimization in Optimizely Feature Experimentation requires specific plumbing, particularly when operating server-side.
- User Profile Service (UPS): If you use Optimizely's server-side SDKs (Node, Python, Go, Java), you must configure a User Profile Service. Without a persistent bucketing store, an individual user could be assigned Variation A on page one, and Variation B on page two when the bandit shifts probabilities five minutes later.
- SDK Decision Calls: Application code calls the standard
.decide()method on the user context:const decision = optimizelyUserContext.decide('promotional_banner_flag'); const variationKey = decision.variationKey; - REST API Configuration: While rules can be created in the Optimizely UI under Flags > Rules > Multi-Armed Bandit, developer workflows typically update the ruleset programmatically via the Feature Experimentation REST API:
The payload specifiesPATCH https://api.optimizely.com/flags/v1/projects/{project_id}/flags/{flag_key}/environments/{environment_key}/ruleset"type": "multi_armed_bandit"alongside variation configurations. Optimizely requires a preliminaryGETcall to merge changes rather than overwriting existing environment rulesets.
4. The 365Finds Framework: When to Use Which
We do not believe multi-armed bandits replace standard A/B testing. They serve two entirely different operational moments.
Do you need to know WHY it worked
or retain the change permanently?
│
┌────────────────┴────────────────┐
▼ YES ▼ NO
Standard A/B Test Is the opportunity window
(Checkout redesign, core UX, strictly time-bound?
pricing tiers, auth flow) │
┌────────┴────────┐
▼ YES ▼ NO
Optimizely MAB Standard A/B
(Flash sales, promos, (General continuous
news headlines) optimization)
Choose Optimizely Multi-Armed Bandit When:
- The campaign has an expiration date: Black Friday, Cyber Monday, seasonal holiday flash sales, or webinar promotion banners. The experiment ends on Monday morning. By Tuesday, whatever you learned has zero shelf life. Maximizing raw transactions while traffic is peaking is all that matters.
- Content freshness decays rapidly: Headline testing for media publishers or promotional hero images for 48-hour product drops.
- The cost of sub-optimal exposure is punitive: You have five high-risk ad creative variations or email subject lines, and routing 50% of traffic to a disastrous variant will cause irreversible revenue drops.
Insist on Standard A/B Testing When:
- You are shipping structural product changes: Navigation redesigns, checkout funnels, registration architecture, or algorithm changes. These changes will live in your codebase for years; you need clean causal data, not short-term exploitation.
- You need post-test segmentation analysis: If you need to understand how the variation impacted mobile Safari users versus desktop Chrome users across a full two-week business cycle, MAB skew makes post-hoc analysis unreliable.
- You care about retention or lagging indicators: Bandits optimize for immediate proxy metrics. If Variation B increases initial click-throughs but degrades 30-day customer retention, an MAB setup will actively steer more users into the retention-damaging experience.