Reproduce “Long-History User Transformers for Real-Time Ad Ranking” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Viacheslav Ovchinnikov, Georgii Smirnov, Nikolai Savushkin, Veronika Ivanova, Maksim Kuzin

Yandex developed a multi-stage transformer architecture that utilizes long user interaction histories for real-time ad ranking by separating intensive computations, leading to measurable gains of up to +2.87% in clicks and +2.26% in revenue in online A/B tests without increasing serving latency.

Key insights

  • The multi-stage architecture effectively balances latency and quality, recovering 72-80% of the predictive performance of an ideal, non-deployable full-history model.
  • The cached offline representation provides significant long-range signal (contributing +5.3 percentage points in NLL gain) and exhibits robustness to staleness, enabling cost-effective refresh policies.
  • Training recipe elements, including incorporating organic interaction data, fine-tuning on target surfaces, and debiasing position, significantly impact the overall predictive quality, sometimes more than architectural changes.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.