Object-sensitive Deep Reinforcement Learning

Yuezhang Li, Katia P. Sycara, Rahul Iyer

Introduction

Deep Reinforcement Learning (DRL) has achieved remarkable success in mastering complex tasks, most notably in the domain of Atari 2600 games using raw pixel inputs. However, standard architectures like the Deep Q-Network (DQN) often struggle with two fundamental issues: a lack of semantic awareness and the "black box" nature of their decision-making processes. Because these models treat all pixels with equal initial importance, they must learn to distinguish critical entities—such as rewards or hazards—through extensive trial and error. Furthermore, existing visualization techniques often fail to provide human-interpretable explanations for an agent's actions.

This paper introduces Object-sensitive Deep Reinforcement Learning (O-DRL), a framework designed to bridge the gap between raw perception and semantic understanding. By explicitly incorporating object recognition into the learning pipeline, O-DRL improves both agent performance and explainability.

The O-DRL Framework

The core innovation of O-DRL lies in its treatment of input data. Rather than relying solely on RGB frames, the researchers proposed a dual-pathway approach.

Object Channels

The model utilizes an Object Recognizer—implemented via template matching—to identify key entities within the game environment. For each distinct type of object detected (e.g., ghosts, pellets, or the player character), a dedicated binary channel is generated. If a game contains $k$ types of objects, the input to the convolutional neural network (CNN) becomes an $(RGB + k)$-channel image. This explicit labeling allows the network to bypass the stage of learning basic shapes and instead focus on the strategic relationships between entities.

The O-DQN architecture integrates an object recognizer to augment raw pixel input with semantic object channels.

Object Saliency Maps

To address the "black box" problem, the authors developed a perturbation-based visualization tool called the Object Saliency Map. Unlike traditional gradient-based methods that highlight noisy pixel clusters, this method evaluates the importance of specific objects:

  1. The system identifies an object in the current frame.
  2. The object is "masked" by replacing its pixels with the background color.
  3. The model calculates the difference in the predicted Q-value (expected reward) between the original and masked states.
  4. A significant drop in the Q-value indicates that the specific object was a primary driver of the agent's current strategy.

Experimental Results

The O-DRL framework was evaluated across five Atari 2600 games in the OpenAI Gym environment: Freeway, Riverraid, SpaceInvaders, BankHeist, and Ms.Pacman. These games represent a spectrum of object diversity and task complexity.

Performance Gains

The O-DRL models consistently outperformed standard baselines, including DQN, Double DQN (DDQN), and A3C. The benefits were most pronounced in environments with high object diversity. In Ms.Pacman, O-DRL achieved a performance boost of approximately 20% over standard models. In simpler games like Freeway, the improvement was more modest (around 1%), suggesting that semantic awareness is most critical when the environment is crowded with competing entities.

Enhanced Explainability

The superiority of object-level saliency over pixel-level saliency is visually evident. While traditional pixel saliency maps often produce abstract heatmaps that are difficult for humans to map to game logic, object saliency maps provide a clear, sparse representation of what the agent is "watching."

Comparison of (a) original game state, (b) traditional pixel saliency, and (c) the proposed object saliency map.

As shown in the comparison above, the object saliency map (c) clearly highlights the specific ghosts and pellets influencing the agent's move, whereas the pixel saliency map (b) is significantly noisier.

Conclusion and Future Directions

O-DRL demonstrates that providing agents with a "vocabulary" of objects significantly enhances their ability to learn and their capacity to be understood by humans. While the current implementation relies on manual template matching, future work aims to automate object discovery and integrate more robust computer vision techniques like Fast R-CNN. Ultimately, this research paves the way for DRL agents that can not only perform at superhuman levels but also explain their reasoning in human-centric, object-oriented terms.

Summary updated

BibTeX
@inproceedings{li2017object,
  author = {Yuezhang Li and Katia P. Sycara and Rahul Iyer},
  title = {{Object-sensitive Deep Reinforcement Learning}},
  booktitle = {GCAI},
  year = {2017},
  doi = {10.29007/xtgm},
}
Figure