Hi, I’m Himanshu Pathak.
I am a Reinforcement Learning research intern working on sequential decision-making: training agents that learn from reward signals, and studying why they behave the way they do.
My current interests span policy gradient methods, exploration strategies, and applying RL ideas to language model post-training. I share models and experiments on Hugging Face and open-source my code on GitHub.
Posts
All posts →- The World Models Today
How world models represent hidden state, learn dynamics, and turn predictions into decisions, with five animated explanations.
- Policy gradients and the meaning of credit
I gave a learner an action that always helped, then watched it learn from luck. An experiment about what an update can—and cannot—tell us.
- Reward shaping without changing the task
I changed the rewards, kept the better route, and watched the learner choose the worse one. A small experiment about what it means to give an agent advice.
- What uncertainty can tell a planner
I kept giving a model more evidence. Its intervals narrowed around the wrong answer. The useful question became which observation could change its mind.
Projects & Open Source
All projects →- Let Execution Do the Teaching
Execution-based post-training experiments for code models: supervised fine-tuning, GRPO reward pipelines, and reproducible C++ evaluations with test feedback.
- Supervisory Analytics for SOC Assessment
A supervisory analytics project focused on assessing Security Operations Centre (SOC) operations.
- VaporWall
A Rust network-security project combining eBPF/XDP packet filtering with asynchronous TCP stream analysis and local ONNX threat classification.
- Fraud Radar — Real-Time Fraud Detection
A transaction anomaly-detection pipeline using Isolation Forest, Kafka streaming, and a FastAPI service with live WebSocket updates. Includes synthetic data generation and Docker Compose orchestration.
More code and experiments on GitHub.
Models & Datasets
Hugging Face →- GLM-4.7-Flash — Generalized C++ GRPO
Portable checkpoints from a C++ post-training experiment, warm-started from the Phone Number GRPO adapter. The release includes the six-task training set, manifests, and reproduction evidence, with iteration 19 selected for release.
An execution-feedback sketch; not a measured training curve. - Phone Number — Kernel12 GRPO20
The Phone Number post-training experiment, with links to its training JSONL, scored adapter, launch configuration, and evaluation method in the execution-teaching repository.
A fictional example using the Phone Number task’s validation rules. - Stack v2 — C++ Task Candidates
Independently authored C++ task candidates developed from functionality discovered through Stack v2 metadata and Software Heritage. The collection preserves provenance and validation evidence for reviewing each candidate.
A reasoning sketch: one counterexample can undo a conjecture. - SimHim
My SimHim model repository on Hugging Face.
Reading List
All resources →- Reinforcement Learning: An Introduction
The foundations: rewards, value functions, policy gradients, and learning through interaction.
- Spinning Up in Deep RL
A practical introduction to deep reinforcement learning, with algorithm explanations and implementations.
- The RLHF Book
A guide to reinforcement learning from human feedback and language model post-training.