Week 25 · Season 7 · Alive
The edge of the map
You can read a paper in three passes, explain rewards a program can check and how they get hacked, say why memory limits AI chips, and open a real upstream PR.
This week
- Pick your frontier: three passes
- Rewards you can check: RL and GRPO
- The reward was the bug: reward hacking
- Memory is the wall: GPUs wait
- Your first upstream pull request
- Go deeper: fused kernels and the roofline
How you learn
Work out GRPO's group pushes and a GPU job's maths per byte by hand, and harden a checker against every hack you can find, before you train or tune anything.
What you build
Contribute to a real open-source project FRIDAY uses: read the contributing guide, claim a small real issue, fix it in your fork with a test, and open a pull request that links the issue and says how you tested it.
Stretch: Write a fused softmax in Triton (or rebuild the online softmax on paper), check it against the simple version on odd widths, and time both.
What you ship
Project 7: The public demo. FRIDAY live for strangers, with a system diagram, a cost sheet and a demo you can defend.
- A Week 25 plan, a diagram of fork to pull request, and UPSTREAM.md in FRIDAY's repo
- A public pull request on a real open-source project, linked as upstream_pr
Lessons
- Pick your frontier
After this deck you can say what a preprint is, read a research paper in three passes (skim, read, rebuild), and pick a frontier track for good reasons, with a track log of small, checkable claims.
- Rewards you can check
After this deck you can explain reinforcement learning with verifiable rewards, write a reward that grades only the final answer, and work out GRPO's group pushes by hand, including why an all-right group teaches nothing.
- The reward was the bug
After this deck you can recognise reward hacking in a pile of answers, keep a hacking log, harden a checker so it pays only for real solutions, and use a held-out checker to catch the hacks you missed.
- Memory is the wall
After this deck you can explain why AI chips are often memory-bound, work out arithmetic intensity (maths per byte fetched), and say why writing text is limited by how fast weights are fetched, and what a kernel is.
- Your first upstream PR
After this deck you can pick an upstream project and a good first issue, work in a fork on a branch, open a small pull request a maintainer can review in minutes, and answer review well, with honest AI use.
- Go deeper: fused kernels and the roofline
After this deck you can explain kernel fusion and why it makes a memory-bound job faster, read a small Triton kernel's idea (blocks, masks), draw a roofline and its ridge point, and derive the online softmax that lets tiles stay exact.
Labs
Python in the browser, next to the lessons.
Weekend build
- FRIDAY gives back: your first upstream pull request
Pick a real open-source project you use, find a small real problem, and open a pull request its maintainers can review in minutes.
Skills you prove
- Reward hacks
- Spot reward hacking and fix the reward
- Open source
- Get a contribution into an open-source AI project
Free links for this week
Hand-picked official docs, papers and talks.
- DeepSeekMath (GRPO) · paper
- DeepSeek-R1 · paper
- verifiers (Prime Intellect) · repo
- TinyZero · repo
- Google DeepMind: Specification gaming · post
- Open Source Guides: How to contribute · docs
- Triton tutorials · docs
- S. Keshav: How to Read a Paper · paper