Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
B
bethanycareer
  • 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
  • Royce Carrigan
  • bethanycareer
  • Issues
  • #1

Closed
Open
Opened Feb 17, 2025 by Royce Carrigan@roycecarrigan0
  • 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 development of the DeepSeek family - from the early designs through DeepSeek V3 to the breakthrough R1. We also explored the technical innovations that make R1 so special in the world of open-source AI.

The DeepSeek Ancestral Tree: From V3 to R1

DeepSeek isn't simply a single design; it's a family 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 just a subset of professionals are used at inference, dramatically improving the processing time for each token. It also featured multi-head latent attention to footprint.

DeepSeek V3:

This design introduced FP8 training strategies, which assisted drive down training expenses by over 42.5% compared to previous iterations. FP8 is a less precise way to store weights inside the LLMs but can significantly enhance the memory footprint. However, training utilizing FP8 can typically be unstable, and it is hard to obtain the wanted training results. Nevertheless, DeepSeek uses several techniques and attains extremely stable FP8 training. V3 set the stage as an extremely efficient model that was currently cost-effective (with claims of being 90% less expensive than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the group then introduced R1-Zero, the first reasoning-focused model. Here, the focus was on teaching the design not just to create answers however to "believe" before addressing. Using pure reinforcement learning, the model was encouraged to produce intermediate thinking steps, for example, larsaluarna.se taking extra time (frequently 17+ seconds) to resolve a basic issue like "1 +1."

The crucial innovation here was using group relative policy optimization (GROP). Instead of counting on a traditional process benefit model (which would have needed annotating every action of the reasoning), GROP compares several outputs from the model. By sampling a number of potential responses and scoring them (using rule-based steps like precise match for math or bio.rogstecnologia.com.br validating code outputs), the system learns to prefer reasoning that results in the right outcome without the requirement for specific supervision of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's without supervision technique produced reasoning outputs that could be difficult to read or perhaps mix languages, the developers went back to the drawing board. They utilized 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 tweak the initial DeepSeek V3 design further-combining both reasoning-oriented reinforcement learning and monitored fine-tuning. The result is DeepSeek R1: a design that now produces legible, meaningful, and dependable thinking while still maintaining the performance and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable element of R1 (zero) is how it developed reasoning capabilities without explicit supervision of the thinking procedure. It can be even more enhanced by utilizing cold-start information and monitored support discovering to produce readable thinking on general tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing researchers and designers to inspect and build on its innovations. Its expense efficiency is a significant selling point especially when compared to closed-source designs (claimed 90% less expensive than OpenAI) that require enormous compute spending plans.

Novel Training Approach:

Instead of relying entirely on annotated reasoning (which is both expensive and lengthy), the model was trained utilizing an outcome-based method. It started with easily proven jobs, such as mathematics problems and coding workouts, where the correctness of the last response might be quickly measured.

By utilizing group relative policy optimization, the training procedure compares numerous generated answers to figure out which ones meet 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?

An interesting observation is that DeepSeek R1 in some cases "overthinks" easy problems. For example, when asked "What is 1 +1?" it might spend almost 17 seconds evaluating various scenarios-even considering binary representations-before concluding with the correct answer. This self-questioning and verification process, although it may seem inefficient initially glimpse, could show beneficial in complex jobs where much deeper reasoning is needed.

Prompt Engineering:

Traditional few-shot prompting strategies, forum.pinoo.com.tr which have worked well for numerous chat-based designs, wiki-tb-service.com can really degrade performance with R1. The designers recommend using direct problem declarations with a zero-shot technique that defines the output format plainly. This guarantees that the design isn't led astray by extraneous examples or tips that may interfere with its internal thinking process.

Getting Started with R1

For those aiming to experiment:

Smaller versions (7B-8B) can run on customer GPUs and even only CPUs


Larger variations (600B) need considerable compute resources


Available through major cloud providers


Can be released locally through Ollama or vLLM


Looking Ahead

We're particularly interested by numerous ramifications:

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


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


Possibilities for combining with other supervision techniques


Implications for business AI deployment


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

Open Questions

How will this impact the advancement of future reasoning designs?


Can this method be extended to less proven domains?


What are the ramifications for multi-modal AI systems?


We'll be seeing these advancements closely, especially as the neighborhood begins to try out and build upon these techniques.

Resources

Join our Slack neighborhood for ongoing conversations and updates about DeepSeek and other AI advancements. We're seeing fascinating applications currently emerging from our bootcamp participants dealing 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 should have more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is also a strong design in the open-source neighborhood, the choice ultimately depends on your use case. DeepSeek R1 emphasizes sophisticated reasoning and an unique training method that might be specifically valuable in jobs where proven logic is important.

Q2: Why did major providers like OpenAI go with monitored fine-tuning rather than reinforcement learning (RL) like DeepSeek?

A: We should note upfront that they do use RL at the minimum in the type of RLHF. It is highly likely that models from major wiki.whenparked.com suppliers that have thinking abilities already utilize 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 favored monitored fine-tuning due to its stability and the ready availability of big annotated datasets. Reinforcement learning, although powerful, can be less predictable and more difficult to manage. DeepSeek's technique innovates by applying RL in a reasoning-oriented manner, making it possible for the design to find out reliable internal reasoning with only very little procedure annotation - a strategy that has shown promising in spite of its intricacy.

Q3: Did DeepSeek utilize test-time calculate methods comparable to those of OpenAI?

A: DeepSeek R1's style highlights performance by leveraging techniques such as the mixture-of-experts technique, which triggers just a subset of parameters, to reduce calculate during inference. This concentrate on efficiency is main to its cost benefits.

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

A: R1-Zero is the preliminary model that finds out thinking entirely through support knowing without specific process supervision. It produces intermediate reasoning steps that, while often raw or blended in language, act as the structure for learning. DeepSeek R1, on the other hand, improves these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero provides the unsupervised "stimulate," and R1 is the polished, more coherent variation.

Q5: How can one remain updated with in-depth, technical research while managing a busy schedule?

A: Remaining existing includes a combination of actively engaging with the research study community (like AISC - see link to sign up with 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 collective research study projects likewise plays a key function in keeping up with technical developments.

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

A: The brief answer is that it's prematurely to tell. DeepSeek R1's strength, nevertheless, lies in its robust reasoning abilities and its performance. It is especially well fit for jobs that need verifiable logic-such as mathematical issue solving, code generation, and structured decision-making-where intermediate reasoning can be examined and confirmed. Its open-source nature further enables tailored applications in research study and enterprise settings.

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

A: The open-source and affordable style of DeepSeek R1 reduces the entry barrier for releasing sophisticated language models. Enterprises and start-ups can utilize its sophisticated reasoning for agentic applications varying from automated code generation and client assistance to information analysis. Its flexible release options-on customer hardware for smaller sized designs or cloud platforms for larger ones-make it an attractive option to proprietary options.

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

A: While DeepSeek R1 has actually been observed to "overthink" basic problems by checking out numerous reasoning courses, it integrates stopping criteria and examination mechanisms to prevent unlimited loops. The reinforcement learning framework encourages convergence towards a proven output, even in uncertain cases.

Q9: Is DeepSeek V3 totally 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 built on its own set of innovations-including the mixture-of-experts approach and FP8 training-and is not based on the Qwen architecture. Its design highlights effectiveness and expense reduction, setting the stage for the reasoning innovations seen in R1.

Q10: How does DeepSeek R1 perform on vision jobs?

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

Q11: Can professionals in specialized fields (for instance, laboratories dealing with treatments) apply these techniques to train domain-specific designs?

A: Yes. The innovations 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 methods to construct models that resolve their particular challenges while gaining from lower compute expenses and robust thinking capabilities. It is likely that in deeply specialized fields, however, there will still be a requirement for monitored fine-tuning to get dependable 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 accuracy is quickly verifiable-such as mathematics and coding. This suggests that knowledge in technical fields was certainly leveraged to ensure the accuracy and clearness of the reasoning information.

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

A: While the model is designed to optimize for appropriate answers through support learning, there is always a threat of errors-especially in uncertain circumstances. However, by evaluating numerous candidate outputs and enhancing those that cause proven outcomes, the training process minimizes the likelihood of propagating inaccurate thinking.

Q14: How are hallucinations minimized in the design provided its iterative reasoning loops?

A: Using rule-based, proven tasks (such as math and coding) helps anchor the design's reasoning. By comparing several outputs and using group relative policy optimization to enhance just those that yield the appropriate result, the design is guided away from creating unproven or hallucinated details.

Q15: Does the design count on complex vector mathematics?

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

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

A: Early iterations like R1-Zero did produce raw and in some cases hard-to-read reasoning. However, the subsequent refinement process-where human professionals curated and enhanced the reasoning data-has significantly improved the clearness and dependability of DeepSeek R1's internal thought process. While it remains an evolving system, iterative training and feedback have resulted in significant improvements.

Q17: setiathome.berkeley.edu Which design variants appropriate for regional implementation 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 recommended. Larger models (for example, those with numerous billions of criteria) need considerably more computational resources and are much better fit for cloud-based deployment.

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

A: disgaeawiki.info DeepSeek R1 is offered with open weights, meaning that its model criteria are openly available. This aligns with the total open-source viewpoint, enabling scientists and developers to additional explore and build on its developments.

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

A: The current method permits the model to initially explore and generate its own reasoning patterns through without supervision RL, and then refine these patterns with supervised approaches. Reversing the order may constrain the model's ability to discover diverse thinking courses, possibly restricting its total efficiency in tasks that gain from autonomous thought.

Thanks for checking out Deep Random Thoughts! Subscribe totally free 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: roycecarrigan0/bethanycareer#1