Abstract: Traditional reinforcement learning (RL) exploration often relies on novelty or uncertainty, which can lead agents toward chaotic, hard-to-model behaviors. This paper introduces Regularity as Intrinsic Reward (RaIR), a novel signal that encourages agents to seek out structure, order, and symmetry during "free play." By minimizing the entropy of object relations, RaIR biases agents toward creating ordered structures like towers and symmetric patterns. Experimental results in 2D grid worlds and 3D robotic manipulation environments demonstrate that structure-seeking exploration significantly improves zero-shot performance on complex assembly tasks compared to standard novelty-seeking methods.
1. Introduction
In human development, play evolves from random interactions to intentional creation. While a toddler might start by banging blocks together, they eventually progress to building towers and aligning objects in symmetric patterns. In contrast, Reinforcement Learning (RL) has historically focused on the "banging blocks" phase, using novelty or uncertainty to drive exploration. While effective for simple discovery, this often leads agents to prefer chaotic dynamics that generate high information gain but lack functional utility.
Researchers from the Max Planck Institute and the University of Tübingen address this by introducing Regularity as Intrinsic Reward (RaIR). This signal encourages agents to seek out structure and order, guiding them toward a subspace of tasks—such as stacking and alignment—that are highly relevant for downstream applications.
2. Methodology: Regularity as Intrinsic Reward
The core contribution is the mathematical operationalization of regularity as a driver for exploration.
2.1 RaIR Formulation
Regularity is defined as the redundancy in a scene's description. Mathematically, this is expressed as the negative Shannon entropy of a discrete distribution of object properties or relations. By maximizing this reward, the agent is incentivized to reach states that are highly ordered and thus have low description length.
2.2 Relational Mapping
To capture structural order, the authors focus on Relational RaIR. The system computes a "Relation Matrix" based on pairwise relative distances or position vectors between all objects. If many pairs of objects share the same relative position (e.g., they are all aligned in a row), the entropy of this matrix decreases, and the RaIR reward increases.
2.3 Integration with Free Play
RaIR is combined with CEE-US (Curious Exploration via Structured world models), which utilizes an ensemble of Graph Neural Networks (GNNs) to model world dynamics. The total intrinsic reward is a weighted sum of regularity and epistemic uncertainty:
$$r_{intrinsic} = r_{RaIR} + \lambda \cdot r_{EpistemicUncertainty}$$
This dual objective allows the agent to seek out both what is new (to improve the model) and what is ordered (to discover useful structures).
3. Experimental Evaluation
The authors evaluated RaIR across several challenging domains:
- SHAPEGRIDWORLD: A 2D environment used to visualize the emergence of complex symmetries (rotational, reflectional, etc.).
- CONSTRUCTION: A 3D robotic manipulation environment where a robot interacts with multiple blocks. Variants included diverse shapes like cubes, columns, and balls.
- DeepMind Control Suite: Applied to locomotion tasks (Quadruped and Walker) by treating joints as entities and seeking regular poses.
4. Key Insights and Results
4.1 Stacking as a Global Optimum
When regularity is defined based on relative x-y positions, a vertical stack of blocks becomes a global optimum because all blocks share the same coordinates, maximizing redundancy. Consequently, RaIR-driven agents "discover" the concept of stacking autonomously.
4.2 Balancing Chaos and Order
Pure RaIR can lead to static local optima. However, combining it with uncertainty creates a dynamic cycle: the agent builds a structure, becomes "bored" as the structure becomes predictable, destroys it to find new data, and then constructs a different ordered state.
4.3 Zero-Shot Assembly
Because the agent spends its free play time building stable structures, the learned world model becomes exceptionally proficient at predicting the physics of assembly. In the CONSTRUCTION environment, the RaIR + CEE-US agent achieved a 75% success rate on building a 3-object tower zero-shot, compared to 40% for pure curiosity-based methods and near 0% for standard baselines like RND.
5. Limitations and Future Work
While promising, the current approach relies on an object-centric view of the world, requiring known object positions. Future work could integrate perception systems to segment objects from raw pixels. Additionally, while the entropy formulation is general, the specific relational mappings (e.g., relative x-y positions) are currently hand-designed; learning these representations could further generalize the method.
6. Conclusion
By bridging developmental psychology and reinforcement learning, this work suggests that intelligent exploration is not just about curiosity regarding the unknown, but also a fundamental drive to create order out of chaos. RaIR provides a robust mechanism for guiding agents toward functional, structured behaviors in complex environments.
Summary updated