埃隆·马斯克开源X的由Grok AI驱动的"For You"推送算法。全面技术解析6亿用户的信息流是如何策划的。
2026年1月10日,埃隆·马斯克宣布X(前Twitter)将开源其整个推荐算法。一周后,完整代码库在Apache 2.0许可证下发布在GitHub上。这包括所有用于确定哪些自然帖子和广告出现在你的"For You"信息流中的代码。
"我们将在7天内开源新的X算法,包括所有用于确定向用户推荐哪些自然和广告帖子的代码。这将每4周重复一次,并附有全面的开发者说明。"
— Elon Musk, January 10, 2026
January 10, 2026
Elon Musk announces algorithm will go open source in 7 days
January 17, 2026
Full algorithm code released on GitHub (xai-org/x-algorithm)
Every 4 Weeks
Promised updates with comprehensive developer notes
Fetches user engagement history and metadata to understand preferences
Retrieves posts from Thunder (in-network) and Phoenix Retrieval (out-of-network)
Adds core post data, author information, and media details
Removes duplicates, aged content, blocked authors, and muted keywords
Phoenix transformer predicts engagement probabilities with weighted scoring
Sorts by score and selects top K candidates for your feed
Final visibility checks and deduplication before display
The system relies entirely on Grok-based transformer to learn relevance from user engagement sequences
During ranking, posts cannot attend to each other, ensuring consistent, cacheable scores
Predicts probabilities for likes, replies, reposts, clicks, blocks, mutes, reports, and more
Thunder enables sub-millisecond in-network lookups via in-memory storage
Composable pipeline framework allowing easy addition of new components
Powered by xAI's Colossus data center in Memphis for massive scale inference
X(前Twitter)是加密货币新闻、阿尔法和社区参与的主要社交平台。了解算法如何工作可以帮助你:
开源算法符合加密货币的核心价值观:透明度和去中心化。这一举措为以下方面树立了先例:
在X上关注加密货币新闻,使用我们的专属折扣码以最优惠的价格进行交易:
完整源代码可在GitHub上的github.com/xai-org/x-algorithm获取,使用Apache 2.0许可证。
Phoenix是基于Grok的transformer模型,用于预测每个帖子的参与度概率。它使用具有用户和候选嵌入的双塔检索模型。
Thunder是一个内存帖子存储,可实现网络内内容的亚毫秒级查找。它消费Kafka事件并维护每用户的帖子集合。
埃隆·马斯克承诺每4周更新一次,并附有全面的开发者说明,解释发生了什么变化。
不。该系统完全依赖基于Grok的transformer从用户参与序列中学习相关性,没有任何手工设计的特征。