Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in / Register
N
nas-store
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 13
    • Issues 13
    • 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
  • Agueda Boase
  • nas-store
  • Issues
  • #9

You need to sign in or sign up before continuing.
Closed
Open
Opened Jun 01, 2025 by Agueda Boase@aguedaboase89
  • 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 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 worldwide of open-source AI.

The DeepSeek Family Tree: From V3 to R1

DeepSeek isn't simply a single model; it's a household of increasingly 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 professionals are utilized at inference, drastically enhancing the processing time for each token. It also featured multi-head latent attention to lower memory footprint.

DeepSeek V3:

This model introduced FP8 training methods, which assisted drive down training expenses by over 42.5% compared to previous iterations. FP8 is a less accurate method to save weights inside the LLMs but can greatly enhance the memory footprint. However, training using FP8 can generally be unstable, and it is tough to obtain the preferred training outcomes. Nevertheless, DeepSeek uses several techniques and attains extremely stable FP8 training. V3 set the stage as an extremely effective model that was currently economical (with claims of being 90% more affordable than some closed-source options).

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 generate answers but to "think" before answering. Using pure support knowing, the design was encouraged to produce intermediate thinking actions, for instance, taking extra time (often 17+ seconds) to work through a basic 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 step of the thinking), GROP compares numerous outputs from the design. By tasting several possible answers and scoring them (utilizing rule-based measures like precise match for math or validating code outputs), the system discovers to favor reasoning that leads to the appropriate outcome without the need for specific supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's without supervision technique produced reasoning outputs that might be tough to read or even blend 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 enhance 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 learning and supervised fine-tuning. The outcome is DeepSeek R1: a design that now produces legible, meaningful, and reputable thinking while still maintaining the performance and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating element of R1 (no) is how it established reasoning capabilities without specific supervision of the reasoning procedure. It can be further enhanced by utilizing cold-start data and monitored support discovering to produce readable reasoning on general tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling researchers and designers to inspect and build on its developments. Its cost efficiency is a significant selling point specifically when compared to closed-source models (claimed 90% cheaper than OpenAI) that need massive compute budget plans.

Novel Training Approach:

Instead of relying solely on annotated reasoning (which is both costly and time-consuming), the design was trained using an outcome-based method. It began with quickly verifiable tasks, such as mathematics problems and coding exercises, where the correctness of the final response could be easily determined.

By utilizing group relative policy optimization, the training process compares numerous produced responses to identify which ones fulfill the preferred output. This relative scoring system permits the model to learn "how to think" even when intermediate thinking is produced in a freestyle manner.

Overthinking?

A fascinating observation is that DeepSeek R1 in some cases "overthinks" simple problems. For example, when asked "What is 1 +1?" it may invest almost 17 seconds assessing different scenarios-even considering binary representations-before concluding with the appropriate answer. This self-questioning and confirmation procedure, although it may seem ineffective initially look, might show useful in complex jobs where much deeper reasoning is needed.

Prompt Engineering:

Traditional few-shot triggering techniques, which have actually worked well for many chat-based models, can in fact deteriorate efficiency with R1. The designers advise using direct problem statements with a zero-shot approach that defines the output format plainly. This ensures that the model isn't led astray by extraneous examples or tips that may disrupt its internal reasoning process.

Getting Started with R1

For those aiming to experiment:

Smaller variants (7B-8B) can run on customer GPUs or even only CPUs


Larger variations (600B) need considerable calculate resources


Available through major cloud suppliers


Can be released locally via Ollama or vLLM


Looking Ahead

We're particularly captivated by several implications:

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


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


Possibilities for integrating with other supervision methods


Implications for business AI deployment


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 impact the advancement of future reasoning designs?


Can this method be encompassed less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be seeing these developments carefully, particularly as the neighborhood begins to explore and build upon these techniques.

Resources

Join our Slack community for continuous discussions and updates about DeepSeek and other AI developments. We're seeing interesting applications currently emerging from our bootcamp individuals working 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 design deserves more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong design in the open-source community, the choice ultimately depends upon your use case. DeepSeek R1 stresses advanced reasoning and a novel training approach that might be specifically valuable in tasks where verifiable reasoning is vital.

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

A: We should keep in mind upfront that they do utilize RL at the minimum in the form of RLHF. It is most likely that models from major providers that have reasoning abilities currently use something comparable to what DeepSeek has actually done here, but we can't make certain. It is likewise most likely that due to access to more resources, they preferred monitored fine-tuning due to its stability and the all set availability of big annotated datasets. Reinforcement knowing, although effective, can be less foreseeable and more difficult to control. DeepSeek's approach innovates by using RL in a reasoning-oriented manner, making it possible for the design to learn reliable internal thinking with only minimal procedure annotation - a strategy that has proven promising despite its complexity.

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

A: DeepSeek R1's style emphasizes effectiveness by leveraging methods such as the mixture-of-experts method, which triggers just a subset of criteria, to reduce compute during reasoning. This focus on effectiveness is main to its expense advantages.

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

A: R1-Zero is the preliminary design that learns reasoning solely through support knowing without specific process guidance. It produces intermediate thinking steps that, while in some cases raw or combined in language, function as the foundation for learning. DeepSeek R1, on the other hand, fine-tunes these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero supplies the without supervision "trigger," and R1 is the sleek, more meaningful version.

Q5: How can one remain upgraded with extensive, technical research while handling a hectic schedule?

A: Remaining current includes a mix of actively engaging with the research study community (like AISC - see link to join slack above), following preprint servers like arXiv, participating in pertinent conferences and webinars, and taking part in discussion groups and newsletters. Continuous engagement with online communities and collaborative research tasks also plays an essential role in keeping up with technical advancements.

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

A: The short response is that it's prematurely to tell. DeepSeek R1's strength, nevertheless, lies in its robust reasoning abilities and pipewiki.org its efficiency. It is especially well suited for jobs that require proven logic-such as mathematical issue fixing, code generation, and structured decision-making-where intermediate reasoning can be evaluated and verified. Its open-source nature further permits tailored applications in research and business 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 deploying sophisticated language models. Enterprises and start-ups can leverage its sophisticated thinking for agentic applications ranging from automated code generation and consumer assistance to information analysis. Its flexible deployment options-on customer hardware for smaller models or cloud platforms for bigger ones-make it an attractive alternative to exclusive options.

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

A: While DeepSeek R1 has been observed to "overthink" basic problems by checking out numerous thinking paths, it incorporates stopping criteria and evaluation systems to prevent infinite loops. The support discovering structure encourages merging towards a proven output, even in uncertain cases.

Q9: Is DeepSeek V3 completely 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 developed on its own set of innovations-including the mixture-of-experts approach and FP8 training-and is not based upon the Qwen architecture. Its style emphasizes efficiency and expense reduction, setting the stage for the thinking innovations seen in R1.

Q10: How does DeepSeek R1 perform on vision tasks?

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

Q11: Can specialists in specialized fields (for instance, laboratories working on treatments) use these approaches to train domain-specific designs?

A: Yes. The innovations 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 these methods to construct designs that address their particular obstacles while gaining from lower calculate expenses and robust thinking abilities. It is most likely that in deeply specialized fields, however, there will still be a requirement for monitored fine-tuning to get trusted results.

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 focused on domains where accuracy is easily verifiable-such as math and coding. This recommends that expertise in technical fields was certainly leveraged to make sure the accuracy and clarity of the reasoning data.

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

A: While the design is designed to enhance for correct responses through support knowing, there is constantly a threat of errors-especially in uncertain scenarios. However, by assessing multiple candidate outputs and strengthening those that cause proven results, the training process reduces the likelihood of propagating incorrect reasoning.

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

A: The use of rule-based, proven tasks (such as math and coding) helps anchor the design's thinking. By comparing several outputs and utilizing group relative policy optimization to enhance only those that yield the appropriate result, the model is assisted far from producing unproven or hallucinated details.

Q15: Does the model rely on complex ?

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

Q16: bytes-the-dust.com Some fret that the design's "thinking" might not be as refined as human reasoning. Is that a valid concern?

A: Early versions like R1-Zero did produce raw and often hard-to-read thinking. However, the subsequent improvement process-where human specialists curated and enhanced the reasoning data-has significantly boosted the clearness and dependability of DeepSeek R1's internal thought process. While it remains a developing system, iterative training and feedback have actually led to significant enhancements.

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

A: For regional screening, a medium-sized model-typically in the range of 7B to 8B parameters-is advised. Larger designs (for example, those with numerous billions of criteria) require significantly more computational resources and are better matched for bytes-the-dust.com cloud-based implementation.

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

A: DeepSeek R1 is offered with open weights, suggesting that its design criteria are publicly available. This lines up with the general open-source approach, enabling researchers and designers to additional check out and build on its developments.

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

A: The current approach allows the design to first explore and produce its own thinking patterns through unsupervised RL, and after that refine these patterns with monitored methods. Reversing the order may constrain the model's ability to discover diverse reasoning paths, potentially limiting its total performance in jobs that gain from autonomous thought.

Thanks for checking out Deep Random Thoughts! Subscribe for complimentary 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: aguedaboase89/nas-store#9