ai ml6 min read

FineProofEnvs: Better Math Proofs from a 2B Model with RL

3 similar posts
  • QED-Nano
  • Qwen3.5-2B
  • Harbor
  • OpenEnv
  • TRL
  • Trackio

AI Summary

This article details a replication of the QED-Nano reinforcement learning recipe to train a small 2B language model on olympiad math proofs. Using a custom 281-line Harbor agent harness, OpenEnv, and TRL's async GRPO, the model was trained over 500 steps across 28 hours for about $820 in GPU and judge costs. The results show a significant increase in held-out mean rubric scores, jumping from 0.22 to 0.41, alongside practical lessons on reward hacking prevention, decontamiantion, and training stability.

Key Takeaways

  • Replicates the QED-Nano RL recipe using Qwen3.5-2B.
  • Utilizes OpenEnv and a custom Harbor harness for training execution.
  • Highlights practical challenges like length penalties, judge exploitation, and prompt hardening.

Why it matters

Understanding how to train small language models with reinforcement learning on specialized reasoning tasks without full SFT offers cost-effective pathways for engineering domain-specific problem solvers.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.