Contents · 9 sections
1When a sale arrives, how far can everyday habits still be trusted?2Align the same user’s regular and sale histories, then reweight examples by distance3Walkthrough: a regular economy-flight customer looks at an expensive hotel on Double 124Freeze the prediction head first, then add an uncertainty-aware boost near the event5Overall metrics improve, but already-purchased novel-category items are recalled less often6The online control is serving HDR, not the strongest offline model, TEN7The boost has a serving cost, and a limit8What this means for people who recommend during promotions9LimitsSHARE
The traveler who usually books economy may still buy an expensive hotel on Double 12: Fliggy splits history alignment, example weighting, and event-time boosts
On Double 12 evening, a Fliggy user who usually books economy flights may put a more expensive hotel into the candidate list. The recommender is not asked whether this person has “changed.” It is asked whether they will pay now. Promotions change discounts, traffic sources, and purchase timing, and a model updated only on regular traffic may miss these short peaks.
Following the promotion all the way is unsafe too. Sale traffic mixes low-intent browsing with genuine cross-category discovery. Forcing historical taste onto the sale can suppress a useful purchase. Overweighting brief clicks can wash out a preference that usually holds.
Researchers at Alibaba Group, the University of Chinese Academy of Sciences, and Santa Clara University offer a split they call COTTI (contrastive training and time-aware inference) for conversion prediction on Fliggy. During training, the same user’s regular and promotional histories are pulled closer, while each promotional example is reweighted by how far it sits from historical interest. At serving, the predictor head is frozen, and a one-sided upward correction is added from the announced campaign schedule and predictive variability. The data are multi-month Fliggy impression and conversion logs, covering regular days as well as 6.18, Double 11, and Double 12.
On more than 100 million samples from 11 November 2025, the full model’s AUC is 0.8127, above 0.8101 for the strongest comparator, TEN (a model that aligns temporal representations and mixes promotion-sensitive experts), and above 0.8001 for the production baseline HDR (the serving policy that retrieves historical promotional examples and adapts on them). From 1 to 10 December they compared COTTI with serving HDR on 25% of real-time traffic; the weighted-average conversion rate rose 3.14% relative, and revenue per mille rose 2.68% relative. This means the full model beat both the strongest offline comparator and the live policy on discrimination, and beat serving HDR on conversion and revenue in the ten-day test.
In this Fliggy promotion evaluation, splitting history alignment, example weighting, and event-time boosts improved overall discrimination and online conversion against HDR; the full model’s paid-item recall in novel categories is lower than in the related ablations, but those contrasts cannot yet identify why recall falls.
When a sale arrives, how far can everyday habits still be trusted?
Fliggy is estimating whether the user will pay for this itinerary at the moment it is shown. Features use only history before that moment, plus item and context already available then; future clicks are not written in. An event calendar then splits that history into a regular view and a promotional view.
Historical reuse and cross-period transfer are already in use. HDR retrieves historical promotional examples, corrects their distribution, and adapts with its TransBlock component; it is also the serving policy later replaced in the online test. TEN aligns representations across time and mixes promotion-sensitive experts, and it is the strongest non-COTTI comparator by AUC in the offline table. This paper splits adaptation across three objects: the same person’s two histories, a single promotional example, and the score at event time. The authors state that robustness here covers only the promotional conditions they evaluated, and that the design offers no distributionally robust or subgroup-level guarantee.
Regular traffic is about 10 million users, 100 thousand items, and 50 million samples a day; a promotion day rises to about 20 million users, 300 thousand items, and 100 million samples. These are rounded figures, which means the reported totals of users, items, and samples on promotion days are all larger than on regular days. Population scope, deduplication, averaging intervals, the prediction denominator, payment attribution, and the label-maturation window are not fully specified. An unpaid impression may be a mature negative, or a conversion that has not yet been recorded.
Align the same user’s regular and sale histories, then reweight examples by distance
Training comes first. A shared encoder and attentive pooling produce two vectors for the same user: a regular view and a promotional view. The contrastive loss pairs only users who have both histories. The positive pair is this person’s two views; negatives are other users’ promotional views. Similarity is cosine, and the temperature is 0.07. This encourages continuity; it does not require promotional interest to equal historical interest.
Alignment also has a gate. The farther the two views are, the smaller the gate, which stays in (0, 0.5], and the gate is differentiated. Minimization can improve agreement or shrink the gate, rather than forcing every user to align equally tightly. Distance alone cannot tell which departures are useful discoveries. How users without a regular-period reference should fall back is not defined.
Promotional examples get a second weight. The system measures how far the item representation sits from the user’s regular view, in the same space; that regular view is the same vector used in the contrastive term. It standardizes the distance with the current mini-batch mean and standard deviation, and applies an exponential with base e and scale 1.5. Examples closer than the batch average get weights above one; those farther away get weights below one. Weights are not clipped or divided by their mean, and they do not depend on the label, so a paid novel-category order can also be downweighted.
Illustrative example: at scale 1.5, a gap of two standardized distance units makes the nearer example’s weight about 20.1 times the farther one. The weight is used in the forward pass and blocked in the backward pass, so the example pushes the classification loss at its current weight and is not optimized in order to change the weight itself. The weights are recomputed from the current representations at every step. The exponential rule also raises the overall scale of promotional supervision, because the batch mean of the standardized distances is zero and the mean weight is therefore at least one. Dividing weights by that mean was not evaluated. Hoot says
Alignment gate η
- How it is computed
- Taken directly from the squared distance of the two views: v is the squared distance divided by four times the dimension, η=1−σ(v), in (0, 0.5]
- Gradient on this step
- The gate and the contrastive loss are differentiated together; minimization can pull the views closer or shrink the gate
- Why it changes next
- Updated representations change the formula, and the gradient can also act on the gate itself
- Illustrative
- When v=0, η=0.5; when v=2, η≈0.12
There is no separate trainable gate parameter; the gate is a function of distance.
Example weight ω
- How it is computed
- Squared distance between the item representation and the regular view, standardized in the current mini-batch, then an exponential with scale 1.5
- Gradient on this step
- ω is used in the forward pass and blocked backward: the term is ω∇ℓ, not ℓ∇ω
- Why it changes next
- After representations update, ω is recomputed from the new distance; the weight itself was not optimized
- Illustrative
- With a standardized-distance gap of 2, the nearer example’s weight is about 20.1 times the farther one
Without the stop-gradient, the classification loss would also push on the weight itself; that was not evaluated.
Numbers on the right are an illustrative mini-batch: with a standardized-distance gap of 2 and scale 1.5, the weight ratio is e³≈20.1. Without the stop-gradient, the classification loss would also have a gradient through ω; that variant was not evaluated.
Source
Paper §III-B: η=1−σ(v), v is the squared distance of the two views divided by four times the dimension, η∈(0,0.5], and η is differentiated. §III-C: ω=exp(−γ_rw(d−μ_b)/(σ_b+ε)), promotional cross-entropy is weighted with a stop-gradient, and weights are recomputed from current representations at each step; at γ_rw=1.5 a gap of two standardized units gives a weight ratio e³≈20.1.In the task loss, regular examples use ordinary cross-entropy, promotional examples are multiplied by this stopped-gradient weight, and a contrastive term and parameter shrinkage are added. The implementation is a shared four-layer MLP in TensorFlow, hidden width 512, Adam at learning rate 0.0001, 5,000 warmup steps, batch size 2,048, trained with 64 A100 GPUs. The selected loss coefficients, the stopping rule, and the predictor-training search budget are not fully specified.

Walkthrough: a regular economy-flight customer looks at an expensive hotel on Double 12
Suppose a user who usually books economy flights puts a more expensive hotel into the candidates on Double 12. When this example is trained, the system uses only history before this impression’s prediction time, then splits it into a regular view and a promotional view. The contrastive term treats this person’s two histories as a positive pair and other people’s promotional histories as negatives. If what they browse on sale is already far from everyday behavior, the alignment gate shrinks and does not force them back to “economy only.”
The expensive hotel is farther from the regular profile, so in the same batch it often receives a smaller weight. Even if they do pay, this positive example pulls the parameters more weakly; examples closer to everyday taste in the same batch weigh more. The label is still whether they paid. Distance only changes how hard this example can push the model; it does not relabel a cross-category purchase as noise.
After training, the predictor parameters are frozen. Serving no longer forms contrastive pairs and no longer recomputes batch weights. The system first computes a base logit with dropout off, then looks at the campaign calendar: the time kernel grows nearer the announced peak. The prediction head is also run with dropout ten times, and the variance of those ten logits is used as uncertainty. That variance is multiplied by a sensitivity, compressed to between 0 and 1 with a tanh, multiplied by the time kernel, added to the base logit, and passed through a sigmoid to get a probability. This term can only raise the predicted probability. If the variance is zero, or the moment is already far from the event center, the boost vanishes and the deterministic probability is used again.
Illustrative example: if two candidates’ base logits already differ by more than the maximum of this time kernel, even giving one the full boost and the other none cannot reverse their order, because the boost itself cannot exceed the time kernel. The boost can change their order only when the base logits already sit within that bound. Selected amplitude and sensitivity are not among the published settings, and an automatic fallback or drift detector is outside the evaluated design.
Freeze the prediction head first, then add an uncertainty-aware boost near the event
The event center is fixed by the announced schedule. The width comes from the top 20% of peak-traffic hours in historical campaigns, not from the realized peak of this test period. Amplitude is chosen by validation grid search, and the sensitivity candidates are 0.1, 0.5, 1.0, and 2.0. How the historical interval is mapped to a Gaussian width, the amplitude grid, and the two numbers finally selected are not given.
The uncertainty comes from the prediction head, not the encoder, and not from a direct measure of purchase intent. For each user–item pair, the encoder is run once, deterministically, and those ten dropout passes reuse that result; dropout is applied only in the head, at rate 0.2. The authors later show that the same event-conditioned boost also lifts TEN, so the gap against the unadjusted comparator should not be credited entirely to the two training changes.
Overall metrics improve, but already-purchased novel-category items are recalled less often
The offline comparison is on 11 November 2025; December observations were not used to tune this model or its calibration. Exact earlier training and validation cutoffs, and the comparators’ own historical-data access and adaptation budgets, are not fully specified. The authors read these numbers as system-level contrasts under the stated protocol, not as isolated architecture tests with every training choice controlled. Online lifts in conversion and revenue are relative; offline AUC differences are absolute. They report point estimates only, without confidence intervals, repeated-run variability, or significance claims.
Full COTTI reaches AUC 0.8127, RMSE 0.1807, and cross-entropy 0.1482, all better than the other models in the table. Removing cross-period alignment drops AUC to 0.8082, removing distance weighting drops it to 0.8051, and turning off the event-time boost drops it to 0.8102. This means all three pieces contribute to aggregate discrimination, but the contributions are not estimated as independent effects. Aggregate calibration is a different question: COTTI’s ratio of predicted to observed conversions is 0.9432, still low; the promotion-indicator comparator has a smaller absolute error, 0.0510 versus COTTI’s 0.0568, even though its AUC is lower. Better ranking does not mean a more accurate conversion total.
A novel-category item is one whose category is absent from the user’s history before this impression. The category level, lookback window, cohort size, and label-maturation window are not given. Paid-item recall asks whether the observed purchase appears among the top K candidates, but K and the candidate-set construction are not stated. This is an offline ranking measure, not a causal estimate of incremental purchases.
| Contrast (full model minus the ablation; absolute differences) | Discrimination AUC | Positive-class loss on paid items | Paid-item recall |
|---|---|---|---|
| Familiar categories, versus no reweighting | +0.0082 | −0.0120 | +0.0034 |
| Novel categories, versus no reweighting | +0.0028 | +0.0038 | −0.0008 |
| Novel categories, versus no alignment | +0.0016 | +0.0019 | −0.0004 |
On familiar categories, adding distance weighting improves all three metrics. On novel categories, discrimination still rises by 0.0028, but probability support for already-purchased items gets weaker, and recall falls by 0.0008, which is 0.08 percentage points, not a relative percent change. Versus removing alignment, recall falls by 0.0004. Better positive–negative ordering can coexist with weaker support for observed purchases. Weight quantiles, the share of total weight on paid novel-category examples, and a joint removal of alignment and weighting on the same cohort are not provided, so the recall drop cannot be pinned on a single mechanism.
The event-time boost itself is compared with simpler controls, with the predictor frozen. A time-only bias raises AUC from 0.8102 to 0.8108. Affine calibration lowers loss to 0.1489 and leaves AUC unchanged. An uncertainty-only constant amplitude reaches AUC 0.8116. Adding the event-time kernel reaches the full model’s 0.8127. The same boost lifts TEN from 0.8101 to 0.8123 and lowers its loss from 0.1503 to 0.1486, leaving a gap of only 0.0004. This means the event-conditioned boost helps both predictors and removes most of the gap seen without it.
The online control is serving HDR, not the strongest offline model, TEN
The 1–10 December experiment covers 25% of real-time traffic, with serving HDR as the control and COTTI as the treatment. Arm allocation, the randomization unit, per-arm counts, and concurrent policy changes are not reported, so balance and interference cannot be judged independently. The weighted-average result is a 3.14% relative rise in conversion rate and a 2.68% relative rise in revenue per mille. The aggregation weights are not given. The CVR denominator, refund treatment, and attribution windows are also not fully specified. TEN and TEN with the event-time boost appear only in the offline tables; the online business conclusion is limited to replacing HDR.
On 12 December the model was deployed to all real-time traffic. The paper plots relative changes in conversion rate and revenue per mille at two-hour intervals, and states that the reference population and aggregation rule are unspecified. This trace is descriptive, not another treatment-effect estimate with a concurrent control, and it should not be read as a second confirmation of the ten-day 3.14% and 2.68%.

The boost has a serving cost, and a limit
Serving uses Alibaba’s real-time prediction infrastructure. User profiles, candidate itineraries, and historical features come from the feature store. Hardware, instances, load, and candidate scale are matched, but the exact machines, precision, and batching are not given. Alignment and example weighting happen in training. Serving only adds the event-time boost and does not update parameters inside a request.
In the single-value inference table, COTTI trains in 83 minutes 17 seconds and infers in 28.62 ms, a little longer to train than Base (the production ESMM predictor updated incrementally on daily regular traffic) at 78 minutes 58 seconds, and a little faster than Base at 28.82 ms. TEN has the lowest single-value latency, 26.31 ms. This means training is slightly slower, single-value inference is a little faster than Base, and it is still slower than TEN. The paper states that this table’s aggregation statistic and timing boundary are unspecified, so the figures should not be read as a percentile.
The end-to-end table times the full stochastic serving path. With the boost off, p99 is 36.7 ms and throughput is 15,400 requests/s. With ten head samples, p50, p95, and p99 are 26.4, 32.0, and 38.9 ms, and throughput is 14,700 requests/s. This means turning on ten head samples worsens tail latency and throughput relative to the boost-off path, and the single-value table cannot replace this end-to-end path.
Under matched load and a common throughput-latency constraint, the boost adds 1.6, 1.7, and 2.2 ms at p50, p95, and p99, and cuts throughput by 4.5%. The full model’s p99 is still below Base at 42.1 ms and HDR at 42.8 ms, and its throughput is higher than both. Versus TEN, p99 is 0.7 ms higher and throughput is 1,100 requests/s, or 7.0%, lower. This means the boost has a measurable cost, and efficiency is not uniformly better. The latency threshold, concurrency, warmup, duration, and repetitions are not given, and a single operating point with ten samples does not identify the cheapest sampling. For each user–item pair, compute is about one encoding plus eleven head passes, excluding feature fetch and scheduling, and that count is not wall-clock wait time.
The design is more plausible when historical interests still carry reusable information, and when the announced event time tends to coincide with systematic underprediction. It is less suitable when stable histories are missing, behavior has shifted permanently, or the base model already overpredicts. The boost can only push probabilities up; it cannot push an overestimate back down.
What this means for people who recommend during promotions
If the live system is an HDR-style policy that adapts on historical promotional examples, this paper offers a deployable split: do not treat every promotional click as equal during training, and at serving a bounded boost can be added from the calendar without changing parameters. In this Fliggy measurement, overall discrimination and conversion and revenue against HDR all improved, and end-to-end p99 stayed below the previous serving control.
An acceptance check that looks only at overall AUC or site-wide conversion will miss the recall drop for already-purchased items in novel categories. Applying the same boost to an already strong TEN narrows the offline gap sharply, so not all of the online gain should be explained as the two training changes. Reproducing the full system still needs the label-maturation window, the paid-item recall cutoff, a fallback for users without regular history, and the selected calibration coefficients.
Limits
Data scale, deduplication, the prediction denominator, label maturation, the CVR denominator, and attribution windows are incomplete, and an unpaid event may be a negative or delayed feedback. The online test does not report assignment details or confidence intervals, and the control is only HDR. Novel-category cohort size and the recall cutoff are unknown, and the recall drop lacks a weight-allocation diagnostic. The selected boost amplitude and sensitivity, and any automatic fallback policy, are not given.
How did this read for you?
Hoot made a note. Thanks for the feedback.
One tap, no sign-in; tap again to undo. Only anonymous counts are kept, never who you are.
Related papersMore from Paper Daily
Personalization · 2026-08-28TransRetrieval: Scaling Up Transformer-Based Retrieval for Industrial RecommendationDeep dive: TransRetrieval: Scaling Up Transformer-Based Retrieval for Industrial Recommendation.Personalization · 2026-08-03DADF: A Distribution-Aware Debiasing Framework for Watch-Time Regression in Recommender SystemsDeep dive: DADF: A Distribution-Aware Debiasing Framework for Watch-Time Regression in Recommender Systems.
Generative · 2026-11-04Large Language Model as Universal Retriever in Industrial-Scale Recommender SystemIn this CIKM paper from Alibaba's Taobao and Tmall Group, one large language model handles click retrieval, per-scenario retrieval, long-tail retrieval, interest exploration and retrieval with a search query at the same time, and overall does better than the multi-task retrieval models common in industry. The user's history and the goal of this retrieval are written into one input. The LLM output…
Personalization · 2026-11-04PACT: Defending Recommendation against Promotional News Rewriting via Attack-Diverse Score ConsistencyA news publisher can ask an LLM to make a headline more eye-catching without changing a single fact, and the ranking still goes up. This paper's defense is called PACT, and it changes only training. Before training, many different LLMs and rewriting methods produce a batch of rewritten headlines for each training article. During training, each time an article comes up, one rewrite is drawn at ran…
Personalization · 2026-10-24A Framework for Value-Aligned Modeling and Robust ExperimentationIn the Google Discover ads team's model iteration, offline and online results did not line up. The correlation between the change in the conversion model's offline loss and online advertiser value was only 0.1, and many changes that looked better offline failed in the small-traffic A/B stage. This paper weights the offline loss by how much each click is worth to the advertiser, so that a loss dec…Personalization · 2026-10-16Bridging the Topological Divide: Dual-Branch Graph Distillation with Semantic Priors for Robust Cold-Start RecommendationDualGCN gives interaction-free items a representation through semantic-anchored graph distillation. A separate student learns directions, while inference restores vector magnitude. On Sports cold items, Recall@20 exceeds DropoutNet by 20.8%.
Discussion
Add experiment details, reproduction notes or a different take. Requires a GitHub sign-in.
Loading the discussion…