Skip to main content
Articles tagged with reinforcement-learning | Vitor Sousa
Vitor Sousa
Writing
Projects
Foundations
Start Here
Bits
⌘K
Writing
Projects
Foundations
Start Here
Bits
Toggle theme
Suggested searches
transformers
evaluation
reinforcement learning
contextual bandits
Articles tagged reinforcement-learning
Back to blog
→
Jun 22
After GDPO: A Map of the GRPO Family
Part 5
GRPO didn't fragment into a zoo. It exposed a handful of design axes — token vs. sequence granularity, clip width, length and std normalization, KL, advantage normalization, sampling — and every 'new' algorithm is a different point in that space. A practitioner's map of Dr. GRPO, DAPO, GSPO, GDPO, and the frontier, with a decision guide for when to reach for each.
~18 min
Feb 11
GDPO: Multi-Reward RL Done Right
Part 4
When GRPO meets multiple rewards, advantages collapse. GDPO fixes this by normalizing each reward independently before combining. Learn why this matters for tool calling, math reasoning, and any multi-objective LLM alignment.
~25 min
Feb 3
GRPO: Eliminating the Value Network
Part 3
Group Relative Policy Optimization replaces PPO's learned value function with a simple insight: sample multiple outputs and use their relative rewards as advantages. 33% memory savings, simpler implementation, and the algorithm powering DeepSeek-R1.
~32 min
Jan 18
PPO for Language Models: The RLHF Workhorse
Part 2
Deep dive into Proximal Policy Optimization—the algorithm behind most LLM alignment. Understand trust regions, the clipped objective, GAE, and why PPO's four-model architecture creates problems at scale.
~28 min
Jan 11
Reinforcement Learning Foundations for LLM Alignment
Part 1
Master the RL fundamentals powering modern LLM training: from MDPs and policy gradients through value functions and actor-critic methods. The mathematical foundations you need before diving into PPO, GRPO, and beyond.
~35 min
Nov 13
When to Use Contextual Bandits: The Decision Framework
Part 1
Stop running month-long A/B tests that leave value on the table. Learn when contextual bandits are the right choice for adaptive, personalized optimization—and when to stick with simpler alternatives.
~20 min