New Experimental Design Optimizes A/B Testing for Population Shifts.

Hoang Dang, Luan Pham, Minh Nguyen· August 10, 2026 View original

Key takeaways

  • Traditional experimental designs can be inefficient when populations shift between experiment and deployment.
  • TWNA optimizes sample allocation by balancing deployment importance and statistical difficulty.
  • The method is robust to uncertainty about target population composition.
  • Significant gains are observed when important groups are also statistically challenging to measure.

Who benefits

E-commerceMarketingProduct DevelopmentHealthcareSocial Media

Summary

This paper introduces Target-Weighted Neyman Allocation (TWNA), a two-stage experimental design that optimizes sample allocation and treatment probabilities to precisely measure average treatment effects when experiments are run in one population but decisions apply to another. It balances deployment importance with statistical difficulty.

When conducting randomized experiments, such as A/B tests, it's common for the experimental population to differ from the target population where the results will be applied. Traditional sample allocation methods can be inefficient in these scenarios, either wasting resources on groups less relevant to the deployment population or under-sampling groups that are statistically challenging to measure accurately. Researchers have developed Target-Weighted Neyman Allocation (TWNA) to address this challenge. This two-stage stratified design uses initial pilot estimates of outcome variances within different groups to intelligently allocate sample sizes and treatment probabilities for the main experiment. The core idea is to balance the importance of a group in the target deployment population with the statistical difficulty of precisely measuring its treatment effect. TWNA offers a robust solution, even when the exact composition of the target population is uncertain. Simulations and benchmarks demonstrate that this method yields significant gains, particularly when certain groups are both highly important for deployment and inherently difficult to measure with precision. This approach ensures that experimental budgets are used more effectively to derive actionable insights for real-world application.

Why it matters

Professionals in product development, marketing, and data science can use this method to design more efficient and accurate A/B tests, especially when scaling insights from a test environment to a broader, potentially different, user base.

How to implement this in your domain

  1. 1Conduct a pilot study to estimate group-specific outcome variances and deployment proportions.
  2. 2Apply the TWNA framework to calculate optimal sample sizes and treatment probabilities for the main experiment.
  3. 3Implement a two-stage experimental design, adjusting allocation based on pilot results.
  4. 4Consider TWNA for A/B tests where the experimental population differs from the target deployment population.

Original post by Hoang Dang, Luan Pham, Minh Nguyen

"arXiv:2608.06512v1 Announce Type: new Abstract: Randomized experiments are often run in one population to guide decisions in another. Allocating by experimental proportions wastes budget on groups that rarely appear in deployment, whereas allocating by deployment proportions unde…"

View on X

Originally posted by Hoang Dang, Luan Pham, Minh Nguyen on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses