Iterative Shrinking for Referring Expression Grounding Using Deep Reinforcement Learning

Mingjie Sun, Jimin Xiao, Eng Gee Lim

Abstract

In this paper, we are tackling the proposal-free referring expression grounding task, aiming at localizing the target object according to a query sentence, without relying on off-the-shelf object proposals. Existing proposal-free methods employ a query-image matching branch to select the highest-score point in the image feature map as the target box center, with its width and height predicted by another branch. Such methods, however, fail to utilize the contextual relation between the target and reference objects, and lack interpretability on its reasoning procedure. To solve these problems, we propose an iterative shrinking mechanism to localize the target, where the shrinking direction is decided by a reinforcement learning agent, with all contents within the current image patch comprehensively considered. Beside, the sequential shrinking process enables to demonstrate the reasoning about how to iteratively find the target. Experiments show that the proposed method boosts the accuracy by 4.32% against the previous state-of-the-art (SOTA) method on the RefCOCOg dataset, where query sentences are long and complex, with many targets referred by other reference objects.

The Challenge of Context in REG

Referring Expression Grounding (REG) is the task of localizing a specific object in an image based on a natural language description (e.g., "the cat sitting on the shelf"). Existing methods generally fall into two camps: proposal-based methods, which rely on pre-generated bounding boxes, and proposal-free point-matching methods, which attempt to find a single "feature point" to represent the object center.

Limitations of point-matching: reference objects like the 'shelf' are often ignored during the matching process, leading to errors in complex scenes.

As illustrated above, point-matching often fails on complex queries involving spatial relationships. If a query is "the cat above the shelf," a single feature point might capture a cat but lose the context of the "shelf" needed to distinguish it from other cats in the scene. Furthermore, these "black box" models lack interpretability; it is difficult to discern why a model chose a specific localization.

Iterative Shrinking via Reinforcement Learning

To address these limitations, we propose Iterative Shrinking, modeled as a Markov Decision Process (MDP) and solved using a Deep Reinforcement Learning (RL) Actor-Critic framework. Instead of a single-shot prediction, the model starts with the whole image and iteratively decides which side to crop.

The iterative shrinking process: the agent sequentially crops the image view to isolate the target object while maintaining context.

The Core Loop

The agent chooses from five actions at each step: shrink the top, bottom, left, or right side, or "Stop." This "global-to-local" approach ensures that the model maintains a view of the surrounding context until it is no longer needed to identify the target. The agent's decisions are guided by a multi-modal state representation:

  • Linguistic: Queries are parsed into "discriminative triads" (Target, Relation, and Reference object) to better capture linguistic structure.
  • Visual: Multi-scale features are extracted via ResNet and a Feature Pyramid Network (FPN).
  • Spatial: A 5-D vector representing the current patch's coordinates relative to the original image.

Key Insights and Results

The iterative process provides a "visual reasoning" trail, allowing users to watch the agent crop out unrelated regions (like a chair or a distractor cat) based on the query's spatial requirements.

The method outperformed previous state-of-the-art (SOTA) methods, particularly on complex datasets:

  • RefCOCOg: Achieved a 4.32% accuracy boost over the previous SOTA. This dataset contains the most complex relational queries, where the "shrinking" logic is most effective.
  • Ablation Success: Removing the "triad" linguistic component or the multi-scale visual features led to significant drops in accuracy, proving that both structured language and hierarchical vision are necessary for effective decision-making.

Conclusion

By framing REG as an iterative shrinking task, this approach moves beyond the limitations of static point-matching. It not only improves accuracy on complex, relationship-heavy queries but also offers a transparent view into the model's reasoning process, paving the way for more robust and interpretable visual grounding systems.

Summary updated

BibTeX
@inproceedings{sun2021iterative,
  author = {Mingjie Sun and Jimin Xiao and Eng Gee Lim},
  title = {{Iterative Shrinking for Referring Expression Grounding Using Deep Reinforcement Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  url = {https://openreview.net/forum?id=A0Rq-p3O7F},
}
Figure