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

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

18 Aug 2023ICCV 2023 1arXiv:2308.09351archive 2025-07-28

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

Relational Language-Image Pre-training (RLIP) aims to align vision representations with relational texts, thereby advancing the capability of relational reasoning in computer vision tasks. However, hindered by the slow convergence of RLIPv1 architecture and the limited availability of existing scene graph data, scaling RLIPv1 is challenging. In this paper, we propose RLIPv2, a fast converging model that enables the scaling of relational pre-training to large-scale pseudo-labelled scene graph data. To enable fast scaling, RLIPv2 introduces Asymmetric Language-Image Fusion (ALIF), a mechanism that facilitates earlier and deeper gated cross-modal fusion with sparsified language encoding layers. ALIF leads to comparable or better performance than RLIPv1 in a fraction of the time for pre-training and fine-tuning. To obtain scene graph data at scale, we extend object detection datasets with free-form relation labels by introducing a captioner (e.g., BLIP) and a designed Relation Tagger. The Relation Tagger assigns BLIP-generated relation texts to region pairs, thus enabling larger-scale relational pre-training. Through extensive experiments conducted on Human-Object Interaction Detection and Scene Graph Generation, RLIPv2 shows state-of-the-art performance on three benchmarks under fully-finetuning, few-shot and zero-shot settings. Notably, the largest RLIPv2 achieves 23.29mAP on HICO-DET without any fine-tuning, yields 32.22mAP with just 1% data and yields 45.09mAP with 100% data. Code and models are publicly available at https://github.com/JacobYuan7/RLIPv2.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2308.09351")

Code

Syntology Ran 22 of 30 code samples harvested from 3 repositories linked to this paper; 8 have no recorded run. Of those that ran: 1 ran · violated contract; 3 ran · our draft was wrong; 18 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 8 ran; community (archive-listed): 20 samples from 2 repositories, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jacobyuan7/rlipv2 officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
jacobyuan7/ocn-hoi-benchmark mentioned on GitHubpytorchApache-2.0 report
jacobyuan7/rlip mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

30 samples harvested; 22 ran; 0 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
3ran · our draft was wrong
18ran
8unverified

Licence: 0 of the 30 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

RLIPv2_BiMultiHeadAttention JacobYuan7/RLIPv2/models/fuse_helper.py official repository ran Apache-2.0 (permissive) · 2303ca2dfb7c411f · report
check_list_out_of_bounds jacobyuan7/rlipv2/generate_relations_using_verb_tagger.py official repository ran Apache-2.0 (permissive) · 5425cd58fc9f60ff · report
compute_relation_distribution_from_scene_graphs jacobyuan7/rlipv2/datasets/rlipv2_helper/coco_caption_helper.py official repository ran Apache-2.0 (permissive) · de2f09364131391c · report
grammartical_tranform jacobyuan7/rlipv2/datasets/rlipv2_helper/coco_caption_helper.py official repository ran Apache-2.0 (permissive) · 46b10090febf5d85 · report
load_hico_object_txt jacobyuan7/rlipv2/datasets/rlipv2_helper/OD_rel_cand_select.py official repository ran Apache-2.0 (permissive) · 45e4eb399a99d475 · report
load_hico_object_txt jacobyuan7/rlipv2/inference_on_custom_imgs_hico.py official repository ran Apache-2.0 (permissive) · be161ebd7c1a3d07 · report
load_hico_verb_txt jacobyuan7/rlipv2/inference_on_custom_imgs_hico.py official repository ran Apache-2.0 (permissive) · 5e1b3b1dd052111f · report
transform_coco_bbox_to_VG_format jacobyuan7/rlipv2/inference_on_custom_imgs_pseudo_coco.py official repository ran Apache-2.0 (permissive) · 34ca1776c2c6b50f · report
filter_by_gt_object_annotations jacobyuan7/rlipv2/inference_on_custom_imgs_pseudo_coco.py official repository unverified Apache-2.0 (permissive) · 9b06d4ed21a99088 · report
transform_o365_official_to_VG_format jacobyuan7/rlipv2/datasets/rlipv2_helper/BLIP_o365_caption_helper.py official repository unverified Apache-2.0 (permissive) · e040382fdc48b50a · report
CrossModelTransformerEncoder jacobyuan7/rlip/models/ParSetransformer.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 4a630df05e78ca0c · report
DeformableTransformerEncoder jacobyuan7/rlip/models/ParSetransformer.py community (archive-listed) ran Apache-2.0 (permissive) · 4621c1ee7b2ff5e6 · report
FeatureResizer jacobyuan7/rlip/models/ParSetransformer.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · b3b492f41ac84c02 · report
MSDeformAttn jacobyuan7/rlip/models/ParSetransformer.py community (archive-listed) ran Apache-2.0 (permissive) · 5d8915fe61383bce · report
TransformerDecoderHOI jacobyuan7/rlip/models/ParSetransformer.py community (archive-listed) ran Apache-2.0 (permissive) · cf0fda09312fb592 · report
TransformerEncoderLayer jacobyuan7/rlip/models/ParSetransformer.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 107ffdb07dbd2f9d · report
_get_clones jacobyuan7/rlip/models/ParSetransformer.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · c03e17b75656115f · report
count_fusion jacobyuan7/ocn-hoi-benchmark/models/hoi.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · b66569473e9784e1 · report
dice_loss jacobyuan7/ocn-hoi-benchmark/models/segmentation.py community (archive-listed) ran · violated contract fingerprinted Apache-2.0 (permissive) · ac8fe530cdad4d8c · report
exponential_inc_iterative_loss jacobyuan7/ocn-hoi-benchmark/engine.py community (archive-listed) ran Apache-2.0 (permissive) · 5dad3494aed8377b · report
flip_lr jacobyuan7/ocn-hoi-benchmark/models/decode.py community (archive-listed) ran Apache-2.0 (permissive) · 1d2943763d1f2ef8 · report
flip_tensor jacobyuan7/ocn-hoi-benchmark/models/decode.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 6e3e0dbceafbf01c · report
norm_tensor jacobyuan7/ocn-hoi-benchmark/models/hoi.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · d6d0aa8ce6bedcbb · report
sigmoid_focal_loss jacobyuan7/ocn-hoi-benchmark/models/segmentation.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 5c0711aada67957e · report
DeformableTransformerDecoderLayer jacobyuan7/rlip/models/ParSetransformer.py community (archive-listed) unverified Apache-2.0 (permissive) · 66064a88a6ab62de · report
DeformableTransformerEncoderLayer jacobyuan7/rlip/models/ParSetransformer.py community (archive-listed) unverified Apache-2.0 (permissive) · 64cee3e52db36a85 · report
ParSeDeformableTransformer jacobyuan7/rlip/models/ParSetransformer.py community (archive-listed) unverified Apache-2.0 (permissive) · 4107165e358237d6 · report
build_transformer jacobyuan7/ocn-hoi-benchmark/models/transformer.py community (archive-listed) unverified Apache-2.0 (permissive) · 9a524c433c47ed10 · report
flip_lr_off jacobyuan7/ocn-hoi-benchmark/models/decode.py community (archive-listed) unverified Apache-2.0 (permissive) · 5f199ad5ac482895 · report
set_hoi jacobyuan7/ocn-hoi-benchmark/convert_vcoco_annotations.py community (archive-listed) unverified Apache-2.0 (permissive) · 3755b0f2896c9d66 · report

Tasks

Graph GenerationHuman-Object Interaction DetectionObject DetectionRelational ReasoningScene Graph GenerationZero-Shot Human-Object Interaction Detectionobject-detection

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Human-Object Interaction Detection HICO-DET RLIPv2 (Swin-L) mAP 45.09 #2 of 55 Archive leaderboard report
Human-Object Interaction Detection V-COCO RLIPv2 AP(S1) 72.1 #1 of 34 Archive leaderboard report
Human-Object Interaction Detection V-COCO RLIPv2 AP(S2) 74.1 #1 of 34 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

ALIGN

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections