Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
  • Sign in
N
nurseportal
  • 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
  • Carin Dransfield
  • nurseportal
  • Issues
  • #7

Closed
Open
Opened Feb 23, 2025 by Carin Dransfield@carindransfiel
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We have actually been tracking the explosive increase of DeepSeek R1, which has taken the AI world by storm in recent weeks. In this session, we dove deep into the evolution of the DeepSeek family - from the early models through DeepSeek V3 to the breakthrough R1. We likewise checked out the technical developments that make R1 so special worldwide of open-source AI.

The DeepSeek Family Tree: From V3 to R1

DeepSeek isn't just a single model; it's a family of progressively advanced AI systems. The evolution goes something like this:

DeepSeek V2:

This was the foundation design which leveraged a mixture-of-experts architecture, where only a subset of specialists are utilized at inference, considerably enhancing the processing time for each token. It likewise included multi-head hidden attention to lower memory footprint.

DeepSeek V3:

This model presented FP8 training methods, which assisted drive down training expenses by over 42.5% compared to previous iterations. FP8 is a less exact method to store weights inside the LLMs but can greatly enhance the memory footprint. However, training using FP8 can generally be unstable, and it is difficult to obtain the wanted training results. Nevertheless, DeepSeek uses multiple techniques and attains extremely stable FP8 training. V3 set the phase as a highly effective model that was already cost-effective (with claims of being 90% cheaper than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the group then introduced R1-Zero, the first reasoning-focused iteration. Here, the focus was on teaching the model not simply to generate answers but to "think" before addressing. Using pure reinforcement learning, the design was encouraged to generate intermediate reasoning steps, for example, taking extra time (typically 17+ seconds) to overcome an easy problem like "1 +1."

The crucial innovation here was making use of group relative policy optimization (GROP). Instead of relying on a traditional procedure benefit design (which would have required annotating every step of the thinking), GROP compares several outputs from the model. By tasting a number of possible responses and scoring them (using rule-based measures like specific match for mathematics or validating code outputs), the system discovers to favor reasoning that leads to the proper result without the requirement for specific guidance of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's without supervision method produced thinking outputs that might be difficult to check out and even mix languages, the designers returned to the drawing board. They used the raw outputs from R1-Zero to create "cold start" information and then by hand curated these examples to filter and improve the quality of the reasoning. This human post-processing was then utilized to tweak the original DeepSeek V3 model further-combining both reasoning-oriented reinforcement knowing and monitored fine-tuning. The outcome is DeepSeek R1: a model that now produces understandable, coherent, and reputable reasoning while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most interesting element of R1 (zero) is how it developed thinking capabilities without explicit guidance of the reasoning process. It can be even more improved by using cold-start information and monitored reinforcement finding out to produce legible thinking on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling scientists and developers to inspect and develop upon its innovations. Its cost performance is a major selling point specifically when compared to closed-source models (claimed 90% cheaper than OpenAI) that require enormous compute spending plans.

Novel Training Approach:

Instead of relying exclusively on annotated reasoning (which is both costly and lengthy), the design was trained using an outcome-based technique. It started with quickly proven jobs, such as math issues and coding workouts, where the correctness of the final response might be quickly determined.

By utilizing group relative policy optimization, the training process compares numerous generated answers to determine which ones fulfill the wanted output. This relative scoring mechanism allows the design to learn "how to think" even when intermediate reasoning is produced in a freestyle manner.

Overthinking?

A fascinating observation is that DeepSeek R1 in some cases "overthinks" easy issues. For instance, when asked "What is 1 +1?" it may invest almost 17 seconds assessing different scenarios-even considering binary representations-before concluding with the right answer. This self-questioning and verification process, although it might appear inefficient in the beginning glance, might show helpful in complicated jobs where deeper reasoning is needed.

Prompt Engineering:

Traditional few-shot triggering methods, which have worked well for many chat-based designs, can actually break down efficiency with R1. The developers recommend utilizing direct problem declarations with a zero-shot method that specifies the output format plainly. This makes sure that the design isn't led astray by extraneous examples or tips that may hinder its internal reasoning procedure.

Getting Started with R1

For those aiming to experiment:

Smaller variants (7B-8B) can run on consumer GPUs or perhaps just CPUs


Larger variations (600B) need considerable compute resources


Available through major cloud suppliers


Can be released locally through Ollama or vLLM


Looking Ahead

We're especially interested by a number of ramifications:

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


Impact on agent-based AI systems typically developed on chat models


Possibilities for combining with other supervision strategies


Implications for enterprise AI release


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

Open Questions

How will this impact the development of future thinking models?


Can this approach be encompassed less verifiable domains?


What are the ramifications for multi-modal AI systems?


We'll be watching these developments closely, particularly as the community begins to explore and build on these strategies.

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 individuals dealing with these models.

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 short summary


Cloud Providers:

Nvidia


Together.ai


AWS




Q&A

Q1: Which design is worthy of more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is also a strong model in the open-source neighborhood, the option eventually depends upon your use case. DeepSeek R1 emphasizes advanced thinking and an unique training approach that might be particularly valuable in tasks where proven logic is critical.

Q2: Why did significant service providers like OpenAI go with monitored fine-tuning rather than support knowing (RL) like DeepSeek?

A: We should keep in mind in advance that they do utilize RL at least in the type of RLHF. It is most likely that models from significant service providers that have thinking abilities already utilize something comparable to what DeepSeek has actually done here, however we can't make certain. It is likewise most likely that due to access to more resources, they favored supervised fine-tuning due to its stability and the prepared availability of large annotated datasets. Reinforcement learning, although powerful, can be less foreseeable and harder to control. DeepSeek's approach innovates by using RL in a reasoning-oriented manner, enabling the design to find out effective internal reasoning with only minimal process annotation - a method that has proven appealing in spite of its intricacy.

Q3: Did DeepSeek use test-time calculate techniques comparable to those of OpenAI?

A: DeepSeek R1's style stresses effectiveness by leveraging techniques such as the mixture-of-experts technique, which triggers just a subset of specifications, to minimize calculate during reasoning. This concentrate on effectiveness is main to its cost advantages.

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

A: R1-Zero is the initial model that learns reasoning exclusively through reinforcement learning without specific process supervision. It produces intermediate thinking actions that, while often raw or blended in language, work as the structure for knowing. DeepSeek R1, on the other hand, improves these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero offers the not being watched "stimulate," and R1 is the polished, more coherent version.

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

A: Remaining existing involves a mix of actively engaging with the research neighborhood (like AISC - see link to sign up with slack above), following preprint servers like arXiv, participating in relevant conferences and webinars, and getting involved in conversation groups and newsletters. Continuous engagement with online neighborhoods and collective research study projects likewise plays an essential function in keeping up with technical developments.

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

A: The short answer is that it's to inform. DeepSeek R1's strength, however, lies in its robust thinking abilities and its effectiveness. It is particularly well matched for jobs that require proven logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate thinking can be examined and verified. Its open-source nature even more enables tailored applications in research and enterprise settings.

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

A: The open-source and cost-efficient design of DeepSeek R1 lowers the entry barrier for releasing innovative language models. Enterprises and start-ups can leverage its sophisticated thinking for agentic applications ranging from automated code generation and customer support to data analysis. Its flexible release options-on consumer hardware for smaller designs or cloud platforms for bigger ones-make it an appealing option to proprietary options.

Q8: Will the design get stuck in a loop of "overthinking" if no right answer is discovered?

A: While DeepSeek R1 has actually been observed to "overthink" easy issues by exploring numerous thinking courses, it incorporates stopping criteria and examination systems to avoid boundless loops. The support discovering framework motivates convergence toward a proven output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and acted as the structure for later versions. It is built on its own set of innovations-including the mixture-of-experts technique and FP8 training-and is not based upon the Qwen architecture. Its style stresses efficiency and cost reduction, setting the phase for the reasoning developments seen in R1.

Q10: How does DeepSeek R1 carry out on vision tasks?

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

Q11: Can experts in specialized fields (for instance, labs dealing with treatments) apply these techniques to train domain-specific designs?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based reasoning training and effective architecture-can be adapted to numerous domains. Researchers in fields like biomedical sciences can tailor these approaches to develop models that resolve their specific difficulties while gaining from lower compute costs and robust reasoning abilities. It is most likely that in deeply specialized fields, nevertheless, there will still be a requirement for monitored fine-tuning to get dependable outcomes.

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

A: The conversation showed that the annotators mainly concentrated on domains where accuracy is easily verifiable-such as math and coding. This suggests that know-how in technical fields was certainly leveraged to make sure the precision and clearness of the thinking data.

Q13: Could the model get things wrong if it depends on its own outputs for learning?

A: While the model is developed to optimize for appropriate answers through support learning, there is constantly a risk of errors-especially in uncertain circumstances. However, by examining several prospect outputs and enhancing those that cause proven outcomes, the training procedure minimizes the possibility of propagating inaccurate thinking.

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

A: Making use of rule-based, proven tasks (such as mathematics and coding) helps anchor the model's reasoning. By comparing numerous outputs and utilizing group relative policy optimization to enhance only those that yield the proper result, the design is assisted away from creating unproven or hallucinated details.

Q15: Does the design count on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are important to the implementation of mixture-of-experts and attention systems in DeepSeek R1. However, the main focus is on using these techniques to make it possible for efficient thinking instead of showcasing mathematical complexity for forum.altaycoins.com its own sake.

Q16: Some worry that the model's "thinking" may not be as refined as human reasoning. Is that a valid concern?

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

Q17: Which model variants are suitable for local deployment on a laptop computer with 32GB of RAM?

A: For regional testing, a medium-sized model-typically in the series of 7B to 8B parameters-is advised. Larger designs (for instance, those with hundreds of billions of criteria) require substantially more computational resources and are better suited for cloud-based release.

Q18: bytes-the-dust.com Is DeepSeek R1 "open source" or does it provide only open weights?

A: DeepSeek R1 is offered with open weights, implying that its design specifications are openly available. This lines up with the overall open-source approach, allowing scientists and developers to additional explore and construct upon its developments.

Q19: What would occur if the order of training were reversed-starting with supervised fine-tuning before without supervision reinforcement knowing?

A: The present approach permits the design to first explore and create its own reasoning patterns through without supervision RL, and after that refine these patterns with monitored approaches. Reversing the order might constrain the model's ability to discover varied reasoning courses, possibly limiting its total performance in tasks that gain from self-governing thought.

Thanks for reading Deep Random Thoughts! Subscribe free of charge to receive new posts and support my work.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
No due date
0
Labels
None
Assign labels
  • View project labels
Reference: carindransfiel/nurseportal#7