CLIP-VG: Self-Paced Curriculum Adapting of CLIP for Visual Grounding

Linhui Xiao, Xiaoshan Yang, Fang Peng, Ming Yan, Yaowei Wang, Changsheng Xu

TL;DR

CLIP-VG introduces a highly efficient, unsupervised visual grounding framework that adapts pre-trained CLIP models using a self-paced curriculum learning strategy. By progressively filtering and training on pseudo-labels from single or multiple sources, it achieves state-of-the-art unsupervised performance while updating only a fraction of the network's parameters. This approach significantly closes the performance gap between unsupervised and fully supervised visual grounding models.

What Problem Does This Paper Address?

Visual Grounding (VG)—the task of locating a specific region in an image based on a textual description—traditionally relies on massive, labor-intensive datasets containing manually annotated image-text-box triplets. To avoid this bottleneck, researchers have turned to unsupervised visual grounding, which uses object detectors and language templates to automatically generate "pseudo-labels" for training.

However, existing unsupervised methods face two major hurdles:

  1. Low Quality: Pseudo-labels are incredibly noisy and often contain incorrect bounding boxes or nonsensical text descriptions.
  2. Limited Diversity: Automatically generated text templates lack grammatical complexity and semantic richness, causing models to overfit to rigid patterns and generalize poorly to real-world language.

CLIP-VG addresses these challenges by leveraging the rich, pre-trained multi-modal knowledge of CLIP and introducing a curriculum that automatically filters out bad pseudo-labels while embracing diverse data sources.

Methods

1. Lightweight Architecture

Instead of training a massive model from scratch, the authors freeze the visual and textual encoders of CLIP. They append a simple, 6-layer vanilla Transformer encoder to handle cross-modal interaction, followed by a Multi-Layer Perceptron (MLP) for bounding box regression. This architecture updates only 7.7% of the parameters compared to fully supervised state-of-the-art models.

The CLIP-VG model architecture utilizes frozen CLIP encoders paired with a lightweight cross-modality Transformer.

2. Single-Source Self-paced Adapting (SSA)

To handle noisy data, the authors implement Self-Paced Curriculum Learning (SPL). First, a preliminary "Reliability Measurer" model is trained on all available pseudo-labels. This model scores the reliability of each training sample based on the Intersection-over-Union (IoU) between its prediction and the pseudo-label box. A greedy, binary-search-like strategy is then used to find an optimal reliability threshold, allowing the model to progressively learn from "easy" (highly reliable) to "hard" samples.

3. Multi-Source Self-paced Adapting (MSA)

To inject linguistic diversity, the framework incorporates multiple pseudo-label sources (e.g., template-based queries, scene-graph relations, and image captions). MSA introduces two key mechanisms:

  • Source-Level Complexity: Label sources are sorted from simple to complex based on the average number of entities per expression.
  • Cross-Source Reliability (CR): Models trained on one data source are used to evaluate and filter samples from another source, preventing the final model from inheriting the systematic biases of any single pseudo-label generator.
The SSA and MSA schedulers guide the model through single-source and multi-source pseudo-label selection.

Datasets

The authors evaluated CLIP-VG on five mainstream visual grounding benchmarks:

  • RefCOCO
  • RefCOCO+
  • RefCOCOg
  • ReferItGame
  • Flickr30K Entities

Key Insights and Ideas

  • Foundation Models as Robust Anchors: Freezing CLIP's parameters prevents the catastrophic forgetting of general visual-textual concepts when exposed to highly noisy pseudo-labels.
  • Entity Count as Complexity Metric: Defining curriculum difficulty by the average number of entities per sentence provides a simple yet highly effective way to structure multi-source cross-modal learning.
  • Cross-Source Validation: The use of Cross-Source Reliability (CR) acts as an automated peer-review system between different pseudo-labeling algorithms, successfully filtering out systematic errors unique to specific generation tools.

Key Results

  • Unsupervised SOTA: CLIP-VG outperforms the previous best unsupervised method (Pseudo-Q) by 6.78% to 10.67% in single-source settings and 11.39% to 14.87% in multi-source settings across the RefCOCO datasets.
  • Surpassing Weak Supervision: The proposed unsupervised approach even beats existing weakly supervised methods (which use human-annotated text queries without bounding boxes).
  • Massive Speedups: When compared to the fully supervised state-of-the-art QRNet, CLIP-VG achieves comparable accuracy while delivering up to a 26.84× training speedup and a 7.41× inference speedup, making it exceptionally energy and resource-efficient.

Limitations and Future Work

  • Information Loss from Binary Filtering: Currently, unreliable pseudo-labels are completely discarded. The authors note that these rejected samples may still contain partial, valuable information that could be harvested in future iterations.
  • Sub-Optimal Greedy Search: The binary-search strategy used to find the reliability threshold is highly efficient but represents a trade-off, meaning it may settle on a local extreme rather than the absolute global optimum.

Summary updated

BibTeX
@article{xiao2024clip,
  author = {Linhui Xiao and Xiaoshan Yang and Fang Peng and Ming Yan and Yaowei Wang and Changsheng Xu},
  title = {{CLIP-VG: Self-Paced Curriculum Adapting of CLIP for Visual Grounding}},
  journal = {IEEE Transactions on Multimedia},
  year = {2024},
  url = {https://openreview.net/forum?id=IeZS7VdEEw},
}
Figure