Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
  • Sign in / Register
C
constructionproject-360
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 23
    • Issues 23
    • List
    • Boards
    • 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
  • Albertha Old
  • constructionproject-360
  • Issues
  • #14

Something went wrong while fetching related merge requests.
Closed
Open
Opened 1 month ago by Albertha Old@alberthaold46
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We've been tracking the explosive rise of DeepSeek R1, which has actually taken the AI world by storm in recent weeks. In this session, we dove deep into the advancement of the DeepSeek household - from the early designs through DeepSeek V3 to the breakthrough R1. We also explored the technical innovations that make R1 so special 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 development 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 reasoning, dramatically improving the processing time for each token. It likewise featured multi-head latent attention to reduce memory footprint.

DeepSeek V3:

This model presented FP8 training methods, which helped drive down training costs by over 42.5% compared to previous models. FP8 is a less exact method to save weights inside the LLMs but can considerably improve the memory footprint. However, training utilizing FP8 can typically be unsteady, and it is difficult to obtain the preferred training outcomes. Nevertheless, DeepSeek utilizes several tricks and attains remarkably steady FP8 training. V3 set the stage as an extremely 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 presented R1-Zero, the first reasoning-focused iteration. Here, the focus was on teaching the design not simply to produce responses however to "believe" before responding to. Using pure reinforcement learning, the model was encouraged to create intermediate thinking actions, for example, taking additional time (typically 17+ seconds) to work through 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 process reward model (which would have needed annotating every action of the thinking), GROP compares numerous outputs from the model. By tasting numerous prospective answers and scoring them (utilizing rule-based procedures like exact match for math or confirming code outputs), the system finds out to favor reasoning that results in the proper outcome without the need for specific supervision of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's without supervision technique produced reasoning outputs that might be hard to read and even blend languages, the designers returned to the drawing board. They utilized the raw outputs from R1-Zero to create "cold start" information and after that manually curated these examples to filter and improve the quality of the thinking. This human post-processing was then used to tweak the initial DeepSeek V3 design further-combining both reasoning-oriented support learning and supervised fine-tuning. The result is DeepSeek R1: a design that now produces readable, meaningful, and dependable reasoning while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating element of R1 (absolutely no) is how it developed thinking abilities without specific guidance of the thinking procedure. It can be even more enhanced by utilizing cold-start information and monitored support finding out to produce legible reasoning on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling scientists and designers to inspect and build upon its innovations. Its expense efficiency is a significant selling point specifically when compared to closed-source designs (claimed 90% more affordable than OpenAI) that need enormous compute budgets.

Novel Training Approach:

Instead of relying entirely on annotated reasoning (which is both expensive and lengthy), the design was trained using an outcome-based approach. It began with quickly verifiable jobs, such as math problems and coding exercises, where the correctness of the last answer might be easily determined.

By utilizing group relative policy optimization, the training procedure compares several produced responses to figure out which ones satisfy the wanted output. This relative scoring system permits the model to discover "how to believe" even when intermediate thinking is produced in a freestyle way.

Overthinking?

An intriguing observation is that DeepSeek R1 sometimes "overthinks" easy problems. For example, when asked "What is 1 +1?" it may spend almost 17 seconds evaluating various scenarios-even considering binary representations-before concluding with the appropriate answer. This self-questioning and confirmation procedure, although it might seem ineffective in the beginning glance, might show helpful in intricate jobs where much deeper reasoning is needed.

Prompt Engineering:

Traditional few-shot prompting strategies, which have worked well for numerous chat-based designs, can really degrade efficiency with R1. The developers suggest utilizing direct issue statements with a zero-shot approach that defines the output format plainly. This makes sure that the model isn't led astray by extraneous examples or hints that might disrupt its internal thinking process.

Starting with R1

For those aiming to experiment:

Smaller variants (7B-8B) can run on customer GPUs or even just CPUs


Larger variations (600B) require considerable calculate resources


Available through major cloud suppliers


Can be released in your area through Ollama or vLLM


Looking Ahead

We're particularly fascinated by several implications:

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


Influence on agent-based AI systems generally developed on chat designs


Possibilities for integrating with other supervision techniques


Implications for business AI release


Thanks for reading Deep Random Thoughts! Subscribe for free 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 implications for multi-modal AI systems?


We'll be viewing these advancements carefully, particularly as the community starts to experiment with and build upon these techniques.

Resources

Join our Slack neighborhood for ongoing discussions and updates about DeepSeek and other AI developments. We're seeing interesting applications already emerging from our bootcamp individuals 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 short summary


Cloud Providers:

Nvidia


Together.ai


AWS




Q&A

Q1: Which model deserves more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is also a strong model in the open-source community, the choice eventually depends upon your use case. DeepSeek R1 highlights sophisticated thinking and an unique training method that may be particularly important in tasks where verifiable reasoning is vital.

Q2: Why did significant companies like OpenAI select monitored fine-tuning rather than support learning (RL) like DeepSeek?

A: We need to keep in mind in advance that they do utilize RL at least in the kind of RLHF. It is highly likely that models from significant suppliers that have reasoning capabilities already use something similar to what DeepSeek has done here, however we can't make certain. It is also most likely that due to access to more resources, they favored monitored fine-tuning due to its stability and the ready availability of large annotated datasets. Reinforcement learning, although powerful, can be less predictable and more difficult to control. DeepSeek's technique innovates by applying RL in a reasoning-oriented way, enabling the model to discover effective internal thinking with only minimal process annotation - a strategy that has actually shown appealing in spite of its intricacy.

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

A: DeepSeek R1's style stresses efficiency by leveraging techniques such as the mixture-of-experts technique, which activates just a subset of specifications, to lower compute throughout inference. This focus on performance is main to its cost benefits.

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

A: R1-Zero is the preliminary design that learns reasoning entirely through reinforcement knowing without specific procedure supervision. It generates intermediate thinking actions that, while often raw or combined in language, act as the foundation for learning. DeepSeek R1, on the other hand, refines these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero supplies the not being watched "spark," and R1 is the polished, more meaningful version.

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

A: Remaining current includes a mix of actively engaging with the research study neighborhood (like AISC - see link to sign up with slack above), following like arXiv, going to relevant conferences and webinars, and taking part in discussion groups and newsletters. Continuous engagement with online communities and collective research jobs also plays a key role in staying up to date with technical developments.

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

A: The brief answer is that it's too early to inform. DeepSeek R1's strength, however, bytes-the-dust.com lies in its robust thinking abilities and its effectiveness. It is especially well matched for jobs that need verifiable logic-such as mathematical problem fixing, code generation, and structured decision-making-where intermediate thinking can be examined and confirmed. Its open-source nature even more permits tailored applications in research study and business settings.

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

A: The open-source and cost-effective style of DeepSeek R1 reduces the entry barrier for releasing sophisticated language designs. Enterprises and start-ups can leverage its innovative reasoning for agentic applications ranging from automated code generation and consumer support to data analysis. Its versatile implementation options-on consumer hardware for smaller designs or cloud platforms for larger ones-make it an appealing option to exclusive options.

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

A: While DeepSeek R1 has actually been observed to "overthink" basic problems by exploring numerous thinking courses, it includes stopping criteria and examination systems to avoid limitless loops. The support discovering framework encourages merging toward a proven output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and functioned as the structure 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 style emphasizes performance and cost reduction, setting the phase for the reasoning innovations seen in R1.

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

A: DeepSeek R1 is a text-based design and does not integrate vision abilities. Its design and training focus entirely on language processing and thinking.

Q11: Can professionals in specialized fields (for example, laboratories dealing with remedies) apply these techniques to train domain-specific models?

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 construct models that address their particular challenges while gaining from lower compute expenses and robust reasoning abilities. It is most likely that in deeply specialized fields, however, there will still be a need for monitored fine-tuning to get trusted outcomes.

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

A: The conversation suggested that the annotators mainly focused on domains where correctness is quickly verifiable-such as mathematics and coding. This suggests that expertise in technical fields was certainly leveraged to guarantee the accuracy and clearness of the thinking data.

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

A: While the design is created to enhance for appropriate responses by means of support learning, there is constantly a risk of errors-especially in uncertain circumstances. However, by assessing several prospect outputs and reinforcing those that lead to verifiable results, the training process minimizes the likelihood of propagating inaccurate thinking.

Q14: How are hallucinations minimized in the model given its iterative thinking loops?

A: The use of rule-based, verifiable tasks (such as mathematics and coding) helps anchor the model's reasoning. By comparing multiple outputs and utilizing group relative policy optimization to strengthen just those that yield the correct result, the design is guided far from generating 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 application of mixture-of-experts and attention mechanisms in DeepSeek R1. However, the main focus is on utilizing these strategies to make it possible for efficient reasoning instead of showcasing mathematical complexity for its own sake.

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

A: Early iterations like R1-Zero did produce raw and sometimes hard-to-read thinking. However, the subsequent refinement process-where human professionals curated and enhanced the thinking data-has considerably improved the clearness and reliability of DeepSeek R1's internal idea process. While it remains an evolving system, iterative training and feedback have led to significant improvements.

Q17: Which model variations appropriate for local deployment on a laptop with 32GB of RAM?

A: For local screening, a medium-sized model-typically in the series of 7B to 8B parameters-is suggested. Larger models (for instance, those with numerous billions of criteria) require significantly more computational resources and are better suited for cloud-based implementation.

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

A: DeepSeek R1 is offered with open weights, meaning that its model parameters are openly available. This lines up with the general open-source philosophy, enabling scientists and developers to further check out and construct upon its developments.

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

A: The existing method permits the model to initially check out and produce its own reasoning patterns through unsupervised RL, and then improve these patterns with monitored approaches. Reversing the order may constrain the design's capability to discover diverse reasoning paths, possibly restricting its overall efficiency in tasks that gain from self-governing thought.

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

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
Assign to
None
Milestone
None
Assign milestone
None
Time tracking
No estimate or time spent
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Confidentiality
Not confidential
Lock issue
Unlocked
participants
Reference: alberthaold46/constructionproject-360#14