昨天(2025.5.28)DeepSeek 在官方交流群中直接发布消息,宣布 R1 模型已完成小版本试升级,并将模型权重开源到 HugggingFace,直到今晚才正式发布新闻稿,并更新模型卡相关内容。

本次模型更新内容

当前版本是 DeepSeek-R1-0528。在最新的更新中,相比上个版本主要更新有:

1️⃣ 通过利用增加的计算资源并在后训练阶段引入算法优化机制,显著提升了模型的推理和理解能力。这款模型在数学、编程和通用逻辑等多种基准测试中展现了卓越的性能。它的整体表现已经接近顶尖模型,例如 O3 和 Gemini 2.5 Pro。

2️⃣ 与之前的版本相比,升级后的模型在处理复杂推理任务时有了显著进步。比如在 AIME 2025 测试中,模型的准确率从之前版本的 70% 提升到了当前版本的 87.5%。这一提升得益于模型在推理过程中“思考”得更深入了:在 AIME 测试集上,之前的模型平均每个问题花费 12K tokens 进行思考,而新版本平均每个问题会花费 23K tokens。

2️⃣ 降低了生成“幻觉”(即不真实信息)的概率

3️⃣ 增强了对函数调用的支持

4️⃣ 优化了“写代码”(vibe coding)的体验。

5️⃣ 它的整体性能现在接近 O3 和 Gemini 2.5 Pro 等领先模型。

6️⃣ 再次基于 Qwen 模型蒸馏出了更强模型,将 DeepSeek-R1-0528 生成的思维链(chain-of-thought)提取出来,用于进一步训练 Qwen3 8B Base 模型,从而得到了 DeepSeek-R1-0528-Qwen3-8B。这款模型在 AIME 2024 上取得了开源模型的最佳性能(SOTA),比 Qwen3 8B 高出 10.0%,并达到了 Qwen3-235B-thinking 的水平。DeepSeek-R1-0528-Qwen3-8B 的模型架构与 Qwen3-8B 相同,但它使用了与 DeepSeek-R1-0528 相同的分词器配置。这款模型可以按照运行 Qwen3-8B 的方法在本地运行。

AIME 24AIME 25HMMT Feb 25GPQA DiamondLiveCodeBench (2408-2505)
Qwen3-235B-A22B85.781.562.571.166.5
Qwen3-32B81.472.9-68.4-
Qwen3-8B76.067.3-62.0-
Phi-4-Reasoning-Plus-14B81.378.053.669.3-
Gemini-2.5-Flash-Thinking-052082.372.064.282.862.3
o3-mini (medium)79.676.753.376.865.9
DeepSeek-R1-0528-Qwen3-8B86.076.361.561.160.5

7️⃣ 支持使用系统提示(System Prompt)来引导模型行为。

8️⃣ 不再需要在输出的开头添加 “\n” 来强制模型进入思考模式。

9️⃣ 架构无变化:R1-0528 是一次训练后更新,V3/R1 架构未发生改变——它仍然是一个拥有671B参数的大模型,其中活跃参数为37B。

🔟 Token 使用量增加:R1-0528 在 Artificial Analysis 智能指数评估中使用了9900万个 Token,比原始 R1 的7100万个 Token 多出40%——即新的 R1 “思考”时间更长。这仍然不是我们见过的最高 Token 使用量:Gemini 2.5 Pro 比 R1-0528 多使用30%的 Token。

最后,DeepSeek-R1-0528 在与其原始 DeepSeek R1 版本相同的架构和预训练基础上,展示了显著的智能改进。这突显了后训练阶段持续增长的重要性,特别是对于使用强化学习(RL)技术训练的推理模型。OpenAI 披露其 o1 和 o3 之间的强化学习计算量扩大了10倍——DeepSeek 刚刚证明,到目前为止,他们能够跟上 OpenAI 的强化学习计算规模扩展。扩展强化学习所需的计算量少于扩展预训练,并为实现智能增益提供了一种有效途径,从而支持了 GPU 较少的人工智能实验室。

开发相关

系统提示

除了上述的更新内容,DeepSeek 再次公开了在 DeepSeek 的官方网站和应用程序的系统提示:

该助手为DeepSeek-R1,由深度求索公司创造。
今天是{current date}。

例如:

该助手为DeepSeek-R1,由深度求索公司创造。
今天是2025年5月28日,星期一。

温度

在 DeepSeek 的网页和应用程序环境中,温度(Temperature)参数 $T_{model}$ 被设置为 0.6。

文件上传和网页搜索的提示模板

对于文件上传,请按照以下模板构建提示,其中 {file_name}、{file_content} 和 {question} 是需要填入的参数:

file_template = \
"""[file name]: {file_name}
[file content begin]
{file_content}
[file content end]
{question}"""

对于网页搜索,{search_results}、{cur_date} 和 {question} 是需要填入的参数。 对于中文查询,我们使用以下提示模板:

search_answer_zh_template = \
'''# 以下内容是基于用户发送的消息的搜索结果:
{search_results}
在我给你的搜索结果中,每个结果都是[webpage X begin]...[webpage X end]格式的,X代表每篇文章的数字索引。请在适当的情况下在句子末尾引用上下文。请按照引用编号[citation:X]的格式在答案中对应部分引用上下文。如果一句话源自多个上下文,请列出所有相关的引用编号,例如[citation:3][citation:5],切记不要将引用集中在最后返回引用编号,而是在答案对应部分列出。
在回答时,请注意以下几点:
- 今天是{cur_date}。
- 并非搜索结果的所有内容都与用户的问题密切相关,你需要结合问题,对搜索结果进行甄别、筛选。
- 对于列举类的问题(如列举所有航班信息),尽量将答案控制在10个要点以内,并告诉用户可以查看搜索来源、获得完整信息。优先提供信息完整、最相关的列举项;如非必要,不要主动告诉用户搜索结果未提供的内容。
- 对于创作类的问题(如写论文),请务必在正文的段落中引用对应的参考编号,例如[citation:3][citation:5],不能只在文章末尾引用。你需要解读并概括用户的题目要求,选择合适的格式,充分利用搜索结果并抽取重要信息,生成符合用户要求、极具思想深度、富有创造力与专业性的答案。你的创作篇幅需要尽可能延长,对于每一个要点的论述要推测用户的意图,给出尽可能多角度的回答要点,且务必信息量大、论述详尽。
- 如果回答很长,请尽量结构化、分段落总结。如果需要分点作答,尽量控制在5个点以内,并合并相关的内容。
- 对于客观类的问答,如果问题的答案非常简短,可以适当补充一到两句相关信息,以丰富内容。
- 你需要根据用户要求和回答内容选择合适、美观的回答格式,确保可读性强。
- 你的回答应该综合多个相关网页来回答,不能重复引用一个网页。
- 除非用户要求,否则你回答的语言需要和用户提问的语言保持一致。
# 用户消息为:
{question}'''

对于英文查询,我们使用以下提示模板:

search_answer_en_template = \
'''# The following contents are the search results related to the user's message:
{search_results}
In the search results I provide to you, each result is formatted as [webpage X begin]...[webpage X end], where X represents the numerical index of each article. Please cite the context at the end of the relevant sentence when appropriate. Use the citation format [citation:X] in the corresponding part of your answer. If a sentence is derived from multiple contexts, list all relevant citation numbers, such as [citation:3][citation:5]. Be sure not to cluster all citations at the end; instead, include them in the corresponding parts of the answer.
When responding, please keep the following points in mind:
- Today is {cur_date}.
- Not all content in the search results is closely related to the user's question. You need to evaluate and filter the search results based on the question.
- For listing-type questions (e.g., listing all flight information), try to limit the answer to 10 key points and inform the user that they can refer to the search sources for complete information. Prioritize providing the most complete and relevant items in the list. Avoid mentioning content not provided in the search results unless necessary.
- For creative tasks (e.g., writing an essay), ensure that references are cited within the body of the text, such as [citation:3][citation:5], rather than only at the end of the text. You need to interpret and summarize the user's requirements, choose an appropriate format, fully utilize the search results, extract key information, and generate an answer that is insightful, creative, and professional. Extend the length of your response as much as possible, addressing each point in detail and from multiple perspectives, ensuring the content is rich and thorough.
- If the response is lengthy, structure it well and summarize it in paragraphs. If a point-by-point format is needed, try to limit it to 5 points and merge related content.
- For objective Q&A, if the answer is very brief, you may add one or two related sentences to enrich the content.
- Choose an appropriate and visually appealing format for your response based on the user's requirements and the content of the answer, ensuring strong readability.
- Your answer should synthesize information from multiple relevant webpages and avoid repeatedly citing the same webpage.
- Unless the user requests otherwise, your response should be in the same language as the user's question.
# The user's message is:
{question}'''