- Sources read: 1
- Canon files updated: 2
- Radar entries: 0
1VMRanker turned on per-user correction and its own weighted sum — X
Source xai-org/x-algorithm@e19d150 — xAI, 2026-12-05, code. In this repository's numbering it is Gen4+75 (Gen4+N is the number these notes assigned in order to commits after the Gen4 release on 2026-08-13).
Background In the X For You feed, home-mixer (X's service that assembles the For You response) gathers candidates, and Phoenix (a Grok-based ranking Transformer) predicts action probabilities such as like and reply for each candidate. The order is then set by a score that multiplies these probabilities by per-action weights and sums them. After that, VMRanker (a separate service that home-mixer calls over gRPC and that handles the final score and diversity reordering) rebuilds the final order with DPP (Determinantal Point Process, a diversity mechanism that picks items in groups by looking at scores and similarity between candidates together). The home-mixer parameter file was a cron mirror of production defaults copied daily (a file where a cron script overwrites production settings onto the repo's code defaults), but the vm-ranker parameter file had no such marking, so it was unclear whether the values there were production values. This commit turns the vm-ranker parameter file into a production mirror, and in doing so shows that VMRanker's own weighted sum and per-user bias correction, which had been off as code defaults, are on in production.
What we learnedA. The vm-ranker parameter file became a production mirror, and its weights now match the home-mixer mirror
A production-mirror header in the same format as home-mixer was added at the top of the vm-ranker parameter file verified —
vm-ranker/params.rs:1.- The sync time is 2026-12-04T16:00:31Z, the same as the home-mixer mirror sync time in the same commit.
Eight weights that had diverged were aligned to the home-mixer mirror values, and two dwell-second terms that were 0 now have values verified —
vm-ranker/params.rs:4-137.- video_continuation (probability of opening a video × expected seconds of continued watching) and profile_visit_secs (probability of a profile click × expected seconds on the profile) are params that the home-mixer mirror does not have.
- The new-author boost (an additive value for posts with few impressions) is also applied on the vm-ranker side to OON (from accounts the viewer does not follow) candidates. The home-mixer setting is in-network only.
favorite 0.5 → 0.708 video_open 0.07 → 0.0 click 0.3 → 0.274 share 2.0 → 2.118 cont_dwell_time 0.004 → 0.0075 cont_click_dwell 0.4 → 0.385 post_unexplored 0.02 → 0.015 not_interested −47.52 → −55.72 video_continuation 0.0 → 0.005 profile_visit_secs 0.0 → 0.01 post_unexplored_include_out_of_network false → true
What we learnedB. VMRanker runs DPP on its own weighted sum instead of the score home-mixer sends
- In the production mirror, the switch that makes VMRanker compute the value model (the weighted-sum score of action probabilities) directly is on verified —
vm-ranker/params.rs:301-306.- The switch is named
ComputeValueModel, and it was introduced, false by default, in the 2026-09-23 commit (Gen4+27).
- The switch is named
- When this switch is on, VMRanker uses the score it computed as the DPP input, and uses the score carried in the request only when there is no computed result verified —
vm-ranker/scoring/mod.rs:45-121.served_pre_dpp_scorespicks the value model output if it exists, andreq.candidates[].scoreotherwise (lines 153-160 of the same file).- We infer that home-mixer's local weighted sum has therefore stepped back to a fallback role inferred. The home-mixer call code was not read again this time.
- In the same sync, the detail values of the sliding-window DPP (an approach that decays similarity according to the distance from recently seen posts) were filled in, but it is off because the window size is 0 verified —
vm-ranker/params.rs:332-344.- The half-distance
DppWindowHalfDistance=2.5, the first-level addition for the same SID (semantic ID, an identifier that groups content by hierarchical codes)DppWindowSidLambda=0.5, and the window sizeDppWindow=0. - A window size of 0 means no window is built —
vm-ranker/scoring/mod.rs:65-72.
- The half-distance
- The default DPP settings (on, θ 0.65, top 150, topic request skipped) are unchanged in the production mirror verified —
vm-ranker/params.rs:307-325.
What we learnedC. Per-user bias correction is on in production
- The correction that predicts each viewer's action tendency and subtracts that tendency from the Phoenix probabilities is on in the production mirror verified —
vm-ranker/params.rs:363-404.- The correction subtracts "user predicted logit − surface-global logit" clipped to ±clip from the logit (the log odds of the probability). The approach is described in daily 2026-11-26.
- The values are
UserDebiasEnabled=true, mixing ratioUserDebiasAlpha=1.0, andUserDebiasClipLogit=1.0. The code defaults were off, 0.0, and 2.0. - The target heads are eight:
fav,reply,retweet,quote,click,share,share_copylink,share_dm. - With
UserDebiasMaxArtifactAgeSecs=86400, the correction model file is used even if it is up to 24 hours old. The code default was 1 hour.
- The exclusion of engagement-bait heads, whose production status was left as an inference the previous day, is also true in the production mirror verified —
vm-ranker/params.rs:345-350. - The negativity penalty and content dedup are also off in the production mirror verified —
vm-ranker/params.rs:351-410.
What we learnedD. Video completion prediction changed from a separately added term to a multiplier on the video continuation term
- The completion probability for videos longer than 30 seconds is now used only as a multiplier on the video continuation term verified —
xai-value-model/scoring.rs:128-136, 213-217.- The formula is
video_continuation term × (1 + completion_weight × clamp(P(completion), 0, 1)). If the probability is NaN, the multiplier is 1. - The weighted-sum term list shrank from 31 to 30, and completion was also removed from the sum of positive weights (
xai-value-model/weights.rs). - The completion weight is 0.0 in both mirrors, so it currently has no effect on the score.
- The formula is
What we learnedOther changes
- Added a backoff that hides the video carousel for 240 minutes after the last impression from viewers who passed a carousel without tapping it a set number of times or more. The count default is 0, so it is off verified —
video_carousel_backoff_query_hydrator.rs- It counts only impressions after the last tap among those in the last 3 days, and counts impressions more than 10 minutes apart as different carousels.
- Added, off by default, a filter that removes ads from the same account as an organic post author, a repost original author, or a top author in a reply chain in the same response verified —
organic_same_author_ad_filter.rs- It was added to the For You, Following, and ranked Following pipelines. The switch is
EnableOrganicSameAuthorAdFilter.
- It was added to the For You, Following, and ranked Following pipelines. The switch is
- The switch that records immersive-surface engagement aggregates in training ranker request logs was turned on in the home-mixer production mirror verified —
params/param.rs:1139-1143 Experiment7Fou:768was added to the list of follow-count-based Phoenix shadow traffic clusters verified —params/param.rs:127-132- A
.xaisuffix was added to the service discovery names of SID retrieval and VMRanker. There is no policy change verified —clients/vm_ranker_client.rs
"// mirrored from config feature-switch defaults; last sync 2026-12-04T16:00:31Z" —
vm-ranker/params.rs:1, 2026-12-05 (code)
Canon update Rewrote ## Summary of services/x.md as of this commit to include VMRanker's per-user correction, and added the vm-ranker mirror and own-weighted-sum sentences to the ## Ranking intro. In the Phoenix section, it recorded the production mirror values and sliding-window values in the DPP settings bullet, added a new own-weighted-sum bullet, changed the "off by default" sentence for per-user correction to on in production, and changed the inferred sentence on the engagement-bait head exclusion to verified. It changed eight rows of the weights table to "both mirrors", the video_continuation and profile_visit_secs rows to the vm-ranker values, and the completion row to the multiplier explanation, and moved the previous vm-ranker values below the table as a change log. It added a new-author boost table, a backoff bullet in the carousel item, a same-author ad filter bullet in the ads section, a resolution bullet for the open question "mirror divergence", and rows in the reference commit table and the commit summary table. It changed the "correction off by default" sentence in the X item of topics/multi-task-ranking.md to on in production.
Why it matters ⚠ Claim changed: X's VMRanker is not a stage that receives the home-mixer score and only adjusts diversity, but an actual ranking stage that re-scores with probabilities corrected per user. The evidence is that the vm-ranker parameter file, now a production mirror, turns on both its own weighted sum and the correction. However, this commit alone does not show since when these values have been on in production.
What to check next
- How the home-mixer VMRanker scorer handles its own weighted-sum result and the local weighted sum — the judgment that the home-mixer score has stepped back to a fallback is inferred.
- Changes in the same commit to the abuse-enforcement invite reply rule, the safety-label-source cache, and the VF article rule — only the ranking side was read this time.
- When the per-user correction revealed by the vm-ranker mirror was turned on — the vm-ranker values in the previous commit were code defaults, so the production history is unknown.