Abstract
This paper introduces Sensory Commutativity (SC), a framework based on group theory that enables embodied agents to autonomously understand their bodies and environments. By measuring how the order of action sequences affects sensory outcomes via the Sensory Commutativity Probability (SCP) metric, agents can identify high-impact body parts, detect movable objects without supervision, and accelerate reinforcement learning. Experimental results in 2D and 3D simulations demonstrate that SCP effectively ranks motor impact and significantly improves learning efficiency.
Introduction
In traditional artificial intelligence, perception is often modeled as a passive process, akin to analyzing static images. However, for embodied agents such as robots, perception is inherently active and inextricably linked to action. A fundamental challenge in robotics is the "tabula rasa" problem: how can an agent learn to interpret high-dimensional sensory data and complex motor controls from scratch, without human-labeled datasets or pre-defined environmental maps?
This research introduces a framework for agents to distinguish between actions that merely change their internal state (e.g., rotating a camera or blinking) and actions that fundamentally alter the external environment (e.g., displacing an object).
Methods: Sensory Commutativity
The core of this framework is the concept of Sensory Commutativity (SC), inspired by group theory. Two action sequences, $a_1$ and $a_2$, are said to commute if performing them in different orders ($a_1$ then $a_2$ versus $a_2$ then $a_1$) results in the identical sensory state.
The authors propose the Sensory Commutativity Probability (SCP) metric. For each degree of freedom (DOF), the agent conducts experiments starting from a common state.
- High SCP: Indicates that the order of actions does not significantly impact the final sensory outcome. These typically correspond to "non-displacement" actions like head rotation.
- Low SCP: Indicates that the order matters significantly, suggesting the actions have a high impact on the environment, such as moving an object.
Additionally, a neural network is trained as a Mask Predictor to identify differences in sensory outcomes, effectively highlighting moved objects. This information is then used for Action Space Optimization in Reinforcement Learning (RL), allowing the agent to focus exploration on high-impact (low SCP) motors.
Experimental Setup and Datasets
The theory was evaluated across several simulated environments:
- Flatland: A 2D environment featuring a "Cyclops" agent named Polyphemus.
- iGibson: A high-fidelity 3D simulator with realistic apartment scenes.
- YCB Object Benchmark: A standard set of real-world objects used to test unsupervised object discovery.
- Robotic Platforms: Models of the Fetch mobile manipulator and JackRabbot were utilized.
Key Insights
The Proximo-Distal Principle
The SCP metric naturally recovers the biological truth that joints closer to the body (e.g., shoulders) generally have a lower SCP (higher environmental impact) than distal joints (e.g., fingers). This allows the agent to learn a hierarchy of its own body parts without external supervision.
Philipona’s Conjecture
The results provide empirical support for Philipona’s conjecture, which posits that non-displacement actions will always commute. This offers a formal mathematical basis for an agent to distinguish between "self" and the "world."
Unsupervised Object Discovery
Commutativity serves as an inherent object detector. If action sequences fail to commute, the agent has likely interacted with an object. If the resulting images are mostly identical except for a localized change, the agent has discovered a movable object.
Key Results
The SCP successfully ranked motors by environmental impact across both 2D and 3D domains. For the Fetch robot, the wheels exhibited the lowest SCP, while the torso lift and head tilt had the highest.
The mask predictor achieved 82% accuracy in classifying SC-experiment outcomes and an Intersection over Union (IoU) of 0.85 for identifying moved objects. Furthermore, using SCP to prune the action space allowed RL agents to solve navigation tasks more than twice as fast as the baseline PPO2 algorithm.
Limitations and Future Directions
A primary limitation is the "reset" requirement: SC-experiments currently require the agent to start from the exact same state twice. Future work suggests using Forward Models, where the agent performs one sequence physically and "imagines" the alternative order using a learned internal world model. This mental commutativity check would mirror how biological agents use surprise and attention to learn.
Summary updated