Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in
C
chkkv
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 1
    • Issues 1
    • 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
  • Inge Thorby
  • chkkv
  • Issues
  • #1

You need to sign in or sign up before continuing.
Closed
Open
Opened Apr 08, 2025 by Inge Thorby@ingethorby815
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We've been tracking the explosive rise of DeepSeek R1, which has taken the AI world by storm in current weeks. In this session, we dove deep into the evolution of the DeepSeek family - from the early models through DeepSeek V3 to the advancement R1. We likewise explored the technical developments that make R1 so special in the world of open-source AI.

The DeepSeek Family Tree: it-viking.ch From V3 to R1

DeepSeek isn't just a single model; it's a family of significantly sophisticated AI systems. The advancement goes something like this:

DeepSeek V2:

This was the foundation model which leveraged a mixture-of-experts architecture, where just a subset of experts are used at inference, dramatically enhancing the processing time for each token. It also featured multi-head latent 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 precise way to save weights inside the LLMs but can significantly improve the memory footprint. However, training using FP8 can usually be unsteady, and it is difficult to obtain the wanted training results. Nevertheless, DeepSeek uses multiple techniques and attains incredibly stable FP8 training. V3 set the phase as an extremely effective model that was already cost-effective (with claims of being 90% cheaper than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the team then introduced R1-Zero, the very first reasoning-focused model. Here, the focus was on teaching the design not just to produce answers but to "believe" before addressing. Using pure support knowing, the model was motivated to produce intermediate thinking actions, for example, taking extra time (often 17+ seconds) to work through a basic problem like "1 +1."

The key innovation here was the use of group relative policy optimization (GROP). Instead of depending on a traditional procedure benefit model (which would have required annotating every step of the reasoning), GROP compares numerous outputs from the design. By sampling several potential responses and scoring them (using rule-based measures like precise match for mathematics or confirming code outputs), the system learns to prefer thinking that leads to the right outcome without the requirement for explicit guidance of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised technique produced reasoning outputs that could be hard to read and even blend languages, the developers went back to the drawing board. They used the raw outputs from R1-Zero to produce "cold start" data and then manually curated these examples to filter and improve the quality of the thinking. This human post-processing was then used to fine-tune the original DeepSeek V3 design further-combining both reasoning-oriented support knowing and monitored fine-tuning. The result is DeepSeek R1: a model that now produces legible, pipewiki.org meaningful, and reputable reasoning while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable element of R1 (no) is how it established reasoning capabilities without specific guidance of the reasoning process. It can be further enhanced by using cold-start data and monitored support finding out to produce readable thinking on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting researchers and developers to examine and develop upon its innovations. Its expense effectiveness is a major selling point particularly when compared to closed-source designs (claimed 90% cheaper than OpenAI) that need huge compute budget plans.

Novel Training Approach:

Instead of relying solely on annotated reasoning (which is both costly and time-consuming), the model was trained using an outcome-based technique. It started with easily verifiable jobs, such as math problems and coding exercises, where the accuracy of the final response might be easily determined.

By utilizing group relative policy optimization, the training process compares numerous generated answers to figure out which ones fulfill the preferred output. This relative scoring system permits the model to discover "how to think" even when intermediate reasoning is generated in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 in some cases "overthinks" simple problems. For example, when asked "What is 1 +1?" it might spend almost 17 seconds examining different scenarios-even thinking about binary representations-before concluding with the appropriate response. This self-questioning and verification process, although it may seem ineffective in the beginning look, might prove helpful in intricate jobs where much deeper reasoning is needed.

Prompt Engineering:

Traditional few-shot prompting methods, which have actually worked well for numerous chat-based designs, can really deteriorate efficiency with R1. The designers advise utilizing direct issue statements with a zero-shot method that specifies the output format plainly. This guarantees that the design isn't led astray by extraneous examples or hints that might interfere with its internal thinking process.

Starting with R1

For those aiming to experiment:

Smaller variants (7B-8B) can work on consumer GPUs or even just CPUs


Larger variations (600B) need substantial compute resources


Available through significant cloud providers


Can be released in your area through Ollama or vLLM


Looking Ahead

We're particularly captivated by several implications:

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


Effect on agent-based AI systems generally developed on chat models


Possibilities for combining with other supervision techniques


Implications for enterprise AI implementation


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

Open Questions

How will this affect the development of future thinking models?


Can this technique be encompassed less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be viewing these developments carefully, especially as the neighborhood begins to try out and build on these techniques.

Resources

Join our Slack neighborhood for ongoing conversations and updates about DeepSeek and other AI advancements. We're seeing remarkable applications already emerging from our bootcamp individuals dealing with these models.

Chat with DeepSeek:


https://www.deepseek.com/

Papers:

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 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 emphasizes advanced reasoning and an unique training method that might be especially valuable in jobs where proven reasoning is critical.

Q2: Why did major companies like OpenAI choose supervised fine-tuning instead of reinforcement learning (RL) like DeepSeek?

A: We should keep in mind in advance that they do use RL at the minimum in the type of RLHF. It is really likely that designs from significant companies that have thinking abilities already use something similar to what DeepSeek has done here, but we can't make certain. It is also most likely that due to access to more resources, they preferred supervised fine-tuning due to its stability and the ready availability of big annotated datasets. Reinforcement knowing, although effective, can be less predictable and more difficult to manage. DeepSeek's technique innovates by applying RL in a reasoning-oriented manner, allowing the model to learn effective internal reasoning with only minimal procedure annotation - a strategy that has actually shown promising despite its complexity.

Q3: Did DeepSeek utilize test-time calculate techniques similar to those of OpenAI?

A: DeepSeek R1's design highlights efficiency by leveraging techniques such as the mixture-of-experts approach, which activates just a subset of criteria, to minimize calculate throughout inference. This concentrate on efficiency is main to its expense benefits.

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

A: R1-Zero is the preliminary design that discovers reasoning exclusively through reinforcement learning without specific procedure guidance. It creates intermediate reasoning actions that, while often raw or mixed in language, act as the foundation for knowing. DeepSeek R1, on the other hand, refines these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero provides the without supervision "trigger," and R1 is the polished, more meaningful variation.

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

A: Remaining current involves a combination of actively engaging with the research study community (like AISC - see link to sign up with slack above), following preprint servers like arXiv, attending pertinent conferences and webinars, and taking part in discussion groups and newsletters. Continuous engagement with online communities and collective research study tasks likewise plays an essential function in staying up to date with technical improvements.

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

A: The brief response is that it's prematurely to inform. DeepSeek R1's strength, nevertheless, lies in its robust reasoning abilities and its effectiveness. It is particularly well fit for jobs that require proven logic-such as mathematical problem solving, code generation, trademarketclassifieds.com and structured decision-making-where intermediate reasoning can be examined and confirmed. Its open-source nature further enables tailored applications in research and business settings.

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

A: The open-source and cost-effective style of DeepSeek R1 reduces the entry barrier for releasing sophisticated language designs. Enterprises and start-ups can take advantage of its advanced reasoning for agentic applications ranging from automated code generation and customer support to information analysis. Its flexible implementation options-on customer hardware for smaller sized designs or cloud platforms for bigger ones-make it an appealing alternative to exclusive solutions.

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

A: While DeepSeek R1 has been observed to "overthink" basic issues by exploring multiple thinking paths, it incorporates stopping criteria and assessment mechanisms to prevent infinite loops. The reinforcement discovering framework encourages merging towards a proven output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and worked as the structure for later iterations. It is constructed 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 performance and expense reduction, setting the stage for the reasoning developments seen in R1.

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

A: DeepSeek R1 is a text-based design and does not integrate vision capabilities. Its design and training focus entirely on language processing and thinking.

Q11: Can professionals in specialized fields (for instance, labs dealing with remedies) use these methods to train domain-specific models?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based reasoning training and efficient architecture-can be adapted to numerous domains. Researchers in fields like biomedical sciences can tailor 89u89.com these methods to build models that resolve their particular obstacles while gaining from lower compute costs and robust thinking capabilities. It is likely that in deeply specialized fields, however, there will still be a need for supervised fine-tuning to get trusted outcomes.

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

A: The conversation indicated that the annotators mainly focused on domains where correctness is quickly verifiable-such as mathematics and coding. This recommends that know-how in technical fields was certainly leveraged to ensure the precision and clearness of the thinking information.

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

A: While the model is created to enhance for right responses through reinforcement learning, there is always a risk of errors-especially in uncertain scenarios. However, by examining multiple candidate outputs and strengthening those that lead to proven outcomes, the training process reduces the probability of propagating inaccurate thinking.

Q14: How are hallucinations lessened in the model provided its iterative thinking loops?

A: Making use of rule-based, proven jobs (such as math and coding) assists anchor the design's reasoning. By comparing multiple outputs and using group relative policy optimization to strengthen only those that yield the right result, the design is guided far from creating unproven or hallucinated details.

Q15: Does the model depend on complex vector mathematics?

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

Q16: Some stress that the design's "thinking" might not be as improved as human thinking. Is that a valid concern?

A: Early iterations like R1-Zero did produce raw and often hard-to-read thinking. However, the subsequent refinement process-where human professionals curated and enhanced the reasoning data-has substantially boosted the clearness and dependability of DeepSeek R1's internal thought procedure. While it remains a developing system, iterative training and feedback have actually resulted in significant improvements.

Q17: Which design variations appropriate for local implementation on a laptop with 32GB of RAM?

A: systemcheck-wiki.de For local screening, a medium-sized model-typically in the variety of 7B to 8B parameters-is advised. Larger models (for example, those with hundreds of billions of criteria) need considerably more computational resources and setiathome.berkeley.edu are much better matched for cloud-based implementation.

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

A: DeepSeek R1 is provided with open weights, indicating that its design criteria are openly available. This lines up with the total open-source philosophy, permitting researchers and designers to further check out and build on its developments.

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

A: The existing approach permits the design to initially check out and create its own reasoning patterns through unsupervised RL, and then improve these patterns with supervised methods. Reversing the order might constrain the design's ability to discover diverse thinking courses, possibly limiting its general efficiency in jobs that gain from self-governing idea.

Thanks for reading Deep Random Thoughts! Subscribe totally free to get brand-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: ingethorby815/chkkv#1