Hi, I'm Timo
Welcome to my digital garden. Learn about me or feel free to browse some of my notes.
click a planet
Try using me!
ls list pages
·
cd <page> navigate
·
help all commands
·
↑↓ history
Math
∑
Useful Probability facts
A few probability facts kept as a reference: distribution notation, joint and conditional, the law of total expectation, why a squared-error fit returns a conditional mean, and the reparametrization trick.
∑
Optimization - Lagrangian, KKT, duality
Constrained optimization from the ground up: Lagrange multipliers for equality constraints, the KKT conditions for inequalities, and the Lagrangian dual. Why the dual is the clean way to handle constraints, and where it shows up in RL.
∑
Information theory - surprise, entropy, KL
Information, entropy, cross-entropy, and KL divergence built up one step at a time, with interactive figures. Then total variation distance, and the Fisher information matrix derived as the curvature of KL.
Control
∇
iLQR & DDP
Differential dynamic programming for trajectory optimization. Derivation, regularization, line search, and constraints via augmented Lagrangian.
Deep RL a sequence, best read in order
π
Behavioral Cloning
Imitation learning on Push-T. Behavioral cloning, distribution shift, action chunking, and flow matching policies, with full math derivations.
π
Policy Gradient - REINFORCE
REINFORCE derived from first principles, then variance reduction through reward-to-go, baselines, discounting, and advantage normalization, with experiments on HalfCheetah.
π
Policy Gradient - Actor-Critic
From REINFORCE to actor-critic: bootstrapping and what makes a critic, the TD error, and generalized advantage estimation (GAE).
π
Off-Policy Actor-Critic - Towards Q-learning
Crossing from on-policy to off-policy: why a replay buffer breaks actor-critic, how learning a Q-function fixes it, the reparametrization trick, and the greedy limit that drops the actor and points to Q-learning.
π
Q-Learning - DQN
From the argmax over Q to Q-learning: policy and value iteration, fitted value iteration, fitted Q-iteration, online Q-learning and exploration, and why the naive replay-buffer version will not train yet.
π
Advanced DQN - Completing the Rainbow
Rainbow extensions stacked on plain DQN. Dueling networks (the value/advantage split) is covered, with a derivation and a working critic; prioritized replay, distributional RL (C51), and noisy nets are next.
π
Continuous Control - DDPG, TD3, SAC
Coming soon. Off-policy actor-critic for continuous actions: replacing the argmax with a learned deterministic actor (DDPG), the fixes that make it stable (TD3), and the maximum-entropy version (SAC).
Physics
τ
RKT.BTL
A physics based rocket battle game, with a write-up of the dynamics behind it: rigid-body motion, thrust and torque, semi-implicit integration, and impulse-based collisions. Playable in the browser.
More
…
Exploration list
A list of subjects I would like to explore further, kept as a reminder for myself. A small description of each, with a page for them hopefully someday.