Abstract
Deep Reinforcement Learning (RL) agents often struggle with data inefficiency and brittle generalization, largely because they treat environments as streams of raw pixels rather than collections of persistent objects. This study investigates whether augmenting a state-of-the-art RL agent with simple, hand-engineered object segmentation masks can overcome these hurdles. Using the Atari game Frostbite, researchers demonstrate that providing explicit "objectness" allows agents to reach 200-million-step performance benchmarks in just 10 million steps and significantly improves robustness to out-of-distribution visual scenarios.
Introduction
While humans can learn the mechanics of a new game in minutes, standard model-free RL agents typically require hundreds of hours of experience. A major factor in this discrepancy is the human capacity for object-centric reasoning—understanding that the world is composed of discrete entities that persist and interact. In contrast, standard agents like Deep Q-Networks (DQN) operate on raw pixel data, making them sensitive to minor visual changes. This paper explores whether providing simple object representations can serve as a powerful inductive bias to bridge the gap between machine and human-like learning efficiency.
Methods
The researchers employed Rainbow, a high-performing variant of DQN, as their baseline agent within the Atari Learning Environment (ALE), specifically focusing on the game Frostbite. The core innovation was the augmentation of the input state space. Instead of the standard four grayscale frames, the researchers tested three primary conditions:
- Pixels+Objects: Raw pixels supplemented by eight binary masks representing semantic categories (e.g., player, ice floes, igloo).
- Objects Only: Only the eight semantic masks, with no raw pixel data.
- Grouped: Pixels plus a single mask for all moving objects to test the necessity of semantic separation.
To analyze how these models utilized the additional information, the authors conducted an "Omitted Objects Analysis" (selectively removing masks during evaluation) and utilized t-SNE visualizations to compare state-valuation patterns between pixel-only and object-aware models.
Key Results and Insights
Efficiency and Performance
The inclusion of object masks acted as a "cheat code" for learning. Both the "Pixels+Objects" and "Objects Only" models achieved scores of approximately 14,000 points within 10 million training steps. For comparison, the original Rainbow baseline requires roughly 200 million steps to reach similar performance levels, and the pixel-only baseline in this study hovered around 10,000 points at the 10-million-step mark.
Pixel Neglect and Generalization
A striking finding was the emergence of "pixel neglect" in the hybrid model. When trained on both pixels and objects, the agent became almost entirely dependent on the masks; removing the masks during testing caused performance to collapse, even though the raw pixels were still present.
However, this reliance on objects provided a significant advantage in generalization. Pixel-only models frequently failed to recognize the igloo in later levels when the background color shifted. In contrast, object-aware models identified the "igloo" mask regardless of the background color, demonstrating far greater robustness to visual distribution shifts.
Strategic Focus and Robustness
In out-of-distribution tests—such as flooding the screen with novel sprites—object-aware models maintained their performance by correctly identifying the valence of objects (e.g., "dangerous" vs. "beneficial") based on their mask labels. Furthermore, the researchers found that removing the mask for "good animals" (bonus point targets) actually increased the median score for the "Objects" model, suggesting that the agent could focus more effectively on the primary goal of level completion without the distraction of short-term rewards.
Conclusion
This research demonstrates that even simple, non-learned object representations can dramatically improve the efficiency and robustness of model-free RL agents. While the current study relies on hand-engineered masks, it highlights the critical importance of "objectness" as an inductive bias. Future work will focus on unsupervised object discovery—learning to segment these masks directly from pixels—and integrating these representations into causal world models for more advanced planning and intuitive physics.
Summary updated