Writing
Notes on AI research, papers I've read and things I've built.
- Making One GPU Go Brrr: Reinforcement Learning in a Single CUDA KernelMegaRL: running an entire RL training loop inside one persistent CUDA megakernel.
- Compute-Aware Hybrid Attention Architecture SearchSearching compute-aware hybrid attention architectures for large language models
- Fast Humanoid Control with Flow MatchingSwapping the slow diffusion model in a humanoid controller for flow matching: about 4x fewer network calls, fewer falls when pushed, and reaching that emerges from walking-only data.
- Why PPO Beat GRPO at Teaching a Vision-Language Model to Solve MazesWe trained a VLM to solve maze images with GRPO, GSPO, GMPO and PPO. The critic-free methods raised reward but solved few mazes; PPO did best.
- Parallelizing CDFDescribing our project that won HackMIT's Most Technical Prize
- Group Relative & Sequence Policy OptimizationUnderstanding GRPO and GSPO
- Flow Matching ModelsFlow Matching Models are Generative Models
- Denoising Diffusion Models (Literally)Understand WTF a Diffusion Model via Probabilities
- Proximal Policy Optimization (PPO)Learning foundational and popular reinforcement learning algorithms
- Understanding Adaptive Sparse Flash AttentionAttempting to beat traditional Flash-attention with sparse-attention optimizations
- Gaussian Mixture ModelsUnderstanding Gaussian Mixture Models, a statistical machine learning model
- Compression of Language Reasoning Chains (CoLaR)Exploring CoLaR: a novel approach to compressing LLM reasoning chains in latent space while maintaining accuracy and enabling faster inference
- Understanding Neural Networks Through MathematicsA deep dive into the mathematical foundations of neural networks with practical examples