Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P pleasantprogrammer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 78
    • Issues 78
    • 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
  • Alexis Tilton
  • pleasantprogrammer
  • Issues
  • #14

Closed
Open
Created Feb 19, 2025 by Alexis Tilton@alexistilton06Maintainer

Understanding DeepSeek R1


We've been tracking the explosive increase of DeepSeek R1, which has taken the AI world by storm in recent 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 checked out the technical developments that make R1 so unique on the planet of open-source AI.

The DeepSeek Ancestral Tree: From V3 to R1

DeepSeek isn't just a single model; it's a household of progressively sophisticated AI systems. The development goes something like this:

DeepSeek V2:

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

DeepSeek V3:

This model presented FP8 training techniques, which helped drive down training costs by over 42.5% compared to previous iterations. FP8 is a less to keep weights inside the LLMs however can greatly enhance the memory footprint. However, training using FP8 can usually be unstable, and it is tough to obtain the wanted training results. Nevertheless, DeepSeek uses several tricks and attains remarkably steady FP8 training. V3 set the stage as a highly efficient design that was already cost-effective (with claims of being 90% cheaper than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the team then introduced R1-Zero, the first reasoning-focused model. Here, the focus was on teaching the design not simply to create responses but to "believe" before addressing. Using pure support learning, the model was encouraged to create intermediate thinking steps, for instance, taking extra time (typically 17+ seconds) to resolve a basic problem like "1 +1."

The key development here was making use of group relative policy optimization (GROP). Instead of counting on a traditional process reward model (which would have required annotating every action of the thinking), GROP compares multiple outputs from the design. By tasting numerous potential answers and disgaeawiki.info scoring them (using rule-based measures like specific match for mathematics or confirming code outputs), the system finds out to prefer reasoning that results in the appropriate outcome without the requirement for specific guidance of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's without supervision approach produced thinking outputs that might be tough to read or perhaps blend languages, the designers returned to the drawing board. They utilized the raw outputs from R1-Zero to produce "cold start" information and after that manually curated these examples to filter and enhance the quality of the thinking. This human post-processing was then utilized to fine-tune the initial DeepSeek V3 design further-combining both reasoning-oriented reinforcement learning and supervised fine-tuning. The outcome is DeepSeek R1: a model 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 interesting element of R1 (absolutely no) is how it developed thinking abilities without specific guidance of the reasoning process. It can be even more enhanced by utilizing cold-start information and supervised support finding out to produce understandable thinking on general tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting researchers and developers to examine and build upon its innovations. Its cost performance is a significant selling point especially when compared to closed-source designs (claimed 90% cheaper than OpenAI) that require huge calculate budget plans.

Novel Training Approach:

Instead of relying entirely on annotated thinking (which is both pricey and time-consuming), the design was trained using an outcome-based technique. It started with quickly proven tasks, such as mathematics issues and coding workouts, where the accuracy of the last response might be quickly determined.

By utilizing group relative policy optimization, the training process compares numerous generated responses to identify which ones satisfy the preferred output. This relative scoring mechanism allows the model to discover "how to think" even when intermediate reasoning is created in a freestyle way.

Overthinking?

A fascinating observation is that DeepSeek R1 in some cases "overthinks" easy problems. For instance, hb9lc.org when asked "What is 1 +1?" it might spend almost 17 seconds assessing various scenarios-even thinking about binary representations-before concluding with the appropriate response. This self-questioning and confirmation procedure, although it may appear ineffective at first glance, could prove advantageous in intricate tasks where deeper thinking is required.

Prompt Engineering:

Traditional few-shot triggering methods, which have actually worked well for numerous chat-based designs, can actually break down performance with R1. The developers advise utilizing direct issue declarations with a zero-shot technique that defines the output format plainly. This ensures that the design isn't led astray by extraneous examples or tips that may interfere with its internal reasoning procedure.

Getting Started with R1

For those aiming to experiment:

Smaller versions (7B-8B) can run on customer GPUs or perhaps just CPUs


Larger variations (600B) require substantial calculate resources


Available through significant cloud suppliers


Can be deployed in your area through Ollama or vLLM


Looking Ahead

We're especially interested by several implications:

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


Effect on agent-based AI systems typically developed on chat designs


Possibilities for combining with other guidance strategies


Implications for business AI implementation


Thanks for checking out Deep Random Thoughts! Subscribe for totally free to receive new posts and support my work.

Open Questions

How will this impact the advancement of future thinking designs?


Can this approach be encompassed less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be seeing these developments carefully, especially as the neighborhood starts to experiment with and build on these strategies.

Resources

Join our Slack community for continuous discussions 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 should have more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is also a strong model in the open-source neighborhood, the option ultimately depends on your usage case. DeepSeek R1 highlights sophisticated thinking and an unique training approach that may be specifically important in jobs where proven reasoning is important.

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

A: We must note in advance that they do use RL at least in the kind of RLHF. It is extremely likely that designs from significant service providers that have thinking abilities already utilize something similar to what DeepSeek has actually done here, but we can't make certain. It is likewise likely that due to access to more resources, they favored supervised fine-tuning due to its stability and the all set availability of large annotated datasets. Reinforcement knowing, although powerful, can be less foreseeable and harder to manage. DeepSeek's method innovates by using RL in a reasoning-oriented way, allowing the model to discover effective internal thinking with only minimal procedure annotation - a technique that has actually proven appealing regardless of its complexity.

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

A: DeepSeek R1's style stresses effectiveness by leveraging strategies such as the mixture-of-experts method, which activates only a subset of parameters, to lower compute during reasoning. This concentrate on effectiveness is main to its expense benefits.

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

A: R1-Zero is the preliminary model that finds out reasoning entirely through support learning without explicit process guidance. It creates intermediate reasoning actions that, while in some cases raw or blended in language, serve as the structure for learning. DeepSeek R1, on the other hand, fine-tunes these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero provides the without supervision "spark," and R1 is the polished, more coherent version.

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

A: Remaining present includes a mix of actively engaging with the research neighborhood (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 conversation groups and newsletters. Continuous engagement with online neighborhoods and collective research study tasks also plays a crucial function in staying up to date with technical developments.

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

A: The brief answer is that it's too early to tell. DeepSeek R1's strength, nevertheless, lies in its robust reasoning abilities and its efficiency. It is especially well suited for jobs that need verifiable logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate reasoning can be evaluated and validated. Its open-source nature further enables for tailored applications in research study and business settings.

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

A: The open-source and cost-efficient design of DeepSeek R1 reduces the entry barrier for deploying advanced language designs. Enterprises and start-ups can leverage its sophisticated thinking for agentic applications ranging from automated code generation and client support to information analysis. Its versatile deployment options-on consumer hardware for smaller sized models or cloud platforms for bigger ones-make it an attractive option to exclusive services.

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

A: While DeepSeek R1 has been observed to "overthink" basic issues by checking out numerous reasoning courses, it incorporates stopping requirements and examination systems to avoid limitless loops. The support learning framework encourages convergence toward a verifiable output, even in uncertain cases.

Q9: Is DeepSeek V3 totally open source, and is it based upon the Qwen architecture?

A: Yes, DeepSeek V3 is open source and acted 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 style and training focus exclusively on language processing and reasoning.

Q11: Can specialists in specialized fields (for instance, laboratories working on treatments) use 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 adapted to various domains. Researchers in fields like biomedical sciences can tailor these approaches to develop designs that resolve their specific difficulties while gaining from lower compute 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 reliable outcomes.

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

A: The conversation indicated that the annotators mainly focused on domains where accuracy is easily verifiable-such as mathematics and coding. This recommends that proficiency in technical fields was certainly leveraged to guarantee the precision and clarity of the reasoning data.

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

A: While the design is created to enhance for appropriate responses via support learning, there is constantly a threat of errors-especially in uncertain scenarios. However, by assessing several prospect outputs and enhancing those that lead to proven outcomes, the training process minimizes the probability of propagating inaccurate reasoning.

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

A: Using rule-based, verifiable tasks (such as math and coding) helps anchor the design's thinking. By comparing several outputs and using group relative policy optimization to reinforce just those that yield the proper result, the model is directed far from generating unproven or hallucinated details.

Q15: higgledy-piggledy.xyz Does the model depend on complex vector yewiki.org mathematics?

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

Q16: Some worry that the design's "thinking" may not be as fine-tuned as human reasoning. Is that a legitimate issue?

A: Early versions like R1-Zero did produce raw and in some cases hard-to-read reasoning. However, the subsequent refinement process-where human experts curated and improved the reasoning data-has substantially improved the clarity and dependability of DeepSeek R1's internal thought process. While it remains a progressing system, iterative training and feedback have led to significant improvements.

Q17: forum.altaycoins.com Which design versions are ideal for regional release on a laptop with 32GB of RAM?

A: For local testing, a medium-sized model-typically in the series of 7B to 8B parameters-is advised. Larger designs (for example, those with hundreds of billions of criteria) require significantly more computational resources and are much better matched for cloud-based implementation.

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

A: DeepSeek R1 is offered with open weights, suggesting that its model criteria are openly available. This lines up with the general open-source approach, permitting scientists and developers to further explore and construct upon its innovations.

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

A: The present approach enables the design to first explore and produce its own thinking patterns through not being watched RL, and after that fine-tune these patterns with supervised approaches. Reversing the order might constrain the design's ability to discover varied thinking paths, potentially restricting its overall performance in jobs that gain from autonomous thought.

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

Assignee
Assign to
Time tracking