# ReZero

- **ID:** 596
- **Kind:** code
- **URL:** https://github.com/menloresearch/ReZero
- **Authors:** Alan Dao (Gia Tuan Dao), Thinh Le
- **Venue:** Menlo Research (GitHub)
- **Published:** 2025
- **Source:** github
- **Access:** free
- **Tags:** rezero, rag, grpo, retry, search, menlo, llama-3.2, retrieval
- **Topics:** RAG, reinforcement learning, search agents
- **Added:** 2026-08-14
- **Verified:** 2026-08-14
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/596

## Summary

ReZero (Retry-Zero) adds a reward_retry term to GRPO so the policy is paid for issuing a later search query after an unsuccessful first attempt, but only if the trajectory still emits a well-formed final answer. Paper arXiv 2504.11001: Llama-3.2-3B-Instruct on Apollo 3 mission chunks (341 chunks / 32 held-out) peaks at 46.88% accuracy vs 25% without the retry reward (1xH200). Repo trains via train_grpo.py, ships data/ plus a Gradio demo, and points to Menlo/ReZero-v0.1-llama-3.2-3b-it-grpo-250404 (and GGUF). GitHub menloresearch/ReZero redirects to janhq/ReZero. No LICENSE file on the repo; arXiv Atom API states no license.

## Attributes

- **Purpose:** GRPO-train LLMs to retry failed search queries in RAG instead of stopping after one attempt
- **Scale:** 160 stars; 9 forks at check. Train: 1000 GRPO steps (~3 epochs) on 309 Apollo chunks, eval 32 chunks, max agent turns 20 in the best run. 3B Llama-3.2 Instruct backbone.
- **Time period:** GitHub created 2025-03-20; pushed 2025-04-17; updated 2026-03-27. Paper arXiv 2504.11001 v1 2025-04-15. Discord posted 2025-04-17.

## From the source (fetched 2026-10-03)

- **Repository:** janhq/ReZero (GitHub)
- **Created:** Mar 20, 2025 (GitHub)
- **Last push:** Apr 17, 2025 (GitHub)
- **Stars:** 160 (GitHub)
- **Forks:** 10 (GitHub)
- **Main language:** Python (GitHub)

## Research notes

- Primary: GitHub README + API (no SPDX license; 160 stars / 9 forks at check; owner now janhq, posted URL menloresearch/ReZero). Paper arXiv 2504.11001 (cs.CL; Atom API has no license). HF weights Menlo/ReZero-v0.1-llama-3.2-3b-it-grpo-250404 not copied into hf_* because the leftover is the GitHub repo. Discord posted the repo. Apollo training chunks in data/ are a small in-repo split, not a new hosted corpus, so no datasets_local row.

## Related entries

- Discussed in: [RL for language models after GRPO: fixes, costs, rewards, agents (overview)](https://papers.projxon.ai/entries/1207) (note, #1207)

## Similar entries

- [Stream of Search (SoS): Learning to Search in Language](https://papers.projxon.ai/entries/907) (paper, #907)
- [Targeting Pivotal Decisions for Credit Assignment in Agentic Reinforcement Learning](https://papers.projxon.ai/entries/860) (paper, #860)
- [Open Env Arena — agent arena for RL environments](https://papers.projxon.ai/entries/1307) (tool, #1307)
- [MiMo-V2.6: Scaling Reinforcement Learning Towards Self-Improvement](https://papers.projxon.ai/entries/849) (paper, #849)
- [VERA: Scaling Verifiable Environments for Agentic co-Evolution](https://papers.projxon.ai/entries/1291) (paper, #1291)
- [Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory](https://papers.projxon.ai/entries/549) (paper, #549)
