Let AI Entertain You: Increasing User Engagement with Generative AI and Rejection Sampling
Nextdoor improved notification email subject lines by having ChatGPT extract (not rewrite) the most interesting phrase from a post, then using a fine-tuned OpenAI ada reward model to accept the generated subject only when it predicts more clicks than the user-written one, a form of rejection sampling. The reward model was trained on ~50k A/B-labeled pairs collected by serving each variant to small random user buckets. It reaches about 65% accuracy, is monitored daily against control buckets, and is retrained when accuracy drops 10%+. Prompt engineering alone plateaued below control, while the full system lifted sessions 1%, WAU 0.4% and ads revenue 1%. Per-post caching cut cost 600x, and retries fall back to the user subject.
Related posts
- How we built ChatGPT’s novel ad stack for user trust and relevance
OpenAI mediumAdept
ChatGPT's ad stack replaces the event-driven request/response ads pipeline with stateful ads sessions that track evolving intent across turns and conversations, orchestrated by a post-trained LLM that calls tools for query rewriting, ANN retrieval over multiple embedding indices, eligibility filtering (budget, pacing, targeting, policy, dedup), relevance and engagement scoring, and a separate auction tool that handles pricing and final selection. The ads service runs alongside, and fully separate from, answer generation, with separate models and code, so it cannot influence or delay ChatGPT responses. Returning no ad, or timing out before the response is ready, counts as a normal outcome. A model-generated neutral preamble is kept separate from the advertiser creative, and the system reportedly reached a $1B annualized run rate within 200 days.
- Automated merchant review summary system with integrated feedback
Grab Engineering easyNoviceGrab generates consumer-facing merchant review summaries with a pipeline that stratifies review samples by a sentiment-scored rating distribution, uses an LLM to produce overall and topic-based summaries (taste, packaging, portion size), and has a separate LLM check each claim against the sampled reviews before publication. Summaries are regenerated when new reviews or negative helpfulness feedback cross configured thresholds. Matching the rating distribution doesn't guarantee coverage of time periods, languages or segments, LLM validation reduces but doesn't eliminate unsupported claims, and feedback-driven regeneration needs anti-abuse controls.
- From Scoring to Spelling: Rebuilding Ads Retrieval at Instacart
Instacart Tech hardMasterInstacart replaced its BERT-based ads retrieval model, which scored every atomic product ID in a fixed vocabulary, with a generative model that autoregressively decodes Semantic IDs (RQ-VAE codeword sequences) via beam search. The goal was to fix vocabulary bottlenecks, cold-start bias toward popular items, and incoherent candidate sets. Prompts combine a retailer-type token, user history SIDs and cart SIDs. SIDs shrink embedding parameters 125x and give new products coverage from day one, while beam width and temperature act as dials between precision and diversity. Serving moved from Python on CPU to a Go service on TensorRT-LLM and Triton. Mean latency dropped 10–17% despite roughly twice the candidates, and A/B tests showed +5% CTR and +34% add-to-carts.
- GenRecs Tokenization: Transforming Ads Recommendation at Meta with Stable Model Vocabulary
Meta Engineering hardMasterMeta's ads recommender replaces per-item IDs with GenRecs Tokenization, a stable semantic vocabulary. Each ad, product or page is encoded with pre-trained multimodal models, decomposed into subspaces (e.g. residual decomposition) and quantized against learned codebooks into short token sequences, so similar items share tokens. This lets new and tail items inherit what the model learned about related items, enabling cold-start generalization and cross-campaign transfer. Paired with GEM and the Adaptive Ranking Model it delivered a +0.35% conversion lift. Across eight tokenizer versions, intrinsic metrics (cluster purity, distribution balance, codebook utilization) correlated with downstream CTR accuracy, so the tokenizer can be iterated without full model retraining.
- Ranking Engineer Agent (REA): The Autonomous AI Agent Accelerating Meta’s Ads Ranking Innovation
Meta Engineering easyNoviceMeta's Ranking Engineer Agent (REA) runs ads ranking ML experiments end to end with little human involvement. It generates hypotheses, launches training jobs, debugs failures and iterates. A hibernate-and-wake mechanism lets it persist across multi-week training runs, and it draws hypotheses from a historical experiment insights database and a deep ML research agent. Engineers approve a GPU budget up front for a three-phase plan (validation, combination, exploitation), and a runbook of common failure patterns lets REA handle out-of-memory errors, loss explosions and infrastructure errors without escalating them. In its first rollout REA doubled average model accuracy over baseline across six models, and three engineers delivered launch proposals for eight models, work that previously took two engineers per model.