Abstract
Meta researchers introduced AdLlama, a large language model (LLM) fine-tuned specifically for generative advertising using a novel technique called Reinforcement Learning with Performance Feedback (RLPF). By using real-world click-through rates (CTR) as a reward signal rather than subjective human ratings, they achieved a 6.7% increase in CTR and an 18.5% boost in advertiser adoption in a massive field study involving 35,000 advertisers.
Introduction
While LLMs are incredibly capable after their initial "pre-training" on the internet, they require "post-training" to be useful for specific tasks. Traditionally, this is done via Supervised Fine-Tuning (SFT)—where the model mimics "good" examples—or Reinforcement Learning from Human Feedback (RLHF), where humans rank model outputs.
However, in the world of advertising, what a human labeler thinks is a good ad doesn't always align with what actually performs well. Human preferences are subjective and noisy. The authors identify a gap: we have massive amounts of objective, aggregate performance data (like clicks), but we haven't effectively used this "ground truth" to align LLMs for economic impact. The challenge lies in isolating the impact of text from other variables (like images or targeting) to create a clean reward signal for reinforcement learning.
Methods: Reinforcement Learning with Performance Feedback (RLPF)
The authors propose Reinforcement Learning with Performance Feedback (RLPF), which treats real-world business metrics as the "verifiable reward" for the model.
Reward Model Training
To isolate the effect of text, the team used "multitext data"—historical instances where an advertiser ran multiple text variations for the same image and audience. They built a pairwise dataset where the version with the higher CTR was the "winner." This was used to train a reward model based on the Bradley-Terry preference model.
RL Fine-Tuning
They used the Proximal Policy Optimization (PPO) algorithm to align a base Llama 2 7B model with this reward model. To prevent the model from "reward hacking" (e.g., realizing that longer ads might naturally get more clicks regardless of quality), they added a length penalty term to the optimization objective to keep the generated text concise.
Evaluation
The final model, AdLlama, was tested against a strong baseline ("Imitation LLM v2") which had been trained using standard SFT on curated, high-quality ads.
Datasets
- Reward Model Training: Approximately 7 million preference pairs constructed from historical Facebook ad performance data.
- LLM Post-training: A "pointwise" dataset of 5.5 million human-written ad variations used as the starting point for the RL process.
- Evaluation (A/B Test): A large-scale, 10-week experiment on Facebook involving 34,849 advertisers and 640,000 ad variations.
Key Results and Insights
- CTR Improvement: AdLlama delivered a 6.7% relative increase in advertiser-level click-through rates ($p = 0.0296$) compared to the SFT baseline.
- Increased Usage: Advertisers using AdLlama generated 18.5% more ad variations, indicating higher satisfaction with the model's suggestions. This suggests that the RLPF-trained model produced outputs that were more useful or inspiring to the advertisers themselves, leading to higher trust and usage of the AI tool.
- Performance as the Ultimate Labeler: Unlike RLHF, which relies on a few human raters, RLPF uses the behavior of millions of users. This aggregate feedback is significantly less noisy and more aligned with the actual goal of the system (advertiser ROI).
- Bridging the Gap in RL: The authors position RLPF as a middle ground between traditional RLHF (subjective) and RL with verifiable rewards (like math or code). It treats "market response" as a verifiable, objective signal.
Limitations and Future Work
- Offline vs. Online RL: The current model was trained on historical data (offline RL). The authors suggest that moving to online RL—where the model iteratively learns from the performance of its own generated ads—could further improve results.
- Multi-Objective Optimization: Future iterations could attempt to balance performance with other factors like "creativity," "brand tone," or "diversity of ad inventory."
- The Selection Bias: The reward model currently doesn't explicitly account for the "advertiser-in-the-loop." An ad only reaches a user if an advertiser selects it first. Future work could weigh the reward by the likelihood of an advertiser choosing the text.
Summary updated