Offline-to-Online Creative Optimization with Generative Models and Adaptive Testing

Kevin Lee, Benjamin Letham, Zhiyuan Jerry Lin, Elodie Samson, Eric Onofrey, Poppy Zhang, Shawndra Hill, Eytan BakshyarXiv 2026

TL;DR

While generative AI can produce endless marketing creatives, finding the best one through online testing is heavily bottlenecked by traffic constraints and cost. This paper introduces a deployed two-stage workflow that uses an offline predictive model to guide an LLM in generating a high-recall "slate" of candidates, which are then efficiently screened using online adaptive bandit testing. Across large-scale field experiments at Meta, this approach delivered up to a 45% boost in user engagement compared to traditional human-authored baselines.

What Problem Does This Paper Address?

Generative AI has made creating ad copy, push notifications, and marketing emails incredibly cheap and scalable. However, this abundance has shifted the bottleneck from generation to evaluation. Marketers cannot test hundreds of variants in traditional online A/B tests without wasting massive amounts of user traffic on underperforming ads, delaying campaigns, and hurting user experience.

Why not just use a predictive model trained on past data to pick the best creative offline? Because ad creatives are high-dimensional, campaign contexts change rapidly, and historical data is inherently noisy. Purely offline models often fail to accurately predict the absolute #1 winner. This paper argues that the predictive model doesn't need to be perfect at ranking—it just needs to help construct a test slate that is highly likely to contain the winners, leaving the final selection to an efficient online algorithm.

Methods

The authors design an offline-to-online workflow consisting of two main stages:

  1. Ranker-Guided Candidate Generation (Offline): Starting with human-written "seed" creatives, an LLM generates initial variants. These variants are scored by a Bradley-Terry ranking model trained on historical within-campaign A/B test data. Instead of deploying the top-scored item directly, the system feeds the ranked list back into the LLM to perform a "textual gradient ascent" refinement step (inspired by TextGrad). The final candidates are pooled and ranked to form a test slate.
  2. Adaptive Screening (Online): The slate is deployed via a batched multi-armed bandit using Thompson Sampling. The first batch allocates traffic uniformly, while subsequent batches dynamically shift traffic toward high-performing arms based on real-time user feedback. This maximizes precision in finding the true winner while minimizing the "regret" (opportunity cost) of showing bad ads to users.
Figure 1: Training (top): data from previous experiments trains a ranking model. At deployment (bottom), seed creatives are expanded into candidate variants, iteratively ranked and refined by the predictive model, then screened by an adaptive online test that selects the final creative.

Datasets

The ranking model was trained on historical randomized A/B test data from Meta's advertising platform. The entire system was evaluated using three large-scale, real-world field deployments at Meta:

  • A 50-arm promotional email campaign (10 human seeds, 40 AI-refined variants) sent to 5.1 million recipients.
  • A 13-arm push notification campaign sent to 2.7 million recipients.
  • A 32-arm promotional email campaign sent to 2.1 million recipients.

Key Insights and Ideas

  • Optimize for Recall, Not Precision: The traditional approach of using a predictive model as a direct deployment rule fails because top-1 offline accuracy is poor. In the 50-arm study, the model's top-ranked creative actually finished 43rd in reality! However, expanding the slate to the top 30 offline candidates achieved excellent recall, capturing 5 of the top 6 true performers.
  • The Danger of Over-Refinement: Iterating the LLM refinement loop multiple times against the offline ranker causes severe overfitting to the proxy model. The authors found that exactly one round of refinement is the optimal operating point; deeper rounds cause performance to regress.
  • Decoupling Generation from Selection: By combining a high-recall offline generator with a high-precision online bandit, the system bypasses the limitations of noisy predictive models and the traffic constraints of standard A/B testing.

Key Results

  • Massive Engagement Lifts: In the main 50-arm study, the best AI-refined creative outperformed the best human-authored creative by 45.1% in engagement (open rate). Crucially, the top 6 performing creatives were all AI-refined.
  • Consistency Across Channels: The two supporting field studies replicated this upper-tail success, showing lifts of 46.7% for push notifications and 36.2% for the second email campaign.
  • Exploration Efficiency: Semi-synthetic simulations calibrated to the field data showed that using Thompson Sampling on a top-30 slate reduced in-experiment exploration regret by 66% compared to standard uniform allocation, proving that adaptive testing makes wider slates economically viable.
Figure 3: Realized performance of human-generated and AI- refined creatives in the main study, ranked best to worst. Units are normalized so that the mean of the human- generated arms is 1.0. The best AI-refined creative exceeds the best human-generated creative by 45.1%. Error bars are Wilson 95% intervals computed from each arm’s realized im- pression count from the first batch.

Limitations and Future Work

  • Data Dependency: The workflow relies heavily on a pre-existing, high-quality historical corpus of randomized experiments. It may not transfer well to smaller advertisers, new platforms, or highly niche content categories lacking historical data.
  • Feedback Latency: The online adaptive screening stage requires rapid user feedback (like clicks or opens). It is less suited for long-lag conversion objectives (e.g., making a purchase days later).
  • Downstream Metrics: The paper focuses primarily on top-of-funnel engagement metrics. Future work is needed to evaluate how this optimization impacts downstream business outcomes like long-term conversion rates and return on ad spend.

Summary updated

BibTeX
@misc{lee2026offline,
  author = {Kevin Lee and Benjamin Letham and Zhiyuan Jerry Lin and Elodie Samson and Eric Onofrey and Poppy Zhang and Shawndra Hill and Eytan Bakshy},
  title = {{Offline-to-Online Creative Optimization with Generative Models and Adaptive Testing}},
  year = {2026},
  eprint = {2607.23696},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.23696},
}
Figure