Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
V
videochatforum
  • 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
  • Gia Nunn
  • videochatforum
  • Issues
  • #1

Closed
Open
Opened Feb 26, 2025 by Gia Nunn@giackm9033154
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We've 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 advancement of the DeepSeek family - from the early models through DeepSeek V3 to the development R1. We likewise checked out the technical innovations that make R1 so unique on the planet of open-source AI.

The DeepSeek Family Tree: From V3 to R1

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

DeepSeek V2:

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

DeepSeek V3:

This design introduced FP8 training methods, which assisted drive down training expenses by over 42.5% compared to previous versions. FP8 is a less exact method to store weights inside the LLMs however can considerably enhance the memory footprint. However, training using FP8 can usually be unstable, and it is difficult to obtain the wanted training outcomes. Nevertheless, DeepSeek utilizes multiple techniques and attains remarkably stable FP8 training. V3 set the stage as an extremely efficient design that was already affordable (with claims of being 90% cheaper than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the group then presented R1-Zero, the very first reasoning-focused model. Here, the focus was on teaching the design not simply to produce answers however to "think" before answering. Using pure reinforcement knowing, the model was motivated to create intermediate reasoning actions, for example, taking extra time (frequently 17+ seconds) to overcome an easy issue like "1 +1."

The crucial innovation here was the usage of group relative policy optimization (GROP). Instead of relying on a conventional procedure reward model (which would have required annotating every action of the thinking), GROP compares numerous outputs from the design. By tasting numerous possible responses and scoring them (utilizing rule-based procedures like precise match for math or validating code outputs), the system discovers to prefer reasoning that results in the proper outcome without the need for explicit guidance of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised method produced reasoning outputs that might be difficult to read or perhaps mix languages, the designers returned to the drawing board. They used the raw outputs from R1-Zero to generate "cold start" data and then by hand curated these examples to filter and improve the quality of the reasoning. This human post-processing was then utilized to fine-tune the original DeepSeek V3 model further-combining both reasoning-oriented support knowing and supervised fine-tuning. The outcome is DeepSeek R1: a design that now produces legible, coherent, and reliable thinking while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating aspect of R1 (no) is how it developed thinking abilities without explicit guidance of the thinking process. It can be even more enhanced by utilizing cold-start data and supervised support learning to produce legible thinking on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling researchers and developers to check and build on its innovations. Its expense effectiveness is a significant selling point especially when compared to closed-source models (claimed 90% more affordable than OpenAI) that require enormous compute budgets.

Novel Training Approach:

Instead of relying entirely on annotated reasoning (which is both costly and time-consuming), the design was trained utilizing an outcome-based method. It started with easily proven jobs, such as mathematics problems and coding workouts, where the accuracy of the final response could be easily determined.

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

Overthinking?

An interesting observation is that DeepSeek R1 sometimes "overthinks" basic problems. For instance, when asked "What is 1 +1?" it may invest almost 17 seconds evaluating different scenarios-even considering binary representations-before concluding with the appropriate response. This self-questioning and verification procedure, although it might seem ineffective in the beginning glance, could prove advantageous in complicated tasks where much deeper reasoning is essential.

Prompt Engineering:

Traditional few-shot prompting techniques, which have worked well for numerous chat-based models, can really degrade performance with R1. The developers advise using direct issue statements with a zero-shot technique that specifies the output format plainly. This makes sure that the design isn't led astray by extraneous examples or hints that may disrupt its internal reasoning procedure.

Starting with R1

For those aiming to experiment:

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


Larger versions (600B) require substantial calculate resources


Available through major cloud service providers


Can be in your area via Ollama or vLLM


Looking Ahead

We're particularly intrigued by a number of implications:

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


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


Possibilities for integrating with other supervision methods


Implications for business AI deployment


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

Open Questions

How will this affect the advancement of future reasoning models?


Can this approach be extended to less verifiable domains?


What are the ramifications for multi-modal AI systems?


We'll be seeing these advancements carefully, especially as the neighborhood starts to try out and build on these strategies.

Resources

Join our Slack neighborhood for ongoing discussions and updates about DeepSeek and other AI advancements. We're seeing remarkable applications currently emerging from our bootcamp participants 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 brief summary


Cloud Providers:

Nvidia


Together.ai


AWS




Q&A

Q1: Which design should have more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong model in the open-source neighborhood, the option eventually depends on your usage case. DeepSeek R1 stresses advanced reasoning and a novel training method that may be especially important in jobs where verifiable reasoning is crucial.

Q2: Why did major engel-und-waisen.de service providers like OpenAI select monitored fine-tuning instead of support knowing (RL) like DeepSeek?

A: We need to note upfront that they do use RL at the minimum in the type of RLHF. It is most likely that designs from significant suppliers that have thinking abilities currently use something similar to what DeepSeek has done here, however we can't make certain. It is also 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 knowing, although effective, can be less foreseeable and harder to control. DeepSeek's method innovates by using RL in a reasoning-oriented way, enabling the design to find out effective internal reasoning with only minimal process annotation - a technique that has proven appealing in spite of its complexity.

Q3: Did DeepSeek use test-time compute strategies comparable to those of OpenAI?

A: DeepSeek R1's style emphasizes effectiveness by leveraging techniques such as the mixture-of-experts technique, which triggers only a subset of parameters, to lower calculate throughout reasoning. This concentrate on effectiveness is main to its cost benefits.

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

A: R1-Zero is the initial model that learns reasoning solely through support learning without explicit procedure supervision. It generates intermediate thinking steps that, while often raw or mixed in language, serve as the structure for learning. DeepSeek R1, on the other hand, refines these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero provides the unsupervised "spark," and R1 is the sleek, more meaningful version.

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

A: Remaining existing involves a mix of actively engaging with the research community (like AISC - see link to join slack above), following preprint servers like arXiv, going to appropriate conferences and webinars, and participating in conversation groups and newsletters. Continuous engagement with online communities and collective research study projects likewise plays a crucial function in keeping up with technical improvements.

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

A: The brief answer is that it's too early to inform. DeepSeek R1's strength, however, depends on its robust reasoning abilities and its performance. 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 validated. Its open-source nature even more permits tailored applications in research study and business settings.

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

A: The open-source and cost-effective design of DeepSeek R1 lowers the entry barrier for deploying advanced language designs. Enterprises and start-ups can leverage its innovative thinking for agentic applications varying from automated code generation and client assistance to data analysis. Its flexible deployment options-on consumer hardware for smaller sized models or cloud platforms for larger ones-make it an appealing alternative to exclusive services.

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

A: While DeepSeek R1 has actually been observed to "overthink" simple problems by exploring several thinking paths, it incorporates stopping criteria and evaluation systems to avoid limitless loops. The support discovering framework encourages convergence toward 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 developed on its own set of innovations-including the mixture-of-experts method and FP8 training-and is not based upon the Qwen architecture. Its design emphasizes effectiveness and expense decrease, setting the stage for the thinking innovations seen in R1.

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

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

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

A: disgaeawiki.info Yes. The innovations behind DeepSeek R1-such as its outcome-based reasoning training and efficient architecture-can be adapted to different domains. Researchers in fields like biomedical sciences can tailor these methods to develop designs that resolve their particular obstacles 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 monitored fine-tuning to get trusted outcomes.

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

A: The conversation suggested that the annotators mainly concentrated on domains where correctness is quickly verifiable-such as math and coding. This suggests that expertise in technical fields was certainly leveraged to ensure the precision and clearness of the reasoning information.

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

A: While the model is developed to enhance for appropriate answers by means of support knowing, there is constantly a risk of errors-especially in uncertain situations. However, by examining several candidate outputs and strengthening those that lead to proven results, the training procedure decreases the likelihood of propagating inaccurate thinking.

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

A: Making use of rule-based, proven tasks (such as math and coding) assists anchor the design's thinking. By comparing multiple outputs and using group relative policy optimization to reinforce just those that yield the right result, the design is guided far from generating unfounded or hallucinated details.

Q15: Does the model rely on complex vector mathematics?

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

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

A: Early models like R1-Zero did produce raw and sometimes hard-to-read thinking. However, the subsequent refinement process-where human specialists curated and improved the reasoning data-has significantly improved the clearness and reliability of DeepSeek R1's internal idea procedure. While it remains a progressing system, iterative training and feedback have actually resulted in significant improvements.

Q17: Which model versions appropriate for regional deployment on a laptop 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 hundreds of billions of parameters) require significantly more computational resources and are much better fit for cloud-based deployment.

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

A: DeepSeek R1 is provided with open weights, implying that its model parameters are publicly available. This aligns with the overall open-source philosophy, allowing scientists and developers to additional explore and build upon its innovations.

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

A: The current approach allows the design to initially explore and generate its own thinking patterns through unsupervised RL, and then fine-tune these patterns with supervised methods. Reversing the order may constrain the model's capability to find diverse reasoning courses, potentially limiting its overall efficiency in jobs that gain from self-governing idea.

Thanks for checking out Deep Random Thoughts! Subscribe for totally free to get 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: giackm9033154/videochatforum#1