Procedural gyms: RLVE, Reasoning Gym and Enigmata
Read first: Synthetic RL environments for agent training: a map
TL;DR. The cheapest environment is a program that writes a problem and checks the answer. RLVE (UW, AI2 and collaborators, Nov 2025; ICML 2026) builds RLVE-Gym, 400 hand-engineered environments, each with a problem generator for difficulty d and an algorithmic verifier. Its contribution is adaptive difficulty: each environment tracks the policy’s accuracy and moves its own difficulty window upward. Starting from ProRL-1.5B-v2, already trained with RLVR for over 20,000 H100 hours, RLVE adds 3.37 points of average accuracy on six reasoning benchmarks in about 1,100 H100 hours; continuing the original RL adds 0.49 points with more than 3× the compute. Reasoning Gym (NeurIPS 2025 Spotlight; one of GEM’s task categories) and Enigmata (ByteDance Seed) are open generator-plus-verifier libraries.
Key idea
Section titled “Key idea”A static dataset is a frozen difficulty distribution. As the policy improves, more prompts get all-correct groups, and with GRPO-style group baselines those carry no signal. RLVE makes difficulty a state of the environment:
- Sample , generate a problem, verify the answer.
- After rollouts at level , if accuracy , set .
- Keep a window of levels: when the range grows past it.
Training uses DAPO with dynamic sampling. The tracked metric is the effective prompt ratio, the fraction of prompts whose rollouts do not all get the same reward. Two design principles shape the environments. First, they are pedagogical: many adapt competitive-programming problems, and the model must produce outputs by reasoning instead of executing a solver. Second, verification exploits what the environment can do and the model cannot, such as running the reference program or relying on problems that are easier to check than to solve.
Results. RLVE on ProRL-1.5B-v2: +3.37 absolute average across six reasoning benchmarks (math, code generation, logic) in about 1,100 H100 hours, versus +0.49 for continued RLVR with more than 3× the compute. Adaptive difficulty keeps the highest effective prompt ratio and the best in-distribution and held-out accuracy (Fig. 3). Enigmata’s Qwen2.5-32B-Enigmata reaches 32.8% on ARC-AGI and surpasses o3-mini-high and o1 on puzzle benchmarks. Enigmata puzzle data also improved Seed1.5-Thinking on AIME, BeyondAIME and GPQA-Diamond. Reasoning Gym reports both evaluation and RL use of its generators (code). The RLVE paper names adaptive non-verifiable environments, such as deep research, as an open direction.
Connections
Section titled “Connections”- Difficulty filters elsewhere: DeepSeek-V3.2’s pass@100 > 0 (lab pipelines), DreamGym’s variance curriculum (simulated environments), DAPO dynamic sampling.
- Packaging these generators as multi-turn agent tasks: environment interfaces (GEM, OpenEnv, verifiers).
- Agent-environment counterparts with real state: Agent World Model, SWE-smith.
- Why exact verifiers matter: verifier robustness.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Mechanism
Walk through RLVE's adaptive difficulty for one environment: the range [l, h], when h increases, the sliding window, and why each of the 400 environments keeps its own statistics. Use the default hyperparameters.
What a strong answer covers
- Each environment has a generator for difficulty d and a program verifier; start with l = h = 0 and sample d uniformly from [l, h].
- After at least τ_num rollouts at level h (default 8 times the rollouts per problem), if accuracy is at least τ_acc = 0.9, increment h.
- Sliding window: if the range exceeds d_Δ = 4 levels, set l = h − d_Δ + 1, so easy levels stop consuming rollouts.
- Difficulty levels are not comparable across environments (Fig. 4: reached upper bounds span 0 to 12), so one global range is wrong for most; per-environment state tunes each automatically.
- What if…
RLVE compares adaptive difficulty with static ranges, including an "oracle" static range [0, 20] matching the in-distribution test, and compares training on 1, 4, 16 and 256 environments. State what each comparison isolates and what it found.
What a strong answer covers
- Static low range: effective prompt ratio (share of prompts with non-identical rewards) collapses as the model masters it; learning stalls.
- Static high range: ratio stays non-zero but well below adaptive, so most compute goes to unsolvable problems; both ID and OOD accuracy suffer.
- Adaptive matches or beats even the oracle static range on ID accuracy, and a static range built from the adaptive run's own reached difficulties still loses.
- Environment count: larger collections (each containing the smaller) consistently raise accuracy on 50 held-out environments, so breadth drives generalization.
- Critique
RLVE-Gym environments are "pedagogical tools": the model must, for example, produce the output of a competitive-programming problem by reasoning instead of running code. Critique whether puzzle and algorithm environments are a good use of RL compute for agents that will have tools at deployment.
What a strong answer covers
- For: cheap, unlimited, programmatically checkable rewards (reliable only as far as the verifier and answer parser are correct); RLVE improved six math, code and logic benchmarks for a saturated 1.5B model; Enigmata data helped a large model on AIME and GPQA.
- Against: forbidding tools trains manual simulation of what a program does in milliseconds; agent skills (when to call a tool, recovery from tool errors, long contexts) are absent.
- The single-turn setup has no sequence of external action–observation transitions, so no tool-induced state changes, no partial observability across steps and no multi-step credit assignment, which are what agent environments add.
- Middle ground: use procedural generators inside multi-turn wrappers (GEM turns single-turn tasks into tool-using ones) or as a reasoning warm-up before agentic RL.