DeepSeek Open-Sources DeepSeek-R1 LLM with Performance Comparable To OpenAI's O1 Model
DeepSeek open-sourced DeepSeek-R1, an LLM fine-tuned with support learning (RL) to enhance reasoning ability. DeepSeek-R1 attains results on par with OpenAI's o1 design on several standards, including MATH-500 and SWE-bench.
DeepSeek-R1 is based upon DeepSeek-V3, a mixture of experts (MoE) design just recently open-sourced by DeepSeek. This base model is fine-tuned using Group Relative Policy Optimization (GRPO), a reasoning-oriented variation of RL. The research team likewise performed knowledge distillation from DeepSeek-R1 to open-source Qwen and Llama models and released numerous versions of each; these designs surpass bigger designs, including GPT-4, on mathematics and coding standards.
[DeepSeek-R1 is] the very first step toward enhancing language design thinking capabilities utilizing pure support learning (RL). Our goal is to check out the capacity of LLMs to develop reasoning abilities with no monitored information, focusing on their self-evolution through a pure RL process...DeepSeek-R1 ... master a vast array of tasks, including imaginative writing, general question answering, modifying, summarization, and more. Additionally, DeepSeek-R1 shows impressive performance on jobs requiring long-context understanding, substantially surpassing DeepSeek-V3 on long-context criteria.
To establish the model, DeepSeek started with DeepSeek-V3 as a base. They initially attempted fine-tuning it just with RL, and with no monitored fine-tuning (SFT), producing a model called DeepSeek-R1-Zero, which they have likewise launched. This model shows strong thinking efficiency, however" effective thinking behaviors, it faces several concerns. For circumstances, DeepSeek-R1-Zero fights with challenges like bad readability and language blending."
To address this, the team used a brief phase of SFT to avoid the "cold start" issue of RL. They gathered several thousand examples of chain-of-thought thinking to utilize in SFT of DeepSeek-V3 before running RL. After the RL procedure assembled, they then gathered more SFT information using rejection sampling, resulting in a dataset of 800k samples. This dataset was utilized for further fine-tuning and to produce the distilled designs from Llama and pipewiki.org Qwen.
DeepSeek examined their design on a variety of thinking, math, and coding standards and compared it to other models, including Claude-3.5- Sonnet, GPT-4o, and o1. DeepSeek-R1 outperformed all of them on several of the standards, consisting of AIME 2024 and MATH-500.
DeepSeek-R1 Performance. Image Source: DeepSeek-R1 Technical Report
Within a few days of its release, the LMArena revealed that DeepSeek-R1 was ranked # 3 general in the arena and # 1 in coding and mathematics. It was likewise connected for # 1 with o1 in "Hard Prompt with Style Control" classification.
Django framework co-creator Simon Willison blogged about his explores among the DeepSeek distilled Llama designs on his blog:
Each reaction begins with a ... pseudo-XML tag containing the chain of thought utilized to assist produce the action. [Given the timely] "a joke about a pelican and a walrus who run a tea space together" ... It then thought for 20 paragraphs before outputting the joke! ... [T] he joke is awful. But the process of arriving was such a fascinating insight into how these new designs work.
Andrew Ng's newsletter The Batch wrote about DeepSeek-R1:
DeepSeek is quickly emerging as a strong builder of open models. Not just are these designs terrific entertainers, however their license allows use of their outputs for distillation, potentially pressing forward the for language models (and multimodal designs) of all sizes.
The DeepSeek-R1 designs are available on HuggingFace.
About the Author
Anthony Alford
Rate this Article
This content remains in the AI, ML & Data Engineering subject
Related Topics:
- AI, ML & Data Engineering
- Generative AI
- Large language models
- Related Editorial
Related Sponsored Content
- [eBook] Getting Going with Azure Kubernetes Service
Related Sponsor
Free services for AI apps. Are you prepared to explore innovative technologies? You can begin building smart apps with free Azure app, data, and AI services to minimize upfront costs. Find out more.
How could we improve? Take the InfoQ reader survey
Each year, we seek feedback from our readers to assist us enhance InfoQ. Would you mind spending 2 minutes to share your feedback in our brief survey? Your feedback will straight help us constantly develop how we support you. The InfoQ Team Take the study
Related Content
The InfoQ Newsletter
A round-up of last week's material on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers.