ReMeREC: Relation-aware and Multi-entity Referring Expression Comprehension

Yizhi Hu, Zezhao Tian, Xingqun Qi, Chen Su, Bingkun Yang, Junhui Yin, Muyi Sun, Man Zhang, Zhenan Sun

Introduction

Referring Expression Comprehension (REC) is a fundamental vision-language task that involves localizing a specific object in an image based on a natural language description. Traditionally, REC has been framed as a single-entity problem: one query maps to one bounding box. However, real-world descriptions are often complex, involving multiple interacting entities and directional relationships.

Examples of single-entity vs. relation-aware multi-entity grounding.

To address this gap, this research introduces ReMeREC, a framework designed for relation-aware and multi-entity REC. By explicitly modeling the boundaries between entities in text and their physical interactions in images, ReMeREC moves beyond simple global fusion to a more structured reasoning approach.

The ReMeREC Framework

The ReMeREC architecture consists of two primary modules that enable fine-grained multi-entity grounding:

  1. Text-adaptive Multi-entity Perceptron (TMP): Unlike standard models that treat the entire input sentence as a single feature vector, TMP dynamically parses the text to identify the number of entities and their specific token spans. It utilizes an entity classifier to distinguish between different subjects (e.g., "the man in blue" vs. "the man in black") and initializes learnable queries for each, ensuring distinct semantic representations for every entity.
  2. Entity Inter-relationship Reasoner (EIR): Once entities are identified, EIR computes interaction affinity scores to model relationships like subject-object matching. By building a global relation matrix, the model uses these interactions as spatial constraints to refine the predicted locations of entities.

To support the training of the TMP module, the authors leveraged LLaMA to generate EntityText, an auxiliary dataset of 20,000 annotations providing token-level entity tags.

Benchmarking with ReMeX

A significant contribution of this work is the introduction of ReMeX, a manually curated benchmark specifically for multi-entity REC. ReMeX contains over 16,000 images and captions, featuring 23,402 bounding boxes and 6,645 directional relationships.

A multi-entity grounding example showing the relationship between an umpire/catcher and a batter.

In this dataset, a single prompt like "The man in blue watches the man in black swing a bat" requires the model to localize three distinct entities and understand the directional "watching" relationship.

Key Results and Insights

ReMeREC demonstrates superior performance across both multi-entity and classic single-entity tasks:

  • ReMeX Performance: ReMeREC achieved 58.32% grounding accuracy, significantly outperforming the previous state-of-the-art (HiVG at 52.03%). Its relation-level accuracy reached 90.17%.
  • Importance of Relationships: Ablation studies showed that removing the EIR module caused grounding accuracy on ReMeX to drop from 58.32% to 42.51%, confirming that modeling interactions is critical for accurate multi-entity localization.
  • Generalization: The model also set new benchmarks on standard datasets like RefCOCO (89.63% accuracy) and Flickr30k Entities (62.66% accuracy), proving its robustness even in single-entity scenarios.

Conclusion

ReMeREC successfully shifts the REC paradigm toward more complex, real-world scenarios by integrating dynamic text parsing with relational reasoning. While the model currently faces challenges with very small objects, its ability to use relationships as spatial constraints marks a significant advancement in vision-language understanding. The release of the ReMeX benchmark provides a vital resource for future research in multi-entity grounding.

Summary updated

BibTeX
@inproceedings{hu2025remerec,
  author = {Yizhi Hu and Zezhao Tian and Xingqun Qi and Chen Su and Bingkun Yang and Junhui Yin and Muyi Sun and Man Zhang and Zhenan Sun},
  title = {{ReMeREC: Relation-aware and Multi-entity Referring Expression Comprehension}},
  booktitle = {ACM Multimedia},
  year = {2025},
  doi = {10.1145/3746027.3755279},
}
Figure