Abstract
In the fast-paced digital marketing landscape, traditional A/B testing is often criticized for being slow and costly, while adaptive experimental designs (AED) like Thompson Sampling are prone to failure in non-stationary environments. This paper presents a novel framework, Cumulative Gain Successive Elimination (CGSE), designed to bridge the gap between efficiency and reliability. By utilizing counterfactual reasoning and always-valid inference, CGSE identifies optimal marketing treatments even amidst the time-varying noise of real-world production data.
Introduction
Digital marketing relies heavily on experimentation to optimize content and user engagement. While standard A/B testing provides high statistical reliability, it incurs a high "opportunity cost" by allocating traffic to underperforming variants for the duration of the test. To mitigate this, many practitioners have adopted multi-armed bandits, such as Thompson Sampling (TS), which dynamically shift traffic toward winning content.
However, research conducted by experts at Amazon, Meta, and the University of Washington highlights a critical flaw: in production environments, these algorithms often assume a "stationary" world where performance metrics are constant. In reality, marketing data is subject to weekly cycles, seasonal trends, and shifting user behaviors. In these non-stationary settings, standard adaptive algorithms can enter a "vicious cycle," locking onto suboptimal treatments and failing to recover.
The Challenge: Non-Stationarity and Simpson’s Paradox
The primary hurdle in real-world adaptive experimentation is the interaction between time-varying performance and adaptive traffic allocation. This often manifests as a version of Simpson’s Paradox.
Consider a scenario where an algorithm begins shifting traffic to "Treatment A" just as a natural weekend surge in conversions begins. Because the overall conversion rate is higher on weekends, Treatment A’s running average appears superior, even if it is actually performing worse than "Treatment B" on a day-by-day basis. The algorithm, seeing the inflated average, allocates even more traffic to Treatment A, further biasing the data and reinforcing a bad decision. This feedback loop makes it nearly impossible for standard bandits to correct early mistakes in non-stationary environments.
Methodology: Cumulative Gain Successive Elimination (CGSE)
To address these failures, the authors propose the Cumulative Gain Successive Elimination (CGSE) framework. This approach balances three competing goals: identifying the best treatment, minimizing experimentation cost (regret), and maintaining robustness against time variation.
CGSE is built upon four technical pillars:
- Cumulative Gain Metric: Rather than relying on simple running averages, CGSE asks a counterfactual question: "How much total reward would this treatment have earned if it had received 100% of the traffic?"
- Inverse Propensity Weighting (IPW): To ensure unbiased estimation, the framework uses IPW to account for the fact that different treatments receive different amounts of traffic over time. This mathematical adjustment removes the bias that typically leads to Simpson’s Paradox.
- Successive Elimination Strategy: Unlike Thompson Sampling, which continuously adjusts traffic percentages, CGSE maintains a uniform traffic split among all "active" treatments. Once a treatment is statistically proven to be inferior, it is eliminated entirely from the pool.
- Always-Valid Inference: The framework employs the Mixture Sequential Probability Ratio Test (MSPRT). This allows marketers to monitor data in real-time and stop experiments as soon as a result is reached, without the risk of inflating Type I errors (false positives) associated with repeated "peeking."
Experimental Evaluation
The researchers validated CGSE through two primary methods:
- Offline Simulations: Using logged data from historical online experiments, they compared CGSE against baselines including Thompson Sampling and "Best of Both Worlds" (BOB) algorithms.
- Live Production Tests: The framework was deployed in dozens of real-world marketing experiments within Amazon’s ecosystem, comparing CGSE's performance directly against standard Thompson Sampling controls.
Key Insights
- The Inference-Regret Trade-off: Algorithms optimized solely for immediate reward (regret minimization) are often poor at identifying the best long-term treatment. By starving "losing" arms of traffic too quickly, they lose the statistical power necessary to confirm those arms were actually inferior.
- Stability through Uniformity: By maintaining equal traffic splits among active arms, CGSE controls the variance of its estimators. This makes the framework significantly more stable than algorithms that allow traffic to drop to near-zero for certain variants.
- Performance in Production: In one live experiment, Thompson Sampling shifted nearly 100% of traffic to the worst-performing arm due to a temporal fluke. CGSE correctly identified the anomaly and eliminated the failing arm within two weeks.
Results and Conclusion
CGSE demonstrated a superior ability to identify optimal treatments faster than traditional A/B testing and more reliably than Thompson Sampling. While CGSE may incur a slightly higher "regret" (approximately 2.45% in some stationary tests) compared to TS, this is a marginal price for the robustness it provides in messy, real-world environments.
Ultimately, the paper argues that for digital marketing at scale, the ability to trust experimental results is more valuable than the marginal gains of aggressive regret minimization. CGSE provides a practical, theoretically sound path forward for companies looking to move faster without sacrificing scientific rigor.
Summary updated