---
agent:
  instructions: "Search published articles with space-separated keywords. All terms must occur in the article text. Results are Markdown excerpts with canonical links, newest first."
  endpoint: "https://www.zaihua.news/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://www.zaihua.news/docs/api/#agent-search"
---

# X 平台正式开源推荐算法

Source: https://www.zaihua.news/article/39011/

[返回新闻流](https://www.zaihua.news/)
2026年1月20日 · 14:35 · [在花新闻](https://www.zaihua.news/about/)

# X 平台正式开源推荐算法

X平台的推荐算法已在Github上开源，从相对传统的特征工程与中小规模神经网络，升级为由 Grok 大模型统一驱动。

编辑注：X 的新推荐算法会先从你关注的人和全站用检索模型找到的帖子中各取一批候选，再用基于 Grok 的大模型根据你的历史点赞、转发、点击等行为预测你对每条帖子的多种互动概率，把这些概率加权成一个总分，并经过去重、屏蔽拉黑/屏蔽内容和多样性约束后，按分数高低生成你的「For You」时间线。

[XAi](https://github.com/xai-org/x-algorithm)

🍀[在花频道](http://t.me/zaihuanews) 🍵[茶馆聊天](http://t.me/zaihuachat) 📮[投稿](http://t.me/ZaiHuabot)

https://cdn.zaihua.news/main/39011/6305570517125107087.jpghttps://cdn.zaihua.news/main/39012/tgphoto_6305570517125107086.jpg

[上一条延长个人消费贷款财政贴息政策至 2026 年底，新增信用卡分期业务](https://www.zaihua.news/article/39010/)[下一条网易云音乐与环球音乐集团达成全新战略合作](https://www.zaihua.news/article/39013/)
