Make Graph-based Referring Expression Comprehension Great Again through Expression-guided Dynamic Gating and Regression

Jingcheng Ke, Dele Wang, Jun-Cheng Chen, I-Hong Jhuo, Chia-Wen Lin, Yen-Yu Lin

Abstract

One common belief is that with complex models and pre-training on large-scale datasets, transformer-based methods for referring expression comprehension (REC) perform much better than existing graph-based methods. We observe that since most graph-based methods adopt an off-the-shelf detector to locate candidate objects, they face two challenges: reasoning noise from irrelevant objects and inaccurate localization from the detector. To address these, we introduce a Dynamic Gate Constraint (DGC) module to adaptively disable irrelevant proposals and an Expression-guided Regression (EGR) strategy to refine location prediction. Extensive results on RefCOCO, RefCOCO+, RefCOCOg, Flickr30K, RefClef, and Ref-reasoning datasets demonstrate that our proposed method, without any pre-training, achieves better performance than state-of-the-art transformer-based methods.

1. Introduction

Referring Expression Comprehension (REC) is a fundamental task at the intersection of computer vision and natural language processing, requiring the localization of a specific object in an image based on a natural language description. While modern Transformer-based models currently dominate the field, they are often computationally expensive and require massive pre-training datasets.

Traditional graph-based methods offer a more efficient alternative but have historically struggled with two types of noise: reasoning noise from cluttered scenes and localization inaccuracies inherent in off-the-shelf object detectors. This paper introduces a novel framework to revitalize graph-based REC by addressing these specific limitations through dynamic gating and refined regression.

2. Methodology

The proposed framework treats REC as a process of dynamic filtering and iterative refinement.

2.1 Language Parsing and Graph Construction

The system begins by decomposing complex expressions into simpler sub-expressions using a language parser. For instance, "A woman in red clothes on the left of the man in blue" is broken down into constituent parts like "woman in red" and "man in blue." Simultaneously, an object detector identifies candidate regions, which are then used to construct two types of graphs: a categorical graph based on object labels and a visual graph based on image features.

Detailed architecture of the proposed REC framework, highlighting the DGC and EGR modules.

2.2 Dynamic Gate Constraint (DGC)

The core of the reasoning process is the Dynamic Gate Constraint (DGC) module. At each reasoning step, the DGC acts as a gatekeeper, guided by the current sub-expression. It adaptively "turns off" nodes and edges in the graphs that are irrelevant to the current part of the description. This pruning significantly reduces the noise the model must navigate, allowing it to focus on the target object and its relevant context.

Visualization of the step-by-step reasoning process enabled by the Dynamic Gate Constraint.

2.3 Expression-guided Regression (EGR)

To overcome the limitations of fixed bounding boxes from initial detectors, the Expression-guided Regression (EGR) strategy is employed. EGR uses the final features of the selected object in conjunction with the original text query to calculate a refined bounding box, ensuring more accurate localization.

3. Experimental Evaluation

The model was rigorously tested across six major benchmarks: RefCOCO, RefCOCO+, RefCOCOg, Flickr30K Entities, RefClef, and Ref-reasoning.

3.1 Performance and Efficiency

The results demonstrate that architectural innovation can rival brute-force pre-training. On the RefCOCOg dataset, the proposed method achieved 83.36% accuracy, surpassing the Transformer-based OFA-base (82.31%) despite the latter's extensive pre-training. Furthermore, the model is highly efficient; compared to MDETR, it is 1.68 GB smaller and over 1 second faster per inference.

3.2 Ablation Studies

Ablation experiments confirmed the critical role of the DGC module. Its inclusion led to consistent performance gains across all datasets, notably a ~7% improvement on the complex Ref-reasoning dataset, validating the hypothesis that noise reduction is key to effective graph-based reasoning.

4. Discussion and Conclusion

This work proves that graph-based models remain highly competitive for REC tasks when equipped with mechanisms to handle noise and localization errors. By using categorical anchors and step-by-step pruning, the model avoids the distractions common in complex visual scenes.

While the reliance on an initial object detector remains a bottleneck—as the model cannot find objects the detector misses entirely—the DGC and EGR modules provide a powerful blueprint for efficient, high-performance vision-language reasoning. Future work will explore tighter integration between detection and reasoning to further enhance robustness.

Summary updated

BibTeX
@article{ke2025make,
  author = {Jingcheng Ke and Dele Wang and Jun-Cheng Chen and I-Hong Jhuo and Chia-Wen Lin and Yen-Yu Lin},
  title = {{Make Graph-based Referring Expression Comprehension Great Again through Expression-guided Dynamic Gating and Regression}},
  journal = {IEEE Trans. Multimedia},
  year = {2025},
  doi = {10.1109/tmm.2024.3521844},
}
Figure