Deeper RL networks turn trial and error into parkour
Researchers from Princeton University and the Warsaw University of Technology found that making Contrastive RL networks much deeper can produce 2x to 50x performance gains, depending on the task. In simulations, deeper agents moved from failing basic navigation to walking upright and vaulting over walls, though the approach remains costly and not yet broadly tested outside its current settings.
Reinforcement learning has long had a scaling problem. Bigger models have transformed language and image systems, but AI agents that learn by trial and error have not seen the same simple payoff from adding more neural network capacity.
“Deeper reinforcement learning agents becoming much more capable at autonomous simulated movement mildly points toward more powerful agentic AI, though it remains experimental and constrained.”Why it scores Terminator
A research team from Princeton University and the Warsaw University of Technology now reports a different result: in the right kind of reinforcement learning setup, depth can matter a lot. By scaling network depth as high as 1,024 layers, the team observed performance gains from 2x to 50x, depending on the task, and saw simulated agents develop new ways to move through their environments.
Why reinforcement learning has been harder to scale
Most reinforcement learning algorithms use only two to five network layers. That is a sharp contrast with language models such as Llama 3, which run on hundreds of layers. The gap is not only a matter of model size; it comes from the way the systems learn.
Language models receive dense training signals. During training, every word can become feedback about what the model should predict next. Reinforcement learning agents usually get much thinner information. An agent may try many actions before learning whether it has reached a goal or failed.
That sparse feedback makes it harder to use very deep networks effectively. If the learning signal is weak, adding layers can make training more expensive without giving the agent a clearer path to improvement.
The new work focuses on a self-supervised method called Contrastive RL (CRL). The method transfers several scaling ideas from successful language model training into reinforcement learning, but it applies them to the agent’s own experience rather than to human examples or hand-written rewards.
How Contrastive RL changes the learning signal
CRL gives the agent a repeated comparison task. Instead of only waiting for a final success or failure signal, the agent learns whether a state, action, and goal look as if they belong together on a successful path.
In plain language, the system keeps asking whether a move appears to be part of a route that reaches the target. Combinations that fit are moved closer together in training, while combinations that do not fit are pushed apart.
That contrastive structure gives the network more to learn from during trial and error. It does not remove the difficulty of reinforcement learning, but it gives deeper networks a more useful training objective than traditional approaches did in the team’s experiments.
The researchers also found that depth scaling required three architecture components working together:
- residual connections, which help preserve information in deep networks;
- a normalization method, which supports more stable learning steps;
- a specialized activation function.
According to the study, adding depth worked only when all three were present. That detail matters because it suggests the result is not just about making a network larger. The training recipe has to keep the deeper system stable enough to use the added layers.
From falling forward to vaulting over walls
The most visible results came from simulated humanoid environments. In the simplest version described, a 4-layer model did not learn a controlled strategy. It threw itself toward the target rather than walking.
At 16 layers, the behavior changed: the agent learned to walk upright. At 256 layers, the study reports more advanced movement, including acrobatic strategies and overcoming obstacles by vaulting over walls.
The team describes these as the first documented behaviors of this kind in a goal-conditioned RL approach for humanoid environments. The progression is important because the improvement was not only a smoother version of the same behavior. After certain depth thresholds, the agent began using qualitatively different strategies.
The maze results show the same pattern in another form. A network with 4 layers failed to solve the maze, while a network with 64 layers learned to navigate it successfully. In the most difficult maze scenarios, where a humanoid figure had to move through the environment, the researchers tested networks with up to 1,024 layers.
Across the benchmark set, scaled CRL outperformed all other goal-conditioned RL baselines in 8 out of 10 tested tasks. On the hardest task, the improvement over the standard network exceeded 1,000x.
Depth outperformed width in these tests
Much previous reinforcement learning scaling work has focused on width, meaning the number of neurons in each layer. This study points in another direction. The researchers found that increasing depth was the more effective lever in their setup.
Even doubling depth to eight layers outperformed the widest networks while using fewer parameters. That does not mean width is irrelevant, but it does mean the team’s results challenge the assumption that simply making each layer larger is the best path for these agents.
The distinction also depended on the algorithm. Traditional reinforcement learning methods did not benefit from added depth in the same way during the experiments. The researchers point to CRL’s self-supervised structure as the likely reason deeper models could make better use of the extra layers.
Seen in that light, the result is less a general claim that any reinforcement learning model should become deeper, and more a specific finding: depth can produce major gains when paired with a learning objective and architecture that can support it.
What still limits the approach
The gains come with a practical tradeoff. Deeper networks take longer to train, so the performance improvements are not free. A system with hundreds or 1,024 layers has a different computational profile than the shallow networks commonly used in reinforcement learning.
The results also come from simulations. The source study includes an initial test with previously unseen goal combinations, but broader testing under varied conditions is still missing. It remains unclear how well the method generalizes to significantly different scenarios.
The offline setting is another limitation. When the agent no longer interacted with its environment, additional depth showed little benefit so far. That suggests the approach may depend strongly on continued trial-and-error interaction.
The work builds on earlier evidence that scaling principles can apply to reinforcement learning. Back in 2022, researchers at Goethe University Frankfurt showed that scaling laws familiar from large language models could also apply to reinforcement learning algorithms like AlphaZero, with agent performance scaling as a power law with network size.
This newer result narrows the question. It suggests that, at least for CRL in these simulated tasks, network depth can be the key factor rather than total size alone. The code is publicly available, which should make it easier for other researchers to test where the effect holds and where it breaks.
Read next