Tree-Structured Reinforcement Learning for Sequential Object Localization

Zequn Jie, Xiaodan Liang, Jiashi Feng, Xiaojie Jin, Wen Lu, Shuicheng Yan

Introduction

Most modern object detection systems rely on a two-step process: first, generate a set of "object proposals" (candidate bounding boxes), and then classify them. Traditional proposal algorithms, such as Selective Search or Edge Boxes, and even deep learning-based approaches like Region Proposal Networks (RPN), tend to treat every location and scale independently.

The authors of this paper argue that this "brute-force" approach is inefficient and deviates significantly from human perception. Humans do not scan every pixel in isolation; we perceive the entire scene first and then use context and spatial relationships to zoom in on specific objects. Existing methods ignore these interdependencies—for instance, knowing the location of a table provides strong priors for finding the chairs around it.

To address this, the authors introduce Tree-Structured Reinforcement Learning (Tree-RL). By mimicking human visual attention—starting with a global view and sequentially refining regions of interest—Tree-RL achieves state-of-the-art recall and detection accuracy using significantly fewer candidate windows than traditional methods.

Methodology

The authors frame object localization as a Markov Decision Process (MDP), which they solve using Deep Q-Learning. The agent learns to navigate the image by sequentially refining bounding boxes.

The Action Space

At each step, the agent can manipulate its current viewing window. The available actions are divided into two distinct groups:

Action Space
  1. Scaling Actions: 5 actions that shrink the window to 0.55x its original size (e.g., zooming into the top-left, center, bottom-right, etc.).
  2. Local Translation Actions: 8 actions that move or slightly reshape the window (e.g., shifting by 0.25x, or stretching horizontally/vertically).

This is the core innovation of the paper. Instead of following a single path of actions, the agent follows a tree structure. Starting from the entire image as the initial proposal, the agent selects the best action from both the scaling group and the translation group simultaneously.

Tree-Structured Search

By taking two distinct actions at each step, the search bifurcates. This creates a tree of proposals that covers diverse scales and locations in a single feed-forward pass, allowing the agent to naturally explore different "hypotheses" about where objects might be.

State and Reward

To make intelligent decisions, the agent's "state" (its view of the environment) includes three components: the feature vector of the current window, the feature vector of the entire image (providing crucial global context), and a history of the last 50 actions taken.

The reward function used to train the agent is designed to encourage both accuracy and exploration:

  • +1 / -1: Awarded based on whether the current action increased or decreased the Intersection-over-Union (IoU) with any ground-truth object.
  • +5 "First-Time Hit" Bonus: A high reward given when the agent first hits an object with an IoU > 0.5. This prevents the agent from obsessively refining a single object and encourages it to search the rest of the image for new ones.

Key Results

The model was trained and evaluated on the standard PASCAL VOC 2007 and 2012 benchmarks.

  • Fewer Windows, Higher Quality: On VOC 2007, Tree-RL achieved comparable recall to the popular RPN but used significantly fewer candidate windows. With a 5-level tree yielding only 31 proposals, Tree-RL significantly outperformed RPN at the same window count.
  • Detection Accuracy: When integrated into a Fast R-CNN detector, Tree-RL achieved a mean Average Precision (mAP) of 76.6% on VOC 2007 and 73.7% on VOC 2012, outperforming the standard Faster R-CNN baselines of the time.
  • Scale Handling: The tree structure proved particularly effective at localizing large objects, which are often fragmented by traditional sliding-window approaches.

Limitations and Future Work

While highly efficient in terms of proposal count, the approach has a few limitations. First, the authors noted a sensitivity to small objects; if the tree is shallow (e.g., only 5 levels), the model may miss very small objects because it hasn't "zoomed in" enough. Increasing tree depth mitigates this but adds computational cost.

Additionally, the scaling actions are fixed at a 0.55x factor. Future work could involve learning the optimal zoom factor dynamically. Finally, while Tree-RL evaluates far fewer windows, the sequential nature of RL and the branching tree mean it may face computational overhead challenges compared to fully parallelized "one-shot" detectors in real-time production environments.

Summary updated

BibTeX
@inproceedings{jie2016tree,
  author = {Zequn Jie and Xiaodan Liang and Jiashi Feng and Xiaojie Jin and Wen Lu and Shuicheng YAN},
  title = {{Tree-Structured Reinforcement Learning for Sequential Object Localization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2016},
  url = {https://openreview.net/forum?id=r1-XKIWObS},
}
Figure