Context Disentangling and Prototype Inheriting for Robust Visual Grounding

Wei Tang, Liang Li, Xuejing Liu, Lu Jin, Jinhui Tang, Zechao Li

Introduction

Visual Grounding (VG) is a fundamental task at the intersection of computer vision and natural language processing. It requires a model to accurately localize a specific referent within an image given a textual description. Despite significant advancements, two major hurdles persist: context confusion, where similar objects are mistaken for the target, and the open-vocabulary gap, where models fail to generalize to unseen object categories during testing.

The Open-Vocabulary Challenge

In real-world applications, models frequently encounter objects not seen during training. A robust VG system must bridge the gap between standard training data and the diverse nature of open-vocabulary testing. For example, a model trained on horses should ideally leverage shared "animal" characteristics to ground a zebra, even if it has never seen a zebra before.

Standard vs. open-vocabulary scenes in visual grounding. The model must learn to ground novel objects (e.g., zebras) by inheriting prototypes from known categories (e.g., horses).

As shown in Figure 1, the proposed TransCP framework addresses these challenges by explicitly separating the referent from its context and utilizing cluster-level visual prototypes.

TransCP Methodology

The TransCP framework consists of several key modules designed to enhance localization and generalization.

Context Disentangling (CD)

The CD module isolates the target object's features by suppressing background noise and highlighting distinguishing attributes. In the visual branch, cross-modal attention enhances salient object features. In the linguistic branch, phrase attention identifies contextual words (e.g., spatial relations) that help differentiate the target from similar objects.

Prototype Discovering and Inheriting (PI)

To handle novel objects, TransCP clusters visual features into a "prototype bank" representing broad concepts like "animal" or "vehicle." During testing, the model inherits these prototypes as a coarse-grained prior, providing essential guidance for zero-shot grounding of unseen categories. This allows the model to recognize that a zebra fits the "animal" prototype it learned from horses.

Robust Feature Fusion

TransCP employs a parameter-free Hadamard product for feature fusion. This element-wise multiplication acts as an attention mask, balancing visual and linguistic modalities without the risk of overfitting associated with complex learnable fusion layers. The resulting features are passed to a vision Transformer for direct bounding box regression.

Experimental Evaluation

TransCP was evaluated on standard benchmarks (ReferIt, Flickr30k, RefCOCO/+/g) and the complex Ref-Reasoning dataset.

Key Results

  • Standard Benchmarks: TransCP achieved 72.05% accuracy on ReferIt and 80.04% on Flickr30k, outperforming previous Transformer-based models like TransVG.
  • Open-Vocabulary Performance: In cross-dataset tests, TransCP showed a +2.06% improvement over competitors when generalizing from Ref-Reasoning to RefCOCO.
  • Qualitative Robustness: Visual analysis confirms that TransCP accurately identifies targets in cluttered or out-of-focus scenes where baseline models often fail by focusing on the wrong (often larger or more central) objects.

Conclusion

TransCP provides a robust solution for visual grounding by explicitly addressing context confusion and the open-vocabulary gap. By combining context disentangling with prototype inheritance, the model demonstrates superior generalization and localization accuracy. Future work will explore integration with large-scale vision-language pre-training (VLP) to further enhance reasoning capabilities and knowledge breadth.

Summary updated

BibTeX
@article{tang2023context,
  author = {Wei Tang and Liang Li and Xuejing Liu and Lu Jin and Jinhui Tang and Zechao Li},
  title = {{Context Disentangling and Prototype Inheriting for Robust Visual Grounding}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
}
Figure