# x-algorithm | SpaceXAI Org | Knowledge Base | Instagit

Algorithm powering the For You feed on X

GitHub Stars: 32.6k

Repository: https://github.com/xai-org/x-algorithm

---

## Articles

### [Understanding the Role of Visibility Filtering in the X Algorithm](/xai-org/x-algorithm/what-is-role-of-visibility-filtering-in-x-algorithm)

Discover how visibility filtering in the X Algorithm acts as a deterministic gatekeeper, evaluating safety and context to control post visibility before ranking. Learn its crucial role.

- Tags: deep-dive
- Published: 2026-09-12

### [How VFFilter Works After Candidate Selection in the Home-Mixer Pipeline](/xai-org/x-algorithm/how-does-vffilter-work-after-candidate-selection)

Discover how VFFilter operates post candidate selection in the Home-Mixer Pipeline. Learn how it filters posts based on visibility actions and labels like Drop or Tombstone.

- Tags: deep-dive
- Published: 2026-09-12

### [What Is PreviouslySeenPostsFilter? Timeline Deduplication in X-Algorithm](/xai-org/x-algorithm/what-is-function-of-previouslyseenpostsfilter)

The PreviouslySeenPostsFilter in X-Algorithm deduplicates timelines by removing already seen posts with `seen_ids` and Bloom filters. Discover how it keeps your feed fresh.

- Tags: internals
- Published: 2026-09-12

### [How the AgeFilter Works in Pre-Scoring: X-Algorithm Technical Guide](/xai-org/x-algorithm/how-does-agefilter-work-in-pre-scoring)

Learn how the AgeFilter works in xai-org/x-algorithm pre-scoring. This technical guide explains JAX boolean masks and feature zeroing for user eligibility.

- Tags: technical-guide
- Published: 2026-09-12

### [What Types of Filters Are Applied Before Scoring in x-algorithm](/xai-org/x-algorithm/what-types-of-filters-are-applied-before-scoring-in-x-algorithm)

Discover x-algorithm pre-scoring filters like TaskFilter used in UPA, spam detection, and PTOS to ensure post eligibility before computational scoring.

- Tags: deep-dive
- Published: 2026-09-12

### [What Is phoenix-rankall in X-Algorithm? Purpose and Architecture](/xai-org/x-algorithm/what-is-purpose-of-phoenix-rankall-in-algorithm)

Discover phoenix-rankall within X-Algorithm. Learn how this Rust micro-service generates and indexes ranking signals for the Phoenix recommendation system using Kafka events and time-windowed pipelines.

- Tags: deep-dive
- Published: 2026-09-12

### [How the Candidate Pool Is Merged and Ranked in X-Algorithm](/xai-org/x-algorithm/how-is-candidate-pool-merged-and-ranked)

Discover how X-Algorithm merges candidate pools by concatenating vectors and ranks them using a configurable Selector trait. Learn about score sorting, truncation, and diversity reranking.

- Tags: internals
- Published: 2026-09-12

### [What Is SimClusters in x-Algorithm Candidate Generation? A Technical Deep Dive](/xai-org/x-algorithm/what-is-simclusters-in-context-of-x-algorithm-candidate-generation)

Explore SimClusters in x-algorithm candidate generation. Learn how these sparse semantic embeddings map tweets and users to weighted cluster IDs for scalable retrieval from billions of items.

- Tags: deep-dive
- Published: 2026-09-12

### [How Phoenix Retrieval Finds Candidate Posts: Inside the X Algorithm Corpus System](/xai-org/x-algorithm/how-does-phoenix-retrieval-find-candidate-posts)

Discover how Phoenix retrieval finds candidate posts using a two-stage pipeline with RetrievalDataset and World.sample_candidate_posts for efficient post selection.

- Tags: deep-dive
- Published: 2026-09-12

### [How Thunder Provides Candidate Posts for the Home-Mixer](/xai-org/x-algorithm/how-does-thunder-provide-candidate-posts)

Learn how Thunder provides candidate posts to the Home-Mixer by converting gRPC responses into PostCandidate objects for efficient downstream ranking.

- Tags: how-to-guide
- Published: 2026-09-12

### [What Are the Two Main Candidate Sources for the X For You Feed?](/xai-org/x-algorithm/what-are-two-main-candidate-sources-for-x-for-you-feed)

Discover the two main candidate sources powering the X For You feed: the Follow-Based Timeline and the Recommendation Engine Feed. Learn how your personalized content is curated.

- Tags: deep-dive
- Published: 2026-09-12

### [How Weights Are Scaled in the X-Algorithm Scoring System](/xai-org/x-algorithm/how-are-weights-scaled-in-x-algorithm-scoring-system)

Learn how weights are scaled in the X-Algorithm scoring system. Understand how configurable weights and predicted probabilities create final ranking scores for actionable insights.

- Tags: deep-dive
- Published: 2026-09-12

### [VMRanker Role in Reordering Candidates: How X's Algorithm Balances Diversity](/xai-org/x-algorithm/what-is-vmranker-role-in-reordering-candidates)

Discover how VMRanker reorders candidates after initial scoring using a Determinantal Point Process (DPP) to balance relevance and diversity in the X algorithm.

- Tags: deep-dive
- Published: 2026-09-12

### [How the New-Author Boost Works in X-Algorithm: Cold-Start Detection and Scoring](/xai-org/x-algorithm/how-does-new-author-boost-work-in-x-algorithm)

Discover how the new-author boost in X-Algorithm uses cold-start detection and scoring to elevate new voices during the Home-Mixer ranking stage.

- Tags: deep-dive
- Published: 2026-09-12

### [How the Out-of-Network Discount Works in the X Feed Algorithm](/xai-org/x-algorithm/what-is-out-of-network-discount-in-x-feed-algorithm)

Understand the out-of-network discount in the X feed algorithm. Learn how X applies a 25% multiplicative discount to content outside your network via the rust_home_mixer_oon_weight_factor parameter.

- Tags: deep-dive
- Published: 2026-09-12

### [How Author Diversity Affects Post Scoring in X-Algorithm: Technical Implementation Guide](/xai-org/x-algorithm/how-does-author-diversity-affect-post-scoring)

Discover how author diversity impacts X-Algorithm post scoring with our technical guide. Learn about exponential decay multipliers and configurable parameters for fair rankings.

- Tags: how-to-guide
- Published: 2026-09-12

### [Post-Processing Adjustments in x-algorithm: Cold-Start Bias, Diversity Decay, and OON Multipliers](/xai-org/x-algorithm/what-post-processing-adjustments-are-applied-to-scores-in-x-algorithm)

Discover x-algorithm post-processing adjustments: cold-start bias, diversity decay, and OON multipliers. Enhance your recommendation rankings with these score refinements.

- Tags: deep-dive
- Published: 2026-09-12

### [How RankingScorer Calculates the Final Score in x-algorithm: A Deep Dive into X's Ranking Pipeline](/xai-org/x-algorithm/how-does-ranking-scorer-calculate-final-score-in-x-algorithm)

Learn how RankingScorer calculates final scores in x-algorithm. Discover the deterministic pipeline that aggregates engagement probabilities and applies normalization for accurate rankings.

- Tags: deep-dive
- Published: 2026-09-12

### [How Scores Are Made Consistent and Cacheable in the Phoenix Model](/xai-org/x-algorithm/how-are-scores-made-consistent-and-cacheable-in-phoenix-model)

Learn how Phoenix model achieves consistent, reproducible scores using JAX and MuON optimizer. Discover how JAX's cache boosts performance by eliminating recompilation.

- Tags: internals
- Published: 2026-09-12

### [What Actions Does the Phoenix Model Predict Probabilities For?](/xai-org/x-algorithm/what-actions-does-phoenix-model-predict-probabilities-for)

Discover the actions the Phoenix model predicts probabilities for. Learn how it forecasts user interactions like views, clicks, likes, shares, purchases, and signups.

- Tags: deep-dive
- Published: 2026-09-12

### [How the Phoenix Scoring Model Is Structured in x-algorithm](/xai-org/x-algorithm/how-is-phoenix-scoring-model-structured-in-x-algorithm)

Explore the Phoenix scoring model structure within x-algorithm. Learn how this DPP wrapper handles raw scores and diversity-aware re-ranking for optimal results.

- Tags: architecture
- Published: 2026-09-12

### [The Seven Stages of the Candidate Pipeline in x-algorithm: A Deep Dive into the For You Feed](/xai-org/x-algorithm/what-are-seven-stages-of-candidate-pipeline-in-x-algorithm)

Explore the seven stages of the x-algorithm candidate pipeline. Understand how your For You feed is generated from Query Hydration to Post-Selection Filters. Optimize your recommendations today.

- Tags: deep-dive
- Published: 2026-09-12

### [How the X For You Feed Algorithm Works: A Technical Breakdown of the Open Source Ranking System](/xai-org/x-algorithm/how-does-x-for-you-feed-algorithm-work)

Uncover the technical workings of the X For You feed algorithm. Learn how this open source ranking system gathers, scores, filters, and blends content for your personalized feed.

- Tags: deep-dive
- Published: 2026-09-12

### [How Grox Classifies Posts Using LLM Prompts: Inside the Safety Screening Architecture](/xai-org/x-algorithm/grox-classify-posts-llm-prompts)

Learn how Grox classifies posts with LLM prompts. Discover their five-step pipeline using VisionSampler, Conversation prompts, and Pydantic for structured safety decisions.

- Tags: architecture
- Published: 2026-09-11

### [How Candidate Isolation Ensures Transformer Inference Consistency in X Algorithm](/xai-org/x-algorithm/candidate-isolation-transformer-inference-consistency)

Discover how candidate isolation in X Algorithm ensures transformer inference consistency. Learn how it guarantees deterministic, cacheable ranking scores independent of batch composition.

- Tags: deep-dive
- Published: 2026-09-11

### [How Experiment Parameters Are Synchronized From Production Config in X-Algorithm](/xai-org/x-algorithm/experiment-parameters-sync-production-config)

Learn how X-Algorithm synchronizes experiment parameters from production config by reading, deserializing, and broadcasting the config.json checkpoint for distributed training.

- Tags: internals
- Published: 2026-09-11

### [How Negative Weights for User Actions Affect Post Scores in the X-Algorithm](/xai-org/x-algorithm/negative-weights-user-actions-post-scores)

Discover how negative weights in the X-Algorithm reduce post scores. Learn how these weights impact enforcement thresholds and content moderation.

- Tags: deep-dive
- Published: 2026-09-11

### [How Phoenix Processes Recent Engagement History for the Transformer Model](/xai-org/x-algorithm/phoenix-process-engagement-history-transformer)

Discover how Phoenix processes recent engagement history for Transformer models. Learn about structured sequences, embeddings, positional encodings, and contextualized user representations for efficient ranking.

- Tags: deep-dive
- Published: 2026-09-11

### [How the Inventory Holdout Filter Works in X's Home-Mixer Algorithm](/xai-org/x-algorithm/inventory-holdout-filter-mechanism)

Learn how the inventory holdout filter in X's home-mixer algorithm works. This mechanism deterministically samples posts to improve candidate lists before ranking for a better user experience.

- Tags: deep-dive
- Published: 2026-09-11

### [How the X Algorithm Blending Pipeline Interleaves Content and Ads](/xai-org/x-algorithm/blending-pipeline-interleave-content-ads)

Learn how the X Algorithm blending pipeline interleaves content and ads by partitioning inputs, selecting a blender, and assigning ad placements for an optimized feed.

- Tags: internals
- Published: 2026-09-11

### [Which Candidate Hydration Steps Fetch Post Details in the X-Algorithm Repository](/xai-org/x-algorithm/candidate-hydration-fetch-post-details)

Discover which candidate hydration steps fetch post details in the X-Algorithm repository. Learn how CoreDataCandidateHydrator and QuotedPostTextHydrator use TES client for author metadata and tweet content.

- Tags: internals
- Published: 2026-09-11

### [How VMRanker Reorders Posts Using a Determinantal Point Process](/xai-org/x-algorithm/vmranker-reorder-posts-dpp)

Discover how VMRanker reorders posts with Determinantal Point Process. Maximize relevance and diversity by balancing scores for optimal selection.

- Tags: deep-dive
- Published: 2026-09-11

### [What Is the Out‑of‑Network Discount Factor for Unfollowed Accounts in X Algorithm](/xai-org/x-algorithm/out-of-network-discount-factor-unfollowed)

Learn about the out-of-network discount factor in the X algorithm. Discover how a 0.5 multiplier impacts content relevance from unfollowed accounts.

- Tags: deep-dive
- Published: 2026-09-11

### [How Author Diversity Decay Reduces Scores for Repeated Authors in X Algorithm](/xai-org/x-algorithm/author-diversity-decay-reduce-scores)

Understand how author diversity decay in the X Algorithm penalizes repeated authors, ensuring a varied content feed. Learn why consistent contributors see lower scores.

- Tags: deep-dive
- Published: 2026-09-11

### [How SimClusters Finds Content from Accounts the Viewer Does Not Follow](/xai-org/x-algorithm/simclusters-find-unfollowed-content)

Discover how SimClusters surfaces tweets from unfollowed accounts. Learn about its ANN cosine similarity approach that bypasses the follow graph for relevant content discovery.

- Tags: deep-dive
- Published: 2026-09-11

### [Thunder vs Phoenix Retrieval Systems: How X Sources In-Network and Out-of-Network Candidates](/xai-org/x-algorithm/thunder-vs-phoenix-retrieval-systems)

Discover how Thunder and Phoenix retrieval systems differ. Learn about Thunder's in-memory lookup for followed content and Phoenix's neural search for global discovery.

- Tags: deep-dive
- Published: 2026-09-11

### [How Visibility-Filtering Makes ALLOW, INTERSTITIAL, or DROP Decisions in the X Algorithm](/xai-org/x-algorithm/visibility-filtering-allow-interstitial-drop)

Discover how visibility-filtering in the X Algorithm makes ALLOW INTERSTITIAL or DROP decisions using strict hierarchy and context data to control content visibility.

- Tags: deep-dive
- Published: 2026-09-11

### [How the Candidate-Pipeline Framework Supports Parallel Execution in X-Algorithm](/xai-org/x-algorithm/candidate-pipeline-framework-parallel-execution)

Learn how the candidate-pipeline framework achieves parallel execution by overlapping I/O with GPU computation and using warp-specialized pipelines within CUDA kernels for X-Algorithm.

- Tags: internals
- Published: 2026-09-10

### [Brazil2026ElectionFilter: How X-Algorithm Implements Brazil's 2026 Election Content Moderation](/xai-org/x-algorithm/brazil2026electionfilter-purpose-function)

Discover how the Brazil2026ElectionFilter safeguards Brazil's 2026 elections by moderating content and ensuring compliance with electoral regulations. Learn its function and impact.

- Tags: how-to-guide
- Published: 2026-09-10

### [How the Blending Pipeline Merges Ranked Posts with Ads, Who to Follow, and Prompts in X Algorithm](/xai-org/x-algorithm/blending-pipeline-merging-ranked-posts-ads-prompts)

Discover how the X algorithm's Blending Pipeline merges ranked posts with ads, 'Who to Follow,' and prompts. Understand the detailed process for a richer, personalized feed.

- Tags: architecture
- Published: 2026-09-10

### [How the Post Pipeline Assembles Candidates from Thunder, Phoenix, and SimClusters in the X Algorithm](/xai-org/x-algorithm/post-pipeline-candidate-assembly-thunder-phoenix-simclusters)

Learn how the X Algorithm's Post Pipeline combines candidates from Thunder, Phoenix, and SimClusters sources for a comprehensive candidate pool. Understand the assembly process.

- Tags: internals
- Published: 2026-09-10

### [How SimClusters Groups Accounts and Posts by Engagement for Candidate Discovery](/xai-org/x-algorithm/simclusters-account-post-grouping-candidate-discovery)

Discover candidates efficiently with SimClusters. Learn how it groups accounts and posts by engagement using sparse cluster embeddings and cosine similarity for effective candidate discovery.

- Tags: how-to-guide
- Published: 2026-09-10

### [How ThunderSource Stores Recent Posts in Memory for Efficient In-Network Retrieval](/xai-org/x-algorithm/thundersource-memory-storage-recent-posts-retrieval)

Learn how ThunderSource uses an in-process cache with DashMap and VecDeque for lightning-fast in-network retrieval of recent posts, eliminating database queries.

- Tags: internals
- Published: 2026-09-10

### [When and How VFFilter Applies Visibility Filtering Decisions After the Ranking Process](/xai-org/x-algorithm/vffilter-visibility-filtering-post-ranking)

Learn when and how VFFilter applies visibility filtering after ranking. Discover how it prunes posts flagged with Drop, Tombstone, or NotEvaluated visibility actions before further processing.

- Tags: deep-dive
- Published: 2026-09-10

### [How Pre-Scoring Filters Process Candidate Posts in X Algorithm: DropDuplicatesFilter and AgeFilter Explained](/xai-org/x-algorithm/pre-scoring-filters-dropduplicatesfilter-agefilter-candidate-processing)

Learn how X algorithm pre-scoring filters like DropDuplicatesFilter and AgeFilter process candidate posts. Discover how they exclude duplicates and aged content before ranking.

- Tags: deep-dive
- Published: 2026-09-10

### [Phoenix Scorer Query Context Hydration: How User Action Sequences Drive Relevance Scoring](/xai-org/x-algorithm/phoenixscorer-query-context-hydration-user-actions)

PhoenixScorer hydrates QueryContext with user ID, queries, history, and user action sequences. Discover how temporal patterns drive relevance scoring with detailed action data.

- Tags: deep-dive
- Published: 2026-09-10

### [How WeightPerturbationSigma Enables Per-User Score Randomization in X-Algorithm A/B Testing](/xai-org/x-algorithm/weightperturbationsigma-per-user-score-randomization-ab-testing)

Learn how WeightPerturbationSigma randomizes scores per user in X-Algorithm A/B testing by injecting Gaussian noise without altering model weights. Improve your testing strategy.

- Tags: deep-dive
- Published: 2026-09-10

### [How the DwellRegret Scoring Mode Adjusts Dwell Time Based on User Feedback](/xai-org/x-algorithm/dwellregret-scoring-mode-dwell-time-feedback)

Discover how the DwellRegret scoring mode refines dwell time with user feedback. Learn how engagement and negative signals create regret-aware relevance.

- Tags: deep-dive
- Published: 2026-09-10

### [How BidirectionalFollowReplyWeightBoost Amplifies Mutual Follows in X's Home Mixer](/xai-org/x-algorithm/bidirectionalfollowreplyweightboost-mutual-follows-amplification)

Learn how BidirectionalFollowReplyWeightBoost increases mutual follows on X. Discover how reciprocal follow relationships boost post rankings in the home mixer feed.

- Tags: deep-dive
- Published: 2026-09-10

### [VMRankerDppTheta Parameter: Controlling the Diversity-Relevance Trade-Off in DPP Ranking](/xai-org/x-algorithm/vmrankerdpptheta-parameter-dpp-diversity-control)

Control diversity-relevance trade-offs with VMRankerDppTheta. Learn how this parameter in DPP ranking balances candidate scores and embedding diversity for optimal results.

- Tags: deep-dive
- Published: 2026-09-10

### [How VMRanker's Determinantal Point Process (DPP) Reorders Posts to Ensure Diversity](/xai-org/x-algorithm/vmranker-dpp-reordering-posts-diversity)

Discover how VMRanker's Determinantal Point Process (DPP) algorithm reorders posts for optimal diversity. Learn how it balances quality and similarity to select the best content.

- Tags: deep-dive
- Published: 2026-09-10

### [What Is the New-Author Boost? How X’s Algorithm Elevates Posts From Low-Impression Authors](/xai-org/x-algorithm/new-author-boost-low-impression-authors)

Discover the New-Author Boost on X. Learn how this algorithm feature gives emerging creators visibility by elevating low-impression posts on the home timeline.

- Tags: deep-dive
- Published: 2026-09-10

### [How the Out-of-Network Discount Factor Shapes Post Ranking in the X-Algorithm](/xai-org/x-algorithm/out-of-network-discount-factor-unfollowed-accounts)

Understand how the Out-of-Network discount factor shapes post ranking in the X-Algorithm. Learn how this penalty impacts content visibility in your feed.

- Tags: deep-dive
- Published: 2026-09-10

### [Author Diversity Decay Mechanism in the X Algorithm: Preventing Consecutive Same-Author Posts](/xai-org/x-algorithm/author-diversity-decay-consecutive-posts)

Discover the Author Diversity decay mechanism in the X algorithm. Learn how it prevents consecutive posts from the same author, ensuring a varied feed and better content discovery.

- Tags: deep-dive
- Published: 2026-09-10

### [Configurable Weights in ScoringWeights: How X's Reply-Spam Detection Blends LLM Probabilities with Heuristic Signals](/xai-org/x-algorithm/scoringweights-configurable-weights-predicted-probabilities)

Explore configurable weights in ScoringWeights for X's reply-spam detection. Learn how weight_confidence, weight_follower, weight_content, and weight_history blend LLM probabilities for accurate scoring.

- Tags: deep-dive
- Published: 2026-09-10

### [How the Phoenix Transformer Model Predicts Engagement Probabilities for User Actions](/xai-org/x-algorithm/phoenix-transformer-engagement-probability-prediction)

Learn how the Phoenix transformer model predicts user engagement probabilities by analyzing history and posts using a Transformer architecture and sigmoid activation for accurate action scores.

- Tags: deep-dive
- Published: 2026-09-10

### [How Configuration Parameters Are Managed in the X-Algorithm: A Layered Type-Safe Approach](/xai-org/x-algorithm/how-are-configuration-parameters-managed-in-the-algorithm)

Discover how the X-Algorithm manages configuration parameters using a layered type-safe approach. Explore compile-time safety, global settings, and runtime overrides for flexibility.

- Tags: architecture
- Published: 2026-09-09

### [Pre-Scoring Filters in the X-Algorithm For You Feed: A Technical Breakdown](/xai-org/x-algorithm/what-are-the-pre-scoring-filters-used-in-the-for-you-feed)

Discover the seven pre-scoring filters in the X-Algorithm For You feed, including safety and spam checks, ensuring only relevant content is ranked.

- Tags: deep-dive
- Published: 2026-09-09

### [How Labels Are Generated for Visibility Filtering in X's Algorithm](/xai-org/x-algorithm/how-are-labels-generated-for-visibility-filtering)

Discover how X's algorithm generates labels for visibility filtering. Learn about the multi-step Rust pipeline utilizing cache, Twemcache, and Manhattan storage for safety data.

- Tags: how-to-guide
- Published: 2026-09-09

### [What Are the Possible Decisions from Visibility Filtering in x-algorithm?](/xai-org/x-algorithm/what-are-the-possible-decisions-from-visibility-filtering)

Discover the seven possible decisions from x-algorithm visibility filtering: NotEvaluated, Allow, Drop, Interstitial, Downrank, Tombstone, and Avoid. Understand each action for better content management.

- Tags: deep-dive
- Published: 2026-09-09

### [How Visibility Filtering Works for Posts in X-Algorithm](/xai-org/x-algorithm/how-does-visibility-filtering-work-for-posts)

Discover how X-Algorithm's visibility filtering works for posts. Learn about tweet candidate construction, core filtering rules, and verdict generation with the FilterTweetsEndpoint gRPC service.

- Tags: how-to-guide
- Published: 2026-09-09

### [What Is VMRanker and Which gRPC Service Does the Home-Mixer Pipeline Call?](/xai-org/x-algorithm/what-is-vmranker-and-what-service-does-it-call)

Discover VMRanker, a Home-Mixer scorer that uses gRPC and DPP algorithms to diversify and refine post rankings. Learn which Home-Mixer pipeline service it calls.

- Tags: deep-dive
- Published: 2026-09-09

### [What Adjustments Are Made After the Weighted Sum in X Algorithm Ranking](/xai-org/x-algorithm/what-adjustments-are-made-after-the-weighted-sum-in-ranking)

Discover how the X algorithm adjusts weighted sums for ranking. Learn about normalization, scaling, and bias for consistent scores in the Home-Mixer pipeline.

- Tags: deep-dive
- Published: 2026-09-09

### [Where Are Ranking Weights Defined in the X For You Feed Algorithm?](/xai-org/x-algorithm/where-are-ranking-weights-defined-in-the-for-you-feed-algorithm)

Discover where X For You feed algorithm ranking weights are defined in the xai-org/x-algorithm repository. Learn how parameter constants in param.rs are applied in ranking_scorer.rs to calculate post scores.

- Tags: internals
- Published: 2026-09-09

### [How RankingScorer Combines Phoenix Predictions into a Final Score in X Algorithm](/xai-org/x-algorithm/how-does-rankingscorer-combine-phoenix-predictions-into-a-final-score)

Learn how RankingScorer combines Phoenix predictions into a final score by weighting probabilities and aggregating contributions for a non-negative ranking.

- Tags: internals
- Published: 2026-09-09

### [How the Attention Mask Is Designed in the Phoenix Model: Architecture and Implementation](/xai-org/x-algorithm/how-is-the-attention-mask-designed-in-the-phoenix-model)

Discover how the Phoenix model designs its attention mask using a modular JAX-native pipeline. Explore base pairwise masking and optional causal and segment-aware filters for advanced performance.

- Tags: architecture
- Published: 2026-09-09

### [What Is the Output Shape of the Phoenix Model? A Deep Dive into xai-org/x-algorithm](/xai-org/x-algorithm/what-is-the-output-shape-of-the-phoenix-model)

Understand the Phoenix model output shape from xai-org/x-algorithm. Learn about the user tensor, candidate tensors, and scalar statistics.

- Tags: deep-dive
- Published: 2026-09-09

### [What Engagement Actions Does the Phoenix Model Predict? A Complete Guide to X Algorithm Engagement Signals](/xai-org/x-algorithm/what-engagement-actions-does-the-phoenix-model-predict)

Discover the over 40 engagement actions the Phoenix model predicts, from favorites and replies to ad conversions. Understand X algorithm engagement signals in this comprehensive guide.

- Tags: deep-dive
- Published: 2026-09-09

### [Why Candidates Cannot Attend to Each Other in the Phoenix Transformer Model](/xai-org/x-algorithm/why-cant-candidates-attend-to-each-other-in-the-phoenix-transformer-model)

Discover why Phoenix transformer model blocks candidate to candidate attention. Learn how strict independence is enforced during scoring for improved model efficiency.

- Tags: deep-dive
- Published: 2026-09-09

### [Phoenix Ranking Model Architecture: A Deep Dive into X's Two-Tower Recommendation System](/xai-org/x-algorithm/what-is-the-architecture-of-the-phoenix-ranking-model)

Explore the Phoenix ranking model architecture. Learn how this two-tower system uses embeddings and attention kernels for high-performance large-scale retrieval.

- Tags: architecture
- Published: 2026-09-09

### [How Does SimClusters Find Candidate Posts? Inside X's ANN-Based Retrieval System](/xai-org/x-algorithm/how-does-simclusters-find-candidate-posts)

Discover how SimClusters finds candidate posts using ANN search and FAISS indexes. Learn about X's advanced retrieval system and its efficient tweet embedding mapping.

- Tags: deep-dive
- Published: 2026-09-09

### [What Is Phoenix Retrieval and How Does It Work in X's Recommendation Algorithm?](/xai-org/x-algorithm/what-is-phoenix-retrieval-and-how-does-it-work)

Discover Phoenix Retrieval, X's vector-based service. Learn how it fetches candidate tweets using ANN clusters to power the recommendation algorithm and improve user experience.

- Tags: deep-dive
- Published: 2026-09-09

### [How Thunder Provides In-Network Candidates in X’s For-You Feed Algorithm](/xai-org/x-algorithm/how-does-thunder-provide-in-network-candidates)

Learn how Thunder delivers in-network candidates by fetching follower lists and querying recent posts to optimize X's For-You feed algorithm.

- Tags: how-to-guide
- Published: 2026-09-09

### [Candidate Sources for the For You Feed: Inside the X Algorithm Home Mixer](/xai-org/x-algorithm/what-are-the-candidate-sources-for-the-for-you-feed)

Discover the 14 candidate sources powering the For You feed, including ThunderSource, PhoenixSource, and SimClustersSource. Learn how the X Algorithm mixer pipeline works.

- Tags: deep-dive
- Published: 2026-09-09

### [How Viewer Context Is Collected in the Query Hydration Stage](/xai-org/x-algorithm/how-is-viewer-context-collected-in-the-query-hydration-stage)

Learn how viewer context is collected in Query Hydration. Discover how viewer identifier is fetched and injected into queries for efficient processing.

- Tags: how-to-guide
- Published: 2026-09-09

### [Seven Stages of the X For You Feed Pipeline: Inside the home-mixer Service](/xai-org/x-algorithm/what-are-the-seven-stages-of-the-for-you-feed-pipeline)

Explore the seven stages of the X For You feed pipeline within the home-mixer service of the xai-org/x-algorithm repository. Understand query hydration, candidate sourcing, scoring, and selection.

- Tags: internals
- Published: 2026-09-09

### [What Is the Blending Pipeline in the For You Feed?](/xai-org/x-algorithm/what-is-the-blending-pipeline-in-the-for-you-feed)

Discover the Blending Pipeline in the xai-org/x-algorithm repository. Learn how this secondary stage enhances machine-ranked posts with ads and recommendations for a richer user experience.

- Tags: deep-dive
- Published: 2026-09-09

### [X Algorithm For You Feed Pipelines: Architecture and Implementation](/xai-org/x-algorithm/what-are-the-main-pipelines-for-the-for-you-feed)

Discover the X Algorithm For You feed pipelines. Learn about the Post Pipeline for content ranking and the Blending Pipeline for ads and recommendations. Explore the architecture and implementation in the xai-org/x-algorithm re...

- Tags: architecture
- Published: 2026-09-09

### [What Is the Purpose of the Agatha Component in Account Analysis?](/xai-org/x-algorithm/what-is-the-purpose-of-the-agatha-component-in-account-analysis)

Discover the Agatha component's purpose in account analysis. It generates structured signals from raw user data, enhancing fraud detection, recommendations, and safety models in X-Algorithm.

- Tags: deep-dive
- Published: 2026-09-08

### [How the media-model-proxy Component Works: Architecture and Request Flow](/xai-org/x-algorithm/how-does-the-media-model-proxy-component-work)

Understand the media-model-proxy component its architecture and request flow. Learn how this microservice processes media annotation requests and integrates DeepBird models for unified predictions.

- Tags: architecture
- Published: 2026-09-08

### [Role of Grox in X Algorithm Content Understanding: Architecture and Implementation](/xai-org/x-algorithm/what-is-the-role-of-grox-in-content-understanding-for-x-algorithm)

Discover Grox, the real-time content understanding service powering the X Algorithm. Learn how Grox transforms raw posts into structured signals for better content processing and insights.

- Tags: architecture
- Published: 2026-09-08

### [How Visibility Filtering Determines If Content Is Shown on X](/xai-org/x-algorithm/how-does-visibility-filtering-determine-if-content-is-shown-on-x)

Learn how visibility filtering in xai-org/x-algorithm determines content display on X. Discover the Allow, Drop, and Interstitial verdicts based on safety rules and viewer context.

- Tags: how-to-guide
- Published: 2026-09-08

### [Post-Selection Filters in the X Algorithm: How the Timeline Finalizes Ranked Content](/xai-org/x-algorithm/what-are-the-post-selection-filters-in-the-x-algorithm)

Discover X algorithm's post-selection filters. Learn how these final quality gates ensure visibility compliance and de-duplicate content for your timeline.

- Tags: deep-dive
- Published: 2026-09-08

### [OONRetweetReplyFilter: Filtering Out-of-Network Retweets and Orphan Replies in X's Home-Mixer](/xai-org/x-algorithm/what-is-the-purpose-of-the-oonretweetreplyfilter)

Discover OONRetweetReplyFilter, a tool that purifies your X home timeline by removing out-of-network retweets, replies, and orphan messages, enhancing conversation context.

- Tags: internals
- Published: 2026-09-08

### [How AgeFilter Works in the X Algorithm: Pre-Scoring Content Filtering Explained](/xai-org/x-algorithm/how-does-the-agefilter-work-in-the-x-algorithm)

Discover how X Algorithm's AgeFilter pre-scores content, removing old posts before ranking to keep your timeline fresh. Learn about this essential filtering technique.

- Tags: deep-dive
- Published: 2026-09-08

### [Pre-Scoring Filters in the X Algorithm: What They Remove and How They Work](/xai-org/x-algorithm/what-are-the-pre-scoring-filters-in-the-x-algorithm-and-what-do-they-remove)

Discover how X algorithm's pre-scoring filters remove irrelevant candidates using eligibility masks, dataset constraints, and topic filtering. Optimize your recommendations now.

- Tags: deep-dive
- Published: 2026-09-08

### [What is a Determinantal Point Process (DPP) in VMRanker? A Deep Dive into Diversity-Aware Ranking](/xai-org/x-algorithm/what-is-a-determinantal-point-process-dpp-in-the-context-of-vmranker)

Discover Determinantal Point Process DPP in VMRanker a diversity-aware layer that selects high-scoring yet dissimilar items for user feeds avoiding duplicate content

- Tags: deep-dive
- Published: 2026-09-08

### [What is VMRanker and How Does It Improve Diversity in the X Algorithm?](/xai-org/x-algorithm/what-is-vmranker-and-how-does-it-improve-diversity)

Discover VMRanker, a re-ranking component in the xai-org/x-algorithm repository. Learn how it uses DPP to enhance content diversity while maintaining relevance.

- Tags: deep-dive
- Published: 2026-09-08

### [How the New-Author Boost Works in the X Algorithm: Technical Breakdown](/xai-org/x-algorithm/how-does-the-new-author-boost-function-in-the-x-algorithm)

Understand the X algorithm New-Author Boost. Discover how this scoring adjustment helps new creators reach target percentiles and break into the For-You timeline with their posts.

- Tags: technical-breakdown
- Published: 2026-09-08

### [How Author Diversity Decay Works in the X Algorithm: A Code‑Level Analysis](/xai-org/x-algorithm/how-does-author-diversity-decay-work-in-x-algorithm)

Understand Author Diversity Decay in the X algorithm. Discover how exponential penalties reduce creator post rankings in the X code, boosting feed variety.

- Tags: deep-dive
- Published: 2026-09-08

### [5 Purposes of Weights in the X Algorithm's Ranking Score Calculation](/xai-org/x-algorithm/what-is-the-purpose-of-weights-in-the-x-algorithms-ranking-score-calculation)

Discover the five key purposes of weights in the X algorithm's ranking score. Learn how they scale embeddings, regularize confidence, correct bias, enable safety filtering, and enforce decay for better generalization.

- Tags: deep-dive
- Published: 2026-09-08

### [How the Final Ranking Score Is Calculated in the X Algorithm](/xai-org/x-algorithm/how-is-the-final-ranking-score-calculated-in-the-x-algorithm)

Discover how the X algorithm calculates its final ranking score using embeddings and JAX matrix operations. Understand the calculation for better engagement.

- Tags: how-to-guide
- Published: 2026-09-08

### [What User Actions Does the Phoenix Ranking Model Predict? Inside the X‑Rex Service](/xai-org/x-algorithm/what-user-actions-does-the-phoenix-ranking-model-predict)

Discover what user actions the Phoenix ranking model predicts including Likes Replies Retweets Quotes Follows and URL opens Learn how X Rex service provides ranked candidate actions with confidence scores via the PredictNextAct...

- Tags: deep-dive
- Published: 2026-09-08

### [How SimClusters Powers X Feed Recommendations: A Technical Deep Dive](/xai-org/x-algorithm/how-does-simclusters-contribute-to-x-feed-recommendations)

Discover how SimClusters enhances X feed recommendations with semantic similarity and ANN for a diverse For You experience. Learn the technical details behind X's innovative algorithm.

- Tags: deep-dive
- Published: 2026-09-08

### [What Is Phoenix Retrieval in the X Algorithm? A Deep Dive into the Retrieval Pipeline](/xai-org/x-algorithm/what-is-phoenix-retrieval-in-the-x-algorithm)

Discover Phoenix Retrieval, the core component of the X recommendation algorithm. Learn how it fetches ranked tweet candidates using context-aware routing and A/B testing.

- Tags: deep-dive
- Published: 2026-09-08

### [Candidate Sources for the X Feed: How the X Algorithm Populates Your Timeline](/xai-org/x-algorithm/what-are-the-different-candidate-sources-for-the-x-feed)

Discover the eight candidate sources that power the X feed algorithm. Learn how scored posts, ads, and recommendations populate your timeline.

- Tags: deep-dive
- Published: 2026-09-08

### [How the Request Path Pipeline in the X Algorithm Processes Visibility Requests](/xai-org/x-algorithm/explain-the-request-path-pipeline-in-the-x-algorithm)

Understand the X Algorithm's Request Path pipeline. Discover how it processes visibility requests through a seven-stage gRPC flow for efficient data hydration, rule evaluation, and policy-driven responses.

- Tags: internals
- Published: 2026-09-08

### [Main Components of the X Algorithm Repository: A Complete Technical Breakdown](/xai-org/x-algorithm/what-are-the-main-components-of-the-x-algorithm-repository)

Explore the X algorithm repository xai-org/x-algorithm and its core components: candidate generation, ranking, content labeling, and visibility filtering. Get a complete technical breakdown.

- Tags: deep-dive
- Published: 2026-09-08

### [Rust Serving Layer for the Phoenix Model: Crate Architecture and Request‑Flow Deep Dive](/xai-org/x-algorithm/what-is-the-structure-of-the-rust-serving-layer-for-the-phoenix-model)

Explore the Rust serving layer for the Phoenix model. Discover the crate architecture and request flow across xai-recsys-engine, xai-recsys-server, and xai-recsys-mm-server for independent component testing.

- Tags: deep-dive
- Published: 2026-09-06

### [How CLIP Embeddings Are Used in the X Algorithm for Content Understanding](/xai-org/x-algorithm/how-are-clip-embeddings-used-in-the-x-algorithm-for-content-understanding)

Discover how CLIP embeddings power the X algorithm for content understanding. Learn how Twitter-CLIP converts media into vectors for NSFW detection, spam classification, and content ranking.

- Tags: deep-dive
- Published: 2026-09-06

### [What Is the Purpose of the Scarecrow and BotMaker Rule Engines?](/xai-org/x-algorithm/what-is-the-purpose-of-the-scarecrow-and-botmaker-rule-engines)

Learn the purpose of the Scarecrow and BotMaker rule engines. BotMaker defines bot-detection rules with DSL, while Scarecrow offers production-ready features like rate limiting and observability for safety pipelines.

- Tags: deep-dive
- Published: 2026-09-06

### [How UserCredV2 Uses PageRank to Determine Account Authority in the X-Algorithm](/xai-org/x-algorithm/how-does-usercredv2-determine-account-authority-using-pagerank)

Discover how UserCredV2 leverages PageRank to assess account authority within the X-Algorithm. Learn how interaction graphs and personalized PageRank determine a user's influence.

- Tags: how-to-guide
- Published: 2026-09-06

### [What Is BDSM (Behavioral Detection Sequence Model) in X's Anti-Spam System?](/xai-org/x-algorithm/what-is-the-bdsm-behavioral-detection-sequence-model-and-its-role-in-xs-system)

Understand X's Behavioral Detection Sequence Model BDSM. This core engine uses AI to identify spam bots and inauthentic activity across user accounts.

- Tags: deep-dive
- Published: 2026-09-06

### [How Labels Are Generated for Visibility Filtering in the X Algorithm](/xai-org/x-algorithm/how-are-labels-generated-for-visibility-filtering-in-the-x-algorithm)

Discover how the X algorithm generates labels for visibility filtering. Learn about the three-stage pipeline including safety classifiers, thresholding, and mask tensor application for effective content filtering.

- Tags: how-to-guide
- Published: 2026-09-06

### [Visibility Filtering Outcomes in the X Algorithm: ALLOW, INTERSTITIAL, and DROP Explained](/xai-org/x-algorithm/what-are-the-possible-outcomes-of-visibility-filtering-allow-interstitial-drop)

Understand the X Algorithm's visibility filtering outcomes: ALLOW, INTERSTITIAL, and DROP. Learn how tweets are displayed, hidden, or blocked.

- Tags: deep-dive
- Published: 2026-09-06

### [How Visibility Filtering Works in the X "For You" Feed: A Deep Dive into the Algorithm](/xai-org/x-algorithm/how-does-visibility-filtering-work-in-the-x-for-you-feed)

Discover how X visibility filtering works in the For You feed. Learn about the 10-step pipeline that normalizes context, applies safety rules, and filters content before it reaches users.

- Tags: deep-dive
- Published: 2026-09-06

### [How VMRanker and Determinantal Point Process (DPP) Optimize X's Feed Ranking](/xai-org/x-algorithm/what-is-the-role-of-vmranker-and-determinantal-point-process-dpp-in-xs-feed)

Discover how VMRanker and Determinantal Point Process (DPP) optimize X's feed ranking by re-ranking candidates for diversity and relevance. Learn about X's algorithm.

- Tags: deep-dive
- Published: 2026-09-06

### [How the New Author Boost Works in the X Ranking Algorithm](/xai-org/x-algorithm/how-is-the-new-author-boost-implemented-in-the-x-ranking-algorithm)

Discover how the X ranking algorithm's author boost leverages learned projection matrices for enhanced author embeddings, moving beyond simple scalar multipliers for more sophisticated ranking.

- Tags: deep-dive
- Published: 2026-09-06

### [What Is the Out-of-Network Discount in X Feed Ranking?](/xai-org/x-algorithm/what-is-the-out-of-network-discount-applied-in-the-x-feed-ranking)

Discover the out-of-network discount in X feed ranking. Learn how logarithmic decay progressively down-weights lower-ranked candidates for accurate DCG computation.

- Tags: deep-dive
- Published: 2026-09-06

### [How Author Diversity Decay Works in the X Ranking Algorithm](/xai-org/x-algorithm/how-does-author-diversity-decay-work-in-the-x-ranking-algorithm)

Understand author diversity decay in the X ranking algorithm. Discover how exponential penalties prevent creator dominance and ensure varied recommendations. Learn the formula exp(-λ × author_count).

- Tags: deep-dive
- Published: 2026-09-06

### [What Adjustments Are Made After the Weighted Sum in the Phoenix Ranking Score?](/xai-org/x-algorithm/what-adjustments-are-made-after-the-weighted-sum-in-the-phoenix-ranking-score)

Discover how the Phoenix ranking score adjusts after the weighted sum. Learn about offset scoring, renormalization, and ensuring non-negative, comparable final values.

- Tags: deep-dive
- Published: 2026-09-06

### [How the Phoenix Ranking Model Determines Weights for Score Combination](/xai-org/x-algorithm/how-are-weights-determined-for-the-phoenix-ranking-models-score-combination)

Discover how the Phoenix ranking model dynamically determines score combination weights using back-propagation and pair-wise ranking loss. Learn more about the x-algorithm.

- Tags: deep-dive
- Published: 2026-09-06

### [What Actions Does the Phoenix Ranking Model Predict? Inside X's Home Timeline Scoring System](/xai-org/x-algorithm/what-actions-does-the-phoenix-ranking-model-predict-probabilities-for)

Discover the six user actions the Phoenix ranking model predicts for X home timelines: Likes, Retweets, Replies, Quote Tweets, Click-Throughs, and overall Engagement. Understand X's scoring system.

- Tags: deep-dive
- Published: 2026-09-06

### [How the Phoenix Ranking Model Powers X’s “For You” Feed: Architecture and Implementation](/xai-org/x-algorithm/how-does-the-phoenix-ranking-model-work-for-the-for-you-feed)

Discover how the Phoenix ranking model drives X's 'For You' feed. Explore its transformer architecture, multi-head attention, and JAX/Pallas implementation for personalized content delivery.

- Tags: architecture
- Published: 2026-09-06

### [Pre-Scoring Filters for the For You Feed Pipeline in X Algorithm](/xai-org/x-algorithm/what-pre-scoring-filters-are-applied-to-candidates-in-the-for-you-feed-pipeline)

Discover the single pre-scoring filter in the X algorithm's For You feed pipeline. Learn how PushToHomeDedupFilter efficiently removes duplicate posts before ML scoring.

- Tags: deep-dive
- Published: 2026-09-06

### [How Out-of-Network Content Retrieval Works in X's "For You" Feed](/xai-org/x-algorithm/what-methods-are-used-for-out-of-network-content-retrieval-in-the-for-you-feed)

Discover how X's For You feed retrieves out-of-network content using machine learning with Phoenix Retrieval and similarity matching via SimClusters. Learn the technical details.

- Tags: how-to-guide
- Published: 2026-09-06

### [How In-Network Content Is Retrieved for the 'For You' Feed in X's Algorithm](/xai-org/x-algorithm/how-is-in-network-content-retrieved-for-the-for-you-feed)

Discover how X's 'For You' feed retrieves in-network content using ThunderSource and Thunder RPC to fetch posts from followed accounts for its ranking pipeline. Learn the technical details.

- Tags: how-to-guide
- Published: 2026-09-06

### [Candidate Sources for the For You Feed: The 7 Data Streams That Power X's Algorithm](/xai-org/x-algorithm/what-are-the-different-candidate-sources-for-the-for-you-feed)

Discover the 7 candidate sources powering X's 'For You' feed algorithm. Learn how scored posts, ads, recommendations, and more create your personalized content stream from xai-org/x-algorithm.

- Tags: deep-dive
- Published: 2026-09-06

### [How the HomeMixer Assembles the 'For You' Feed: Pipeline Architecture and Implementation](/xai-org/x-algorithm/how-does-the-homemixer-assemble-the-for-you-feed)

Learn how the HomeMixer assembles your personalized 'For You' feed. Discover its seven-stage Rust pipeline from candidate sourcing to final ranking.

- Tags: architecture
- Published: 2026-09-06

### [What Framework Powers the Candidate Pipeline for the X 'For You' Feed: Twitter's Scalding Architecture](/xai-org/x-algorithm/what-framework-powers-the-candidate-pipeline-for-the-x-for-you-feed)

Discover how Twitter's Scalding framework, a Scala DSL, powers the X For You feed's candidate pipeline for personalized recommendations using Hadoop or Spark.

- Tags: architecture
- Published: 2026-09-06

### [X For You Feed Architecture: How the Algorithm Works (Open Source Deep Dive)](/xai-org/x-algorithm/what-are-the-main-components-of-the-x-for-you-feed-architecture)

Explore the X For You feed architecture's modular pipeline: candidate generation, scoring, filtering, and blending. Dive into the open source x-algorithm repository.

- Tags: architecture
- Published: 2026-09-06

### [How to Integrate With or Extend the x-algorithm Codebase: A Developer's Guide](/xai-org/x-algorithm/how-can-developers-integrate-with-or-extend-the-x-algorithm-codebase)

Developers learn to integrate with or extend the x-algorithm codebase by implementing composable traits and registering them in a custom pipeline struct. A guide for seamless integration.

- Tags: how-to-guide
- Published: 2026-09-05

### [How Visibility Filtering Handles NSFW-Flagged Authors in the X-Algorithm Repository](/xai-org/x-algorithm/how-does-the-visibility-filtering-handle-nsfw-flagged-authors)

Discover how the X-Algorithm visibility filter manages NSFW-flagged authors, ensuring content quality and respecting viewer preferences for out-of-network timelines.

- Tags: how-to-guide
- Published: 2026-09-05

### [NSFW Media Interstitials in the X Visibility-Filtering Service: How Content Warnings Work](/xai-org/x-algorithm/what-are-nsfw-media-interstitials-in-the-visibility-filtering-service)

Understand NSFW media interstitials in the X Visibility-Filtering service. Learn how content warnings provide user control over sensitive media before display.

- Tags: internals
- Published: 2026-09-05

### [How Sensitive Viewer Content Gating Works in Visibility Filtering](/xai-org/x-algorithm/how-does-sensitive-viewer-content-gating-work-in-visibility-filtering)

Learn how sensitive viewer content gating in x-algorithm visibility filtering protects users by blocking NSFW content for unverified or underage viewers. Discover the allows_sensitive_media flag.

- Tags: deep-dive
- Published: 2026-09-05

### [What Are TES Home Drops in the X Algorithm Visibility Filtering System?](/xai-org/x-algorithm/what-are-tes-home-drops-in-the-visibility-filtering-context)

Discover TES Home Drops in the xai-org/x-algorithm repository. Learn how this rule set filters stale and restricted content from your Home timeline for improved visibility.

- Tags: deep-dive
- Published: 2026-09-05

### [Tweet Label Drops in X Algorithm Visibility Filtering: Complete Implementation Guide](/xai-org/x-algorithm/what-tweet-label-drops-are-implemented-in-the-visibility-filtering)

Discover which tweet labels X Algorithm drops for visibility filtering. Learn how spam, abusive, misinformation, and other labels affect your content's reach. Implement these changes now.

- Tags: how-to-guide
- Published: 2026-09-05

### [What Types of Author Rules Are Used in Visibility Filtering? A Technical Deep Dive](/xai-org/x-algorithm/what-types-of-author-rules-are-used-in-visibility-filtering)

Explore author rules in visibility filtering: author-state drops, NSFW drops, and user-label drops. Understand how x-algorithm determines content visibility. Learn more!

- Tags: deep-dive
- Published: 2026-09-05

### [How Rules Are Ordered in the Visibility-Filtering Registry: Inside xai-org/x-algorithm](/xai-org/x-algorithm/how-are-rules-ordered-in-the-visibility-filtering-registry)

Discover how rules are ordered in the visibility-filtering registry within xai-org/x-algorithm. Understand the sequential evaluation and short-circuiting for efficient policy processing.

- Tags: internals
- Published: 2026-09-05

### [What Are the Possible Verdicts from the Visibility Filtering Rule Engine?](/xai-org/x-algorithm/what-are-the-possible-verdicts-from-the-visibility-filtering-rule-engine)

Discover the three verdicts Allow Drop and Interstitial from the xai-org/x-algorithm visibility filtering rule engine. Understand each VfAction and rule identifier.

- Tags: deep-dive
- Published: 2026-09-05

### [What Is the Visibility-Filtering Service in x-algorithm? Architecture and Implementation](/xai-org/x-algorithm/what-is-the-purpose-of-the-visibility-filtering-service-in-x-algorithm)

Discover the x-algorithm visibility-filtering service. Learn how this gRPC microservice enforces content safety policies for tweets, ensuring content is shown, hidden, or replaced for viewers.

- Tags: architecture
- Published: 2026-09-05

### [Understanding the Out‑of‑Network Discount in the X Feed Algorithm](/xai-org/x-algorithm/what-is-the-out-of-network-discount-in-the-x-algorithm)

Learn about the out-of-network discount in the X algorithm. Discover how this factor influences content ranking by reducing scores for posts outside your follow graph.

- Tags: deep-dive
- Published: 2026-09-05

### [How Author Diversity Decay Affects Post Scores in X's "For-You" Feed Algorithm](/xai-org/x-algorithm/how-does-author-diversity-decay-affect-post-scores)

Discover how author diversity decay impacts post scores in X's algorithm. Learn how this feature promotes content variety in your feed.

- Tags: deep-dive
- Published: 2026-09-05

### [Post-Scoring Adjustments in the X-Algorithm Ranking Service: DPP Implementation](/xai-org/x-algorithm/what-post-scoring-adjustments-are-applied-after-score-calculation)

Discover how the X-Algorithm ranking service uses DPP post-scoring adjustments to diversify results. Learn about Determinantal Point Process implementation for enhanced rankings.

- Tags: deep-dive
- Published: 2026-09-05

### [How Phoenix Model Score Combination Weights Work in X‑Algorithm](/xai-org/x-algorithm/how-are-weights-used-in-the-phoenix-models-score-combination-formula)

Understand how Phoenix model score combination weights work in the X-Algorithm. Learn how dot products and scalar weights calculate final relevance scores.

- Tags: deep-dive
- Published: 2026-09-05

### [How the RankingScorer Combines Predicted Probabilities into a Final Score](/xai-org/x-algorithm/how-does-the-ranking-scorer-combine-predicted-probabilities-into-a-final-score)

Discover how RankingScorer combines predicted probabilities using Determinantal Point Process DPP for final scores. Learn its diversity filtering integration.

- Tags: deep-dive
- Published: 2026-09-05

### [What User Actions Does the Phoenix Model Predict Probabilities For?](/xai-org/x-algorithm/what-user-actions-does-the-phoenix-model-predict-probabilities-for)

The Phoenix model predicts probabilities for all defined user actions including blocks, mutes, likes, retweets, and video views. Learn what engagements it tracks.

- Tags: deep-dive
- Published: 2026-09-05

### [What Is the Phoenix Model in the X For You Feed Algorithm?](/xai-org/x-algorithm/what-is-the-phoenix-model-in-the-x-for-you-feed-algorithm)

Discover the Phoenix model, the core data-feed abstraction powering X's For You recommendation pipeline. Learn how it standardizes training data and streaming updates for X's two-tower model.

- Tags: deep-dive
- Published: 2026-09-05

### [How the X Algorithm Candidate Pipeline Handles Errors During Hydration](/xai-org/x-algorithm/how-does-the-candidate-pipeline-handle-errors-during-hydration)

Learn how the x algorithm candidate pipeline gracefully handles hydration errors using outcome enums, metric logging, and fallback values for reliable recommendation requests.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Enable or Disable Pipeline Stages in x-Algorithm: CLI and Code Examples](/xai-org/x-algorithm/how-can-pipeline-stages-be-enabled-or-disabled-in-x-algorithm)

Learn to enable or disable pipeline stages in x-algorithm. Use CLI, config, or code to set pipeline_depth to enable or 0 to disable pipeline stages for efficient model execution.

- Tags: how-to-guide
- Published: 2026-09-05

### [How the X Algorithm Candidate Pipeline Framework Handles Parallel Execution](/xai-org/x-algorithm/how-does-the-candidate-pipeline-framework-handle-parallel-execution)

Discover how the X Algorithm candidate pipeline framework efficiently handles parallel execution using Tokio's join macro for concurrent data fetches, optimizing performance.

- Tags: internals
- Published: 2026-09-05

### [What Are the Stages in the x-Algorithm Pipeline Execution Flow?](/xai-org/x-algorithm/what-are-the-stages-in-the-x-algorithm-pipeline-execution-flow)

Explore the 10-stage pipeline execution flow of the x-algorithm, from QueryHydrator to SideEffect. Understand how this Rust-based system generates recommendations.

- Tags: internals
- Published: 2026-09-05

### [How the X For You Feed Algorithm Works: A Deep Dive into the Two-Tower Architecture](/xai-org/x-algorithm/how-is-the-x-for-you-feed-algorithm-structured)

Explore the X For You feed algorithm's two-tower architecture. Learn how it encodes users and candidates, uses cross-attention for ranking, and masks negative feedback for better relevance.

- Tags: deep-dive
- Published: 2026-09-05

### [How X Algorithm Generates Account Labels: Inside the Nightly Scalding Pipeline](/xai-org/x-algorithm/how-are-account-labels-generated-for-the-x-algorithm)

Discover how the X algorithm generates account labels by processing historical data and incremental events. Understand the nightly scalding pipeline for accurate user insights.

- Tags: internals
- Published: 2026-09-04

### [What Is the Function of Grox in Content Understanding? A Deep Dive into the X-Algorithm Repository](/xai-org/x-algorithm/what-is-the-function-of-grox-in-content-understanding)

Discover Grox's role as the content understanding engine in the X-Algorithm repository. Learn how it processes streaming data and generates enriched signals.

- Tags: deep-dive
- Published: 2026-09-04

### [How the Blending Pipeline Enriches the X For You Feed: Architecture and Implementation](/xai-org/x-algorithm/how-does-the-blending-pipeline-enrich-the-for-you-feed)

Discover how the Blending Pipeline enriches the X For You feed by interleaving organic posts with ads recommendations and notifications for optimal relevance and engagement. Learn the architecture and implementation details.

- Tags: architecture
- Published: 2026-09-04

### [What Are Post-Selection Filters in the Home Mixer Pipeline?](/xai-org/x-algorithm/what-are-post-selection-filters-in-the-home-mixer-pipeline)

Discover post-selection filters in the Home Mixer pipeline. Learn how these components prune unsafe content and deduplicate conversations to finalize your "For You" timeline.

- Tags: deep-dive
- Published: 2026-09-04

### [How VMRanker Works for Diversity in the X Feed: DPP Technical Implementation](/xai-org/x-algorithm/how-does-vmranker-work-for-diversity-in-x-feed)

Discover how VMRanker ensures X feed diversity using Determinantal Point Process DPP. Learn the technical implementation of maximizing content variety and relevance.

- Tags: deep-dive
- Published: 2026-09-04

### [PhoenixScorer vs RankingScorer: Understanding the Dual-Scoring Architecture in x-algorithm](/xai-org/x-algorithm/what-is-the-difference-between-phoenixscorer-and-rankingsorer)

Explore the core differences between PhoenixScorer and RankingScorer in x algorithm. Understand how learned vs deterministic scoring impacts results and choose the best approach for your needs.

- Tags: deep-dive
- Published: 2026-09-04

### [Pre-Scoring Filters in the Home Mixer Pipeline: How X Curates Content Before AI Ranking](/xai-org/x-algorithm/what-are-pre-scoring-filters-in-the-home-mixer-pipeline)

Learn about pre-scoring filters in the Home Mixer pipeline. Discover how X curates content efficiently before AI ranking by removing stale posts, duplicates, and ineligible items.

- Tags: internals
- Published: 2026-09-04

### [How Query Hydration Works in the Home Mixer: Architecture and Implementation](/xai-org/x-algorithm/how-is-query-hydration-performed-in-the-home-mixer)

Understand query hydration in Home Mixer. Learn how it asynchronously enriches queries with user signals and metadata via a configurable pipeline before candidate sourcing.

- Tags: architecture
- Published: 2026-09-04

### [What Is the Labeling Path in the X-Algorithm? Understanding X's Background Safety Pipeline](/xai-org/x-algorithm/what-is-the-labeling-path-in-the-x-algorithm)

Discover the Labeling Path within the X algorithm. Learn how this background pipeline generates safety and relevance labels to control content in X's For You feed.

- Tags: deep-dive
- Published: 2026-09-04

### [Request Path for the X For You Feed: Inside the Home Mixer Pipeline](/xai-org/x-algorithm/what-is-the-request-path-for-the-x-for-you-feed)

Discover the Request Path for the X For You feed. Understand how the Home Mixer service orchestrates retrieval and ranking through the Post and Blending pipelines for interleaved ads and recommendations.

- Tags: architecture
- Published: 2026-09-04

### [What Is the Role of Thunder in the X For You Feed](/xai-org/x-algorithm/what-is-the-role-of-thunder-in-the-x-for-you-feed)

Discover Thunder's role as a key candidate source in the X For You feed. Learn how it retrieves raw posts to build your algorithmic timeline efficiently.

- Tags: deep-dive
- Published: 2026-09-04

### [Security Considerations for the X For You Feed Algorithm: 5 Defense Mechanisms Explained](/xai-org/x-algorithm/what-are-the-security-considerations-for-the-x-for-you-feed-algorithm)

Discover security considerations for the X For You feed algorithm. Learn about 5 defense mechanisms including negative-feedback masking and safety-filter integration to combat abusive content.

- Tags: deep-dive
- Published: 2026-09-04

### [How to Deploy and Run the X-Algorithm Locally: Complete Linux Setup Guide](/xai-org/x-algorithm/how-do-i-deploy-and-run-the-x-algorithm-locally)

Deploy and run the X-Algorithm locally on Linux. Follow our guide to install CUDA and Rust, generate data, train models, launch services, and test your setup for efficient local AI deployment.

- Tags: how-to-guide
- Published: 2026-09-04

### [How to Configure Experiments for the X For You Feed Algorithm](/xai-org/x-algorithm/how-can-i-configure-experiments-for-the-x-for-you-feed-algorithm)

Learn to configure experiments for the X For You feed algorithm using YAML. Dynamically test changes and assign authors to treatment or control buckets without code modifications via the XAI Feature Switches framework.

- Tags: how-to-guide
- Published: 2026-09-04

### [Key Design Decisions in the X-Algorithm: Architecture of the For-You Feed](/xai-org/x-algorithm/what-are-the-key-design-decisions-made-in-the-x-algorithm)

Explore the X-Algorithm architecture for the For-You feed. Discover key design decisions like multi-action prediction and candidate isolation for real-time content and policy flexibility.

- Tags: architecture
- Published: 2026-09-04

### [How Posts Are Scored and Ranked in the X Feed Algorithm: A Technical Deep Dive](/xai-org/x-algorithm/how-are-posts-scored-and-ranked-in-the-x-feed-algorithm)

Discover how the X feed algorithm scores and ranks posts. Learn about the two-stage pipeline combining relevance scoring and DPP diversity, as detailed in the xai-org/x-algorithm Rust codebase.

- Tags: deep-dive
- Published: 2026-09-04

### [X For You Feed Candidate Sources: The Complete Technical Breakdown](/xai-org/x-algorithm/what-are-the-different-candidate-sources-for-the-x-for-you-feed)

Explore the 18 candidate sources powering the X For You feed. Understand the technical details of in-network graphs and ML discovery models like SimClusters and Phoenix.

- Tags: deep-dive
- Published: 2026-09-04

### [Content Understanding Models in x-algorithm: X's Multi-Modal AI Stack](/xai-org/x-algorithm/what-are-the-content-understanding-models-used-in-x-algorithm)

Explore x-algorithm's advanced content understanding models. Discover how CLIP visual encoders, Transformer text models, and dual-tower architectures power recommendation and moderation systems.

- Tags: deep-dive
- Published: 2026-09-04

### [What Is Visibility Filtering in the X Algorithm? A Deep Dive into Content Moderation](/xai-org/x-algorithm/what-is-the-purpose-of-visibility-filtering-in-the-x-algorithm)

Understand visibility filtering in the X algorithm. Discover how this content moderation system decides if tweets appear normally, are dropped, or show a warning.

- Tags: deep-dive
- Published: 2026-09-04

### [How the Phoenix Recommendation System Powers the X Feed: Architecture and Implementation](/xai-org/x-algorithm/how-does-the-phoenix-recommendation-system-contribute-to-the-x-feed)

Discover how the Phoenix recommendation system powers the X feed with its JAX-based two-stage pipeline. Learn about candidate retrieval and engagement prediction.

- Tags: architecture
- Published: 2026-09-04

### [Home Mixer Pipeline Components: The 9 Stages That Build the X For-You Feed](/xai-org/x-algorithm/what-are-the-main-components-of-the-home-mixer-pipeline)

Explore the 9 stages of the Home Mixer pipeline, from Query Hydration to Side Effects. Understand how these components build your personalized For-You feed.

- Tags: architecture
- Published: 2026-09-04

### [X-Algorithm Repository Architecture: A Technical Deep Dive into X's Recommendation Pipeline](/xai-org/x-algorithm/what-is-the-architecture-of-the-x-algorithm-repository)

Explore the x-algorithm repository architecture powering X's "For You" feed. Understand the Request and Labeling Paths for real-time content retrieval and labeling.

- Tags: deep-dive
- Published: 2026-09-04

### [How the X For You Feed Algorithm Works: Technical Architecture Explained](/xai-org/x-algorithm/how-does-the-x-for-you-feed-algorithm-work)

Discover how the X For You feed algorithm works with its two-stage pipeline. Learn about candidate retrieval, multi-action prediction scoring, and visibility filtering.

- Tags: architecture
- Published: 2026-09-04

