Skip to content

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

Hugging Face 38 min read Research hardMaster

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

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.

Related posts

  • Kimina-Prover-RL

    Hugging Face hardMaster

    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.

  • 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.

  • ReasoningBank: Enabling agents to learn from experience

    Google Research hardMaster

    ReasoningBank is an agent memory framework that distills generalizable reasoning strategies from both successful and failed trajectories, stored as structured items (title, description, content) in a closed loop of retrieval, LLM-as-a-judge self-assessment, extraction and append-only consolidation. Memory-aware test-time scaling (MaTTS) feeds parallel (self-contrast across k trajectories) or sequential (iterative refinement) exploration back into memory. With Gemini-2.5-Flash and ReAct, it beat a memory-free baseline by 8.3% on WebArena and 4.6% on SWE-Bench-Verified, saved about 3 steps per task on SWE-Bench, and MaTTS (k=5) added another 3% success on WebArena. Learning from failures yields preventative rules, and memories evolve from simple checklists into compositional strategies over time.

  • Putting RL back in RLHF

    Hugging Face hardMaster

    RLOO (REINFORCE Leave-One-Out) is now available as a trainer in Hugging Face TRL. It is an online RLHF algorithm that drops PPO's value model. It treats the whole completion as a single action, uses the REINFORCE loss, and computes each sample's baseline as the mean reward of the other k−1 completions for the same prompt. That cuts vRAM by roughly 50-70% and makes training 2-3x faster than PPO on Pythia 1B and 6.9B, while matching PPO's GPT-4-judged win rate (78.7% for 6.9B on TL;DR) and beating DPO. Code walkthroughs show the advantage computation and that REINFORCE is a special case of the PPO loss. There is a caveat: bf16 numerical mismatches between generation and training logprobs hurt RLOO more than PPO.

The quest for software engineering knowledge.

Look:
Layout: