Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
F
funnyutube
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 9
    • Issues 9
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
  • Katherina Buvelot
  • funnyutube
  • Issues
  • #5

Closed
Open
Opened May 29, 2025 by Katherina Buvelot@aimkatherina00
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We've been tracking the explosive rise of DeepSeek R1, which has actually taken the AI world by storm in current weeks. In this session, we dove deep into the advancement of the DeepSeek household - from the early designs through DeepSeek V3 to the development R1. We likewise explored the technical innovations that make R1 so unique on the planet of open-source AI.

The DeepSeek Ancestral Tree: From V3 to R1

DeepSeek isn't just a single model; it's a household of progressively sophisticated AI systems. The development goes something like this:

DeepSeek V2:

This was the structure model which leveraged a mixture-of-experts architecture, where just a subset of experts are used at inference, considerably improving the processing time for each token. It also featured multi-head hidden attention to reduce memory footprint.

DeepSeek V3:

This design presented FP8 training strategies, which helped drive down training expenses by over 42.5% compared to previous versions. FP8 is a less accurate way to store weights inside the LLMs however can greatly enhance the memory footprint. However, training utilizing FP8 can typically be unsteady, and it is hard to obtain the wanted training results. Nevertheless, DeepSeek utilizes numerous tricks and attains extremely stable FP8 training. V3 set the phase as a highly efficient model that was currently economical (with claims of being 90% less expensive than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the team then introduced R1-Zero, the first reasoning-focused iteration. Here, the focus was on teaching the model not simply to produce answers but to "think" before addressing. Using pure reinforcement knowing, the design was encouraged to generate intermediate thinking steps, for instance, taking additional time (typically 17+ seconds) to work through a basic problem like "1 +1."

The key innovation here was using group relative policy optimization (GROP). Instead of counting on a traditional procedure reward model (which would have needed annotating every step of the thinking), GROP compares several outputs from the design. By tasting numerous possible responses and scoring them (using rule-based measures like specific match for mathematics or confirming code outputs), the system learns to prefer thinking that causes the appropriate result without the requirement for specific supervision of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's without supervision technique produced thinking outputs that could be difficult to read or perhaps mix languages, the designers went back to the drawing board. They used the raw outputs from R1-Zero to produce "cold start" information and then by hand curated these examples to filter and enhance the quality of the thinking. This human post-processing was then utilized to fine-tune the initial DeepSeek V3 design further-combining both reasoning-oriented support knowing and supervised fine-tuning. The result is DeepSeek R1: a model that now produces legible, coherent, and trusted thinking while still maintaining the performance and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most interesting aspect of R1 (absolutely no) is how it established thinking capabilities without explicit supervision of the thinking process. It can be further improved by utilizing cold-start data and monitored support learning to produce understandable thinking on basic jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling scientists and developers to check and develop upon its developments. Its expense effectiveness is a major selling point especially when compared to closed-source designs (claimed 90% cheaper than OpenAI) that need enormous calculate spending plans.

Novel Training Approach:

Instead of relying exclusively on annotated thinking (which is both expensive and lengthy), the model was trained using an outcome-based approach. It began with quickly verifiable jobs, such as math issues and coding workouts, where the correctness of the last response might be easily determined.

By utilizing group relative policy optimization, the training procedure compares multiple created responses to identify which ones fulfill the preferred output. This relative scoring system allows the design to find out "how to think" even when intermediate reasoning is generated in a freestyle manner.

Overthinking?

An intriguing observation is that DeepSeek R1 in some cases "overthinks" easy issues. For example, when asked "What is 1 +1?" it might invest nearly 17 seconds evaluating different scenarios-even thinking about binary representations-before concluding with the proper response. This self-questioning and verification process, although it may appear inefficient at first glimpse, might prove useful in complex tasks where much deeper thinking is essential.

Prompt Engineering:

Traditional few-shot prompting methods, which have worked well for lots of chat-based models, can actually break down performance with R1. The designers suggest using direct issue statements with a zero-shot approach that defines the output format plainly. This makes sure that the design isn't led astray by extraneous examples or hints that might disrupt its internal thinking process.

Getting Going with R1

For those aiming to experiment:

Smaller variations (7B-8B) can work on customer GPUs or perhaps just CPUs


Larger variations (600B) need substantial compute resources


Available through significant cloud service providers


Can be released in your area by means of Ollama or vLLM


Looking Ahead

We're particularly fascinated by a number of implications:

The potential for this approach to be applied to other reasoning domains


Effect on agent-based AI systems typically built on chat models


Possibilities for integrating with other supervision strategies


Implications for enterprise AI implementation


Thanks for reading Deep Random Thoughts! Subscribe totally free to get new posts and support my work.

Open Questions

How will this impact the advancement of future reasoning designs?


Can this technique be encompassed less proven domains?


What are the implications for multi-modal AI systems?


We'll be watching these developments closely, especially as the community starts to explore and build on these methods.

Resources

Join our Slack community for ongoing conversations and updates about DeepSeek and other AI developments. We're seeing fascinating applications currently emerging from our bootcamp participants dealing with these designs.

Chat with DeepSeek:


https://www.deepseek.com/

Papers:

DeepSeek LLM


DeepSeek-V2


DeepSeek-V3


DeepSeek-R1


Blog Posts:

The Illustrated DeepSeek-R1


DeepSeek-R1 Paper Explained


DeepSeek R1 - a brief summary


Cloud Providers:

Nvidia


Together.ai


AWS




Q&A

Q1: Which model deserves more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong model in the open-source neighborhood, the option ultimately depends on your use case. DeepSeek R1 stresses advanced reasoning and an unique training method that might be especially important in tasks where verifiable logic is critical.

Q2: Why did major providers like OpenAI decide for supervised fine-tuning instead of reinforcement knowing (RL) like DeepSeek?

A: We should keep in mind in advance that they do use RL at least in the form of RLHF. It is highly likely that models from major companies that have reasoning abilities already use something similar to what DeepSeek has actually done here, however we can't make certain. It is likewise likely that due to access to more resources, they preferred monitored fine-tuning due to its stability and the ready availability of large annotated datasets. Reinforcement learning, although effective, can be less predictable and harder to control. DeepSeek's technique innovates by using RL in a reasoning-oriented way, enabling the model to discover efficient internal thinking with only minimal procedure annotation - a technique that has actually proven promising regardless of its complexity.

Q3: Did DeepSeek use test-time compute methods similar to those of OpenAI?

A: DeepSeek R1's design highlights efficiency by leveraging strategies such as the mixture-of-experts approach, which triggers just a subset of criteria, to minimize calculate during reasoning. This focus on performance is main to its cost benefits.

Q4: What is the difference between R1-Zero and R1?

A: R1-Zero is the preliminary model that learns reasoning exclusively through support learning without explicit process supervision. It produces intermediate thinking steps that, while in some cases raw or combined in language, serve as the structure for knowing. DeepSeek R1, on the other hand, fine-tunes these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero offers the without supervision "trigger," and R1 is the polished, more meaningful version.

Q5: How can one remain upgraded with extensive, technical research while managing a busy schedule?

A: Remaining current involves a mix of actively engaging with the research neighborhood (like AISC - see link to join slack above), following preprint servers like arXiv, going to appropriate conferences and webinars, and taking part in discussion groups and newsletters. Continuous engagement with online neighborhoods and collaborative research study jobs likewise plays a crucial role in staying up to date with technical advancements.

Q6: In what use-cases does DeepSeek exceed designs like O1?

A: The brief answer is that it's too early to inform. DeepSeek R1's strength, nevertheless, depends on its robust thinking abilities and its efficiency. It is especially well fit for tasks that require verifiable logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate reasoning can be examined and verified. Its open-source nature even more permits for tailored applications in research and enterprise settings.

Q7: What are the ramifications of DeepSeek R1 for business and start-ups?

A: The open-source and affordable style of DeepSeek R1 lowers the entry barrier for deploying innovative language models. Enterprises and start-ups can utilize its advanced thinking for agentic applications varying from automated code generation and consumer assistance to information analysis. Its flexible release options-on consumer hardware for smaller sized designs or cloud platforms for larger ones-make it an attractive option to exclusive options.

Q8: Will the design get stuck in a loop of "overthinking" if no appropriate response is found?

A: While DeepSeek R1 has actually been observed to "overthink" simple problems by checking out numerous thinking paths, it integrates stopping requirements and assessment systems to avoid limitless loops. The support finding out structure motivates merging towards a proven output, even in uncertain cases.

Q9: Is DeepSeek V3 completely open source, and is it based upon the Qwen architecture?

A: Yes, DeepSeek V3 is open source and served as the structure for later models. It is built on its own set of innovations-including the mixture-of-experts technique and FP8 training-and is not based on the Qwen architecture. Its design emphasizes effectiveness and expense reduction, setting the phase for the reasoning developments seen in R1.

Q10: How does DeepSeek R1 perform on vision jobs?

A: DeepSeek R1 is a text-based model and does not incorporate vision abilities. Its design and training focus exclusively on language processing and thinking.

Q11: Can professionals in specialized fields (for instance, labs working on remedies) use these techniques to train domain-specific models?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based reasoning training and effective architecture-can be adapted to different domains. Researchers in fields like biomedical sciences can tailor these methods to construct designs that address their particular challenges while gaining from lower calculate costs and robust thinking abilities. It is likely that in deeply specialized fields, nevertheless, there will still be a requirement for supervised fine-tuning to get reliable results.

Q12: Were the annotators for the human post-processing professionals in technical fields like computer system science or mathematics?

A: The discussion indicated that the annotators mainly concentrated on domains where accuracy is quickly verifiable-such as mathematics and coding. This suggests that proficiency in technical fields was certainly leveraged to ensure the accuracy and clarity of the thinking information.

Q13: Could the design get things wrong if it relies on its own outputs for finding out?

A: While the design is created to enhance for right answers via support learning, there is always a risk of errors-especially in uncertain scenarios. However, by assessing numerous candidate outputs and strengthening those that cause proven outcomes, the training process reduces the possibility of propagating incorrect thinking.

Q14: How are hallucinations lessened in the design offered its iterative reasoning loops?

A: Using rule-based, proven jobs (such as mathematics and coding) assists anchor the design's reasoning. By comparing numerous outputs and using group relative policy optimization to reinforce just those that yield the appropriate result, the design is directed far from creating unfounded or hallucinated details.

Q15: Does the model rely on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are integral to the application of mixture-of-experts and attention systems in DeepSeek R1. However, the main focus is on using these methods to enable reliable thinking rather than showcasing mathematical intricacy for its own sake.

Q16: Some fret that the "thinking" might not be as improved as human thinking. Is that a valid concern?

A: Early versions like R1-Zero did produce raw and in some cases hard-to-read reasoning. However, the subsequent improvement process-where human specialists curated and improved the thinking data-has considerably boosted the clearness and reliability of DeepSeek R1's internal idea process. While it remains an evolving system, iterative training and feedback have actually caused meaningful improvements.

Q17: Which design variations are ideal for regional release on a laptop computer with 32GB of RAM?

A: For regional testing, a medium-sized model-typically in the variety of 7B to 8B parameters-is advised. Larger models (for example, those with numerous billions of parameters) require significantly more computational resources and are better fit for cloud-based release.

Q18: Is DeepSeek R1 "open source" or does it use only open weights?

A: DeepSeek R1 is provided with open weights, meaning that its model criteria are publicly available. This aligns with the total open-source philosophy, permitting scientists and designers to more check out and construct upon its innovations.

Q19: What would happen if the order of training were reversed-starting with supervised fine-tuning before not being watched reinforcement learning?

A: The present approach permits the design to first explore and setiathome.berkeley.edu create its own reasoning patterns through unsupervised RL, and wiki.myamens.com after that refine these patterns with monitored techniques. Reversing the order might constrain the design's ability to discover varied thinking courses, potentially limiting its overall performance in jobs that gain from autonomous thought.

Thanks for checking out Deep Random Thoughts! Subscribe totally free to receive brand-new posts and support my work.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: aimkatherina00/funnyutube#5