Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in / Register
H
hireforeignworkers
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 17
    • Issues 17
    • 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
  • Danielle Kayser
  • hireforeignworkers
  • Issues
  • #9

Closed
Open
Opened Feb 15, 2025 by Danielle Kayser@danielle97n766
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We have actually 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 advancement R1. We also explored the technical innovations that make R1 so unique on the planet of open-source AI.

The DeepSeek Family Tree: From V3 to R1

DeepSeek isn't just a single model; it's a family of significantly advanced AI systems. The advancement goes something like this:

DeepSeek V2:

This was the foundation model which leveraged a mixture-of-experts architecture, where just a subset of experts are utilized at reasoning, considerably enhancing the processing time for each token. It also featured multi-head hidden attention to lower memory footprint.

DeepSeek V3:

This design introduced FP8 training methods, which helped drive down training costs by over 42.5% compared to previous versions. FP8 is a less accurate method to save weights inside the LLMs however can considerably improve the memory footprint. However, training using FP8 can usually be unstable, and it is tough to obtain the wanted training results. Nevertheless, DeepSeek utilizes several tricks and attains extremely steady FP8 training. V3 set the stage as an extremely effective design that was already economical (with claims of being 90% less expensive than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the group then presented R1-Zero, the first reasoning-focused version. Here, the focus was on teaching the design not just to generate answers however to "believe" before responding to. Using pure support knowing, the design was encouraged to produce intermediate reasoning actions, for example, taking additional time (typically 17+ seconds) to overcome a basic problem like "1 +1."

The essential innovation here was making use of group relative policy optimization (GROP). Instead of counting on a conventional process reward model (which would have required annotating every action of the thinking), GROP compares numerous outputs from the design. By sampling a number of prospective answers and scoring them (utilizing rule-based measures like specific match for mathematics or confirming code outputs), the system learns to favor thinking that causes the proper result without the requirement for specific supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's not being watched method produced reasoning outputs that could be hard to check out or even blend languages, the designers returned 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 thinking. This human post-processing was then utilized to fine-tune the original DeepSeek V3 model further-combining both reasoning-oriented reinforcement learning and supervised fine-tuning. The result is DeepSeek R1: a model that now produces understandable, meaningful, and dependable thinking while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most interesting aspect of R1 (zero) is how it established thinking abilities without explicit guidance of the thinking procedure. It can be even more improved by utilizing cold-start data and monitored support finding out to produce understandable reasoning on general tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling scientists and designers to check and build on its innovations. Its cost efficiency is a major selling point specifically when compared to closed-source designs (claimed 90% cheaper than OpenAI) that need enormous compute spending plans.

Novel Training Approach:

Instead of relying entirely on annotated reasoning (which is both costly and lengthy), the model was trained using an outcome-based technique. It began with easily proven tasks, such as mathematics problems and coding workouts, where the correctness of the last answer could be easily determined.

By using group relative policy optimization, the training process compares numerous created answers to figure out which ones satisfy the preferred output. This relative scoring mechanism permits the design to learn "how to think" even when intermediate thinking is generated in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 in some cases "overthinks" simple problems. For instance, 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 verification process, although it might seem inefficient at first look, might prove beneficial in complex jobs where deeper reasoning is needed.

Prompt Engineering:

Traditional few-shot triggering techniques, which have actually worked well for disgaeawiki.info lots of chat-based models, can really deteriorate performance with R1. The designers advise utilizing direct problem declarations with a zero-shot approach 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 thinking process.

Getting Going with R1

For those aiming to experiment:

Smaller variants (7B-8B) can operate on consumer GPUs and even only CPUs


Larger versions (600B) need significant calculate resources


Available through significant cloud companies


Can be deployed in your area via Ollama or vLLM


Looking Ahead

We're especially interested by numerous ramifications:

The capacity for this technique to be applied to other reasoning domains


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


Possibilities for integrating with other supervision strategies


Implications for enterprise AI release


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

Open Questions

How will this impact the development 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 watching these developments carefully, particularly as the neighborhood starts to experiment with and build on these strategies.

Resources

Join our Slack neighborhood for ongoing conversations 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 short summary


Cloud Providers:

Nvidia


Together.ai


AWS




Q&A

Q1: Which design should have more DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong design in the open-source neighborhood, the choice ultimately depends upon your usage case. DeepSeek R1 emphasizes advanced reasoning and an unique training technique that may be particularly important in jobs where verifiable logic is important.

Q2: Why did significant service providers like OpenAI choose monitored fine-tuning instead of support learning (RL) like DeepSeek?

A: We should note upfront that they do use RL at the minimum in the form of RLHF. It is most likely that models from significant providers that have thinking abilities currently utilize something comparable to what DeepSeek has done here, however we can't make certain. It is likewise most likely that due to access to more resources, they favored monitored fine-tuning due to its stability and the prepared availability of big annotated datasets. Reinforcement knowing, although powerful, can be less foreseeable and harder to manage. DeepSeek's approach innovates by using RL in a reasoning-oriented manner, making it possible for the design to discover efficient internal reasoning with only very little procedure annotation - a method that has actually shown appealing in spite of its intricacy.

Q3: Did DeepSeek utilize 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 method, which activates just a subset of specifications, to decrease compute throughout inference. This focus on efficiency is main to its expense advantages.

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

A: R1-Zero is the preliminary model that discovers thinking solely through support knowing without explicit procedure supervision. It produces intermediate reasoning steps that, while in some cases raw or setiathome.berkeley.edu mixed in language, act as the structure for knowing. DeepSeek R1, on the other hand, improves these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero supplies the not being watched "stimulate," and R1 is the refined, more coherent variation.

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

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

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

A: The short response is that it's too early to inform. DeepSeek R1's strength, nevertheless, lies in its robust reasoning abilities and its efficiency. It is especially well suited for tasks that need verifiable logic-such as mathematical issue fixing, code generation, and structured decision-making-where intermediate thinking can be examined and confirmed. Its open-source nature further permits tailored applications in research 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 lowers the entry barrier for deploying sophisticated language models. Enterprises and start-ups can leverage its innovative thinking for agentic applications varying from automated code generation and customer assistance to data analysis. Its flexible deployment options-on consumer hardware for smaller designs or cloud platforms for bigger ones-make it an appealing alternative to exclusive solutions.

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

A: While DeepSeek R1 has been observed to "overthink" easy problems by exploring numerous reasoning courses, it incorporates stopping requirements and assessment systems to avoid boundless loops. The support learning framework encourages convergence toward a proven 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 acted as the foundation for later versions. It is built 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 performance and cost reduction, setting the phase for the reasoning developments seen in R1.

Q10: How does DeepSeek R1 perform on vision tasks?

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

Q11: Can professionals in specialized fields (for example, engel-und-waisen.de labs dealing with treatments) apply these approaches to train domain-specific designs?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based thinking training and effective architecture-can be adapted to different domains. Researchers in fields like biomedical sciences can tailor these approaches to construct models that address their specific challenges while gaining from lower compute expenses and robust reasoning abilities. It is most likely that in deeply specialized fields, nevertheless, there will still be a requirement for monitored fine-tuning to get reputable outcomes.

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

A: The discussion showed that the annotators mainly focused on domains where accuracy is quickly verifiable-such as math and coding. This recommends that knowledge in technical fields was certainly leveraged to ensure the precision and clarity of the reasoning information.

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

A: While the design is developed to enhance for right answers by means of reinforcement knowing, there is constantly a threat of errors-especially in uncertain situations. However, by assessing numerous prospect outputs and reinforcing those that result in verifiable outcomes, the training procedure reduces the probability of propagating incorrect reasoning.

Q14: How are hallucinations decreased in the model offered its iterative thinking 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 utilizing group relative policy optimization to strengthen only those that yield the appropriate result, the design is guided far from creating unproven or hallucinated details.

Q15: Does the design rely on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are integral to the execution of mixture-of-experts and attention mechanisms in DeepSeek R1. However, the main focus is on using these methods to allow reliable thinking rather than 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 legitimate issue?

A: Early iterations like R1-Zero did produce raw and often hard-to-read reasoning. However, the subsequent improvement process-where human specialists curated and improved the thinking data-has considerably enhanced the clearness and dependability of DeepSeek R1's internal thought procedure. While it remains a progressing system, iterative training and feedback have resulted in meaningful enhancements.

Q17: Which design variants are suitable for local release on a laptop with 32GB of RAM?

A: For regional testing, a medium-sized model-typically in the variety of 7B to 8B parameters-is recommended. Larger models (for example, those with numerous billions of parameters) require substantially more computational resources and are much better matched for cloud-based release.

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

A: DeepSeek R1 is provided with open weights, suggesting that its model specifications are publicly available. This lines up with the total open-source philosophy, enabling researchers and designers to more explore and build on its developments.

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

A: The current method enables the model to first explore and generate its own reasoning patterns through not being watched RL, and then refine these patterns with monitored techniques. Reversing the order might constrain the model's capability to find varied reasoning paths, possibly limiting its overall performance in tasks that gain from autonomous thought.

Thanks for reading Deep Random Thoughts! Subscribe for 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: danielle97n766/hireforeignworkers#9