Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
L
listatto
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI / CD
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
  • Jermaine Goold
  • listatto
  • Issues
  • #1

Closed
Open
Opened Jun 01, 2025 by Jermaine Goold@jermainegoold9Maintainer
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We have actually been tracking the explosive increase of DeepSeek R1, which has actually taken the AI world by storm in current weeks. In this session, we dove deep into the development of the DeepSeek family - from the early designs through DeepSeek V3 to the advancement R1. We also explored the technical innovations 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 family of progressively advanced AI systems. The advancement 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 inference, significantly improving the processing time for each token. It also featured multi-head hidden attention to reduce memory footprint.

DeepSeek V3:

This design introduced FP8 training methods, which helped drive down training expenses by over 42.5% compared to previous models. FP8 is a less precise method to save weights inside the LLMs however can considerably improve the memory footprint. However, training utilizing FP8 can normally be unstable, and it is difficult to obtain the wanted training results. Nevertheless, DeepSeek uses several tricks and attains incredibly stable FP8 training. V3 set the stage 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 group then introduced R1-Zero, the first reasoning-focused version. Here, the focus was on teaching the design not just to create responses however to "think" before addressing. Using pure support learning, the design was encouraged to produce intermediate thinking steps, for example, taking extra time (frequently 17+ seconds) to overcome a simple problem like "1 +1."

The essential innovation here was making use of group relative policy optimization (GROP). Instead of counting on a conventional process benefit model (which would have required annotating every step of the reasoning), GROP compares several outputs from the design. By sampling several possible responses and 89u89.com scoring them (utilizing rule-based steps like exact match for mathematics or confirming code outputs), the system discovers to favor thinking that results in the right result without the requirement for explicit supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised technique produced thinking outputs that could be hard to read or even blend languages, the developers returned to the drawing board. They utilized the raw outputs from R1-Zero to generate "cold start" data and after that by hand curated these examples to filter and improve the quality of the reasoning. This human post-processing was then used to tweak the initial DeepSeek V3 design further-combining both reasoning-oriented reinforcement learning and monitored fine-tuning. The outcome is DeepSeek R1: a design that now produces understandable, coherent, and dependable thinking while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable element of R1 (no) is how it established thinking capabilities without specific supervision of the thinking procedure. It can be even more enhanced by using cold-start information and monitored reinforcement finding out to produce readable reasoning on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing researchers and designers to check and develop upon its innovations. Its expense efficiency is a major selling point particularly when compared to closed-source designs (claimed 90% less expensive than OpenAI) that require huge compute budgets.

Novel Training Approach:

Instead of relying exclusively on annotated reasoning (which is both expensive and lengthy), the design was trained utilizing an outcome-based approach. It started with easily proven tasks, such as math problems and coding workouts, where the accuracy of the last answer could be easily measured.

By utilizing group relative policy optimization, the training process compares numerous created responses to figure out which ones meet the wanted output. This relative scoring system the design to learn "how to think" even when intermediate reasoning is produced in a freestyle way.

Overthinking?

An intriguing observation is that DeepSeek R1 sometimes "overthinks" easy issues. For instance, when asked "What is 1 +1?" it may invest nearly 17 seconds assessing different scenarios-even thinking about binary representations-before concluding with the right response. This self-questioning and confirmation process, although it might seem inefficient in the beginning glance, might prove helpful in intricate tasks where much deeper reasoning is essential.

Prompt Engineering:

Traditional few-shot prompting strategies, which have actually worked well for lots of chat-based designs, can in fact deteriorate efficiency with R1. The designers recommend utilizing direct issue statements with a zero-shot method that defines 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.

Starting with R1

For those aiming to experiment:

Smaller versions (7B-8B) can operate on consumer GPUs or even just CPUs


Larger versions (600B) require significant compute resources


Available through major cloud providers


Can be deployed in your area through Ollama or vLLM


Looking Ahead

We're especially intrigued by numerous implications:

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


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


Possibilities for integrating with other guidance strategies


Implications for enterprise AI deployment


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

Open Questions

How will this affect the development of future reasoning designs?


Can this method be reached less proven domains?


What are the ramifications for multi-modal AI systems?


We'll be watching these advancements closely, particularly as the neighborhood begins to try out and construct upon these methods.

Resources

Join our Slack community for ongoing conversations and updates about DeepSeek and other AI developments. We're seeing remarkable 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 short 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 also a strong design in the open-source community, the choice eventually depends upon your use case. DeepSeek R1 emphasizes advanced reasoning and an unique training method that may be especially valuable in tasks where proven logic is vital.

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

A: We need to note upfront that they do utilize RL at least in the form of RLHF. It is most likely that designs from major providers that have thinking capabilities currently 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 monitored fine-tuning due to its stability and the ready availability of big annotated datasets. Reinforcement learning, although powerful, can be less predictable and harder to control. DeepSeek's approach innovates by using RL in a reasoning-oriented manner, allowing the design to discover reliable internal reasoning with only very little process annotation - a method that has actually shown appealing in spite of its intricacy.

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

A: DeepSeek R1's design emphasizes performance by leveraging methods such as the mixture-of-experts technique, which activates just a subset of parameters, to minimize compute during inference. 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 finds out reasoning exclusively through reinforcement knowing without explicit process supervision. It generates intermediate reasoning steps that, while sometimes raw or combined in language, work as the foundation for knowing. DeepSeek R1, on the other hand, fine-tunes these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero supplies the unsupervised "spark," and R1 is the refined, more coherent variation.

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

A: Remaining existing includes 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 relevant conferences and webinars, and taking part in conversation groups and newsletters. Continuous engagement with online communities and collaborative research study jobs likewise plays an essential function in staying up to date with technical improvements.

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

A: The brief answer is that it's too early to inform. DeepSeek R1's strength, however, depends on its robust thinking capabilities and its performance. It is particularly well suited for jobs that need verifiable logic-such as mathematical issue solving, code generation, and structured decision-making-where intermediate reasoning can be reviewed and validated. Its open-source nature even more enables tailored applications in research and business settings.

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

A: The open-source and affordable design of DeepSeek R1 lowers the entry barrier for deploying sophisticated language models. Enterprises and start-ups can leverage its advanced thinking for agentic applications ranging from automated code generation and customer assistance to data analysis. Its versatile implementation options-on customer hardware for smaller sized models or cloud platforms for larger ones-make it an attractive option to exclusive options.

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

A: While DeepSeek R1 has actually been observed to "overthink" easy issues by exploring numerous thinking paths, it incorporates stopping requirements and examination mechanisms to prevent boundless loops. The support learning structure 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 served as the structure 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 highlights performance and cost decrease, setting the stage for the thinking developments seen in R1.

Q10: How does DeepSeek R1 perform on vision jobs?

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

Q11: Can specialists in specialized fields (for example, laboratories working on treatments) apply these techniques to train domain-specific designs?

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 approaches to construct models that address their specific obstacles while gaining from lower compute costs and robust thinking abilities. It is likely that in deeply specialized fields, however, there will still be a requirement for supervised fine-tuning to get reputable outcomes.

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

A: The conversation indicated that the annotators mainly concentrated on domains where accuracy is easily verifiable-such as math and coding. This suggests that competence in technical fields was certainly leveraged to ensure the accuracy and clearness of the thinking information.

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

A: While the model is designed to enhance for appropriate answers through support learning, there is constantly a risk of errors-especially in uncertain situations. However, by assessing multiple prospect outputs and reinforcing those that result in proven outcomes, the training process lessens the possibility of propagating inaccurate thinking.

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

A: Using rule-based, verifiable tasks (such as mathematics and coding) assists anchor the model's thinking. By comparing multiple outputs and utilizing group relative policy optimization to strengthen only those that yield the proper outcome, the design is guided away from creating unfounded or hallucinated details.

Q15: Does the design count on complex vector mathematics?

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

Q16: Some fret that the model's "thinking" may not be as fine-tuned as human reasoning. Is that a valid concern?

A: Early models like R1-Zero did produce raw and often hard-to-read reasoning. However, the subsequent refinement process-where human professionals curated and improved the reasoning data-has substantially enhanced the clarity and reliability of DeepSeek R1's internal thought procedure. While it remains a progressing system, iterative training and feedback have actually led to meaningful improvements.

Q17: Which model versions are ideal for local deployment on a laptop with 32GB of RAM?

A: For regional testing, a medium-sized model-typically in the series of 7B to 8B parameters-is suggested. Larger designs (for instance, those with hundreds of billions of specifications) require substantially more computational resources and are much better suited 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, meaning that its design specifications are publicly available. This lines up with the overall open-source philosophy, permitting researchers and designers to further check out and develop upon its developments.

Q19: What would occur if the order of training were reversed-starting with supervised fine-tuning before unsupervised reinforcement learning?

A: The current approach allows the design to initially explore and produce its own reasoning patterns through without supervision RL, and then improve these patterns with supervised techniques. Reversing the order might constrain the model's capability to discover diverse thinking courses, possibly restricting its overall efficiency in tasks that gain from self-governing thought.

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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: jermainegoold9/listatto#1