TL;DR
Predicting long-horizon conversions in online advertising suffers from a fundamental trade-off: fresh data is heavily censored, while complete data is stale. TWICE solves this by decoupling learning into two distinct event streams—a click clock and a conversion clock—using an arrival-conditioned temporal convolution to account for historical traffic shifts. This framework delivers highly accurate, horizon-monotone conversion rate (CVR) predictions without requiring expensive historical lookups or convolutions at serving time.
What Problem Does This Paper Address?
In online advertising, predicting the post-click conversion rate (CVR) within a long target window (e.g., 30 days) is critical for bidding, ranking, and traffic allocation. However, users often click an ad now but don't complete the conversion until days or weeks later. To keep up with changing user intent and ad campaigns, models must update frequently (e.g., daily or hourly) using recent data. This creates a "two-clock, two-window" dilemma:
- The Click Clock: Clicks are released quickly after a short base observation window (e.g., 1 hour) to capture fresh traffic trends, but many long-delay conversions are missing (censored).
- The Conversion Clock: Conversions arrive continuously over the long target window, but an arrival today could belong to a click from yesterday, last week, or last month.
This mixing of historical click cohorts creates a severe arrival bias because traffic volumes and ad quality fluctuate over time. Existing methods either use stale data, require complex replaying of old clicks, or fail to account for how changing traffic dynamics distort the observed delay distribution.
Methods
TWICE (Two-Clock, Two-Window Learning) factorizes the long-horizon CVR into two components: an eventual target-window conversion probability ($p_\theta(x)$) and a conditional delay cumulative distribution function (CDF) ($F_\phi$).
- Click-Clock CVR Learning: The main CVR head updates using fresh clicks at a fixed observation age $o$. To prevent incomplete labels from distorting the model, TWICE applies a stop-gradient to the delay factor, isolating the heavy CVR backbone from conversion-clock updates.
- Conversion-Clock Delay Learning: When a conversion arrives, TWICE updates only a lightweight delay model. To handle cohort mixing, it introduces an arrival-conditioned temporal-convolution objective. Instead of replaying full historical click features, it logs a compact click context and the frozen predicted CVR (pCVR) mass. At conversion time, it runs a fast timestamp range query to convolve the delay probabilities with historical cohort exposure.
- Monotone by Design: The delay model outputs a probability mass function (PMF) over discretized time buckets. Taking the prefix sum guarantees a monotone CDF, ensuring that predicted CVR always increases smoothly as the target horizon lengthens.
Datasets
The authors evaluated TWICE on two large-scale datasets:
- Criteo Conversion Logs: A widely used public benchmark containing 60 days of click traffic (15.61M clicks) with a 30-day target conversion window.
- Industrial Ads: A massive proprietary dataset from Kwai containing 60 days of production traffic (174.09M clicks) matched with delayed conversion events.
Key Insights and Ideas
- Decoupled Supervision: Separating the CVR backbone from the delay model via stop-gradients prevents incomplete, short-window labels from corrupting the main feature representations.
- pCVR as Exposure Mass: Treating historical pCVR scores as "exposure mass" allows the model to mathematically undo the arrival bias caused by fluctuating traffic volumes. If a certain click cohort had massive volume or high conversion propensity, the model expects more arrivals from it and adjusts the delay likelihood accordingly.
- Zero-Overhead Serving: Even though training involves complex temporal convolutions over historical cohorts, the resulting model is entirely self-contained. At serving time, it requires no historical lookups or convolutions—just a single forward pass through the CVR and lightweight delay heads.
Key Results
- Offline Performance: On the Criteo benchmark, TWICE recovered 81.8% of the available AUC headroom between a naive baseline and an omniscient "Oracle" model, significantly outperforming state-of-the-art methods like MISS and ULC. On the Industrial Ads dataset, it achieved a massive PR-AUC improvement (+0.0085 absolute gain over MISS).
- Online Production Lift: In a large-scale online A/B test on Kwai's advertising platform (serving billions of requests daily), TWICE delivered a +2.486% lift in expected revenue, a +1.858% lift in realized revenue, and a +2.061% increase in conversions.
- System Efficiency: Despite the added complexity during data preparation, TWICE maintained an identical online prediction latency of 36 ms, making it highly practical for production deployment.
Limitations and Future Work
The arrival-conditioned likelihood assumes that within a specific grouped context, converters share a stationary delay distribution over the target window. In reality, extreme macro-level shifts (like a sudden holiday shopping festival) might violate this local stationarity. The authors note that future work could explore incorporating dynamic temporal features directly into the compact delay context to better handle highly non-stationary environments.
Summary updated