Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
J
jobcheckinn
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 8
    • Issues 8
    • 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
  • Earlene Eagar
  • jobcheckinn
  • Issues
  • #8

Closed
Open
Opened Feb 20, 2025 by Earlene Eagar@earlenesab7792
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


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

The DeepSeek Ancestral Tree: From V3 to R1

DeepSeek isn't simply a single design; it's a household of significantly advanced AI systems. The evolution goes something like this:

DeepSeek V2:

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

DeepSeek V3:

This model presented FP8 training techniques, which assisted drive down training expenses by over 42.5% compared to previous models. FP8 is a less accurate way to keep weights inside the LLMs but can significantly improve the memory footprint. However, training utilizing FP8 can normally be unstable, and it is tough to obtain the desired training results. Nevertheless, DeepSeek utilizes numerous tricks and attains extremely steady FP8 training. V3 set the phase as a highly effective model that was currently affordable (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 first reasoning-focused model. Here, the focus was on teaching the design not just to create answers but to "believe" before responding to. Using pure reinforcement knowing, the model was motivated to create intermediate thinking steps, for example, taking extra time (frequently 17+ seconds) to work through an easy issue like "1 +1."

The crucial development here was using group relative policy optimization (GROP). Instead of counting on a conventional process reward model (which would have needed annotating every action of the reasoning), GROP compares multiple outputs from the model. By sampling numerous possible responses and scoring them (using rule-based measures like exact match for math or validating code outputs), the system finds out to prefer thinking that causes the appropriate outcome without the need for explicit guidance of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's not being watched method produced thinking outputs that could be difficult to read or even blend languages, the designers returned to the drawing board. They utilized the raw outputs from R1-Zero to create "cold start" data and then manually 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 model further-combining both reasoning-oriented reinforcement learning and monitored fine-tuning. The outcome is DeepSeek R1: a design that now produces legible, coherent, and trusted thinking while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating aspect of R1 (no) is how it developed reasoning capabilities without explicit guidance of the reasoning procedure. It can be further improved by utilizing cold-start data and monitored support discovering to produce legible reasoning on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting researchers and developers to examine and build on its innovations. Its cost efficiency is a significant selling point specifically when compared to closed-source models (claimed 90% less expensive than OpenAI) that require enormous compute budgets.

Novel Training Approach:

Instead of relying exclusively on annotated reasoning (which is both costly and time-consuming), the model was trained utilizing an outcome-based approach. It began with easily verifiable tasks, such as mathematics issues and coding workouts, where the accuracy of the last response might be easily measured.

By utilizing group relative policy optimization, the training process compares multiple produced answers to figure out which ones satisfy the preferred output. This relative scoring mechanism permits the model to find out "how to think" even when intermediate reasoning is created in a freestyle way.

Overthinking?

A fascinating observation is that DeepSeek R1 in some cases "overthinks" easy problems. For example, setiathome.berkeley.edu when asked "What is 1 +1?" it may invest nearly 17 seconds evaluating various scenarios-even considering binary representations-before concluding with the proper answer. This self-questioning and confirmation procedure, although it may appear inefficient in the beginning glimpse, might show beneficial in complex jobs where much deeper thinking is needed.

Prompt Engineering:

Traditional few-shot prompting strategies, which have actually worked well for lots of chat-based designs, can actually break down efficiency with R1. The developers suggest utilizing direct issue declarations with a zero-shot approach that specifies the output format plainly. This ensures that the design isn't led astray by extraneous examples or hints that may disrupt its internal reasoning procedure.

Getting Started with R1

For those aiming to experiment:

Smaller variants (7B-8B) can work on customer GPUs or perhaps only CPUs


Larger versions (600B) need significant compute resources


Available through significant cloud companies


Can be released locally through Ollama or forum.pinoo.com.tr vLLM


Looking Ahead

We're particularly intrigued by a number of implications:

The potential for this technique to be used to other thinking domains


Effect on agent-based AI systems traditionally constructed on chat designs


Possibilities for integrating with other guidance methods


Implications for enterprise AI release


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

Open Questions

How will this affect the development of future thinking designs?


Can this method be extended to less proven domains?


What are the implications for multi-modal AI systems?


We'll be seeing these developments closely, particularly as the community starts to try out and develop upon these techniques.

Resources

Join our Slack community for ongoing conversations and updates about DeepSeek and other AI developments. We're seeing interesting 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: larsaluarna.se While Qwen2.5 is also a strong model in the open-source neighborhood, the option eventually depends on your usage case. DeepSeek R1 highlights advanced thinking and an unique training method that may be specifically valuable in jobs where proven logic is important.

Q2: Why did significant companies like OpenAI go with monitored fine-tuning instead of support knowing (RL) like DeepSeek?

A: We must keep in mind upfront that they do utilize RL at the minimum in the form of RLHF. It is very likely that designs from significant suppliers that have reasoning abilities already use something comparable to what DeepSeek has actually done here, but we can't make certain. It is also likely that due to access to more resources, they preferred supervised fine-tuning due to its stability and the all set availability of large annotated datasets. Reinforcement knowing, although effective, can be less foreseeable and harder to manage. DeepSeek's method innovates by applying RL in a reasoning-oriented way, making it possible for the model to discover reliable internal thinking with only very little procedure annotation - a technique that has proven promising in spite of its complexity.

Q3: Did DeepSeek utilize test-time compute strategies similar to those of OpenAI?

A: DeepSeek R1's design highlights performance by leveraging techniques such as the mixture-of-experts method, which activates just a subset of criteria, to minimize compute throughout inference. This concentrate on performance is main to its cost advantages.

Q4: What is the distinction in between R1-Zero and R1?

A: R1-Zero is the initial model that finds out thinking solely through reinforcement knowing without explicit process supervision. It generates intermediate thinking steps that, while in some cases raw or combined in language, function 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 sleek, more meaningful version.

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

A: Remaining existing involves a combination of actively engaging with the research study neighborhood (like AISC - see link to sign up with slack above), following preprint servers like arXiv, participating in appropriate conferences and webinars, and taking part in discussion groups and newsletters. Continuous engagement with online neighborhoods and collaborative research projects likewise plays a crucial function in staying up to date with technical improvements.

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

A: The short answer is that it's prematurely to tell. DeepSeek R1's strength, however, depends on its robust thinking abilities and its efficiency. It is especially well matched for tasks that require verifiable logic-such as mathematical problem fixing, code generation, and structured decision-making-where intermediate thinking can be reviewed and verified. Its open-source nature further enables tailored applications in research study and business settings.

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

A: The open-source and cost-effective design of DeepSeek R1 lowers the entry barrier for deploying advanced language models. Enterprises and start-ups can take advantage of its sophisticated reasoning for agentic applications varying from automated code generation and customer support to data analysis. Its flexible implementation options-on consumer hardware for smaller designs or cloud platforms for bigger ones-make it an attractive option to proprietary 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 issues by exploring numerous reasoning paths, it integrates stopping criteria and assessment systems to avoid boundless loops. The reinforcement finding out structure motivates merging towards a proven output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and served as the foundation for later iterations. 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 style emphasizes efficiency and expense reduction, setting the phase for the thinking innovations seen in R1.

Q10: How does DeepSeek R1 perform on vision tasks?

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

Q11: Can professionals in specialized fields (for example, laboratories dealing with remedies) apply these methods to train domain-specific models?

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

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

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

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

A: While the design is developed to enhance for appropriate answers through reinforcement knowing, there is always a danger of errors-especially in uncertain situations. However, by examining multiple candidate outputs and reinforcing those that cause proven results, the training process minimizes the possibility of propagating incorrect thinking.

Q14: How are hallucinations reduced in the model given its iterative thinking loops?

A: The use of rule-based, verifiable tasks (such as math and coding) helps anchor the design's thinking. By comparing numerous outputs and using group relative policy optimization to reinforce only those that yield the appropriate outcome, the model is assisted far from generating unfounded or hallucinated details.

Q15: Does the design rely on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are integral to the implementation of mixture-of-experts and attention mechanisms in DeepSeek R1. However, the main focus is on utilizing these strategies to allow effective reasoning rather than showcasing mathematical intricacy for its own sake.

Q16: Some fret that the design's "thinking" might not be as refined as human thinking. Is that a legitimate issue?

A: Early versions like R1-Zero did produce raw and in some cases hard-to-read thinking. However, the subsequent refinement process-where human professionals curated and enhanced the reasoning data-has considerably enhanced the clarity and reliability of DeepSeek R1's internal thought process. While it remains an evolving system, iterative training and feedback have led to meaningful improvements.

Q17: Which model versions appropriate for regional deployment on a laptop with 32GB of RAM?

A: For regional screening, a medium-sized model-typically in the variety of 7B to 8B parameters-is recommended. Larger designs (for example, those with hundreds of billions of parameters) need significantly more computational resources and are much better matched for cloud-based deployment.

Q18: Is DeepSeek R1 "open source" or does it provide just open weights?

A: DeepSeek R1 is offered with open weights, meaning that its model parameters are publicly available. This lines up with the total open-source approach, enabling scientists and designers to additional explore and build on its innovations.

Q19: What would happen if the order of training were reversed-starting with monitored fine-tuning before unsupervised support knowing?

A: The technique permits the design to initially check out and create its own thinking patterns through not being watched RL, and after that fine-tune these patterns with monitored approaches. Reversing the order might constrain the model's ability to find varied reasoning courses, potentially limiting its general performance in jobs that gain from self-governing 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
No due date
0
Labels
None
Assign labels
  • View project labels
Reference: earlenesab7792/jobcheckinn#8