Referring Expression Comprehension (REC) localizes the image region described by a natural language expression, underpinning applications such as autonomous navigation, human-robot interaction, and medical image analysis. Under weak supervision, REC is challenged by the visual-linguistic semantic gap and the difficulty of inferring region-text correspondences from coarse image-level signals alone. Moreover, no single visual encoder captures all complementary properties---semantic alignment, fine-grained texture, and boundary awareness---while naively fusing multiple pretrained encoders yields heterogeneous, hard-to-reconcile representations. We propose LaMER, a weakly supervised REC framework that dynamically aggregates four frozen expert encoders through a language-conditioned Cross-Modal Routing Fusion module, adapting expert selection to each referring expression without instance-level bounding-box supervision. A Cell-Text Matching Head with Negative Anchor Augmentation, trained with a multi-objective loss combining contrastive, reconstruction, alignment, and load-balancing terms, further stabilizes optimization. LaMER achieves 77.67%, 62.81%, and 69.49% Acc@IoU≥0.5 on RefCOCO, RefCOCO+, and RefCOCOg, surpassing DViN and WeakMCN by up to 16.49 and 14.49 points, with ablations validating each component.
Figures & tables
Figure 1: Overall architecture of the proposed LaMER framework.
Dataset
Images
Objects
Expressions
Train / Val / Test
RefCOCO
19,994
50,000
142,210
120.6k / 10.8k / 10.7k
RefCOCO+
19,992
49,856
141,564
120.1k / 10.7k / 10.6k
RefCOCOg
25,799
49,822
95,010
80.5k / 4.8k / 9.6k
Table 1: Statistics of the benchmark datasets.
RefCOCO
RefCOCO+
RefCOCOg
Method
val
testA
testB
val
testA
testB
val
GT Proposals
VC ( Niu et al., 2018 )
–
33.3
30.1
–
34.6
–
30.3
ARN ( Liu et al., 2019a )
38.1
36.4
36.5
34.5
36.4
–
39.6
KPRN ( Liu et al., 2019b )
36.3
35.3
37.7
37.2
36.1
–
38.4
DTWREG ( Sun et al., 2021 )
39.2
41.1
37.7
39.2
40.0
–
43.2
Table 2: Comparison with state-of-the-art methods on REC datasets.
RefCOCO
RefCOCO+
Method
val
testA
testB
val
testA
testB
YOLO11x + 4 Experts
74.1
74.2
72.9
56.2
61.3
50.9
+ Cross-Attn Router
76.6
77.9
73.6
60.8
65.9
55.4
+ MultiScale Fusion
77.5
78.3
74.2
60.2
65.5
53.8
+ Bottleneck Proj.
77.6
78.7
75.4
62.3
67.6
56.2
+ Unfreeze C2PSA
77.7
79.1
75.9
62.8
67.9
57.0
Table 3: Cumulative ablation study of LaMER.
Figure 2: Same image, different queries. Blue: LaMER prediction; green dashed: annotated target. Panels (a)–(d) are from a ReferItGame test image and (e)–(h) from a RefCOCO testA image. The queries in (a)–(c) and (e)–(h) lead LaMER to seven different people; in (d) the target is among the candidate boxes, but LaMER returns the box of (a).
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
Component
Specification
Operating System
Ubuntu 22.04 LTS
CPU
AMD EPYC 9654 (96 cores)
System Memory
256 GB
GPU
2 × RTX 5090 (32 GB GDDR7)
CUDA Version
13.0
DL Framework
PyTorch 2.11.0
Appendix
Table 4: Experimental environment configuration.
RefCOCO
RefCOCO+
Expert Encoder
val
testA
testB
val
testA
testB
YOLO11x (Base)
67.2
65.4
70.9
38.1
37.7
39.4
CLIP
37.5
44.1
30.2
36.6
41.8
27.0
SigLIP-ViT
49.3
55.7
46.2
39.7
46.6
31.4
DINOv2 ViT-B
59.1
59.5
56.3
40.5
48.0
34.1
DINOv2 ViT-L
60.3
61.6
59.6
42.5
49.0
35.8
Appendix
Table 5: Comparison of different mixtures of visual features on RefCOCO and RefCOCO+.
RefCOCO
RefCOCO+
Top- N
val
testA
testB
val
testA
testB
Top-1
38.1
38.6
38.3
29.2
29.2
26.6
Top-2
75.5
76.4
74.0
59.3
64.9
53.2
Top-3
77.1
78.8
75.5
61.0
67.5
55.1
Top-4
77.7
79.1
75.9
62.8
67.9
57.0
Appendix
Table 6: Ablation of the number of visual experts.
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
IoU
0.72
0.82
0.90
0.00
0.97
0.87
0.83
0.90
SigLIP
0.29
0.31
0.27
0.30
0.28
0.26
0.27
0.26
DINOv2
0.17
0.10
0.29
0.15
0.18
0.14
0.25
0.14
EfficientSAM
0.49
0.53
0.31
0.50
0.50
0.58
0.44
0.57
ConvNeXt
0.05
0.06
0.12
0.05
0.04
0.02
0.04
0.03
Appendix
Table 7: IoU with the annotated target and router weights over the four experts, for panels (a)–(h) of Figure 2 .
Referring expression comprehension (REC) aims to localize the object in an image described by natural language. In Weakly supervised REC (WREC), existing approaches primarily operate on anchor-level visual representations. Even when enriched with auxiliary cues, relational interactions remain implicitly encoded within individual anchor features. The resulting visual representation remains flat and unary-only, limiting its ability to align with the structured nature of language. In this work, we propose a Structured Visual Compositional Representation (SVCR) learning framework for WREC. Rather than implicitly encoding relations within unary anchors, the proposed SVCR explicitly models both unary object embeddings and pairwise relational embeddings, forming a structured visual representation space. We further introduce a compositional alignment mechanism that matches unary and pairwise visual representations with their corresponding textual embeddings in a unified manner, enabling compositional visual-textual matching under weak supervision. Extensive experiments on RefCOCO, RefCOCO+, and RefCOCOg show that the proposed SVCR achieves state-of-the-art performance. These results demonstrate the effectiveness of explicit structured visual representations and visual-textual alignment for WREC.
Lian Xu, Mohammed Bennamoun, Farid Boussaid +3
The University of Western Australia · Murdoch University · Sun Yat-sen University +1
Referring Expression Comprehension (REC) links language to region level visual perception. Standard benchmarks (RefCOCO, RefCOCO+, RefCOCOg) have progressed rapidly with multimodal LLMs but remain weak tests of visual reasoning and grounding: (i) many expressions are very short, leaving little reasoning demand; (ii) images often contain few distractors, making the target easy to find; and (iii) redundant descriptors enable shortcut solutions that bypass genuine text understanding and visual reasoning. We introduce Ref-Adv, a modern REC benchmark that suppresses shortcuts by pairing linguistically nontrivial expressions with only the information necessary to uniquely identify the target. The dataset contains referring expressions on real images, curated with hard distractors and annotated with reasoning facets including negation. We conduct comprehensive ablations (word order perturbations and descriptor deletion sufficiency) to show that solving Ref-Adv requires reasoning beyond simple cues, and we evaluate a broad suite of contemporary multimodal LLMs on Ref-Adv. Despite strong results on RefCOCO, RefCOCO+, and RefCOCOg, models drop markedly on Ref-Adv, revealing reliance on shortcuts and gaps in visual reasoning and grounding. We provide an in depth failure analysis and aim for Ref-Adv to guide future work on visual reasoning and grounding in MLLMs.
Multimodal Large Language Models have made significant progress in referring expression comprehension (REC), yet most REC benchmarks still focus on final-target localization. Complex queries often involve intermediate visual references with different dependencies on prior grounding, but final-only evaluation leaves this process unexamined. To address this gap, we formulate trajectory-level REC, in which models receive an ordered sequence of grounding steps constructed from a single complex query and localize the target regions associated with each step. We instantiate this setting in ReferFlow-Bench, which characterizes structured region transitions through four trajectory types, namely Refinement, Shift, Reset, and Mixture. Experiments show that current models struggle to consistently ground intermediate visual references across successive steps. We further propose ReferFlow, which decouples interleaved text-latent trajectory generation from coordinate decoding. Specifically, Stateful Region Latent Reasoning represents each target region as an object-indexed state composed of continuous latents, with explicit visual and spatial supervision to preserve region information for subsequent grounding. Trajectory-Aware Parallel Decoding then recovers all coordinate blocks in parallel through four geometry-constrained refinement rounds, with each block conditioned on its corresponding trajectory prefix, thereby reducing within-box sequential dependencies and eliminating cross-box autoregression. We further apply Grounding-Aware GRPO to promote consistent grounding across steps and learn adaptive trajectory generation from complex REC queries. ReferFlow achieves leading performance on general REC benchmarks and ReferFlow-Bench.
Tianyi Gao, Han Fang, Xin Wei +11
State Key Laboratory of Human-Machine Hybrid Augmented Intelligence, Institute of Artificial Intelligence and Robotics, Xi’an Jiaotong University · Xingchen AGI Lab, China Telecom Artificial Intelligence Technology (Beijing) Co., Ltd. · Beijing Normal University +4