RLIPv2: Fast Scaling of Relational Language-Image Pre-training

Hangjie Yuan, Shiwei Zhang, Xiang Wang, Samuel Albanie, Yining Pan, Tao Feng, Jianwen Jiang, Dong Ni, Yingya Zhang, Deli Zhao

Abstract

RLIPv2 is a high-efficiency framework for Relational Language-Image Pre-training designed to drastically reduce training time while improving performance on complex vision tasks like Human-Object Interaction (HOI) detection. By introducing a novel asymmetric fusion mechanism and an automated "Relation Tagger" to generate pseudo-labels from massive object detection datasets, RLIPv2 achieves state-of-the-art results with approximately 60% less training time than previous models.

Introduction

While standard Vision-Language Pre-training (VLP) has revolutionized object detection, it often struggles with relational reasoning—understanding not just what objects are in an image, but how they interact (e.g., "a person riding a horse" vs. "a person standing next to a horse").

The previous state-of-the-art, RLIPv1, faced two major bottlenecks: slow convergence, requiring up to 150 training epochs to align vision and relational text, and data scarcity, as high-quality scene graph data is expensive to produce. RLIPv2 aims to solve both by making the model architecture faster and the data larger through automation.

Methods

The authors introduce two primary innovations to enhance efficiency and scalability.

Asymmetric Language-Image Fusion (ALIF)

Standard models often use "late fusion," where modalities are processed separately. RLIPv2 proposes ALIF, which facilitates earlier and deeper cross-modal fusion. The "asymmetric" design uses dense vision encoding but sparsified language encoding (reducing RoBERTa layers). This prevents the model from memorizing linguistic patterns, allowing it to converge in just 20 epochs instead of 150 without sacrificing accuracy. A learnable gating mechanism ensures balanced information flow between vision and text features.

Relational Pseudo-labelling (The Relation Tagger)

To overcome data scarcity, RLIPv2 re-purposes its architecture as a Relation Tagger (R-Tagger) to turn standard object detection datasets (like COCO and Objects365) into relational datasets.

  1. An image captioner (BLIP) generates free-form descriptions.
  2. A language parser extracts potential <subject, relation, object> triplets.
  3. The R-Tagger takes these triplets and existing object bounding boxes to "guess" the correct relations, creating a massive, silver-standard relational dataset for pre-training.
Comparison of RLIPv1 and RLIPv2 architectures highlighting the ALIF module and R-Tagger integration.

Key Results

RLIPv2 demonstrates significant improvements in both efficiency and accuracy across multiple benchmarks including HICO-DET and V-COCO.

  • Efficiency: RLIPv2 achieves comparable or better results than RLIPv1 in just 0.4x the pre-training time.
  • State-of-the-Art (SOTA): When fully fine-tuned on HICO-DET, it reached 45.09 mAP, setting a new record.
  • Zero-Shot and Few-Shot Prowess: The model achieved 23.29 mAP in zero-shot settings. With only 1% of training data, it yields 32.22 mAP, outperforming many previous models that used 100% of the data.
Performance comparison showing RLIPv2's superior mAP and faster convergence in both fine-tuning and pre-training stages.

Limitations and Future Work

Despite its success, RLIPv2's quality depends heavily on the initial captioner (BLIP). If the captioner misses a subtle interaction, the R-Tagger cannot label it. Additionally, the model still faces challenges in very crowded scenes with multiple similar subjects. Future work may focus on "dense captioning" to capture more diverse and specific relations.

Summary updated

BibTeX
@inproceedings{yuan2023rlipv,
  author = {Hangjie Yuan and Shiwei Zhang and Xiang Wang and Samuel Albanie and Yining Pan and Tao Feng and Jianwen Jiang and Dong Ni and Yingya Zhang and Deli Zhao},
  title = {{RLIPv2: Fast Scaling of Relational Language-Image Pre-training}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure