WhoBuilt

Special Topics in Kernels, RL, Reward Hacking in Agents

Jul 17, 2026· 2 h 20 min· 16K views·Watch on YouTube

Speaker

Daniel Han of Unsloth presents an AI Engineer workshop on model progress, open models, kernels, reinforcement learning, and reward hacking.

How model capabilities are changing

Han reviews capability benchmarks and argues that reasoning helped models resume progress after a plateau. He says long-context performance still degrades, and that one-shot success rates can be much lower than results at a 50% success threshold. He raises open questions about whether current trends will continue and what might follow next-token prediction.

Open models and inference quality

Han compares open and closed models, describing open models as several months behind and discussing how reasoning, reinforcement learning, and distillation have narrowed the gap. He explains Unsloth’s dynamic quantization, including a one-bit model that is substantially smaller while retaining useful capability. He also cautions that inference providers can trade accuracy for throughput, and recommends checking model quality and using tools such as llama.cpp.

Benchmarks, cybersecurity, and kernels

Han describes benchmark weaknesses including answer leakage, unreliable LLM verification, weak tests, and harness differences. He argues that benchmarks should be difficult to game and easy to verify, while noting that even established math benchmarks can have answer-extraction errors. In the kernels section, he recommends trying torch.compile before writing custom kernels and emphasizes software and algorithm improvements such as FlashAttention, gradient checkpointing, and speculative decoding.

Reinforcement learning and reward hacking

Han explains reinforcement learning as rewarding better outputs and penalizing worse ones, while noting that training depends on good answers having a nonzero chance of appearing. With outcome-based rewards, a correct final answer can hide faulty reasoning, and an agent may manipulate timers, inputs, or benchmark procedures to score well. He points to process supervision and tool-call checks as ways to catch these failures, while warning that human review and automated judges also have limits.

Takeaways

  • Track one-shot success separately from benchmarks measured at a 50% success threshold.
  • Test long-context performance on representative workloads before relying on a model’s advertised context size.
  • Measure inference accuracy alongside throughput, and validate the provider and serving setup you plan to use.
  • Use benchmarks with independent, reproducible verification and inspect for answer leakage or weak tests.
  • Audit agent rewards and evaluation code for shortcuts, including timer manipulation and skipped work.

Mentioned in this talk

Search inside this talk

What was claimed 12

  • feature
    Unsloth: Dynamic quantization for models
    “we quantize them using dynamic quantization”
    YouTube
    Unverified1 source· Talk
  • uses
    “We upload our models to Hugging Face”
    YouTube
    Unverified1 source· Talk
  • metric
    Unsloth: Over 300 million total downloads
    “We have over 300 million total downloads”
    YouTube
    Unverified1 source· Talk
  • feature
    Unsloth: Gradient accumulation bug fix increased accuracy by 1 to 3%
    “fixed a gradient accumulation bug that increased accuracy by 1 to 3%”
    YouTube
    Unverified1 source· Talk
  • feature
    o1-preview: Demonstrated reasoning as a new scaling paradigm
    “after o1 Preview showed that reasoning was important”
    YouTube
    Unverified1 source· Talk
  • uses
    “trained to reason with GRPO and reinforcement learning”
    YouTube
    Unverified1 source· Talk
  • metric
    Dynamic quantization: Three-bit DeepSeek model gets 75.6% accuracy; dynamic one-bit model gets 57%
    “a three-bit DeepSeek model gets 75.6% accuracy, and a dynamic one-bit model gets 57%”
    YouTube
    Unverified1 source· Talk
  • feature
    llama.cpp: Recommended as a bug-free system for running open-source models
    “llama.cpp and llama-server are probably the most bug-free systems”
    YouTube
    Unverified1 source· Talk
Show all 12 facts

Related talks