Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • H healthcarestaff
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Carla Bermudez
  • healthcarestaff
  • Issues
  • #9

Closed
Open
Created Feb 17, 2025 by Carla Bermudez@carlabermudezMaintainer

Understanding DeepSeek R1


We've been tracking the explosive increase of DeepSeek R1, which has taken the AI world by storm in current 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 also explored the technical innovations that make R1 so unique worldwide of open-source AI.

The DeepSeek Family Tree: From V3 to R1

DeepSeek isn't just a single design; it's a household of increasingly sophisticated AI systems. The evolution goes something like this:

DeepSeek V2:

This was the structure model which leveraged a mixture-of-experts architecture, where just a subset of professionals are utilized at inference, considerably improving the processing time for each token. It likewise included multi-head hidden attention to minimize memory footprint.

DeepSeek V3:

This design presented FP8 training strategies, which helped drive down training expenses by over 42.5% compared to previous iterations. FP8 is a less exact way to store weights inside the LLMs but can greatly improve the memory footprint. However, training utilizing FP8 can normally be unsteady, and it is tough to obtain the desired training outcomes. Nevertheless, DeepSeek uses numerous techniques and attains incredibly steady FP8 training. V3 set the stage as an extremely effective model that was currently cost-efficient (with claims of being 90% less expensive than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the team then presented R1-Zero, the very first reasoning-focused iteration. Here, the focus was on teaching the model not just to create responses but to "think" before responding to. Using pure support learning, the model was encouraged to produce intermediate thinking actions, for forum.batman.gainedge.org instance, taking additional time (typically 17+ seconds) to overcome a simple problem like "1 +1."

The crucial innovation here was making use of group relative policy optimization (GROP). Instead of depending on a standard procedure benefit design (which would have required annotating every step of the reasoning), GROP compares numerous outputs from the design. By tasting a number of prospective responses and scoring them (utilizing rule-based procedures like precise match for mathematics or verifying code outputs), the system learns to prefer thinking that results in the right outcome without the need for specific guidance of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised method produced reasoning outputs that might be tough to read or even blend languages, the developers returned to the drawing board. They utilized the raw outputs from R1-Zero to produce "cold start" information and then manually curated these examples to filter and enhance the quality of the reasoning. This human post-processing was then used to fine-tune the initial DeepSeek V3 model further-combining both reasoning-oriented support knowing and monitored fine-tuning. The result is DeepSeek R1: a model that now produces readable, meaningful, and trustworthy thinking while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable aspect of R1 (no) is how it developed reasoning capabilities without explicit supervision of the reasoning process. It can be further improved by utilizing cold-start data and monitored reinforcement finding out to produce legible reasoning on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling researchers and designers to inspect and build upon its innovations. Its cost effectiveness is a major selling point specifically when compared to closed-source designs (claimed 90% cheaper than OpenAI) that require massive calculate budget plans.

Novel Training Approach:

Instead of relying entirely on annotated reasoning (which is both expensive and lengthy), the model was trained using an outcome-based approach. It started with easily proven tasks, such as mathematics issues and coding exercises, where the accuracy of the final response might be easily measured.

By using group relative policy optimization, the training process compares multiple produced responses to identify which ones meet the wanted output. This relative scoring mechanism allows the model to learn "how to think" even when intermediate thinking is created in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 often "overthinks" easy problems. For example, when asked "What is 1 +1?" it might invest nearly 17 seconds evaluating different scenarios-even thinking about binary representations-before concluding with the right response. This self-questioning and verification process, although it might seem ineffective initially look, could prove helpful in complex tasks where deeper thinking is necessary.

Prompt Engineering:

Traditional few-shot triggering strategies, which have worked well for many chat-based models, can really degrade performance with R1. The developers recommend utilizing direct issue statements with a zero-shot approach that specifies the output format plainly. This guarantees that the design isn't led astray by extraneous examples or tips that might hinder its internal thinking procedure.

Starting with R1

For those aiming to experiment:

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


Larger variations (600B) need substantial calculate resources


Available through major cloud suppliers


Can be deployed in your area by means of Ollama or vLLM


Looking Ahead

We're particularly fascinated by several implications:

The potential for this method to be applied to other thinking domains


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


Possibilities for integrating with other guidance strategies


Implications for business AI release


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

Open Questions

How will this impact the advancement of future reasoning models?


Can this method be encompassed less verifiable domains?


What are the for multi-modal AI systems?


We'll be enjoying these developments closely, particularly as the neighborhood begins to explore and build on these methods.

Resources

Join our Slack community for ongoing discussions and updates about DeepSeek and oeclub.org other AI developments. We're seeing remarkable applications already emerging from our bootcamp participants 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 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 stresses sophisticated reasoning and an unique training approach that may be specifically valuable in tasks where proven reasoning is critical.

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

A: We must note in advance that they do utilize RL at least in the kind of RLHF. It is most likely that designs from significant suppliers that have reasoning capabilities already utilize something similar to what DeepSeek has actually done here, but we can't make certain. It is also most likely that due to access to more resources, they favored supervised fine-tuning due to its stability and the all set 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, enabling the design to discover effective internal reasoning with only very little process annotation - a method that has shown promising in spite of its complexity.

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

A: DeepSeek R1's style stresses efficiency by leveraging methods such as the mixture-of-experts method, which activates only a subset of parameters, to minimize calculate throughout inference. This focus on performance is main to its cost benefits.

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

A: R1-Zero is the initial model that learns reasoning entirely through reinforcement knowing without specific procedure supervision. It generates intermediate thinking actions that, while sometimes raw or mixed in language, act as the structure for learning. DeepSeek R1, on the other hand, improves these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero supplies the without supervision "stimulate," and wiki.snooze-hotelsoftware.de R1 is the sleek, more meaningful variation.

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

A: archmageriseswiki.com Remaining current involves a mix 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 appropriate conferences and webinars, and taking part in discussion groups and newsletters. Continuous engagement with online communities and collaborative research jobs likewise plays a crucial role in keeping up with technical advancements.

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

A: The brief answer is that it's prematurely to tell. DeepSeek R1's strength, however, depends on its robust reasoning abilities and its performance. It is particularly well matched for jobs that need proven logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate reasoning can be evaluated and validated. Its open-source nature even more permits tailored applications in research study and business settings.

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

A: The open-source and cost-efficient style of DeepSeek R1 decreases the entry barrier for deploying innovative language designs. Enterprises and start-ups can take advantage of its sophisticated reasoning for agentic applications varying from automated code generation and client support to data analysis. Its versatile deployment options-on consumer hardware for smaller sized models or cloud platforms for bigger ones-make it an appealing option to exclusive services.

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

A: While DeepSeek R1 has been observed to "overthink" basic issues by exploring several reasoning paths, it incorporates stopping criteria and examination systems to avoid limitless loops. The reinforcement discovering structure encourages convergence toward a verifiable output, setiathome.berkeley.edu even in uncertain cases.

Q9: Is DeepSeek V3 entirely open source, forum.altaycoins.com and is it based on the Qwen architecture?

A: Yes, DeepSeek V3 is open source and served as the foundation for later models. 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 design highlights performance and expense decrease, setting the phase for the reasoning 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 entirely on language processing and thinking.

Q11: Can experts in specialized fields (for example, labs working on remedies) 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 adjusted to numerous domains. Researchers in fields like biomedical sciences can tailor these methods to develop models that address their particular challenges while gaining from lower calculate costs and robust reasoning capabilities. It is likely that in deeply specialized fields, however, there will still be a requirement for supervised fine-tuning to get trustworthy results.

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

A: The conversation showed that the annotators mainly focused on domains where accuracy is quickly verifiable-such as mathematics and coding. This suggests that proficiency in technical fields was certainly leveraged to ensure the precision and clarity of the thinking information.

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

A: While the design is created to optimize for correct answers via support learning, there is always a danger of errors-especially in uncertain circumstances. However, by evaluating several candidate outputs and strengthening those that cause verifiable results, the training procedure lessens the likelihood of propagating inaccurate thinking.

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

A: Making use of rule-based, proven jobs (such as mathematics and coding) assists anchor the model's reasoning. By comparing numerous outputs and utilizing group relative policy optimization to reinforce just those that yield the proper result, the design is guided far 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 mechanisms in DeepSeek R1. However, the main focus is on utilizing these techniques to make it possible for efficient reasoning instead of showcasing mathematical complexity for its own sake.

Q16: Some worry that the model'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 thinking. However, the subsequent improvement process-where human experts curated and enhanced the thinking data-has significantly improved the clearness and reliability of DeepSeek R1's internal thought process. While it remains a progressing system, iterative training and feedback have actually led to meaningful improvements.

Q17: larsaluarna.se Which design variants are suitable for regional implementation on a laptop computer with 32GB of RAM?

A: For local screening, a medium-sized model-typically in the series of 7B to 8B parameters-is recommended. Larger designs (for instance, those with hundreds of billions of parameters) need considerably more computational resources and are better suited for cloud-based release.

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

A: DeepSeek R1 is supplied with open weights, meaning that its design parameters are publicly available. This aligns with the general open-source approach, enabling scientists and designers to additional explore and build upon its innovations.

Q19: What would take place if the order of training were reversed-starting with supervised fine-tuning before without supervision reinforcement learning?

A: The current technique permits the design to first check out and generate its own reasoning patterns through unsupervised RL, and then improve these patterns with supervised methods. Reversing the order may constrain the model's capability to find varied reasoning courses, potentially limiting its overall efficiency 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
Time tracking