开源

X算法开源2026

埃隆·马斯克开源X的由Grok AI驱动的"For You"推送算法。全面技术解析6亿用户的信息流是如何策划的。

January 20, 2026
15 分钟阅读
600M+ 受影响用户

发生了什么?

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

技术栈

语言

Rust62.9%
Python37.1%

详情

  • Apache 2.0许可证
  • 基于xAI的Grok-1架构
  • Colossus数据中心的20,000个GPU
  • 承诺每月更新

算法如何运作

STAGE 1

Query Hydration

Fetches user engagement history and metadata to understand preferences

STAGE 2

Candidate Sourcing

Retrieves posts from Thunder (in-network) and Phoenix Retrieval (out-of-network)

STAGE 3

Candidate Enrichment

Adds core post data, author information, and media details

STAGE 4

Pre-Scoring Filtering

Removes duplicates, aged content, blocked authors, and muted keywords

STAGE 5

Scoring

Phoenix transformer predicts engagement probabilities with weighted scoring

STAGE 6

Selection

Sorts by score and selects top K candidates for your feed

STAGE 7

Post-Selection Validation

Final visibility checks and deduplication before display

关键特性

Zero Hand-Engineered Features

The system relies entirely on Grok-based transformer to learn relevance from user engagement sequences

Candidate Isolation

During ranking, posts cannot attend to each other, ensuring consistent, cacheable scores

15+ Action Predictions

Predicts probabilities for likes, replies, reposts, clicks, blocks, mutes, reports, and more

Real-Time Processing

Thunder enables sub-millisecond in-network lookups via in-memory storage

Modular Architecture

Composable pipeline framework allowing easy addition of new components

20,000 GPUs

Powered by xAI's Colossus data center in Memphis for massive scale inference

为什么这对加密货币交易者很重要

Crypto Twitter的影响力

X(前Twitter)是加密货币新闻、阿尔法和社区参与的主要社交平台。了解算法如何工作可以帮助你:

  • 在你的信息流中更快获取加密货币新闻和阿尔法
  • 理解为什么某些帖子会走红
  • 优化你自己的加密货币内容以提高可见度
  • 过滤噪音,专注于高质量信号

透明度胜出

开源算法符合加密货币的核心价值观:透明度和去中心化。这一举措为以下方面树立了先例:

  • 可审计的社交媒体算法
  • 社区驱动的改进
  • 减少对操纵的担忧
  • 通过验证建立信任

今天开始加密货币交易

在X上关注加密货币新闻,使用我们的专属折扣码以最优惠的价格进行交易:

常见问题

在哪里可以查看X算法的源代码?

完整源代码可在GitHub上的github.com/xai-org/x-algorithm获取,使用Apache 2.0许可证。

X算法中的Phoenix是什么?

Phoenix是基于Grok的transformer模型,用于预测每个帖子的参与度概率。它使用具有用户和候选嵌入的双塔检索模型。

X算法中的Thunder是什么?

Thunder是一个内存帖子存储,可实现网络内内容的亚毫秒级查找。它消费Kafka事件并维护每用户的帖子集合。

X多久会更新一次开源代码?

埃隆·马斯克承诺每4周更新一次,并附有全面的开发者说明,解释发生了什么变化。

算法是否使用手工设计的特征?

不。该系统完全依赖基于Grok的transformer从用户参与序列中学习相关性,没有任何手工设计的特征。

来源

相关文章