Introduction
In the field of Model-Based Reinforcement Learning (MBRL), a persistent challenge is the disconnect between perception—the processing of raw sensory data—and control—the selection of actions. Traditional approaches often treat these as separate modules: a convolutional neural network (CNN) extracts features, which are then passed to a policy network. However, this architecture lacks the object-level inductive biases inherent in human cognition. Humans perceive the world not as a collection of pixels, but as discrete entities with physical properties like location and velocity.
This paper introduces Perception and Control as Inference (PCI), a unified Bayesian framework that treats both world-modeling and action-selection as a single inference problem. By applying this framework to an Object-based Perception Control (OPC) model, the authors demonstrate that agents can learn to decompose complex visual scenes into distinct objects without explicit supervision, leading to enhanced performance and sample efficiency in partially observable environments.
The PCI Framework and OPC Implementation
The core of this research is the PCI framework, which utilizes Bayesian inference to maximize "future optimality." It treats an agent's actions and environmental states as hidden variables, providing a joint objective for both perception and policy.
The OPC model is a specific instantiation of this framework designed to leverage object-based representations. Unlike standard CNN-based agents, OPC employs a spatial mixture model for unsupervised perceptual grouping.
As shown in the architecture above, the model operates through an Expectation-Maximization (EM) style loop:
- Perceptual Grouping (E-step): Pixels are assigned to one of $K$ object representations ($\theta$) via soft-assignment.
- Model Update (M-step): Object properties and the internal world model are updated based on these assignments.
- Decision Making: These discovered abstractions are fed into an Advantage Actor-Critic (A2C) module. Crucially, the gradients from the reward signal flow back into the perception model, allowing the agent to "learn to see" features that are functionally relevant for survival.
Experimental Evaluation: Pixel Waterworld
The model was evaluated using Pixel Waterworld, a partially observable Markov decision process (POMDP). In this environment, an agent must navigate an 84x84 grayscale space to collect "food" while avoiding "poison." Both targets move randomly, requiring the agent to infer velocity and identity from sequences of raw frames.
Key Insights
- Reward-Biased Perception: The joint optimization of perception and control allows the reward signal to act as a semantic guide. The agent learns to distinguish between food and poison based on their functional impact on rewards, rather than just pixel-level reconstruction.
- Object-based Bottleneck: Forcing the representation into $K$ discrete "slots" acts as a powerful regularizer, preventing the model from getting lost in high-dimensional pixel noise.
- Online Learning: OPC acquires these biases through direct interaction with the environment, mimicking biological learning processes more closely than models requiring massive offline pre-training.
Results and Discussion
OPC demonstrated significant advantages over strong baselines, including standard A2C with a flat CNN and "World Model" variants (WM-A2C).
As illustrated in the performance plots, OPC reaches higher reward plateaus much faster than its competitors. It achieves significant rewards within $5 \times 10^5$ observations, whereas other models often require orders of magnitude more data or fail to reach the same level of proficiency. Qualitative analysis further confirmed that the model successfully segments the agent, food, and poison into distinct slots without supervised labels.
Limitations and Future Directions
While promising, the current OPC implementation has limitations. It requires a pre-defined number of object slots ($K$), which may not scale to environments with a dynamic number of entities. Furthermore, while Pixel Waterworld is a robust test for POMDPs, its visual complexity is relatively low. Future work will focus on scaling these methods to 3D environments and exploring more complex object-to-object relational reasoning.
Summary updated