Does X hide posts that are too similar to others in my feed?
It can. X's final-ranking service includes a diversity selector (a "determinantal point process", or DPP) that picks the feed from the 150 highest-scoring posts while penalizing posts whose content is too similar to ones already picked. Posts it doesn't pick get a score of zero. The ranking request always asks for it and its switch defaults on, but whether X actually starts the service with it running is deployment configuration the code doesn't show. If it runs, a strong post can lose its spot simply because a higher-scoring post on nearly the same thing is already in the feed.
What it is
Most of ranking scores each post on its own. This step looks at the feed as a set. From the top
150 posts by score, it builds a selection that balances two things: how highly each post scored, and
how different it is from posts already chosen. Similarity is measured by comparing the posts'
embeddings — the numeric summaries of what each post is about.
vm-ranker can pick the final set with a determinantal point process: from the 150 highest-scoring posts it selects a set that balances each post's score against how similar its embedding is to posts already chosen (theta 0.65), and posts it does not select get a score of 0. Home Mixer always requests this mode and the parameter defaults on; whether the service is started with it enabled is deployment configuration the release does not show.
Score versus similarity
The trade-off is set by one number, theta (0.65 by default). It converts each post's relative score into a "quality" weight, and similarity between two posts is the cosine of their embeddings:
94 let theta = config.theta.clamp(0.0, 1.0 - EPSILON); 95 let alpha = theta / (2.0 * (1.0 - theta)); … 106 let qf: Vec<f64> = (0..total) 107 .map(|ki| { 108 let q = if ki < m { 109 item_at(ki).score / max_score 110 } else { 111 1.0 112 }; 113 (alpha * q).exp()
Higher theta leans toward score; lower theta leans toward variety. At 0.65 it still favors high-scoring posts, but two posts that are near-copies of each other compete for the same slot.
Not picked means zero
This is the part that matters for reach. Posts outside the selection aren't just moved down — their score is set to zero:
196 req.candidates 197 .iter() 198 .zip(scores) 199 .map(|(c, s)| { 200 if selected_ids.contains(&c.tweet_id) { 201 s.unwrap_or(0.0) 202 } else { 203 0.0 204 } 205 })
A repost is compared using the original post's embedding, so reposting something already in a viewer's feed doesn't add variety. Posts without an embedding get a random one, which in practice treats them as unlike anything else.
Is it actually running?
The code gives two answers. The ranking parameters switch it on for the For You feed (and off for topic feeds):
241param!( 242 DppEnabled, 243 bool, 244 "rust_home_mixer_vm_ranker_dpp_enabled", 245 true 246); … 253param!(DppTheta, f64, "rust_home_mixer_vm_ranker_dpp_theta", 0.65);
But the service only loads the embedding store it needs when it is started with a
--dpp-enabled flag, whose command-line default is off. How X launches the service in
production isn't in the release. So: built, wired in, switched on in the parameters, and not provably
running.
Signal by signal
| in the code | in plain english | where xDoctor surfaces it |
|---|---|---|
| top 150 by score | Only posts already near the top are in play; this doesn't rescue low scorers. | — |
| embedding similarity | Posts are compared by what they're about, not by exact wording. | Coach · Niches |
| unselected → 0 | Losing to a near-duplicate removes a post from that feed, not just lowers it. | — |
| reposts use the original | Reposting a post the viewer is already being shown adds nothing. | — |
What the code doesn't say
Whether production runs it, and with how many posts kept (the command-line default is 50). The embeddings come from a store the release doesn't include, so you can't compute how similar two of your posts look to it. This page will be updated if a release shows the launch configuration.
What to do with this
If it runs, the cost lands on sameness. Posting several takes on one topic in quick succession, or echoing what everyone in your niche is already posting that hour, puts your posts in competition with near-identical ones for a single spot. A distinct angle is safer than a louder version of the same post. This sits alongside author diversity, which already damps your second and third posts in the same feed.