Videos
-
Aha moments emerged naturally in RL: Self-correction behaviors like "Wait, let’s reevaluate..." arose without SFT.
-
Cold-start SFT fixed readability: ~1k structured examples resolved language mixing.
-
GRPO cut RL costs by 30%: Group-wise reward normalization outperformed PPO.
-
RL increased CoT length autonomously: Reasoning steps grew from 100→1k tokens without penalties.
-
Distillation beat direct RL in small models: SFT on R1 data outperformed RL-trained base models.
-
Process rewards failed; outcome rewards worked better: Rule-based final-answer checks stabilized training.
-
XML tags reduced hallucinations 15%: Structured <think>/<answer> improved reward clarity.
-
Language mixing fixed via consistency rewards: Penalized code-switching in multilingual outputs.
I find it funny that ive seen multiple AI youtubers explain papers and they just go to another AI to help them in the video but hey it does a good job
https://github.com/deepseek-ai/DeepSeek-R1/blob/main/DeepSeek_R1.pdf
Over the weekend I wanted to learn how was DeepSeek-R1 trained, and what was so revolutionary about it. So I ended up reading the paper, and wrote down my thoughts. < the article linked is (hopefully) written in a way that it's easier for everyone to understand it -- no PhD required!
Here's a "quick" summary:
1/ DeepSeek-R1-Zero is trained with pure-reinforcement learning (RL), without using labeled data. It's the first time someone tried and succeeded doing that. (that we know of, o1 report didn't show much)
2/ Traditional RL frameworks (like PPO) have something like an 'LLM coach or critic' that tells the model whether the answer was good or bad -- based on given examples (labeled data). DeepSeek uses GRPO, a pure-RL framework that skips the critic and calculates the group average of LLM answers based on predefined rules
3/ But, how can you evaluate the performance if you don't have labeled data to test against it? With this framework, the rules aren't perfect—they’re just a best guess at what "good" looks like. The RL process tries to optimize on things like:
Does the answer make sense? (Coherence)
Is it in the right format? (Completeness)
Does it match the general style we expect? (Fluency)
For example, for the DeepSeek-R1-Zero model, for mathematical tasks, the model could be rewarded for producing outputs that align to mathematical principles or logical consistency.
It makes sense.. and it works... to some extent!
4/ This model (R1-Zero) had issues with poor readability and language mixing -- something that you'd get from using pure-RL. So, the authors wanted to go through a multi-stage training process and do something that feels like hacking various training methods:
5/ What you see above is the DeepSeek-R1 model that goes through a list of training methods for different purposes
(i) the cold start data lays a structured foundation fixing issues like poor readability
(ii) pure-RL develops reasoning almost on auto-pilot
(iii) rejection sampling + SFT works with top-tier training data that improves accuracy, and
(iv) another final RL stage ensures additional level of generalization.
And with that they're doing as good as or better than o1 models.
Lmk if you have any questions (i might be able to answer them).