X Updates Algorithm Repository with Ad Mixing and Phoenix Model Pipeline

icon MarsBit
Share
AI summary iconSummary

According to Beating Monitor, following Musk’s January 2026 commitment to open-source X’s new algorithm, X’s official algorithm repository received its second major commit on May 15, 2026. Compared to the initial release on January 20, this update is significantly larger, involving 187 files with 18,263 lines added and 926 lines deleted. The core advancement progressed from merely “explaining the recommendation architecture” to “implementing runnable inference pipelines and ad mixing logic.” The most critical change is the arrival of an end-to-end demonstration of the Phoenix recommendation model. The newly added phoenix/run_pipeline.py can now execute full recall and ranking workflows starting from exported checkpoints, user behavior sequences, and precomputed corpora: first identifying candidate content based on user history, then predicting interaction probabilities such as likes, replies, shares, and dwell time, and finally combining these into a final ranking score. This is a substantial step closer to real-world recommendation flows than the January version, which only provided descriptions of retrieval and ranking modules. This update also introduces approximately 3 GB of mini Phoenix model artifacts for out-of-the-box example inference. However, a parameter conflict exists in the documentation: the root README states 256-dimensional embeddings and 2 Transformer layers, while the Phoenix documentation and parameter tables specify 128-dimensional embeddings and 4 Transformer layers. The actual configuration should be determined by the config.json file extracted from the artifact. Notably, the advertising component has also been expanded. Although Musk originally promised in January to open-source code related to both organic and ad recommendations, the initial release contained almost no details on ad mixing. The May update adds home-mixer/ads/, revealing that ad insertion is not hardcoded at fixed positions but dynamically influenced by safety intervals, risk levels of adjacent content, author account reputation, keywords, and brand safety rules. Additionally, X has introduced a new grox/ content understanding pipeline covering spam detection, post classification, policy compliance assessment, and multimodal embeddings. Overall, this update truly fills in the peripheral production pipelines of the recommendation system: how candidates are sourced, how ads are inserted, how safety filters are applied, and how results are written back. While it is still not the full production code, it is now far more closely resembling a researchable sample of X’s “For You” recommendation system than the January version.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.