Understanding Synonymous Referring Expressions via Contrastive Features

Yi-Wen Chen, Yi-Hsuan Tsai, Ming-Hsuan Yang

TL;DR

This research introduces an end-to-end framework for Referring Expression Comprehension (REC) that utilizes synonymous descriptions of the same object. By employing contrastive learning at both image and instance levels, the model maps diverse linguistic inputs to consistent visual features, enhancing localization accuracy and cross-dataset generalization.

The Challenge of Linguistic Variety in REC

Referring Expression Comprehension (REC) involves localizing a specific object in an image based on a natural language description. A significant hurdle in this task is the inherent variety of human language; a single visual entity can be described in countless ways—through its attributes, its position, or its relationship to other objects.

Conceptual overview of synonymous referring expressions and their mapping to consistent visual features.

Existing models often treat every description as an independent sample, failing to recognize that "the boy on the left" and "the person holding a tray" refer to the same set of pixels. This lack of "synonymy awareness" makes models brittle when encountering paraphrases or transferring to new datasets with different annotation styles.

The Proposed Framework

The authors propose a unified, end-to-end trainable framework that treats synonymous sentences as a form of supervision rather than noise. The architecture leverages contrastive learning to align linguistic and visual modalities across two primary levels:

Detailed architecture of the proposed framework, highlighting image-level and instance-level feature learning modules.
  1. Image-Level Feature Learning: The model generates an attention-based response map. A triplet loss ($L_{img}$) is applied to ensure that response maps generated from synonymous sentences ($S, S_+$) are similar, while being distinct from maps generated by negative sentences ($S_-$).
  2. Instance-Level Feature Learning: After generating object proposals, a Graph Convolutional Network (GCN) models the interactions between them. An InfoNCE contrastive loss ($L_{ins-cl}$) is then used to ensure the features of a specific object instance remain consistent regardless of which synonymous sentence is used to query it.

To further refine the model, the authors implement hard negative mining, selecting negative samples that are linguistically similar but refer to different targets, forcing the model to learn fine-grained discriminative features.

Key Insights and Generalization

The core insight of this work is that the diversity of language is a valuable signal. By forcing the model to map different linguistic "surfaces" to the same visual "concept," it learns features that are significantly more robust. The authors found that contrastive learning is most effective after language features are mapped into the visual space (the response maps).

Evaluation on standard benchmarks (RefCOCO, RefCOCO+, RefCOCOg) showed state-of-the-art performance, with the full model reaching 82.42% accuracy on RefCOCO val. Crucially, the model demonstrated superior transferability. When tested on the unseen Ref-Reasoning dataset, it outperformed baselines by 3-7%, proving that the learned features generalize well beyond the training distribution.

Efficiency and Future Directions

Despite the complexity of the dual-level contrastive learning, the model remains efficient, processing at approximately 0.325 seconds per frame. This makes it faster than many traditional two-stage architectures like MAttNet.

However, the approach currently depends on the availability of multiple expressions per object during training. Future work may explore how to leverage large-scale vision-language pre-training (e.g., CLIP) to mitigate this dependency and handle even more ambiguous scenes where multiple objects share nearly identical attributes.

Summary updated

BibTeX
@article{chen2022understanding,
  author = {Yi-Wen Chen and Yi-Hsuan Tsai and Ming-Hsuan Yang},
  title = {{Understanding Synonymous Referring Expressions via Contrastive Features}},
  journal = {Int. J. Comput. Vis.},
  year = {2022},
  doi = {10.1007/s11263-022-01647-z},
}
Figure