July 7, 2026rl
PPO minus the value network, explained from the bottom: what a baseline is, why the value function is not the optimal one, how RLHF collapsed the problem to a bandit, and why that made the critic deletable. With an interactive baseline explorer.
Read more
July 7, 2026rl
TRPO's KL and the KL penalty in language-model fine-tuning share a formula and nothing else: one is re-centered every step and bounds how fast the policy moves, the other is anchored to a frozen reference and decides where the policy is allowed to end up.
Read more
May 5, 2026 · updated July 7, 2026optimization
Notes on trust region methods: from Newton's method and its failure modes, through line search and trust regions, the KL geometry of policy space, the Fisher matrix and natural gradient, to TRPO and PPO. With an interactive bandit explorer.
Read more
July 7, 2026optimization
The subproblem done properly: what the exact solution looks like, why the convergence theory rests on the Cauchy point, why the dogleg path is well-posed, and truncated conjugate gradient for problems too big to factor.
Read more
March 24, 2026 · updated July 7, 2026optimization
An interactive visualization of the Rosenbrock function — drag a point around the contour plot to compare gradient descent and Newton's method in real time.
Read more