- Sources read: 1
- Canon files updated: 1
- Radar entries: 0
1The cold-start slot gained a viewer language condition — X
Source xai-org/x-algorithm@f8902ae — xAI, 2026-12-03, code. In these notes' numbering, this is Gen4+Gen73.4+N is the number these notes assigned in order to commits after the Gen4 release on 2026-08-13).
Background X For You has a cold-start slot that picks one new post with few impressions and raises its ranking. It is a mechanism built to address cold start (the problem of handling items or users with almost no impression history, which models find hard to evaluate). Until now this slot chose candidates by looking only at the author's follower count, the post's age, and home impressions, so posts in languages the viewer cannot read could also be promoted. This commit adds a viewer language condition to the slot's candidates, together with two inputs for the training log and a VF rule change.
What we learnedA. The cold-start slot picks only posts in languages the viewer understands
The home-mixer (the service that receives For You requests, gathers candidates, and scores them) now looks up the list of languages the viewer understands on every request verified —
home-mixer/query_hydrators/understood_languages_query_hydrator.rs- The lookup uses
get_understandable_languagesof Strato (X's internal data lookup layer), and it was registered in the query hydrator list of the Phoenix candidate pipeline. - The
enable()of this hydrator checksEnableViewerColdStart.
- The lookup uses
As of this commit, that switch is on by default, so the language condition is active by default verified —
home-mixer/params/param.rs:786-791EnableViewerColdStart, bool, "rust_home_mixer_enable_viewer_cold_start_boost", trueIn addition to the existing conditions, a slot candidate's post language must be in the viewer's language list verified —
home-mixer/scorers/author_cold_start.rs:83-130- A post with no language code passes (
is_none_or). - Before comparison, 16 post language codes are normalized with an alias table. For example,
en-gbbecomesen,zh-twbecomeszh, andhebecomesiw. - The alias table also has rows that map
ga,hr,sq, andeotoen. Posts written in these languages also pass for English viewers. - The filter is part of the candidate condition inside
apply_cold_start(same file, lines 359-362).
- A post with no language code passes (
No language condition is applied when the viewer's languages are only non-text codes such as emoji or unidentified verified — same file, lines 83-101.
- The non-text codes are nine:
art,art-x-emoji,qam,qct,qht,qme,qst,und, andzxx.
- The non-text codes are nine:
What we learnedB. The VF new-user soft NSFW rule was removed, and a gambling label rule was introduced, off by default
- In VF (visibility-filtering, the safety filter service that decides whether to show a post to a viewer), the rule that hid soft NSFW labeled posts from new-account viewers was deleted verified —
visibility-filtering/rules/tweet_rules.rs- The deleted rule is
SOFT_NSFW_NEW_USER_DROP_UNSPECIFIED, and the default of its enabling switchsoft_nsfw_tweet_label_new_user_rule_enabledwas false. - So the default behavior does not change. The separate new-user soft NSFW filter on the home-mixer side was not touched in this commit.
- The deleted rule is
- The same file introduced a rule that hides posts carrying a gambling-related regulated goods label from viewers other than the author verified — same file, lines 271-279.
- The rule is
REGULATED_GOODS_GAMBLING_DROP_LOCAL_LAWS_WITHHELD, and the hiding reason is "withheld under local laws (LocalLawsWithheld)". - The code default of the switch
regulated_goods_gambling_rule_enabledis false (visibility-filtering/params/client_switches.rs).
- The rule is
- The test configuration turns this switch on for Indonesian viewers and employee accounts verified — the test
regulated_goods_gambling_follows_country_and_rolesin the same file.- The test YAML changes the value to true under the conditions
[country eq ID]and[user_role contains employee]. - Because this is a test fixture, it is not evidence that the production configuration is the same. It only shows a structure designed with per-country application in mind.
- The test YAML changes the value to true under the conditions
What we learnedOther changes
- Added a path that puts the immersive surface engagement aggregates of video candidates into the ranker request log used for training. The switch
EnableImmersiveEngagementCountsis off by default verified —home-mixer/side_effects/phoenix_request_cache_side_effect.rs- Two hydrators were added that look up the author aggregate and the post aggregate separately, and both use a 60-second TTL cache (
immersive_author_engagement_counts_hydrator.rs).
- Two hydrators were added that look up the author aggregate and the post aggregate separately, and both use a 60-second TTL cache (
- Added a path that puts a sample of the viewer's following list into the same log. The default sample size is 0, so it is off verified —
home-mixer/util/phoenix_request.rs- The order is set by a hash mixing the viewer id and the account id, and entries are taken from the front, so the same viewer always gets the same sample.
- Added a path that passes selected indexes among Phoenix's continuous-value predictions to VMRanker (the stage that reorders the slate with DPP). The default index list is empty, so nothing is passed verified —
home-mixer/scorers/phoenix_scorer.rs - Added a function to Phoenix training data that computes match features between a search query and the author's handle and name verified —
phoenix/xrex/data/recsys/negative_word_match.py - VF was refactored so that request switch resolution is gathered in one place, and the
vf_prefix was added to observability metric names verified —visibility-filtering/params.rs - The cron mirror sync time changed from
2026-12-01T16:00:28Zto2026-12-02T16:00:30Z, and the existing weight values did not change verified —home-mixer/params/param.rs
Canon update services/x.md Under the slot selector bullet of ### New items (post level) in ## Cold start, added the viewer language condition and the evidence that it is on by default. In the ranker input features section, added the two inputs of the training request log (off by default) in one bullet. Added a Gen4+73 row to the change log summary table and an f8902ae row to the reference commit table in ## Sources.
Why it matters The cold-start slot now weighs whether the viewer can actually read a post, alongside its exploration purpose of "giving new posts a chance at impressions". The basis is that the switch enabling the language condition is an existing on-by-default switch, so it applies immediately without a separate experiment. We infer that impressions going to new authors in other language communities decrease, but the actual change in impression volume cannot be known from public sources, so we mark it inferred.
What to check next
- The Phoenix training code changes in the same commit (Muon optimizer, search distillation, follow data processing) — not read this time. A human should start this together with the training preset deep dive left yesterday.
- The abuse-enforcement-service and safety-label-source changes in the same commit — we did not check whether they include a feed policy change.
- In which countries the gambling label rule is actually turned on — the public code has only a test fixture, so inferred remains.
- The reason the language alias table maps
ga,hr,sq, andeotoen— there is no public evidence on whether it follows the existing tweet language code scheme.