Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
P
ptube
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 93
    • Issues 93
    • 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
  • Adolfo Whitlow
  • ptube
  • Issues
  • #88

Closed
Open
Opened Jun 01, 2025 by Adolfo Whitlow@adolfowhitlow
  • 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 development of the DeepSeek family - from the early designs through DeepSeek V3 to the development R1. We also 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 household 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 professionals are used at reasoning, dramatically improving the processing time for each token. It also included multi-head hidden attention to reduce memory footprint.

DeepSeek V3:

This design introduced FP8 training techniques, which helped drive down training costs by over 42.5% compared to previous models. FP8 is a less precise way to keep weights inside the LLMs however can considerably enhance the memory . However, training using FP8 can normally be unsteady, and it is hard to obtain the desired training outcomes. Nevertheless, DeepSeek utilizes numerous tricks and attains extremely steady FP8 training. V3 set the stage as a highly efficient model that was currently cost-efficient (with claims of being 90% less expensive than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the team then presented R1-Zero, the very first reasoning-focused version. Here, the focus was on teaching the design not simply to create answers but to "believe" before addressing. Using pure reinforcement knowing, the model was encouraged to generate intermediate thinking steps, for example, taking extra time (typically 17+ seconds) to resolve a simple problem like "1 +1."

The crucial development here was using group relative policy optimization (GROP). Instead of relying on a traditional process reward model (which would have needed annotating every step of the reasoning), GROP compares multiple outputs from the model. By tasting numerous prospective responses and scoring them (utilizing rule-based procedures like specific match for mathematics or verifying code outputs), the system learns to favor reasoning that leads to the proper outcome without the need for specific supervision of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's without supervision method produced reasoning outputs that might be hard to read and even mix languages, the designers returned to the drawing board. They utilized the raw outputs from R1-Zero to create "cold start" data and after that by hand curated these examples to filter and wiki.dulovic.tech improve the quality of the thinking. This human post-processing was then used to fine-tune the initial DeepSeek V3 design further-combining both reasoning-oriented support learning and monitored fine-tuning. The result is DeepSeek R1: a design that now produces understandable, coherent, and trustworthy reasoning while still maintaining the performance and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable element of R1 (absolutely no) is how it developed reasoning capabilities without specific guidance of the reasoning process. It can be further enhanced by utilizing cold-start data and supervised support discovering to produce understandable reasoning on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting scientists and designers to check and construct upon its innovations. Its cost efficiency is a significant selling point specifically when compared to closed-source models (claimed 90% more affordable than OpenAI) that need huge compute budgets.

Novel Training Approach:

Instead of relying solely on annotated reasoning (which is both pricey and lengthy), the model was trained utilizing an outcome-based approach. It began with easily proven tasks, such as math problems and coding exercises, where the accuracy of the final response could be easily measured.

By utilizing group relative policy optimization, the training procedure compares multiple produced answers to identify which ones meet the desired output. This relative scoring mechanism allows the model to learn "how to believe" even when intermediate reasoning is generated in a freestyle manner.

Overthinking?

An interesting observation is that DeepSeek R1 sometimes "overthinks" basic issues. For example, when asked "What is 1 +1?" it might invest almost 17 seconds evaluating various scenarios-even thinking about binary representations-before concluding with the proper response. This self-questioning and confirmation procedure, although it might seem inefficient at very first glance, might show helpful in complicated jobs where much deeper reasoning is necessary.

Prompt Engineering:

Traditional few-shot prompting techniques, which have worked well for lots of chat-based designs, can in fact degrade efficiency with R1. The designers advise using direct problem declarations with a zero-shot method that specifies the output format plainly. This makes sure that the model isn't led astray by extraneous examples or hints that might disrupt its internal reasoning procedure.

Beginning with R1

For those aiming to experiment:

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


Larger variations (600B) require considerable compute resources


Available through significant cloud service providers


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


Looking Ahead

We're especially fascinated by numerous implications:

The capacity for this approach to be used to other thinking domains


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


Possibilities for integrating with other supervision methods


Implications for enterprise AI deployment


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

Open Questions

How will this affect the advancement of future thinking designs?


Can this approach be reached less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be enjoying these developments closely, bytes-the-dust.com particularly as the community begins to explore and build upon these methods.

Resources

Join our Slack community for continuous conversations and updates about DeepSeek and other AI developments. We're seeing remarkable applications already emerging from our bootcamp individuals working 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 model should have more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong model in the open-source community, the choice eventually depends on your use case. DeepSeek R1 emphasizes innovative reasoning and an unique training approach that might be particularly valuable in jobs where proven reasoning is important.

Q2: Why did major trademarketclassifieds.com companies like OpenAI select monitored fine-tuning instead of support knowing (RL) like DeepSeek?

A: We must keep in mind in advance that they do use RL at least in the type of RLHF. It is likely that models from significant service providers that have reasoning abilities already utilize something comparable to what DeepSeek has done here, however we can't make certain. It is also most likely that due to access to more resources, they favored monitored fine-tuning due to its stability and the prepared availability of large annotated datasets. Reinforcement learning, although powerful, can be less predictable and more difficult to manage. 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 strategy that has actually shown appealing regardless of its complexity.

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

A: DeepSeek R1's design stresses performance by leveraging methods such as the mixture-of-experts technique, which triggers just a subset of specifications, to decrease compute during reasoning. This focus on performance is main to its cost advantages.

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

A: R1-Zero is the initial model that learns thinking solely through reinforcement learning without specific procedure supervision. It creates intermediate thinking actions that, while often raw or combined in language, serve as the structure for learning. DeepSeek R1, on the other hand, fine-tunes these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero supplies the not being watched "spark," and R1 is the sleek, more coherent variation.

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

A: Remaining current 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, attending pertinent conferences and webinars, and taking part in discussion groups and newsletters. Continuous engagement with online neighborhoods and collaborative research study projects also plays an essential function in keeping up with technical developments.

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

A: The short answer is that it's prematurely to inform. DeepSeek R1's strength, nevertheless, lies in its robust reasoning capabilities and its effectiveness. It is particularly well fit for jobs that need proven logic-such as mathematical issue solving, code generation, and structured decision-making-where intermediate thinking can be evaluated and validated. Its open-source nature further allows for tailored applications in research study and enterprise settings.

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

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

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

A: While DeepSeek R1 has been observed to "overthink" simple problems by checking out several thinking courses, it incorporates stopping requirements and assessment mechanisms to prevent limitless loops. The reinforcement finding out framework encourages merging towards a verifiable 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 worked as the foundation for later versions. It is constructed 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 stresses performance and expense reduction, setting the stage for the thinking developments 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 solely on language processing and thinking.

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

A: Yes. The innovations behind DeepSeek R1-such as its outcome-based thinking training and effective architecture-can be adjusted to numerous domains. Researchers in fields like biomedical sciences can tailor these methods to construct models that resolve their specific challenges while gaining from lower compute costs and robust reasoning capabilities. It is most likely that in deeply specialized fields, however, there will still be a need for monitored fine-tuning to get trusted results.

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

A: The discussion suggested that the annotators mainly concentrated on domains where correctness is quickly verifiable-such as mathematics and coding. This recommends that expertise in technical fields was certainly leveraged to make sure the accuracy and clearness of the reasoning information.

Q13: systemcheck-wiki.de Could the design get things incorrect if it counts on its own outputs for learning?

A: While the model is developed to optimize for proper responses by means of support learning, there is constantly a risk of errors-especially in uncertain situations. However, by examining several candidate outputs and strengthening those that cause proven results, the training procedure minimizes the likelihood of propagating inaccurate reasoning.

Q14: How are hallucinations reduced in the model provided 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 using group relative policy optimization to enhance only those that yield the appropriate outcome, the model is guided away from creating 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 allow effective thinking rather than showcasing mathematical complexity for its own sake.

Q16: Some worry that the design's "thinking" might not be as fine-tuned as human reasoning. Is that a legitimate issue?

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

Q17: Which model variations appropriate for local release on a laptop computer with 32GB of RAM?

A: For regional screening, a medium-sized model-typically in the series of 7B to 8B parameters-is advised. Larger models (for instance, those with hundreds of billions of specifications) require significantly more computational resources and are much better matched for cloud-based release.

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

A: DeepSeek R1 is provided with open weights, indicating that its model criteria are publicly available. This lines up with the total open-source philosophy, allowing researchers and designers to additional explore and construct upon its innovations.

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

A: The existing method permits the model to first explore and create its own reasoning patterns through without supervision RL, and archmageriseswiki.com then refine these patterns with monitored methods. Reversing the order might constrain the model's capability to discover diverse thinking paths, potentially limiting its general performance in jobs that gain from self-governing idea.

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: adolfowhitlow/ptube#88