Verifiable Environments Are LEGO Bricks: Recursive Composition for Reasoning Generalization
Hao Xiang, Qiaoyu Tang, Le Yu, Yaojie Lu, Xianpei Han, Ben He, Le Sun, Bowen Yu, Peng Wang, Hongyu Lin, Dayiheng Liu
NeurIPS page · Open on the map
Category: LLM Post-Training: RL & Distillation › Reasoning-Centric Reinforcement Learning · Type: new method · Keywords: reinforcement learning, verifiable environments, environment composition, reasoning generalization, LLM reasoning, automated composition
Areas: LLM Reasoning › Reasoning Strategies › Reinforcement Learning for Reasoning; Evaluation & Benchmarks › Language Model and Agent Benchmarks › Verifiable Reward Reinforcement; RL for LLMs & Agents › LLM Reasoning Reinforcement Learning › Reinforcement Learning for Language Models
Summary
RACES is a framework that recursively composes verifiable environments as LEGO bricks to scale reasoning generalization in RL, achieving strong performance gains on unseen benchmarks.
Explained to a 5-year-old
People make little games that help robots learn to think. Instead of building each game by hand, they can connect games together like building blocks to make bigger games. By playing many of these combined games, the robot gets better at solving new puzzles. This helps the robot understand things it has never seen before. It also works well using fewer games, so it saves time and effort.
Explained to a 5-year-old, longer
A robot can learn to think by playing special games that have clear rules. These games are called verifiable environments because you can check if the robot answered correctly. Making many different games by hand is slow and only lets you make a few. The paper shows a way to automatically connect games together when one game’s answer matches another game’s input. This is like linking puzzle pieces so you can build bigger puzzles without starting from scratch. They created a set of building blocks and rules for how to combine them, such as putting games in order, running them at the same time, sorting results, or picking the best ones. By using these rules, they can make huge collections of games that teach the robot many different thinking skills. The robot plays in these big collections and gets better at solving problems it has never seen. This improvement works on several different test sets that the robot never practiced on before. The method also uses far fewer original games to get the same good results, which saves time and resources. Overall, this makes it easier to teach robots how to reason by using smart building blocks instead of building everything manually.
For a technical reader
The paper introduces an automated composition system that links verifiable environments when their input and output types align, enabling recursive construction of larger training sets. It defines four composition operators-sequential, parallel, sort, and select-to generate diverse reasoning patterns. Experiments show the composed environments improve language model reasoning on unseen benchmarks, with measurable gains on two large models. The approach also reduces the number of base environments needed, demonstrating higher efficiency compared to manual scaling.
Problem
Scaling the number of environments for reinforcement learning with verifiable environments is limited by manual construction methods, which only allow linear scaling and hinder reasoning generalization. There is a need for an automated, composable approach to efficiently generate large, diverse environments for RL training.
Method
The approach treats verifiable environments as composable units and automatically fuses environments when the output type of one matches the input type of another, using composition operators such as sequential, parallel, sort, and select to recursively build larger environments.
Results
The approach improves DeepSeek-R1-Distill-Qwen-14B by an average of 3.1 points (from 48.2 to 51.3) and boosts Qwen3-14B from 58.8 to 61.1 on five unseen benchmarks, while achieving comparable performance using only 50 base environments instead of 300.
Contributions
The paper proposes an automated recursive composition framework for verifiable environments, defines composition operators to generate diverse reasoning patterns, and demonstrates significant gains in reasoning generalization with reduced environment count.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction