Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 8 min read Research hardMaster

Kimina-Prover-RL

Kimina-Prover-RL is an open-source GRPO training pipeline, released as a recipe in a fork of verl, that teaches small LLMs to prove Lean 4 theorems using a think-then-code output format. The pipeline verifies proofs with kimina-lean-server, applies strict format-checking rewards and adds a single error-correction turn that feeds Lean feedback back to the model. It uses DrGRPO to remove the length bias of GRPO and trains on a filtered set of hard NuminaMath-LEAN problems. After 48 hours on 8 H100s the 1.7B model reaches 76.23% Pass@32 on MiniF2F (77.87% with error fixing), and a 0.6B model reaches 71.30%, both state of the art for open-source models of their size.

Assumes: reinforcement learning for LLMsGRPOLean 4 theorem proving

Related posts

  • Kimina-Prover: Applying Test-time RL Search on Large Formal Reasoning Models

    Hugging Face hardMaster

    Kimina-Prover-72B, trained with the Kimi k1.5 RL pipeline on Qwen2.5-72B, reaches a 92.2% pass rate on miniF2F-test for Lean 4 theorem proving by combining a lemma-enabled RL pattern, a recursive Test-Time RL search over candidate lemmas, and learned error-fixing from Lean feedback. TTRL search scores lemmas by utilization, builds input variants that are 60% top lemmas and 40% top lemmas plus random extras, prunes lemmas below a 0.10 utilization score after 50 tries, and generates sublemmas recursively after 128 failed attempts. It discards inconsistent lemmas by proving their negation. A Batched Failure Replay strategy trains error correction, and under equal budgets 16 attempts plus 16 fixes beat 32 brute-force samples, 35.6% to 28.8%. Distilled 8B and 1.7B variants are also released.

  • Building an RL theorem-proving workflow on Modal

    Modal hardMaster

    AE Studio built a reinforcement-learning loop on Modal that trains an LLM to write Lean proofs, comparing Evolution Strategies (ES) against GRPO using Lean verification as the reward. vLLM generation runs on GPU workers fanned out with .map(), Lean verification runs in short-lived sandboxes so bad proofs can't crash the run, and model state is stored as a ~200-byte-per-iteration history of perturbation seeds and rewards that each worker replays onto base weights from a Volume. ES matched or beat GRPO in several runs and looked sample efficient with limited data, though results varied and scaling remains unclear. The authors estimate the run cost about $122, with generation at 147s of a 538s iteration, but these figures are vendor-favorable estimates.

  • Advancing science & engineering with Antigravity’s /teamwork

    Google Research easyNovice

    Antigravity's /teamwork multi-agent harness pairs parallel exploration with independent falsifiers (Lean 4, unmodified test suites, simulators, hardware counters) and partitions context so each agent sees only the files and tools it needs, with critics and auditors verifying results from clean contexts. Running on Gemini 4 models, it has contributed to proofs of open problems such as the Courtade–Kumar conjecture and to large Lean formalizations, including about 1.8M lines for the Weil conjectures. It also reached 95% top-1 accuracy on NMR molecular structure elucidation and generated a 50-task causal inference benchmark. Systems results include FarArray, a kernel-bypass PGAS whose graph applications report 40x–180x speedups, TPU GNN kernels and a 9x9 Go engine that gained about 2,600 Elo in eight days.

  • Open R1: Update #2

    Hugging Face hardMaster

    OpenR1-Math-220k is a math reasoning dataset built by generating 800k DeepSeek R1 traces for 400k NuminaMath 1.5 problems on 512 local H100s. Switching inference from vLLM to SGLang nearly doubled throughput, from 15 to 25 generations per hour per H100. Traces were filtered with Math-Verify plus a Llama-3.3-70B-Instruct judge, which recovered 28k rejected problems, while reward-model selection among correct answers gave no gain over random choice. Fine-tuning Qwen2.5-Math-Instruct on the 94k default split nearly matches DeepSeek-Distill-Qwen-7B, and the update also covers community GRPO results, small curated datasets (s1K, LIMO) and controlling chain-of-thought length with budget forcing and cosine rewards.

  • Fine-tuning a 350M Model for Better Structured Outputs in 100 GRPO Steps

    Hugging Face hardMaster

    GRPO fine-tuning of LFM2.5-350M with TRL on about 500 Nemotron structured-output samples for 100 steps raises its IFStruct pass rate from 22.6% to 29.7%. The run fits on a free-tier Colab or Kaggle GPU. The recipe uses a LoRA adapter (~1.66% of parameters) on the hybrid attention/convolution modules and prompt augmentation for fenced code blocks and bare lists. Three weighted reward functions score format parseability, field count and JSON Schema validation. Gains concentrate where training aimed: JSON rises from 18.0% to 31.9% and bare lists from 16.6% to 29.7%, while YAML is flat, bringing the 350M model close to Qwen3.5-2B's 33.15%. Evaluation runs locally via llama.cpp serving BF16 GGUFs.

The quest for software engineering knowledge.

Look:
Layout: