Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
E
earthdailyagro
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 15
    • Issues 15
    • 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
  • Arnette Weinstein
  • earthdailyagro
  • Issues
  • #14

Closed
Open
Opened Apr 12, 2025 by Arnette Weinstein@arnetteweinste
  • Report abuse
  • New issue
Report abuse New issue

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, disgaeawiki.info we dove deep into the evolution of the DeepSeek household - from the early models through DeepSeek V3 to the development R1. We likewise 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 household of progressively advanced AI systems. The evolution 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, significantly 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 methods, which helped drive down training costs by over 42.5% compared to previous versions. FP8 is a less accurate way to save weights inside the LLMs but can considerably improve the memory footprint. However, training using FP8 can usually be unsteady, and it is tough to obtain the preferred training outcomes. Nevertheless, DeepSeek utilizes several techniques and attains incredibly steady FP8 training. V3 set the stage as an extremely efficient model that was currently cost-effective (with claims of being 90% more affordable than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the group then introduced R1-Zero, the first reasoning-focused iteration. Here, the focus was on teaching the design not simply to produce responses however to "think" before responding to. Using pure support learning, the design was encouraged to generate intermediate thinking actions, for instance, taking additional time (frequently 17+ seconds) to resolve a basic problem like "1 +1."

The essential innovation here was making use of group relative policy optimization (GROP). Instead of relying on a traditional procedure reward design (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 (using rule-based steps like specific match for mathematics or validating code outputs), the system discovers to favor thinking that causes the proper outcome without the need for explicit guidance of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised approach produced thinking outputs that might be hard to read or even mix languages, the developers went back to the drawing board. They used the raw outputs from R1-Zero to generate "cold start" information and then by hand curated these examples to filter and enhance 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 knowing and supervised fine-tuning. The outcome is DeepSeek R1: a design that now produces understandable, coherent, 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 established thinking abilities without explicit supervision of the reasoning procedure. It can be even more enhanced by utilizing cold-start data and monitored reinforcement discovering to produce readable thinking on general tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting researchers and designers to inspect and build on its developments. Its cost effectiveness is a significant selling point especially when compared to closed-source models (claimed 90% more affordable than OpenAI) that need massive compute budgets.

Novel Training Approach:

Instead of relying solely on annotated thinking (which is both expensive and time-consuming), the model was trained using an outcome-based technique. It began with easily proven tasks, such as math problems and coding workouts, where the correctness of the last answer might be quickly determined.

By using group relative policy optimization, the training procedure compares multiple generated responses to figure out which ones fulfill the preferred output. This relative scoring system enables the design to discover "how to believe" even when intermediate thinking is produced in a freestyle manner.

Overthinking?

A fascinating observation is that DeepSeek R1 sometimes "overthinks" simple issues. For instance, when asked "What is 1 +1?" it might spend almost 17 seconds examining different scenarios-even considering binary representations-before concluding with the proper response. This self-questioning and confirmation process, although it may appear ineffective in the beginning glimpse, could show beneficial in intricate tasks where much deeper reasoning is required.

Prompt Engineering:

Traditional few-shot triggering techniques, which have worked well for many chat-based designs, can actually degrade efficiency with R1. The developers recommend using direct problem 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 hinder its internal reasoning process.

Starting with R1

For those aiming to experiment:

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


Larger variations (600B) require significant compute resources


Available through significant cloud companies


Can be deployed in your area via Ollama or vLLM


Looking Ahead

We're particularly fascinated by a number of implications:

The capacity for this method to be used to other thinking domains


Impact on agent-based AI systems traditionally constructed on chat models


Possibilities for combining with other supervision methods


Implications for enterprise AI release


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

Open Questions

How will this impact the advancement of future thinking models?


Can this method be reached less proven domains?


What are the ramifications for multi-modal AI systems?


We'll be seeing these advancements closely, wiki.lafabriquedelalogistique.fr particularly as the community begins to try out and build on these techniques.

Resources

Join our Slack neighborhood for ongoing conversations and updates about DeepSeek and other AI developments. 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 is worthy of more attention - DeepSeek or Qwen2.5 Max?

A: wiki.eqoarevival.com While Qwen2.5 is likewise a strong design in the open-source community, the option eventually depends upon your usage case. DeepSeek R1 emphasizes innovative thinking and an unique training approach that may be specifically important in jobs where verifiable logic is critical.

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

A: We should keep in mind in advance that they do utilize RL at least in the form of RLHF. It is really most likely that designs from major suppliers that have reasoning capabilities currently use something comparable to what DeepSeek has done here, but we can't make certain. It is also likely that due to access to more resources, they preferred supervised fine-tuning due to its stability and the ready availability of large annotated datasets. Reinforcement learning, although powerful, can be less predictable and harder to control. DeepSeek's method innovates by applying RL in a reasoning-oriented way, allowing the design to find out reliable internal thinking with only very little procedure annotation - a method that has actually proven promising despite its complexity.

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

A: DeepSeek R1's design highlights efficiency by leveraging strategies such as the mixture-of-experts approach, which triggers only a subset of criteria, to reduce compute throughout inference. This concentrate on performance is main to its expense benefits.

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

A: R1-Zero is the preliminary design that finds out reasoning exclusively through support learning without explicit procedure guidance. It generates intermediate thinking steps that, while in some cases raw or mixed in language, act as the foundation for knowing. DeepSeek R1, on the other hand, fine-tunes these outputs through human post-processing and monitored 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 while handling a busy schedule?

A: Remaining current includes 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 conversation groups and newsletters. Continuous engagement with online neighborhoods and research study tasks likewise plays a key role 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 inform. DeepSeek R1's strength, nevertheless, depends on its robust reasoning abilities and its performance. It is particularly 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 verified. Its open-source nature even more enables for tailored applications in research study and enterprise 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 reduces the entry barrier for deploying innovative language designs. Enterprises and start-ups can take advantage of its advanced thinking for agentic applications varying from automated code generation and consumer support to data analysis. Its flexible deployment options-on consumer hardware for smaller models or cloud platforms for bigger ones-make it an appealing alternative to exclusive solutions.

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

A: While DeepSeek R1 has actually been observed to "overthink" basic issues by exploring multiple reasoning courses, setiathome.berkeley.edu it incorporates stopping requirements and examination systems to avoid unlimited loops. The reinforcement discovering structure motivates merging 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 worked as the foundation for later versions. It is developed on its own set of innovations-including the mixture-of-experts approach and FP8 training-and is not based on the Qwen architecture. Its style highlights performance and expense reduction, setting the phase for the thinking developments seen in R1.

Q10: How does DeepSeek R1 carry out on vision jobs?

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

Q11: Can professionals in specialized fields (for instance, labs working on treatments) use these approaches to train domain-specific models?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based thinking training and effective architecture-can be adjusted to various domains. Researchers in fields like biomedical sciences can tailor these techniques to build designs that address their particular obstacles while gaining from lower compute expenses and robust reasoning capabilities. It is likely that in deeply specialized fields, nevertheless, there will still be a requirement for monitored fine-tuning to get trusted results.

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

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

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

A: While the model is created to optimize for proper answers via reinforcement learning, there is always a threat of errors-especially in uncertain circumstances. However, by examining multiple prospect outputs and strengthening those that cause verifiable results, the training procedure reduces the probability of propagating incorrect thinking.

Q14: How are hallucinations minimized in the design offered its iterative thinking loops?

A: Using rule-based, proven tasks (such as math and coding) assists anchor the design's thinking. By comparing numerous outputs and using group relative policy optimization to reinforce just those that yield the correct outcome, the model is directed away from generating unproven or hallucinated details.

Q15: Does the design depend on complex vector mathematics?

A: Yes, wiki.dulovic.tech advanced techniques-including complex vector math-are important 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 reasoning rather than showcasing mathematical complexity for its own sake.

Q16: Some worry that the model's "thinking" may not be as improved as human thinking. Is that a legitimate issue?

A: Early iterations like R1-Zero did produce raw and in some cases hard-to-read thinking. However, the subsequent refinement process-where human specialists curated and enhanced the thinking data-has significantly boosted the clearness and dependability of DeepSeek R1's internal idea procedure. While it remains a developing system, iterative training and feedback have actually led to significant improvements.

Q17: Which design versions appropriate for regional implementation on a laptop computer with 32GB of RAM?

A: For local testing, a medium-sized model-typically in the variety of 7B to 8B parameters-is recommended. Larger models (for pipewiki.org example, those with numerous billions of specifications) need significantly more computational resources and are better matched for cloud-based deployment.

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

A: DeepSeek R1 is supplied with open weights, implying that its design specifications are publicly available. This aligns with the overall open-source approach, allowing researchers and developers to further check out and build on its developments.

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

A: The current method permits the design to initially explore and create its own thinking patterns through without supervision RL, and forum.batman.gainedge.org after that improve these patterns with monitored approaches. Reversing the order might constrain the design's capability to find varied reasoning courses, potentially limiting its overall efficiency in tasks that gain from self-governing idea.

Thanks for checking out Deep Random Thoughts! Subscribe for free to receive 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: arnetteweinste/earthdailyagro#14