Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in / Register
D
dubaijobzone
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 12
    • Issues 12
    • 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
  • Alfredo Costa
  • dubaijobzone
  • Issues
  • #12

Closed
Open
Opened Jun 01, 2025 by Alfredo Costa@alfredoi60243
  • 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 household - from the early models through DeepSeek V3 to the development R1. We also checked out the technical innovations that make R1 so special worldwide of open-source AI.

The DeepSeek Ancestral Tree: From V3 to R1

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

DeepSeek V2:

This was the structure design which leveraged a mixture-of-experts architecture, where only a subset of experts are utilized at reasoning, considerably improving the processing time for each token. It likewise included multi-head latent attention to reduce memory footprint.

DeepSeek V3:

This model presented FP8 training techniques, which helped drive down training costs by over 42.5% compared to previous models. FP8 is a less exact method to keep weights inside the LLMs however can greatly enhance the memory footprint. However, training using FP8 can usually be unstable, and it is tough to obtain the desired training outcomes. Nevertheless, DeepSeek utilizes multiple tricks and attains remarkably steady FP8 training. V3 set the phase as an extremely effective model that was currently cost-efficient (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 simply to generate answers but to "think" before addressing. Using pure reinforcement learning, the design was encouraged to generate intermediate reasoning steps, for instance, taking extra time (frequently 17+ seconds) to resolve a simple issue like "1 +1."

The crucial innovation here was using group relative policy optimization (GROP). Instead of relying on a standard process reward model (which would have needed annotating every action of the reasoning), GROP compares several outputs from the design. By tasting several possible answers and scoring them (utilizing rule-based steps like exact match for mathematics or validating code outputs), the system discovers to prefer reasoning that causes the appropriate outcome without the requirement for specific guidance of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised method produced reasoning outputs that could be tough to read or even blend languages, the designers went back to the drawing board. They used the raw outputs from R1-Zero to create "cold start" data and then manually curated these examples to filter and improve the quality of the reasoning. This human post-processing was then utilized to fine-tune the initial DeepSeek V3 design further-combining both reasoning-oriented reinforcement learning and supervised fine-tuning. The outcome is DeepSeek R1: a model that now produces legible, meaningful, and trusted reasoning while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable aspect of R1 (zero) is how it established reasoning abilities without explicit supervision of the thinking procedure. It can be further improved by utilizing cold-start information and monitored support finding out to produce understandable thinking on basic jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing researchers and developers to examine and build on its developments. Its cost performance is a major selling point specifically when compared to closed-source designs (claimed 90% less expensive than OpenAI) that require massive compute budgets.

Novel Training Approach:

Instead of relying exclusively on annotated thinking (which is both pricey and lengthy), the model was trained using an outcome-based approach. It began with easily verifiable jobs, such as mathematics issues and coding exercises, where the correctness of the final answer could be quickly measured.

By utilizing group relative policy optimization, the training process compares numerous produced responses to determine which ones satisfy the preferred output. This relative scoring mechanism enables the model to discover "how to believe" even when intermediate reasoning is generated in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 sometimes "overthinks" easy issues. For example, when asked "What is 1 +1?" it may spend almost 17 seconds examining various scenarios-even considering binary representations-before concluding with the correct response. This self-questioning and verification process, although it may seem inefficient in the beginning glimpse, might prove useful in intricate tasks where much deeper thinking is essential.

Prompt Engineering:

Traditional few-shot triggering methods, which have worked well for numerous chat-based models, can really deteriorate efficiency with R1. The developers advise using direct issue statements with a zero-shot approach that defines the output format plainly. This makes sure that the design isn't led astray by extraneous examples or hints that might interfere with its internal thinking process.

Getting Going with R1

For those aiming to experiment:

Smaller variants (7B-8B) can operate on consumer GPUs or perhaps only CPUs


Larger variations (600B) need substantial compute resources


Available through major cloud providers


Can be released locally via Ollama or vLLM


Looking Ahead

We're particularly fascinated by numerous implications:

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


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


Possibilities for integrating with other guidance techniques


Implications for business AI release


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

Open Questions

How will this affect the advancement of future reasoning designs?


Can this technique be encompassed less proven domains?


What are the implications for multi-modal AI systems?


We'll be watching these developments carefully, particularly as the neighborhood starts to try out and build on these techniques.

Resources

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


Cloud Providers:

Nvidia


Together.ai


AWS




Q&A

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

A: While Qwen2.5 is likewise a strong model in the open-source community, the option ultimately depends upon your usage case. DeepSeek R1 emphasizes innovative thinking and an unique training method that may be specifically important in jobs where verifiable logic is vital.

Q2: Why did significant suppliers like OpenAI choose supervised fine-tuning rather than reinforcement learning (RL) like DeepSeek?

A: We need to keep in that they do use RL at the very least in the type of RLHF. It is highly likely that models from major suppliers that have reasoning capabilities currently use something similar 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 monitored fine-tuning due to its stability and the all set availability of large annotated datasets. Reinforcement knowing, although powerful, can be less predictable and more difficult to manage. DeepSeek's approach innovates by using RL in a reasoning-oriented way, making it possible for the model to find out reliable internal thinking with only minimal process annotation - a strategy that has proven appealing despite its intricacy.

Q3: Did DeepSeek use test-time calculate methods similar to those of OpenAI?

A: DeepSeek R1's style emphasizes performance by leveraging techniques such as the mixture-of-experts approach, which triggers just a subset of specifications, to lower compute throughout reasoning. This focus on performance is main to its expense benefits.

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

A: R1-Zero is the preliminary model that discovers reasoning solely through reinforcement knowing without specific process supervision. It creates intermediate reasoning actions that, while sometimes raw or blended in language, act as the foundation 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 without supervision "trigger," and R1 is the sleek, more coherent version.

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

A: Remaining present involves a mix 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 pertinent conferences and webinars, and getting involved in conversation groups and newsletters. Continuous engagement with online neighborhoods and collaborative research projects likewise plays a crucial function in staying up to date with technical advancements.

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

A: The brief answer is that it's prematurely to inform. DeepSeek R1's strength, however, depends on its robust thinking abilities and its performance. It is particularly well fit for jobs that need verifiable logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate thinking can be evaluated and verified. Its open-source nature even more permits for 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-efficient design of DeepSeek R1 lowers the entry barrier for releasing sophisticated language designs. Enterprises and start-ups can leverage its sophisticated reasoning for agentic applications varying from automated code generation and customer support to information analysis. Its flexible deployment options-on customer hardware for smaller sized models or cloud platforms for bigger ones-make it an appealing option to exclusive services.

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

A: While DeepSeek R1 has actually been observed to "overthink" basic problems by exploring several reasoning paths, it incorporates stopping requirements and evaluation mechanisms to avoid boundless loops. The support finding out framework motivates convergence toward a verifiable output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and functioned as the foundation for later models. 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 effectiveness and cost reduction, setting the stage for the thinking developments seen in R1.

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

A: DeepSeek R1 is a text-based model and does not incorporate vision abilities. Its style and training focus solely on language processing and thinking.

Q11: Can professionals in specialized fields (for oeclub.org instance, laboratories working on remedies) use these approaches to train domain-specific models?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based thinking training and efficient architecture-can be adjusted to various domains. Researchers in fields like biomedical sciences can tailor these techniques to construct models that address their particular challenges while gaining from lower calculate expenses and robust reasoning abilities. It is likely that in deeply specialized fields, however, there will still be a requirement for monitored fine-tuning to get trustworthy outcomes.

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

A: The conversation showed 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 accuracy and clearness of the reasoning data.

Q13: Could the design get things incorrect if it counts on its own outputs for learning?

A: While the model is designed to enhance for correct responses through reinforcement knowing, there is always a threat of errors-especially in uncertain scenarios. However, by examining numerous prospect outputs and strengthening those that result in verifiable results, the training procedure decreases the likelihood of propagating incorrect reasoning.

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

A: Making use of rule-based, proven jobs (such as math and coding) helps anchor the design's reasoning. By comparing multiple outputs and using group relative policy optimization to reinforce only those that yield the right result, the model is assisted away from producing 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 implementation of mixture-of-experts and attention systems in DeepSeek R1. However, the main focus is on using these techniques to enable efficient reasoning instead of showcasing mathematical intricacy for its own sake.

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

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

Q17: Which design variations are ideal for local deployment on a laptop computer 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 numerous billions of specifications) require substantially more computational resources and are much better suited for cloud-based implementation.

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

A: DeepSeek R1 is offered with open weights, indicating that its model criteria are openly available. This lines up with the general open-source approach, enabling scientists and designers to additional explore and build upon its developments.

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

A: The current method allows the model to initially explore and create its own reasoning patterns through not being watched RL, and after that refine these patterns with monitored approaches. Reversing the order may constrain the model's ability to discover diverse reasoning paths, possibly limiting its total performance in jobs that gain from self-governing idea.

Thanks for reading Deep Random Thoughts! Subscribe free of charge 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: alfredoi60243/dubaijobzone#12