Entity-Enhanced Adaptive Reconstruction Network for Weakly Supervised Referring Expression Grounding

Xuejing Liu, Liang Li, Shuhui Wang, Zheng-Jun Zha, Zechao Li, Qi Tian, Qingming Huang

TL;DR

EARN is a novel framework for Referring Expression Grounding (REG) that learns to map natural language descriptions to specific image regions using only image-level tags, bypassing the need for expensive bounding-box annotations. By combining semantic-based proposal filtering with an adaptive reconstruction loss, EARN significantly outperforms previous state-of-the-art methods, particularly in complex scenes with multiple similar objects.

What Problem Does This Paper Address?

Referring Expression Grounding (REG) is the task of locating a specific object in an image based on a natural language query (e.g., "the small cat sitting on the red rug"). While supervised REG models perform well, they require massive amounts of human-annotated data where every query is manually linked to a bounding box.

Weakly supervised REG aims to learn this mapping using only image-query pairs. However, this introduces two major hurdles:

  1. Ambiguity: Without box labels, the model struggles to know which image region corresponds to which part of the text.
  2. Discriminative Context: Most existing models focus on the visual appearance of an object but ignore its location or its relationship to surrounding objects, making it nearly impossible to distinguish between "the dog on the left" and "the dog on the right."

Methods

The authors propose the Entity-enhanced Adaptive Reconstruction Network (EARN), which consists of three main modules:

  • Entity Enhancement: To reduce noise, the model uses an external language parser to identify the "subject" and "object" in the query. It then calculates the semantic similarity between these words and the predicted categories of image proposals (using GloVe embeddings). This acts as a "soft filter" to prioritize relevant candidate regions.
  • Adaptive Grounding: Not all descriptions are created equal—some focus on color, others on position. EARN uses a hierarchical attention mechanism to adaptively weight three types of features: Subject (visual appearance), Location (absolute and relative coordinates), and Context (relationships to other objects).
  • Collaborative Reconstruction: Since there is no ground truth box, the model uses a "reconstruction" loss. It attempts to regenerate the original text query using only the visual features of the region it selected. If the model picks the correct region, the reconstruction should be accurate. This is supplemented by an attribute classification task (e.g., identifying "red" or "small") to ensure the visual features are rich and descriptive.

Datasets

The model was evaluated on five diverse benchmarks:

  • RefCOCO, RefCOCO+, and RefCOCOg: Standard datasets based on MSCOCO images, varying in query length and the use of location words.
  • RefCLEF: A dataset known for having more ambiguous queries and noisy annotations.
  • Flickr30K Entities: A large-scale dataset used for phrase grounding.

Key Insights and Ideas

  • Dynamic Weighting: The "Adaptive" part of EARN is crucial. The model learns that for a query like "the one on the left," it should ignore appearance and focus almost entirely on the location features.
  • Soft Context Pooling: Instead of just looking at the single most likely "neighbor" object to provide context, EARN uses "soft pooling," which considers all objects in the scene weighted by their relevance. This allows the model to handle complex, multi-entity relationships much better than "hard" selection methods.
  • Bridging the Semantic Gap: By using semantic similarity as a form of "indirect supervision," the model can effectively prune the search space of image regions before the heavy computation begins, leading to cleaner training signals.

Key Results

EARN achieved state-of-the-art results across all five datasets.

  • RefCOCOg Performance: The most impressive gain was on RefCOCOg, where EARN outperformed the previous best method (ARN) by 10.67%. This is significant because RefCOCOg contains longer, more complex descriptions where context and location are vital.
  • Accuracy: On RefCOCO, EARN reached an accuracy of 38.59% on Test B, a notable improvement over previous weakly supervised benchmarks.
  • Qualitative Success: Visualizations show that EARN is particularly adept at distinguishing between identical objects (e.g., two giraffes) by correctly interpreting spatial cues like "far left" or "behind."

Limitations and Future Work

Despite its success, the authors note several areas for improvement:

  • Counting: The model still struggles with explicit counting (e.g., "the third vase from the right"). It understands "left" and "right" but doesn't yet have a robust mechanism for ordinal counting.
  • Rare Attributes: Because the model learns from the whole dataset without specific box labels, it can be confused by rare words or uncommon colors that don't appear frequently enough to form a strong visual-linguistic link.
  • Complex Syntax: While the language parser helps, very intricate sentence structures can still lead to "failure cases" where the model misidentifies the primary subject.

The authors suggest that future work could involve more robust language models (like BERT or Transformers) to better capture these complex linguistic nuances.

Summary updated

BibTeX
@article{liu2023entity,
  author = {Xuejing Liu and Liang Li and Shuhui Wang and Zheng-Jun Zha and Zechao Li and Qi Tian and Qingming Huang},
  title = {{Entity-Enhanced Adaptive Reconstruction Network for Weakly Supervised Referring Expression Grounding}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  doi = {10.1109/tpami.2022.3186410},
}
Figure