0x00 한

Research / Daily reports

  • Sources read: 2
  • Canon files updated: 1
  • Radar entries: 1
In one lineX released code for a bias-correction model that recalibrates ranking probabilities to each user's habits. The correction is still off by default.

Other changes reviewed today:

  • X made the next-request candidate cache keep up to 30 video-carousel-only candidates separately from the main feed candidates.
  • A video completion prediction term entered X's page decoder training with weight 0.
  • Alibaba published a paper that merges retrieval and ranking into one Transformer and reports GMV +4.01% in an A/B test.

1Code for the per-user bias correction model was released — X

Source xai-org/x-algorithm@52d4598 — xAI, 2026-11-25, code. In these notes' numbering, this is Gen4+Gen71.4+N is the number these notes assigned in order to commits after the 2026-08-13 Gen4 release).

Background X For You's ranking model Phoenix (a Grok-family Transformer that predicts per-action engagement probabilities for each candidate post) outputs probabilities for actions such as like and reply, and VMRanker (the service that takes a weighted sum of these probabilities to set the final score and slate) builds scores from them. A user who likes often gets high like probabilities for every candidate, so when candidates are compared within that user, the habit inflates the score. The 2026-10-27 commit (Gen4+50) added a path to VMRanker that removes this habit, off by default, but the crate holding the correction function and model was not in the repo. This commit released that crate and added an option to apply the same correction inside Phoenix training.

What we learnedA. The correction subtracts the clipped logit difference between the user prediction and the surface average

  • An action probability is moved to logit space, reduced by "user predicted logit − surface global logit" clipped to ±clip, and then converted back to a probability verified — xai-user-debias/src/lib.rs:17-26

    • Expected dwell time is divided by the exponential of the log dwell difference, computed the same way.
    • If a user tends to like more than the surface average, the like probability of every candidate shown to that user is lowered by the same amount.
    let delta = (user_logit - global_logit).clamp(-clip, clip);
    let z = (p / (1.0 - p)).ln() - delta;   // probability correction
    1.0 / (1.0 + (-z).exp())
    d * (-delta_dwell).exp()                // dwell time correction
    
  • VMRanker's existing correction code reuses this crate as is verified — vm-ranker/scoring/debias.rs

    • This file did not change in this commit, and it already imported xai_user_debias.
    • Therefore the VMRanker-side correction defaults (blend ratio 0.0, off by default) are unchanged as well.

What we learnedB. The user-tendency model is a small MLP that takes recent-history statistics

  • The model takes 1,310-dimensional statistics drawn from the viewer's recent impression and action sequence, appends surface, hour, day-of-week and app embeddings, and passes them through a ReLU hidden layer to output per-action logits and log dwell time verified — xai-user-debias/src/model.rs
    • The statistics are normalized by mean and standard deviation, then multiplied by a learned gain and shifted by a learned bias.
    • The embedding table sizes are 3 for surface (other, home, immersive), 24 for hour, 7 for day of week, and 32 for app.
    • The reference global logits and global log dwell time are stored separately for each of the three surfaces.
    • The model file uses a custom format: a UDB1 magic, JSON metadata, and f32 tensors in order, with the training time and the number of training records in the metadata.
  • The statistics summarize action frequency and dwell using the latest 32, 128 and 512 history items, 1-, 6-, 24- and 168-hour windows, and EWMA (exponentially weighted moving average) with 24-hour and 168-hour half-lives verified — xai-user-debias/src/features.rs:3-17
    • The feature version is named serving_v1, and a model file with a different version or dimension is refused at load.
    • The home surface groups product surfaces 1 and 15, and the immersive (gallery) surface is product surface 10.

What we learnedC. An option to apply the same correction inside Phoenix training was added, off by default

  • A setting that trains a per-user correction head together with page decoder training was added; the page decoder is the Phoenix-side RL re-ranking model that picks the posts for one page in slot order verified — phoenix/xrex/models/page_rl.py
    • The defaults of the PageUserDebiasConfig setting are enabled=False, hidden_dim=256, clip_logit=1.0, serve_heads=False and serve_dwell=False.
    • The target actions are six: like, reply, repost, quote, click and share, plus dwell time.
    • The loss adds the per-action binary cross-entropy for the global and the user values and the absolute error of log1p dwell (capped at 300 seconds).
    • When the serving flag is on, this difference is subtracted from the Phoenix output logit, and the dwell prediction is multiplied by an exponential multiplier.
  • An option to feed the Rust crate's history statistics into the Phoenix user-token input was also added; its dimension default is 0, so it is off verified — phoenix/crates/common/xai-recsys/src/util.rs
    • This input reads only the latest 1,023 history items.
    • Training-config validation enforces that turning on the correction head also turns on this input, and that this input requires user embedding and feature prep to be on.

What we learnedD. A video completion term entered the page decoder score with weight 0

  • A video completion prediction term was added to the page decoder's action score, and its weight default is 0.0 verified — phoenix/xrex/models/page_rl.py

    • The completion label is 1 when the watch time is at least "video length × p(length)" and at most 3 times the length (with a 10-second minimum basis).
    • p is close to 1.4 for short videos and falls to 0.35 for long videos. A 10-second video must be watched for about 13.6 seconds, a 50-second video for about 44 seconds, and a 200-second video for about 82 seconds to count as completed.
    • The completion head borrows the existing CLIENT_NOTIFICATION_SENT action number instead of a new action number.
    p = floor + (top - floor) / (1.0 + (d / d0) ** k)   # floor=0.35, top=1.4, d0=50, k=2
    cap = cap_factor * max(d, cap_floor_s)               # cap_factor=3, cap_floor_s=10
    completed = (dwell_s >= p * d) & (dwell_s <= cap)
    

What we learnedOther changes

  • Video-carousel-only candidates stay in the next-request Redis candidate cache, separately from the 750 main feed candidates, up to 30 in carousel score order verified — side_effects/redis_post_candidate_cache_side_effect.rs
    • These candidates are not counted toward the minimum count that decides whether to reuse the cache. The count parameter is VideoCarouselExtraCandidates=30.
  • The Under the Hood trace card (a transparency tool where users see the labels on their account and the feed pipeline trace) is not shown for polling and background requests verified — util/under_the_hood.rs
    • The same commit added EnableUnderTheHoodLimit, off by default, which reads a limit marker from a separate repository and blocks the trace. The limit criteria are not in the code.
  • A switch that replaces the Grok recommendation task card in the third slot of the For You home with a Black Friday card was added, off by default, and the default time before it reappears after an impression is 6 hours verified — params/param.rs:1434-1445
  • Features for the counts of notification sends, opens, clicks and dismissals, an impression-position feature for history ad rows, and a video-length history feature were added to the Phoenix input through compile options or settings verified — xai-recsys/src/util.rs
  • The Phoenix serving checkpoint gateway and policy code changed by about 900 lines in the diff, and this time they were not read closely verified — xai-recsys-engine/src/checkpoint_gateway.rs
  • An option to override the Strato connection pool settings was added to grox (the LLM annotation service) verified — grox/config/config.py

Canon update services/x.md Replaced the "the correction crate is not in the repo" bullet in the Phoenix section of ## Ranking with a sentence saying it was released in the 2026-11-25 commit, and added sub-bullets for the correction formula, model structure and training options. Added a video completion term bullet under the multiplicative-mode bullet of the same section, a cache bullet and a Black Friday card bullet to the carousel item in ## Feed surfaces, and two trace-limit bullets to the Under the Hood section. Raised the reference commit in ## Summary and the reference sha table in ## Sources to 52d4598, and added one row to the change-log summary table.

Why it matters ⚠ Claim changed: the part where the canon had stated since 2026-10-28 that "the correction function and model format are not in the repo" was released with this commit. X is preparing the habit correction on two paths, a post-processing step in VMRanker and a head inside Phoenix training, and both paths are off by default. A grep of topics and radar for the key terms of the earlier claim found no matching claim.

2A deployment that merged retrieval and ranking into one model — Alibaba

Source LazUnirec: Unifying Retrieval and Ranking in Multi-scenario Industrial Recommendation — Alibaba International Digital Commerce Group, 2026-11-24 v1, paper.

Background Industrial recommendation usually keeps retrieval (the stage that quickly picks thousands of candidates) and ranking (the stage that scores those candidates precisely) separate. Because the two stages encode the same user sequence separately and their objectives diverge, attempts to merge them into one Transformer continue. Merging leaves a problem: the gradient directions of the two tasks collide. This paper reports deploying a model that reduces that conflict by splitting shared parameters from task-specific parameters.

What we learnedA. It reports a GMV gain in an A/B test after replacing the existing retrieval and ranking models together

  • Attention keeps task-specific parameters through LoRA, and the FFN was replaced with a sparse MoE (mixture-of-experts) that has task-shared experts and task-specific experts verified — arXiv 2611.32590
    • It estimates gradient confidence to decide the update direction when gradients conflict, and distills knowledge from ranking into retrieval.
  • In an A/B test run on 10% of traffic for one week in 2026-10, it reports that GMV on surfaces without a trigger rose +4.01% and orders rose +5.75% verified — HTML version
    • On triggered surfaces, product page views were +4.01%, orders +4.64%, buyers +3.06% and GMV +3.06%.

"LazUnirec simultaneously replaces the original MIMA-based retrieval ( Mao et al., 2026 ) and LazFormer-based ranking ( Li et al., 2026b ) . The online A/B testing was launched in October 2026, last for one week, with 10% online traffic." — LazUnirec (HTML), 2026-11-24

Canon update Added an entry to ## New this month in radar.md. It was not folded into a service canon because it is e-commerce recommendation.

Why it matters One more industrial case merges cascade stages into one model. It follows OneTrans-V2 and Snap GRP, and this time only the two stages of retrieval and ranking were merged. Because the A/B test lasted only one week, the paper does not report long-term effects.

Radar

What to check next