Long-History User Transformers for Real-Time Ad Ranking
Viacheslav Ovchinnikov, Georgii Smirnov, Nikolai Savushkin, Veronika Ivanova, Maksim Kuzin
Abstract
Long interaction histories are among the most informative inputs for click-through rate (CTR) prediction, yet in online advertising they collide with a hard serving constraint: ads must be scored within a few hundred milliseconds to enter the auction, which rules out running a large sequence encoder at request time. We describe how a production advertising system resolves this conflict by decoupling history encoding from real-time inference. A high-capacity offline transformer asynchronously encodes the user's full cross-surface interaction history into a compact representation cached in a feature store, while a lightweight runtime model combines this cached representation with the user's most recent events and the request context at serving time. The offline encoder is pre-trained autoregressively on large-scale interaction logs with a dual objective - feedback prediction and next-item prediction - and the two-stage architecture is then fine-tuned for CTR prediction on the target advertising surface. Offline, the split design recovers 72-80% of the quality of a full-history runtime transformer that would be too expensive to deploy, and the cached representation is robust enough to staleness to permit inexpensive refresh policies. In production A/B experiments, the system improves the primary ranking metric by +2.77% in search advertising and +2.1% on the Yandex Advertising Network, with revenue gains of +2.26% and +0.43% respectively - without increasing serving latency.
Create a lesson
Related papers
MMIntentFlow: An Intent-Driven Real-Time Multimodal Search System with Image-Text Queries at Xiaohongshu
Shared title terminologycs.IRDongjia Zhao, Yuchen Ma, Chunsheng Shi et al.
Real-Time Hard Negative Sampling via LLM-based Clustering for Large-Scale Two-Tower Retrieval
Shared title terminologycs.IRIvan Ji, Liuyi Hu, Harrison et al.
Improving Access to Historical Archives with Real-time RAG-based Systems
Shared title terminologycs.IRStergios Konstantinidis, Hayman Lotfy, Alexis Erne et al.
Active Learning of Approximate LLM Ranking for Energy-Efficient Retrieval of Long Queries
Shared title terminologycs.IROhad Porat, Elad Yom-Tov
LLM-Based Re-Ranking for Real Estate Search
Shared title terminologycs.IRNkateko Ntimane, Rafael Guedes, Tiago Cunha et al.
Grounding User Preferences in Shared Multimodal Concepts for Recommendation
Shared title terminologycs.IRAo Xu, Jinhui Huang, Wenqiang Tang et al.