Manuscript Offprint
arXiv:2608.30233Semantic-Spatial Discriminability Enhancement for Generalized Visual Grounding
Abstract
Generalized Visual Grounding (GVG) task aims to localize targets in an image based on referring expressions, extends the classical visual grounding paradigm by integrating multi-target and non-target scenarios. Previous methods typically rely on global semantic matching or coarse-grained region interactions for localization, where the discriminative cues are primarily derived from sentence-level semantics or regional context. In complex multi-target scenarios, such approaches tend to confuse visually similar targets, making it difficult to establish stable instance-level decision boundaries. To address these limitations, this paper proposes a novel Semantic-Spatial Discriminability Enhancement (SSDE) framework for generalized visual grounding, which aims to enhance the discriminative ability on fine-grained semantics and spatial localization, improving both cross-modal understanding and instance-level grounding. Specifically, to enhance the semantic discriminability of query representations at the fine-grained level, we propose a Semantic Discriminability Enhancement (SeDE) module, which leverages spatially guided cross-attention to disentangle fine-grained target-relevant visual attributes and integrates them with the textual subject semantics. Furthermore, to strengthen the spatial discriminability of the referred targets, we introduce a Spatial Discriminability Enhancement (SpDE) module, which models an instance center density map to characterize the spatial distribution of targets, and explicitly constructs instance separation structures in the spatial domain by employing them as an auxiliary supervision signal. Extensive experiments show that SSDE achieves superior performance on ten datasets across both classic and generalized visual grounding tasks. Code will be available at https://github.com/Letitialky/GVG-SSDE.
CCS Concepts
• Computing methodologies → Computer vision tasks.
Keywords
Multi-modality; Generalized Visual Grounding; Semantic Discriminability; Spatial Discriminability
Corresponding author

This work is licensed under a Creative Commons Attribution 4.0 International License. MM '26, Rio de Janeiro, Brazil
© 2026 Copyright held by the owner/author(s).
ACM ISBN 979-8-4007-2213-4/2026/11
https://doi.org/10.1145/3767308.3836122
Xu-Yao Zhang
State Key Laboratory of Multimodal Artificial Intelligence
Systems, Institute of Automation,
Chinese Academy of Sciences
Beijing, China
ACM Reference Format:
Kaiyan Lei and Xu-Yao Zhang. 2026. Semantic-Spatial Discriminability Enhancement for Generalized Visual Grounding. In Proceedings of the 34th ACM International Conference on Multimedia (MM '26), November 10–14, 2026, Rio de Janeiro, Brazil. ACM, New York, NY, USA, 16 pages. https://doi.org/10.1145/3767308.3836122
1 Introduction
Visual Grounding (VG) aims to localize all targets in an image that satisfy the semantics specified in a referring expression. In Classic Visual Grounding (CVG), each expression corresponds to one single target, comprising two subtasks: Referring Expression Comprehension (REC) [11, 24, 50, 70], which requires predicting target bounding box, and Referring Expression Segmentation (RES) [6, 22, 34, 49], which requires pixel-level segmentation. To better reflect real-world scenarios, Generalized Visual Grounding (GVG) [21, 33, 58] further extends CVG to handle multi-target and non-target cases through Generalized Referring Expression Segmentation (GRES) and Generalized Referring Expression Comprehension (GREC). This setting introduces additional challenges, including open-ended quantities, multi-target semantic relations, and intricate scene structures. It is required to establish stable decision boundaries for cross-modal matching between potential targets and the referring expression within an open and uncertain search space, thereby imposing higher demands on model's discriminative capability.
As illustrated in Figure 1, we analyze discriminability from both semantic and spatial perspectives. From a semantic perspective, expressions are typically concise and label-like, such as collective references (e.g., “everyone”) and modifier-based expressions (e.g., “man on motorcycle”). The former requires identifying multiple targets sharing a common category, whereas the latter demands precise discrimination among visually similar candidates. Existing methods typically rely on sentence-level semantics, modeling the complex text-image correspondence either through alignment with region proposals [9, 19, 38, 67, 70] or interaction with visual embeddings [11, 12, 33, 34, 36, 52, 76]. However, real-world scenes often contain numerous distractor regions. Relying solely on coarse-grained textual semantics makes it difficult to distinguish “the best-matching targets” from “partially relevant candidates,” leading to mislocalization or over-response. Therefore, one of our research objectives is (1) how to enlarge the discriminative margins among similar targets in the semantic space to enhance semantic discriminability. From a spatial perspective, flexible and diverse expressions may refer to an arbitrary number of targets from varying viewpoints (e.g., “all people” or “the whole group”),
Kaiyan Lei and Xu-Yao Zhang

(a) Pipeline of prior methods
Backbone
SeDE
SpDE
(b) Pipeline of our proposed method
"man on
"man sitting on motorcycle"
"left reaching and man in white facing backwards"

"every person"
"every person tattoo and plaid shorts and red"

"right little boy in striped shirt looking down and girl with controls and glasses on"
(c) Without/with SeDE
(d) Without/with SpDE
Figure 1: Motivation visualization. (a) Pipeline of prior methods, which rely on sentence-level semantics, predict global masks and optionally use a count head. (b) Pipeline of SSDE, which proposes SeDE to enhance semantic discriminability and proposes SpDE to enhance spatial discriminability. (c) The two columns show the results without and with SeDE. (d) The two columns show the results without and with SpDE.
requiring to not only determine targets presence but also identify the individual spatial locations. Notably, the target number is an implicit property of spatial structure, and its uncertainty directly affects localization. Prior methods [33, 36, 42, 56, 72] typically predict a global mask, which essentially projects multiple discrete targets into a unified region. Some works [42, 56] further discretize the object counts into predefined categories and use an count head to explicitly predict the global count via classification or regression. However, multi-target scenarios involve substantial inter-instance competition and overlap, where the global mask fail to provide stable instance-level decision boundaries. And subtle differences in object count are seldom effectively propagated back to guide spatial localization. Therefore, our second objective is (2) how to characterize instance-level spatial separability and structural independence among multiple targets in the spatial domain, thereby improving spatial discriminability.
Regarding the enhancement of semantic discriminability, when a single expression encompasses multiple highly similar targets within the same category (e.g., “everyone”), distinguishing among them often depends on fine-grained visual cues such as color, shape, or local texture. As illustrated in Figure 1(c), in the presence of similar candidate targets, a description like “man on motorcycle” tends to incorrectly highlight the salient instance, whereas augmenting the expression with an attribute “sitting” yields accurate localization. Moreover, expression like “every person” yields redundant predictions, whereas incorporating attribute descriptors such as “tattoo,” “plaid shorts,” or “red” leads to correct and complete localization. These observations demonstrate that visual attributes, under fine-grained relational constraints, effectively mitigate semantic ambiguity and facilitate consistent and comprehensive identification of target sets in multi-target scenarios.
Regarding the enhancement of spatial discriminability, InstanceVG [8] introduces instance-level supervision to impose fine-grained spatial constraints. Although it improves accuracy, such pixel-wise supervision is spatially dense signals, making it more suitable for pixel classification while still insufficient for capturing stable multi-instance spatial structures. As illustrated in Figure 1(d), the 1st column shows results under instance-level supervision alone. When localizing “left reaching and man in white facing backwards”, it has redundant predictions due to its lack of spatial structural awareness. In another case, it is difficult to define accurate instance boundaries under severe instance adhesion. In essence, count awareness corresponds to identifying object centers [23, 25]. By explicitly modeling instance centers, as shown in the 2nd column, it is able to maintain instance-level structural separability and accurate localization, even under ambiguous boundaries or partial occlusions.
Based on these analysis, we propose a novel Semantic-Spatial Discriminability Enhancement (SSDE) framework for GVG task, aiming to jointly improve semantic and spatial discriminability, thereby advancing cross-modal understanding and instance-level localization. Specifically, we introduce a Semantic Discriminability Enhancement (SeDE) module, which leverages spatially guided cross-attention to extract target-relevant visual attribute representations and integrate them with the textual semantics. Its primary purposes are: (1) to enhance the discriminative capacity of query representations by explicitly incorporating fine-grained visual attributes; (2) to enlarge inter-instance discriminability within the cross-modal embedding space; (3) to mitigate missed detections and ambiguity arising from insufficient visual cues. In addition, we propose a Spatial Discriminability Enhancement (SpDE) module, which couples spatial and count awareness by explicitly modeling the “text-to-instance” mapping through instance center responses. Beyond the region-level constraints provided by instance-level supervision, it further imposes instance-level structural constraints as an auxiliary objective. Its main purposes are: (1) to ensure spatial separability and independence among multiple targets; (2) to guide feature learning via predicted spatial distributions as an implicit prior; (3) to alleviate instance adhesion and spatial ambiguity in complex scenes. We conduct extensive experiments on popular CVG and GVG benchmarks, including RefCOCO/+/g [26, 43], gRefCOCO [33], Ref-ZOM [21], and R-RefCOCO [58]. The results demonstrate that our method significantly outperforms prior approaches across all benchmarks, validating its effectiveness in handling complex GVG scenarios.
Overall, our contributions are summarized as follows.
• We propose a novel semantic–spatial discriminability enhancement framework for GVG, which improves cross-modal understanding and instance-level localization by jointly strengthening semantic and spatial discrimination.
-
We propose a semantic discriminability enhancement module that explicitly incorporates fine-grained visual attributes via spatially guided cross-modal interactions, thereby enhancing inter-instance discriminability.
-
We propose a spatial discriminability enhancement module, which models instance center as an auxiliary objective to impose instance-level structural constraints, ensuring the separability and independence of multiple instances.
-
Extensive experiments demonstrate that the proposed method achieves state-of-the-art performance across ten various CVG and GVG benchmarks, delivering significant improvements over the existing methods.
2.1 Classic Visual Grounding
The CVG task addresses the localization of a single target. Early approaches achieve text-object matching by generating candidate region proposals [3, 19, 38, 67, 70, 73, 74] or by performing matching over dense anchor-based detections [41, 64, 65, 77]. Subsequently, Transformer-based methods [11, 20, 27, 34, 37, 49, 52, 60, 78] have significantly improved multi-modal understanding by modeling cross-modal relationships between visual and textual representations. These methods typically adopt an encoder-decoder architecture. Specifically, some methods [7, 12, 13, 24, 42, 56] first encode the features of each modality independently using visual and text backbones, (e.g., ViT[16], Swin Transformer [40], BERT[14], RoBERTa [39] etc.) and then perform multimodal fusion within the encoder, while others [52, 66, 68] integrate the multimodal fusion process directly into the visual backbone, enabling earlier cross-modal interaction. However, since the modality features are extracted from pretrained models trained on unrelated tasks like classification or regression, cross-modal understanding in these frameworks still relies heavily on limited downstream training data. With the rapid development of vision-language pretraining [45, 47], several methods [49–51, 57, 60, 62] have emerged that adopt pretrained CLIP encoders to improve performance through fine-tuning or adaptation strategies. Nevertheless, approaches based on vision-language pretrained models place greater emphasis on modal alignment, which motivates recent researches [8, 10, 11, 61, 72] toward unified multimodality encoders that simultaneously encode modality features while enhancing cross-modal semantic interaction. Furthermore, according to the form of predictions, CVG can be divided into two sub-tasks of REC and RES. Because solving these similar yet distinct tasks typically requires task-specific and complex model designs, recent studies [4, 8, 10, 31, 41, 75] attempt to develop multi-task VG frameworks, aiming to exploit complementary supervision signals across tasks to jointly address object detection and segmentation.
2.2 Generalized Visual Grounding
In GVG task, expressions may refer to zero, single, or multiple targets. DMMI [21] introduces a segmentation benchmark that extends single-target to multi-target settings. RefSegformer [58] further considers both positive and negative expressions, improving robustness in distinguishing non-target regions. ReLA [33] formalizes the GRES task, which fully generalizes the multi-/single-/non-target cases. It partitions the input image into regions and performs soft aggregation over region features to establish long-range region-region dependencies in multi-target scenarios. RaAM-VG [46] introduces learnable region-aware anchors to guide attention toward targets, alleviating cross-modal redundancy that may arise when direct visual-language interaction causes the model to prioritize the most salient objects. Some other works focus on improving semantic understanding of targets. MattNet [70] performs attribute parsing on the expressions to enhance targets understanding. LatentVG [72] generates latent expressions based on visual details to enrich the target semantics of a single-text expression. In addition, several studies focus on improving target counting. COHD [42] enables the model to learn counting abilities for specific categories under multi-/single-/non-target conditions, thereby reducing ambiguity caused by the inherent differences between single and multiple targets. Similarly, HieA2G [56] introduces an explicit multi-class classifier to determine the number of output targets for each image-text pair. In terms of model architecture, [8, 9, 11, 72] adopt a unified multi-modality encoder backbone and achieve superior performance on the GVG task. SimVG [11] employs a weight-distillation-based multi-branch synchronous learning strategy to enhance the representation capability of its lightweight architecture. PropVG [9] improves proposal-based frameworks to strengthen the target discriminability. InstanceVG [8] introduces instance-level spatial fine-grained perception and incorporates instance segmentation supervision, thereby enhancing the spatial understanding.
3 Methods
3.1 Overview
We develop SSDE based on the instance segmentation framework [5, 30], as illustrated in Figure 2. We adopt the multi-modality encoder BEiT-3 [55] to jointly process the input image and the referring expression , where and is the height and width, producing aligned visual and textual features through unified vision-language encoding. The SeDE generates queries enriched with fine-grained visual attribute representations, enhancing semantic discrimination. The SpDE predicts an instance center density map, which is jointly optimized with instance-level supervision as an auxiliary loss to enforce structural constraints.
Specifically, the encoder is organized into three stages, yielding hierarchical visual features . All visual and textual features are projected into a d-dimensional space using linear layers, resulting in and , where , , is patch size, and is the text length. We further construct multi-scale visual features using a feature pyramid network (FPN) [32]. Specifically, and are upsampled via transposed convolution to obtain and , respectively, while is downsampled via max-pooling to produce . The final multi-scale feature set is defined as . Finally, a lightweight semantic decoder composed of convolutional layers aggregates multi-scale features into global semantic features , which are further transformed into a global segmentation map . The instance segmentation map is obtained by multiplying with features of Mask Head, and then merging with to produce the final segmentation prediction. For detection, Box and Class Head
Kaiyan Lei and Xu-Yao Zhang

(a) Visual Attributes Extractor
(b) Feature Projection
(c) Auxiliary Loss
Figure 2: Overall architecture of SSDE. The framework consists of a multi-modality encoder backbone, a Semantic Discriminability Enhancement (SeDE) module, a Spatial Discriminability Enhancement (SpDE) module. (a) Illustration of the visual attribute extraction process. (b) Convolution-based feature mapping process in the instance center prediction. (c) Supervision applied to the similarity map and the instance center density map during training.
produce the final bounding box predictions, while an additional Exist Head, composed of MLPs, operates on to perform binary classification for target presence. The decoder is implemented as a deformable decoder [79].
3.2 Semantic discriminability enhancement
Textual expressions typically provide only coarse-grained subject information. To obtain precise discrimination cues in scenarios with densely distributed similar candidates, we augment textual semantics with target-relevant visual attributes. We leverage a spatially guided attention mechanism to extract fine-grained visual attributes and fuse them with subject-level semantic representations to generate more discriminative query representations, thereby enhancing the semantic discriminability between instances.
Textual subject semantic extraction. To extract the subject-level semantics from the referring expression, we introduce learnable query embeddings . These embeddings interact with the textual features through cross-attention mechanism to aggregate token-level semantic information, yielding text-driven queries :
In addition, to further incorporate global context, we apply max pooling operation over to highlight salient semantic components, producing . The final subject-aware textual representation is , which jointly captures both local token-level semantics and global contextual information.
Visual attribute extraction. We exploit the image-text similarity map as a spatial prior and employ a spatially-guided attention mechanism to focus on potential target regions, thereby further extracting fine-grained visual attributes. Specifically, given the visual features and textual features , we first compute the cross-modal similarity . Then, average pooling is applied along the textual dimension followed by a convolution to obtain a spatial similarity map:
where denotes the text validity mask. The resulting map represents the spatial semantic correspondence between image and text. During training, is supervised by the ground-truth mask to ensure accurate indication of target regions.
To further incorporate this spatial prior into the attention mechanism, we construct a bias term by transforming into a spatial attention distribution:
where m is a learnable scaling factor that adaptively adjust the strength of the bias term. This operation explicitly guides attention toward semantically relevant regions.
Algorithm 1 Instance Center Density Map Construction
Require: Instance masks , image size , Gaussian parameter
Ensure: Density map
1: Initialize density map:
2: for each instance mask do
3: Perform connected component analysis:
4:
5: if then
6: continue
7: end if
8: Compute the area of each component:
9: Select the largest component:
10: Extract component pixels:
11: Compute center coordinate of
12: Generate Gaussian distribution:
13: Update density map:
14: end for
15: return
Based on this design, we introduce Spatially-Guided Cross Attention (SGCA), which extends the standard cross-attention by injecting the spatial bias into the attention logits, which enhances aggregation over target-relevant regions.
Finally, we introduce learnable attribute tokens , which interact with via SGCA to extract fine-grained attributes such as color, texture, and pose from target-related regions:
Query generation. Finally, we generate a more discriminative query representation, in which subject semantics determine the category while attribute details enable instance-level differentiation. Specifically, the attribute features are first transformed through an MLP to enhance their expressive capacity, yielding . The transformed features are then concatenated with , and fused through an MLP to produce the final attribute-enhanced queries :
We adopt a deformable decoder[79], where sampling locations guide the attention mechanism. To enhance the representational flexibility of global learnable queries, we introduce a set of learnable positional embedding , where shares the same dimensionality as the and is optimized adaptively via backpropagation during training. The positional embeddings are further projected into a two-dimensional spatial domain through a linear transformation, followed by a sigmoid function to constrain the coordinates within [0, 1], yielding learnable reference points:
where W denotes learnable parameters and is the sigmoid function. The resulting reference point set is defined as:
These reference points serve as the initial sampling locations for deformable attention, guiding sparse and effective feature aggregation over multi-scale features. During decoding, P is used as reference points, E as the positional encodings, and Q as the query features, which are jointly fed into the deformable decoder.
3.3 Spatial discriminability enhancement
To enhance spatial discriminability in dense scenes and mitigate spatial ambiguity, we explicitly model instance center responses to accurately represent instance-level spatial structures, and predict instance centers via a lightweight feature projection module. This process serves as an auxiliary loss that imposes instance-level structural constraints, thereby ensuring spatial separability across instances and improving instance-level spatial discrimination.
Instance center density map construction. We construct an instance center density map based on instance segmentation annotations. Specifically, the density map is generated by placing a two-dimensional Gaussian kernel at the center of each instance, forming a continuous representation of object centers. The determination of instance centers is critical, as it directly affects the encoded spatial structure and the training stability when it used as the supervision signal. Given an instance mask , we first perform connected component analysis and define the instance center as the centroid of the largest connected component, and the coordinates are computed as:
where denotes the largest connected component of . The rationale is that the largest component typically preserves the most complete and salient structure of the instance, thereby providing a clearer and more stable supervisory signal.
After determining the center locations, each discrete center is expanded into a continuous spatial density signal using a two-dimensional Gaussian kernel. For images containing multiple instances, the Gaussian responses corresponding to different centers are aggregated by a point-wise maximum operation:
where denotes the final instance center density map. The detailed construction procedure is summarized in Algorithm 1. The resulting density map naturally encodes the counts information of multiple targets while providing explicit supervision of instance structures. In multi-instance scenarios, it simultaneously represents all instance centers, allowing subtle variations in target count to be reflected in the spatial localization optimization process.
Instance center prediction. We introduce an instance-centered prediction module that enables the model to leverage spatial distribution predictions as an implicit prior for feature learning, while
Kaiyan Lei and Xu-Yao Zhang
Table 1: Comparison with state-of-the-art methods on the RefCOCO+/g [71] datasets for the RES task. In the “Backbone” column, a “/” indicates separate backbones for visual and textual modalities. “FT” indicates whether fine-tuning is performed on the target dataset, and “MT” denotes whether the model is trained in a multi-task setting. mIoU is used as the evaluation metric. The best results are highlighted in bold, and the second-best results are underlined.
| Models | Publication | Backbone | FT | MT | RefCOCO | RefCOCO+ | RefCOCOg | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| val | testA | testB | val | testA | testB | val(u) | test(u) | |||||
| MLLM Methods | ||||||||||||
| LISA-L2-13B [29] | CVPR24 | SAM-ViT-H | ✓ | ✕ | 76.30 | 78.70 | 72.40 | 66.20 | 71.00 | 59.30 | 70.10 | 71.10 |
| GSVA-L2-13B [59] | CVPR24 | SAM-ViT-H | ✓ | ✕ | 79.20 | 81.70 | 77.10 | 70.30 | 73.80 | 63.60 | 75.70 | 77.00 |
| GLaMM-7B [48] | CVPR24 | CLIP-ViT-H | ✓ | ✕ | 79.50 | 83.20 | 76.90 | 72.60 | 78.70 | 64.60 | 74.20 | 74.90 |
| Specialist Methods | ||||||||||||
| MCN [41] | CVPR20 | DarkNet-53/GRU | ✕ | ✓ | 62.44 | 64.20 | 59.71 | 50.62 | 54.99 | 44.69 | 49.22 | 49.40 |
| ReLA [33] | CVPR23 | Swin-B/BERT | ✕ | ✕ | 73.82 | 76.48 | 70.18 | 66.04 | 71.02 | 57.65 | 65.00 | 65.97 |
| EEVG [4] | ECCV24 | ViT-B/BERT | ✓ | ✓ | 79.49 | 80.87 | 77.39 | 71.86 | 76.67 | 66.31 | 73.56 | 73.47 |
| PromptRIS [49] | CVPR24 | SAM-CLIP-B/CLIP | ✕ | ✕ | 78.10 | 81.21 | 74.64 | 71.13 | 76.60 | 64.25 | 69.17 | 70.47 |
| HieA2G [56] | AAAI25 | Swin-B/RoBERTa | ✓ | ✓ | 75.10 | 77.60 | 71.10 | 66.50 | 71.40 | 58.90 | 65.30 | 66.60 |
| COHD [42] | ICCV25 | Swin-B/BERT | ✕ | ✕ | 78.11 | 80.39 | 75.20 | 72.03 | 76.37 | 65.45 | 70.83 | 72.11 |
| RaAM-RVG [46] | ICCV25 | ViT-B/BERT | ✕ | ✓ | 79.35 | 81.22 | 77.81 | 69.54 | 75.69 | 63.02 | 71.30 | 72.09 |
| OneRef-B [61] | NerulPS25 | BEiT3-ViT-B | ✓ | ✓ | 79.83 | 81.86 | 76.99 | 74.68 | 77.90 | 69.58 | 74.06 | 74.92 |
| Latent-VG [72] | ICCV25 | BEiT3-ViT-B | ✕ | ✓ | 81.01 | 82.26 | 79.77 | 76.92 | 79.48 | 72.95 | 76.10 | 76.51 |
| PropVG [9] | ICCV25 | BEiT3-ViT-B | ✕ | ✓ | 77.99 | 79.81 | 75.28 | 72.94 | 76.49 | 67.22 | 71.34 | 72.10 |
| InstanceVG [8] | TPAMI25 | BEiT3-ViT-B | ✕ | ✓ | 81.36 | 83.05 | 79.28 | 76.64 | 79.51 | 71.56 | 75.89 | 76.59 |
| Ours | - | BEiT3-ViT-B | ✕ | ✓ | 81.82 | 83.34 | 79.83 | 77.44 | 80.51 | 74.00 | 77.08 | 77.80 |
using the density map as a stable and semantically explicit supervisory signal. Specifically, the high-response regions in the similarity map typically correspond to the entire target regions. To further focus on the centers in these areas, we apply a learnable affine transformation to convert into a center-oriented map :
where denote learnable weights and biases. We then concatenate with to obtain a fused feature representation . The fused features is subsequently processed by a sequence of point-wise convolution layers, progressively reducing the channel dimensionality. Finally, a lightweight decoding head consisting of , normalization, GELU activation, generates the instance center prediction map , where each element indicates the probability of the corresponding spatial location being an instance center. The feature projection process is formulated as:
where denotes a point-wise convolution, represents the normalization operation, and denotes the GELU activation function.
3.4 Loss
We follow the training losses of InstanceVG[8] for both instance detection and segmentation. For the detection branch, adopts a DETR-style [1] loss function, consisting of L1 loss, cross-entropy loss, and GIoU loss. For the segmentation branch, we employ a combination of binary cross-entropy (BCE) and Dice losses [5], and additionally apply similar supervision to the global semantic segmentation output. The Exist Head distinguishes the presence of targets by applying an MLP over average-pooled global semantic features , and is optimized using a BCE loss. Moreover, we introduce auxiliary supervision for both the similarity map and the instance center prediction. supervises using the ground-truth mask, and supervises using the instance center density map . The overall training objective is defined as:
where and are weighting coefficients that control the contribution of both auxiliary supervisions. For experiments on other hyperparameters in the loss function, see Appendix C.
4 Experiments
4.1 Experimental Setup
For REC and RES tasks, we conduct joint training on the RefCOCO [71], RefCOCO+ [71], and RefCOCOg [43, 44] datasets, and report evaluation results on each subset. For GREC and GRES tasks, training and evaluation are performed on the gRefCOCO [18, 33], Ref-ZoM [21], and R-RefCOCO+/g [58] datasets, respectively. SSDE is built upon a pre-trained multi-modality encoder BEiT-3 with ViT-B, and the number of queries is set to 1 and 10 for the CVG and GVG tasks, and SSDE is trained for 25 and 10 epochs, respectively.
Table 2: Comparison with state-of-the-art methods on the R-RefCOCO+/g [58] datasets.
| Models | R-RefCOCO | R-RefCOCO+ | R-RefCOCOg | ||||||
|---|---|---|---|---|---|---|---|---|---|
| mIoU | mRR | rIoU | mIoU | mRR | rIoU | mIoU | mRR | rIoU | |
| CRIS [36] | 43.58 | 76.62 | 29.01 | 32.13 | 72.67 | 21.42 | 27.82 | 74.47 | 14.60 |
| EFN [17] | 58.33 | 64.64 | 32.53 | 37.74 | 77.12 | 24.24 | 32.53 | 75.33 | 19.44 |
| VLT [15] | 61.66 | 63.36 | 34.05 | 50.15 | 75.37 | 34.19 | 49.67 | 67.31 | 31.64 |
| LAVT [66] | 69.59 | 58.25 | 36.20 | 56.99 | 73.45 | 36.98 | 59.52 | 61.60 | 34.91 |
| LAVT+ [66] | 54.70 | 82.39 | 40.11 | 45.99 | 86.35 | 39.71 | 47.22 | 81.45 | 35.46 |
| RefSegformer [58] | 68.78 | 73.73 | 46.08 | 55.82 | 81.23 | 42.14 | 54.99 | 71.31 | 37.65 |
| CoHD [42] | 74.16 | 84.27 | 53.61 | 64.59 | 87.49 | 49.07 | 63.56 | 82.68 | 42.16 |
| InstanceVG [8] | 76.73 | 92.15 | 62.41 | 69.73 | 94.63 | 59.13 | 70.16 | 92.30 | 54.36 |
| Ours | 78.26 | 92.29 | 64.42 | 72.15 | 94.20 | 61.14 | 72.40 | 92.67 | 57.42 |
Table 3: Comparison with state-of-the-art methods on the Ref-ZOM [21] dataset.
| Models | Backbone | mIoU | oIoU | Acc. |
|---|---|---|---|---|
| MLLM Methods | ||||
| LISA-V-7B [29] | SAM-ViT-H | 65.39 | 66.41 | 93.39 |
| GSVA-V-7B [59] | SAM-ViT-H | 68.13 | 68.29 | 94.59 |
| Specialist Methods | ||||
| MCN [41] | DarkNet-53/GRU | 54.70 | 55.03 | 75.81 |
| VLT [15] | DarkNet-56/RNN | 60.43 | 60.21 | 79.26 |
| LAVT [66] | Swin-B/BERT | 64.78 | 64.45 | 83.11 |
| DMMI [21] | Swin-B/BERT | 68.21 | 68.77 | 87.02 |
| CoHD [42] | Swin-B/BERT | 69.81 | 68.99 | 93.34 |
| InstanceVG [8] | BEiT3-ViT-B | 71.52 | 71.12 | 97.42 |
| Ours | BEiT3-ViT-B | 73.28 | 72.78 | 97.98 |
Table 4: Ablation study on proposed modules.
| Multi-task | SeDE | SpDE | Val | TestB | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| F1score | N-acc. | gIoU | cloU | F1score | N-acc. | gIoU | cloU | |||
| 66.28 | 58.34 | - | - | 57.53 | 57.52 | - | - | |||
| ✓ | 69.32 | 63.71 | 70.45 | 69.32 | 58.63 | 59.81 | 65.55 | 65.31 | ||
| ✓ | ✓ | 70.35 | 65.02 | 70.8 | 69.46 | 59.41 | 61.24 | 65.73 | 65.42 | |
| ✓ | ✓ | ✓ | 73.45 | 74.85 | 74.73 | 70.16 | 60.53 | 66.64 | 67.66 | 66.27 |
Table 5: Ablation study within SeDE.
Table 6: Ablation study within SpDE.
| Ablations | F1score | N-acc. | gIoU | cloU |
|---|---|---|---|---|
| No | 71.17 | 72.60 | 73.99 | 69.89 |
| CA | 72.65 | 73.05 | 74.09 | 69.90 |
| SGCA/m | 73.55 | 73.94 | 74.32 | 70.07 |
| SGCA | 73.45 | 74.85 | 74.73 | 70.16 |
| F1score | N-acc. | gIoU | cloU | ||
|---|---|---|---|---|---|
| 72.58 | 72.58 | 73.44 | 69.28 | ||
| ✓ | 72.83 | 73.1 | 73.97 | 69.91 | |
| ✓ | 73.12 | 73.7 | 74.03 | 69.81 | |
| ✓ | ✓ | 73.45 | 74.85 | 74.73 | 70.16 |
4.2 Comparison with SOTA Methods
Classic visual grounding. Table 1 presents the performance of SSDE on the RES task. Our model surpasses both SAM-based [28] and LLM-based [53] methods, such as GLaMM-7B [48], LISA-13B [29], and GSVA-13B [59], all of which rely on substantially larger model scales and are trained with more extensive grounding data. For specialist methods, compared with EEVG [4] and OneRef [61], which leverage additional datasets for pretraining (e.g., ReferIt [26] or Flickr30k [69]), SSDE achieves superior performance across all evaluation benchmarks, with average improvements of up to 2.4%, 5.7%, and 3.9% on the three split sets, respectively. Under the same data scale, SSDE improves upon the state-of-the-art model RaAM-RVG [46], which adopts separate modality encoders, by an average of 2.2%, 7.9%, and 5.7%, and also outperforms InstanceVG [8], which is the best model based on unified multi-modality encoder, by an average of 0.4%, 1.4%, and 1.2% across the three splits, respectively. Table 9 in Appendix reports the performance on the REC task. Overall, as a unified multi-task framework, SSDE consistently achieves superior performance over existing state-of-the-art methods on both REC and RES tasks.
Generalized visual grounding. To further evaluate the effectiveness of SSDE under generalized settings, we first compare it with SOTA methods on the gRefCOCO [33] dataset, as shown in Table 7. The results demonstrate that SSDE achieves state-of-the-art performance on GRES task. Compared with RaAM-RVG [46], SSDE improves average performance across the three split sets by 3.8%, 2.5%, and 1.7%, respectively. When compared with LatentVG [72], which adopts the same backbone with SSDE, the average improvements are 2.1%, 1.9%, and 1.7%.
Furthermore, we extend our evaluation to the Ref-ZOM [21] benchmark, as shown in Table 3. SSDE consistently outperforms prior approaches, achieving gains of 1.76% and 1.66% in mIoU and oIoU over InstanceVG [8] (using the same backbone) and an average improvement of 3.97% over COHD [42], a SOTA method based on independent modality encoding. We also report results on the R-RefCOCO [58] datasets in Table 2, where SSDE maintains leading performance, surpassing COHD [42] by an average margins of 7.6%, 8.8%, and 11.4% across three different splits. Notably, our method also exceeds LLM-based methods trained on large-scale data.
Beyond segmentation, we further evaluate detection performance on the GREC task, as shown in Table 8. Compared with HieA2G [56], a SOTA method based on independently encoded modalities, SSDE achieves average improvements of 11.0%, 9.0%, and 7.7% across the three splits. Compared with PropVG [9], which uses the same backbone, SSDE still delivers consistent average gains of 2.6%, 2.7%, and 2.0%. Overall, these results demonstrate that SSDE achieves consistently superior performance across GVG tasks.
4.3 Ablation studies
Effects of each proposed component. Table 4 represents an analysis of the effectiveness of core modules. Both the SeDE and SpDE modules leads to notable performance improvements, while their combination yields the best results. This indicates that SpDE leverages instance center density map as explicit supervision, enabling to capture structured spatial distribution of multiple instances. Meanwhile, SeDE enhances query representations with visual attributes, significantly improving instance-level discriminability. The joint modeling of structured spatial distribution and fine-grained semantic attributes ultimately results in substantial performance gains.
Ablation study within SeDE. Table 5 presents the ablation study within the SeDE module. Firstly, compared to using only the subject-level semantics derived from textual expression as queries, incorporating visual attributes leads to significant improvements, particularly in terms of F1score and N-acc. This demonstrates the
Kaiyan Lei and Xu-Yao Zhang
Table 7: Comparison with state-of-the-art methods on the gRefCOCO [33] dataset for the GRES task.
| Models | Backbone | Val | TestA | TestB | |||
|---|---|---|---|---|---|---|---|
| gloU | cloU | gloU | cloU | gloU | cloU | ||
| MLLM Methods | |||||||
| LISA-V-7B [29] | SAM-ViT-H | 61.63 | 61.76 | 66.27 | 68.50 | 58.84 | 60.63 |
| GSVA-V-7B [59] | SAM-ViT-H | 66.47 | 63.29 | 71.08 | 69.93 | 62.23 | 60.47 |
| Specialist Methods | |||||||
| MattNet [70] | ResNet-101/LSTM | 48.24 | 47.51 | 59.30 | 58.66 | 46.14 | 45.33 |
| CRIS [36] | CLIP-R101/CLIP | 56.27 | 55.34 | 63.42 | 63.82 | 51.79 | 51.04 |
| ReLA [33] | Swin-B/BERT | 63.60 | 62.42 | 70.03 | 69.26 | 61.02 | 59.88 |
| HieA2G [56] | Swin-B/RoBETRa | 68.40 | 64.20 | 72.00 | 70.40 | 62.80 | 61.00 |
| COHD [42] | Swin-B/BERT | 68.42 | 65.17 | 72.67 | 71.85 | 63.60 | 62.63 |
| RaAM-RVG [46] | ViT-B/BERT | 70.02 | 67.35 | 73.86 | 72.98 | 65.77 | 64.34 |
| Latent-VG [72] | BEiT3-ViT-B | 72.45 | 68.23 | 74.51 | 73.53 | 66.12 | 64.16 |
| PropVG [9] | BEiT3-ViT-B | 73.29 | 69.23 | 74.43 | 74.20 | 65.87 | 64.76 |
| InstanceVG [8] | BEiT3-ViT-B | 73.36 | 69.22 | 75.21 | 74.51 | 66.74 | 65.67 |
| Ours | BEiT3-ViT-B | 74.83 | 70.09 | 76.23 | 75.51 | 67.45 | 66.13 |
Table 8: Comparison with state-of-the-art methods on the gRefCOCO [18] dataset for the GREC task.
| Models | Backbone | Val | TestA | TestB | |||
|---|---|---|---|---|---|---|---|
| F1score | N-acc. | F1score | N-acc. | F1score | N-acc. | ||
| VLT [15] | DarkNet-56/RNN | 36.6 | 35.2 | 40.2 | 34.1 | 30.2 | 32.5 |
| MDETR [24] | ResNet-101/RoBERTa | 42.7 | 36.3 | 50.0 | 34.5 | 36.5 | 31.0 |
| UNINEXT [63] | ResNet-50/BERT | 58.2 | 50.6 | 46.4 | 49.3 | 42.9 | 48.2 |
| SimVG [11] | BEiT3-ViT-B | 62.1 | 54.7 | 64.6 | 57.2 | 54.8 | 57.2 |
| HieA2G [56] | R101/RoBETRa | 67.8 | 60.3 | 66.0 | 60.1 | 56.5 | 56.0 |
| PropVG [9] | BEiT3-ViT-B | 72.2 | 72.8 | 68.8 | 69.9 | 59.0 | 65.0 |
| Ours | BEiT3-ViT-B | 74.17 | 75.93 | 71.19 | 72.93 | 60.62 | 67.28 |
importance of fine-grained attribute modeling in enhancing the discriminability of target instances. Moreover, the strategy for extracting visual attributes has a critical role in overall performance. We evaluate three variants: (1) standard cross-attention, (2) SGCA without the scaling factor m, and (3) SGCA with the scaling factor m. The results indicate that the third variant achieves the best performance. When only standard cross-attention is employed, the learned attribute representation lacks explicit semantic constraints, making it susceptible to background noise. Introducing the similarity map as an attention bias (SGCA without m) injects spatial priors to some extent, but its effectiveness remains limited due to the lack of proper scale regulation. By further incorporating the scaling factor m, the influence of spatial priors can be regulated, leading to more reliable and target-relevant attribute extraction, thereby yielding superior performance.
Ablation study within SpDE. Table 6 reports the ablation results within the SpDE module. Compared to learning similarity maps solely, modeling instance-centered density maps yields inferior results. This suggests that the density map provides a more stable and structured representation of the spatial distributions, where each instance corresponds to a distinct local peak. In contrast, the similarity map tends to cover the entire target region, lacking the ability to distinguish individual instances and thus failing to provide clear structural guidance for the spatial distribution in multi-instance scenarios. Furthermore, during the learning of the instance center density map, the supervised introduces more reliable spatial priors, further improving overall performance.

Figure 3: Visualizations of the prediction results, similarity maps, and instance centers predicted by the proposed method.
4.4 Visualization
In the Figure 3, we visualize the prediction results, cross-modal similarity maps, instance center density maps, and ground truth for several multi-instance scenarios from the gRefCOCO [33] dataset. The visualizations demonstrate that SSDE achieves accurate cross-modal understanding, with the similarity maps effectively covering all targets. In challenging cases involving overlapping or adjacent instances, the instance center maps exhibits clear spatial separability, effectively distinguishing individual instances. By explicitly predicting instance centers, SSDE implicitly encodes clearly spatial distribution, enabling counting information to be naturally integrated into the localization process and thereby improving multi-instance reasoning.
5 Conclusion
In this paper, we present SSDE for generalized visual grounding, aimed at improving cross-modal understanding and instance-level localization by jointly enhancing semantic and spatial discriminability. Specifically, we propose a semantic discriminability enhancement module that incorporates fine-grained visual attributes via spatially guided cross-modal interaction, effectively enlarging the inter-instance discriminative margins and mitigating omissions or ambiguities caused by insufficient visual cues. We also propose a spatial discriminability enhancement module that explicitly models instance center distributions, imposing instance-level structural constraints through auxiliary supervision, while also providing region-level guidance via instance-level supervision, thereby promoting the separability and independence of multiple targets. Experimental results demonstrate that SSDE achieves state-of-the-art performance on multiple visual grounding benchmarks.
Acknowledgments
This work was supported by CAS Project for Young Scientists in Basic Research (YSBR-083) and Lingang Laboratory (Grant No. LGL-2616-04).
References
[1] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. 2020. End-to-end object detection with transformers. In European Conference on Computer Vision. Springer, 213–229.
[2] Keqin Chen, Zhao Zhang, Weili Zeng, Richong Zhang, Feng Zhu, and Rui Zhao. 2023. Shikra: Unleashing multimodal llm's referential dialogue magic. arXiv preprint arXiv:2306.15195 (2023).
[3] Long Chen, Wenbo Ma, Jun Xiao, Hanwang Zhang, and Shih-Fu Chang. 2021. Refnms: Breaking proposal bottlenecks in two-stage referring expression grounding. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 35. 1036–1044.
[4] Wei Chen, Long Chen, and Yu Wu. 2024. An efficient and effective transformer decoder-based framework for multi-task visual grounding. In European Conference on Computer Vision. Springer, 125–141.
[5] Bowen Cheng, Ishan Misra, Alexander G Schwing, Alexander Kirillov, and Rohit Girdhar. 2022. Masked-attention mask transformer for universal image segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 1290–1299.
[6] Zesen Cheng, Kehan Li, Peng Jin, Siheng Li, Xiangyang Ji, Li Yuan, Chang Liu, and Jie Chen. 2024. Parallel vertex diffusion for unified visual grounding. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 38. 1326–1334.
[7] Yong Xien Chng, Henry Zheng, Yizeng Han, Xuchong Qiu, and Gao Huang. 2024. Mask grounding for referring image segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 26573–26583.
[8] Ming Dai, Wenxuan Cheng, Jiang-Jiang Liu, Lingfeng Yang, Zhenhua Feng, Wankou Yang, and Jingdong Wang. 2025. Improving generalized visual grounding with instance-aware joint learning. IEEE Transactions on Pattern Analysis and Machine Intelligence (2025).
[9] Ming Dai, Wenxuan Cheng, Jiedong Zhuang, Jiang-jiang Liu, Hongshen Zhao, Zhenhua Feng, and Wankou Yang. 2025. Propvg: End-to-end proposal-driven visual grounding with multi-granularity discrimination. In Proceedings of the IEEE/CVF International Conference on Computer Vision. 7058–7068.
[10] Ming Dai, Jian Li, Jiedong Zhuang, Xian Zhang, and Wankou Yang. 2025. Multi-task visual grounding with coarse-to-fine consistency constraints. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 39. 2618–2626.
[11] Ming Dai, Lingfeng Yang, Yihao Xu, Zhenhua Feng, and Wankou Yang. 2024. Simvg: A simple framework for visual grounding with decoupled multi-modal fusion. Advances in Neural Information Processing Systems 37 (2024), 121670–121698.
[12] Jiajun Deng, Zhengyuan Yang, Tianlang Chen, Wengang Zhou, and Houqiang Li. 2021. Transvg: End-to-end visual grounding with transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision. 1769–1779.
[13] Jiajun Deng, Zhengyuan Yang, Daqing Liu, Tianlang Chen, Wengang Zhou, Yanyong Zhang, Houqiang Li, and Wanli Ouyang. 2023. Transvg++: End-to-end visual grounding with language conditioned vision transformer. IEEE Transactions on Pattern Analysis and Machine Intelligence 45, 11 (2023), 13636–13652.
[14] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies, volume 1 (long and short papers). 4171–4186.
[15] Henghui Ding, Chang Liu, Suchen Wang, and Xudong Jiang. 2021. Vision-language transformer and query generation for referring segmentation. In Proceedings of the IEEE/CVF International Conference on Computer Vision. 16321–16330.
[16] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, et al. 2021. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. In Proceedings of the International Conference on Learning Representations (ICLR).
[17] Guang Feng, Zhiwei Hu, Lihe Zhang, and Huchuan Lu. 2021. Encoder fusion network with co-attention embedding for referring image segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 15506–15515.
[18] Shuting He, Henghui Ding, Chang Liu, and Xudong Jiang. 2023. Grec: Generalized referring expression comprehension. arXiv preprint arXiv:2308.16182 (2023).
[19] Richang Hong, Daqing Liu, Xiaoyu Mo, Xiangnan He, and Hanwang Zhang. 2019. Learning to compose and reason with language tree structures for visual grounding. IEEE Transactions on Pattern Analysis and Machine Intelligence 44, 2 (2019), 684–696.
[20] Yizhi Hu, Zezhao Tian, Xingqun Qi, Chen Su, Bingkun Yang, Junhui Yin, Muyi Sun, Man Zhang, and Zhenan Sun. 2025. ReMeREC: Relation-aware and Multi-entity Referring Expression Comprehension. In Proceedings of the 33rd ACM
International Conference on Multimedia. 4010–4019.
[21] Yutao Hu, Qixiong Wang, Wenqi Shao, Enze Xie, Zhenguo Li, Jungong Han, and Ping Luo. 2023. Beyond one-to-one: Rethinking the referring image segmentation. In Proceedings of the IEEE/CVF International Conference on Computer Vision. 4067–4077.
[22] Shaofei Huang, Tianrui Hui, Si Liu, Guanbin Li, Yunchao Wei, Jizhong Han, Luoqi Liu, and Bo Li. 2020. Referring image segmentation via cross-modal progressive comprehension. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 10488–10497.
[23] Ruixiang Jiang, Lingbo Liu, and Changwen Chen. 2023. Clip-count: Towards text-guided zero-shot object counting. In Proceedings of the 31st ACM International Conference on Multimedia. 4535–4545.
[24] Aishwarya Kamath, Mannat Singh, Yann LeCun, Gabriel Synnaeve, Ishan Misra, and Nicolas Carion. 2021. Mdetr-modulated detection for end-to-end multimodal understanding. In Proceedings of the IEEE/CVF International Conference on Computer Vision. 1780–1790.
[25] Seunggu Kang, WonJun Moon, Euiyeon Kim, and Jae-Pil Heo. 2024. Vlcounter: Text-aware visual representation for zero-shot object counting. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 38. 2714–2722.
[26] Sahar Kazemzadeh, Vicente Ordonez, Mark Matten, and Tamara Berg. 2014. Referitgame: Referring to objects in photographs of natural scenes. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing. 787–798.
[27] Namyup Kim, Dongwon Kim, Cuiling Lan, Wenjun Zeng, and Suha Kwak. 2022. Restr: Convolution-free referring image segmentation using transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 18145–18154.
[28] Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao, Chloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander C Berg, Wan-Yen Lo, et al. 2023. Segment anything. In Proceedings of the IEEE/CVF International Conference on Computer Vision. 4015–4026.
[29] Xin Lai, Zhuotao Tian, Yukang Chen, Yanwei Li, Yuhui Yuan, Shu Liu, and Jiaya Jia. 2024. Lisa: Reasoning segmentation via large language model. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 9579–9589.
[30] Feng Li, Hao Zhang, Huaizhe Xu, Shilong Liu, Lei Zhang, Lionel M Ni, and Heung-Yeung Shum. 2023. Mask dino: Towards a unified transformer-based framework for object detection and segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 3041–3050.
[31] Muchen Li and Leonid Sigal. 2021. Referring transformer: A one-step approach to multi-task visual grounding. Advances in Neural Information Processing Systems 34 (2021), 19652–19664.
[32] Yanghao Li, Hanzi Mao, Ross Girshick, and Kaiming He. 2022. Exploring plain vision transformer backbones for object detection. In European Conference on Computer Vision. Springer, 280–296.
[33] Chang Liu, Henghui Ding, and Xudong Jiang. 2023. Gres: Generalized referring expression segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 23592–23601.
[34] Jiang Liu, Hui Ding, Zhaowei Cai, Yuting Zhang, Ravi Kumar Satzoda, Vijay Mahadevan, and R Manmatha. 2023. Polyformer: Referring image segmentation as sequential polygon generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 18653–18663.
[35] Shilong Liu, Zhaoyang Zeng, Tianhe Ren, Feng Li, Hao Zhang, Jie Yang, Qing Jiang, Chunyuan Li, Jianwei Yang, Hang Su, et al. 2024. Grounding dino: Marrying dino with grounded pre-training for open-set object detection. In European Conference on Computer Vision. Springer, 38–55.
[36] Sun-Ao Liu, Yiheng Zhang, Zhaofan Qiu, Hongtao Xie, Yongdong Zhang, and Ting Yao. 2023. CARIS: Context-aware referring image segmentation. In Proceedings of the 31st ACM International Conference on Multimedia. 779–788.
[37] Ting Liu, Zunnan Xu, Yue Hu, Liangtao Shi, Zhiqiang Wang, and Quanjun Yin. 2024. Mapper: Multimodal prior-guided parameter efficient tuning for referring expression comprehension. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing. 4984–4994.
[38] Xihui Liu, Zihao Wang, Jing Shao, Xiaogang Wang, and Hongsheng Li. 2019. Improving referring expression grounding with cross-modal attention-guided erasing. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 1950–1959.
[39] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692 (2019).
[40] Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. 2021. Swin transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF International Conference on Computer Vision. 10012–10022.
[41] Gen Luo, Yiyi Zhou, Xiaoshuai Sun, Liujuan Cao, Chenglin Wu, Cheng Deng, and Rongrong Ji. 2020. Multi-task collaborative network for joint referring expression comprehension and segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 10034–10043.
Kaiyan Lei and Xu-Yao Zhang
[42] Zhuoyan Luo, Yinghao Wu, Tianheng Cheng, Yong Liu, Yicheng Xiao, Hongfa Wang, Xiao-Ping Zhang, and Yujiu Yang. 2025. Cohd: A counting-aware hierarchical decoding framework for generalized referring expression segmentation. In Proceedings of the IEEE/CVF International Conference on Computer Vision. 22685–22694.
[43] Junhua Mao, Jonathan Huang, Alexander Toshev, Oana Camburu, Alan L Yuille, and Kevin Murphy. 2016. Generation and comprehension of unambiguous object descriptions. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 11–20.
[44] Varun K Nagaraja, Vlad I Morariu, and Larry S Davis. 2016. Modeling context between objects for referring expression understanding. In European Conference on Computer Vision. Springer, 792–807.
[45] Maxime Oquab, Timothée Darcet, Théo Moutakanni, Huy Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaeldin El-Nouby, et al. 2023. Dinov2: Learning robust visual features without supervision. arXiv preprint arXiv:2304.07193 (2023).
[46] Shuyi Ouyang, Ziwei Niu, Hongyi Wang, Yen-Wei Chen, and Lanfen Lin. 2025. Region-aware Anchoring Mechanism for Efficient Referring Visual Grounding. In Proceedings of the IEEE/CVF International Conference on Computer Vision. 24192–24202.
[47] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. 2021. Learning transferable visual models from natural language supervision. In International Conference on Machine Learning. PmLR, 8748–8763.
[48] Hanoona Rasheed, Muhammad Maaz, Sahal Shaji, Abdelrahman Shaker, Salman Khan, Hisham Cholakkal, Rao M Anwer, Eric Xing, Ming-Hsuan Yang, and Fahad S Khan. 2024. Glamm: Pixel grounding large multimodal model. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 13009–13018.
[49] Chao Shang, Zichen Song, Heqian Qiu, Lanxiao Wang, Fanman Meng, and Hongliang Li. 2024. Prompt-driven referring image segmentation with instance contrasting. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 4124–4134.
[50] Fengyuan Shi, Ruopeng Gao, Weilin Huang, and Limin Wang. 2023. Dynamic mdetr: A dynamic multimodal transformer decoder for visual grounding. IEEE Transactions on Pattern Analysis and Machine Intelligence 46, 2 (2023), 1181–1198.
[51] Liangtao Shi, Ting Liu, Xiantao Hu, Yue Hu, Quanjun Yin, and Richang Hong. 2025. Swimvg: Step-wise multimodal fusion and adaption for visual grounding. IEEE Transactions on Multimedia (2025).
[52] Wei Su, Peihan Miao, Huanzhang Dou, Gaoang Wang, Liang Qiao, Zheyang Li, and Xi Li. 2023. Language adaptive weight generation for multi-task visual grounding. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 10857–10866.
[53] Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. 2023. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971 (2023).
[54] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. Advances in Neural Information Processing Systems 30 (2017).
[55] Wenhui Wang, Hangbo Bao, Li Dong, Johan Bjorck, Zhiliang Peng, Qiang Liu, Kriti Aggarwal, Owais Khan Mohammed, Saksham Singhal, Subhojit Som, et al. 2023. Image as a foreign language: Beit pretraining for vision and vision-language tasks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 19175–19186.
[56] Yaxian Wang, Henghui Ding, Shuting He, Xudong Jiang, Bifan Wei, and Jun Liu. 2025. Hierarchical alignment-enhanced adaptive grounding network for generalized referring expression comprehension. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 39. 8042–8050.
[57] Yabing Wang, Zhuotao Tian, Qingpei Guo, Zheng Qin, Sanping Zhou, Ming Yang, and Le Wang. 2024. Referencing where to focus: Improving visual grounding with referential query. Advances in Neural Information Processing Systems 37 (2024), 47378–47399.
[58] Jianzong Wu, Xiangtai Li, Xia Li, Henghui Ding, Yunhai Tong, and Dacheng Tao. 2024. Toward robust referring image segmentation. IEEE Transactions on Image Processing 33 (2024), 1782–1794.
[59] Zhuofan Xia, Dongchen Han, Yizeng Han, Xuran Pan, Shiji Song, and Gao Huang. 2024. Gsva: Generalized segmentation via multimodal large language models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 3858–3869.
[60] Linhui Xiao, Xiaoshan Yang, Fang Peng, Yaowei Wang, and Changsheng Xu. 2024. Hivg: Hierarchical multimodal fine-grained modulation for visual grounding. In Proceedings of the 32nd ACM International Conference on Multimedia. 5460–5469.
[61] Linhui Xiao, Xiaoshan Yang, Fang Peng, Yaowei Wang, and Changsheng Xu. 2024. Oneref: Unified one-tower expression grounding and segmentation with mask referring modeling. Advances in Neural Information Processing Systems 37 (2024), 139854–139885.
[62] Linhui Xiao, Xiaoshan Yang, Fang Peng, Ming Yan, Yaowei Wang, and Changsheng Xu. 2023. Clip-vg: Self-paced curriculum adapting of clip for visual grounding. IEEE Transactions on Multimedia 26 (2023), 4334–4347.
[63] Bin Yan, Yi Jiang, Jiannan Wu, Dong Wang, Ping Luo, Zehuan Yuan, and Huchuan Lu. 2023. Universal instance perception as object discovery and retrieval. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 15325–15336.
[64] Zhengyuan Yang, Tianlang Chen, Liwei Wang, and Jiebo Luo. 2020. Improving one-stage visual grounding by recursive sub-query construction. In European Conference on Computer Vision. Springer, 387–404.
[65] Zhengyuan Yang, Boqing Gong, Liwei Wang, Wenbing Huang, Dong Yu, and Jiebo Luo. 2019. A fast and accurate one-stage approach to visual grounding. In Proceedings of the IEEE/CVF International Conference on Computer Vision. 4683–4693.
[66] Zhao Yang, Jiaqi Wang, Yansong Tang, Kai Chen, Hengshuang Zhao, and Philip HS Torr. 2022. Lavt: Language-aware vision transformer for referring image segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 18155–18165.
[67] Ruilin Yao, Shengwu Xiong, Yichen Zhao, and Yi Rong. 2024. Visual grounding with multi-modal conditional adaptation. In Proceedings of the 32nd ACM International Conference on Multimedia. 3877–3886.
[68] Jiabo Ye, Junfeng Tian, Ming Yan, Xiaoshan Yang, Xuwu Wang, Ji Zhang, Liang He, and Xin Lin. 2022. Shifting more attention to visual backbone: Query-modulated refinement networks for end-to-end visual grounding. In proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 15502–15512.
[69] Peter Young, Alice Lai, Micah Hodosh, and Julia Hockenmaier. 2014. From image descriptions to visual denotations: New similarity metrics for semantic inference over event descriptions. Transactions of the association for computational linguistics 2 (2014), 67–78.
[70] Licheng Yu, Zhe Lin, Xiaohui Shen, Jimei Yang, Xin Lu, Mohit Bansal, and Tamara L Berg. 2018. Mattnet: Modular attention network for referring expression comprehension. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 1307–1315.
[71] Licheng Yu, Patrick Poirson, Shan Yang, Alexander C Berg, and Tamara L Berg. 2016. Modeling context in referring expressions. In European Conference on Computer Vision. Springer, 69–85.
[72] Seonghoon Yu, Joonbeom Hong, Joonseok Lee, and Jeany Son. 2025. Latent Expression Generation for Referring Image Segmentation and Grounding. In Proceedings of the IEEE/CVF International Conference on Computer Vision. 21374–21383.
[73] Zhou Yu, Jun Yu, Chenchao Xiang, Zhou Zhao, Qi Tian, and Dacheng Tao. 2018. Rethinking diversified and discriminative proposal generation for visual grounding. arXiv preprint arXiv:1805.03508 (2018).
[74] Hanwang Zhang, Yulei Niu, and Shih-Fu Chang. 2018. Grounding referring expressions in images by variational context. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 4158–4166.
[75] Peizhi Zhao, Shiyi Zheng, Wenye Zhao, Dongsheng Xu, Pijian Li, Yi Cai, and Qingbao Huang. 2024. Rethinking two-stage referring expression comprehension: A novel grounding and segmentation method modulated by point. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 38. 7487–7495.
[76] Shiyi Zheng, Peizhi Zhao, Zhilong Zheng, Peihang He, Haonan Cheng, Yi Cai, and Qingbao Huang. 2025. Look Around Before Locating: Considering Content and Structure Information for Visual Grounding. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 39. 1656–1664.
[77] Yiyi Zhou, Rongrong Ji, Gen Luo, Xiaoshuai Sun, Jinsong Su, Xinghao Ding, Chia-Wen Lin, and Qi Tian. 2021. A real-time global inference network for one-stage referring expression comprehension. IEEE Transactions on Neural Networks and Learning Systems 34, 1 (2021), 134–143.
[78] Chaoyang Zhu, Yiyi Zhou, Yunhang Shen, Gen Luo, Xingjia Pan, Mingbao Lin, Chao Chen, Liujuan Cao, Xiaoshuai Sun, and Rongrong Ji. 2022. Seqtr: A simple yet universal network for visual grounding. In European Conference on Computer Vision. Springer, 598–615.
[79] Xizhou Zhu, Weijie Su, Lewei Lu, Bin Li, Xiaogang Wang, and Jifeng Dai. 2020. Deformable detr: Deformable transformers for end-to-end object detection. arXiv preprint arXiv:2010.04159 (2020).
Semantic-Spatial Discriminability Enhancement for Generalized Visual Grounding
Supplementary Material
A Datasets
RefCOCO and RefCOCO+ [71] are constructed using a two-player interactive annotation protocol similar to ReferItGame. RefCOCO contains 142,209 referring expressions for 50,000 objects across 19,994 images, while RefCOCO+ has a comparable scale, comprising 141,564 expressions for 49,856 objects in 19,992 images. Both datasets are split into training, validation, and test sets, with the test set further divided into testA and testB. Specifically, testA contains images with multiple people, whereas testB focuses on images with multiple instances of other object categories. Unlike RefCOCO, RefCOCO+ explicitly prohibits the use of location-related terms (e.g., “left”, “right”) and instead provides expressions based on object attributes, making it more challenging.
RefCOCOg [43, 44] is collected in a non-interactive manner via Amazon Mechanical Turk (AMT), resulting in longer and more complex expressions. Compared to RefCOCO and RefCOCO+, whose expressions are relatively concise (with average lengths of 3.61 and 3.53 words, respectively), RefCOCOg exhibits an average length of 8.4 words, reflecting richer semantic content and contextual dependencies. The dataset contains 85,474 referring expressions for 54,822 objects across 26,711 images. Following prior work, we adopt the UMD split, which divides the data into training, validation, and test sets without overlap between training and validation images.
gRefCOCO [33] extends RefCOCO by incorporating multi-target and non-target expressions for the GRES task. It contains 278,232 referring expressions, including 80,022 multi-target and 32,202 non-target expressions, with the remainder corresponding to single-target cases. The dataset covers 60,287 object instances across 19,994 images and follows the UNC partition, consisting of training, validation, testA, and testB splits.
Ref-ZOM [21] is derived from the COCO dataset and consists of 55,078 images with 74,942 annotated objects. Among them, 43,749 images and 58,356 objects are used for training, while 11,329 images and 16,586 objects are used for testing. The annotations cover three scenarios: one-to-zero, one-to-one, and one-to-many, corresponding to no-target, single-target, and multi-target settings in GRES, respectively.
R-RefCOCO [58] includes three subsets: R-RefCOCO, R-RefCOCO+, and R-RefCOCOg, all derived from the RES benchmarks RefCOCO/+/g. The validation set follows the UNC partition and is officially adopted for evaluation. It is constructed by augmenting the training set with negative expressions at a 1:1 ratio relative to positive ones.
B Implement Details
B.1 Metrics
Classical visual grounding (REC/RES). For REC, we adopt Precision@0.5 as the evaluation metric, which measures the proportion of predictions whose Intersection-over-Union (IoU) with the ground truth exceeds 0.5. For RES, we use mIoU, computed as the mean IoU over all predictions.
Generalized visual grounding (GREC/GRES). For GREC, we employ Pr@(F1=1, IoU≥0.5) and N-acc. as the main metrics. Specifically, Pr@(F1=1, IoU≥0.5), denoted as F1score, evaluates the performance using an F1score of 1 with an IoU threshold of 0.5. A predicted bounding box is considered a true positive (TP) if it overlaps with a ground-truth box with an IoU of at least 0.5. If multiple predictions match, only the one with the highest IoU is counted as TP. For GRES, different metrics are adopted across datasets. We report gIoU and cloU for gRefCOCO [33]. Specifically, gIoU computes the average IoU over all instances within an image, where no-target cases are treated as true positives with an IoU of 1. The cloU metric measures the ratio between intersection pixels and union pixels. For Ref-ZOM [21], we adopt Acc., oIoU, and mIoU as evaluation metrics, where mIoU calculates the average IoU for images containing referred objects and oIoU corresponds to cloU. For R-RefCOCO [58], we report mIoU, mRR, and rIoU. The rIoU metric evaluates segmentation quality by incorporating negative sentences and assigning equal weight to positive instances in the mIoU calculation, while mRR measures the recognition rate of non-target expressions.
B.2 Experiment setup
Our model is built upon a pre-trained BEiT-3 multi-modality encoder with a ViT-B model size, featuring a patch size of 16 and a channel dimension of 768. We initialize the multi-modality encoder with thebeit3_base_indomain_patch16_224 pre-trained weights. Visual features from the 4th, 8th, and 12th layers of the backbone are extracted and fed into a feature pyramid network (FPN) [32] to obtain multi-scale representations. For CVG and GVG tasks, the maximum text lengths are set to 20 and 50, respectively, and the number of queries is set to 1 and 10. The models are trained for 25 fot CVG and 10 epochs for GVG. The loss weights and for and are both set to 0.1.
We follow the training protocol of InstanceVG [8], where the learning rate of the multi-modality encoder is set to , and the remaining parameters are optimized with a learning rate of . The model is trained using the Adam optimizer with full-precision training. The input image resolution is , and the batch size is set to 48. All experiments are conducted on a single NVIDIA A6000 GPU.
Kaiyan Lei and Xu-Yao Zhang
Table 9: Comparison with state-of-the-art methods on the RefCOCO+/g [71] datasets for the REC task. In the “Backbone” column, a “/” indicates separate backbones for visual and textual modalities. “FT” indicates whether fine-tuning is performed on the target dataset, and “MT” denotes whether the model is trained in a multi-task setting. Precision@0.5 is used as the evaluation metric. The best results are highlighted in bold, and the second-best results are underlined.
| Models | Publication | Backbone | FT | MT | RefCOCO | RefCOCO+ | RefCOCOg | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| val | testA | testB | val | testA | testB | val(u) | test(u) | |||||
| MLLM Methods | ||||||||||||
| Shikra-7B [2] | arxiv23 | CLIP-ViT-L | ✓ | ✕ | 87.01 | 90.61 | 80.24 | 81.60 | 87.36 | 72.12 | 82.27 | 82.19 |
| LISA-L2-13B [29] | CVPR24 | SAM-ViT-H | ✓ | ✕ | 85.91 | 88.84 | 81.73 | 74.46 | 80.56 | 68.26 | 80.09 | 81.17 |
| GSVA-L2-13B [59] | CVPR24 | SAM-ViT-H | ✓ | ✕ | 89.16 | 92.08 | 87.17 | 79.74 | 84.45 | 73.41 | 85.47 | 86.18 |
| Specialist Methods | ||||||||||||
| SeqTR [78] | ECCV22 | DarkNet-53/GRU | ✓ | ✓ | 87.00 | 90.15 | 83.59 | 78.69 | 84.51 | 71.87 | 82.69 | 83.37 |
| GroundingDINO [35] | ECCV24 | Swin-T/BERT-B | ✓ | ✕ | 89.19 | 91.86 | 85.99 | 81.09 | 87.40 | 74.71 | 84.15 | 84.94 |
| HiVG-B [60] | ACMMM24 | CLIP-B/CLIP-B | ✓ | ✕ | 90.56 | 92.55 | 87.23 | 83.08 | 87.83 | 76.68 | 84.71 | 84.69 |
| ReMeREC [20] | ACMMM25 | RN50-DETR/BERT-B | ✓ | ✕ | 89.63 | 91.91 | 86.56 | 84.31 | 86.29 | 78.89 | 86.76 | 87.30 |
| HieA2G [56] | AAAI25 | ResNet101/RoBERTa-B | ✓ | ✓ | 87.80 | 90.30 | 84.00 | 80.70 | 85.60 | 72.90 | 83.70 | 83.80 |
| RaAM-RVG [46] | ICCV25 | ViT-B/BERT-B | ✕ | ✓ | 91.45 | 93.42 | 88.71 | 84.78 | 89.23 | 79.24 | 86.78 | 87.71 |
| SimVG-DB [11] | NerulPS24 | BEiT3-ViT-B | ✓ | ✕ | 91.47 | 93.65 | 87.94 | 84.83 | 88.85 | 79.12 | 86.30 | 87.26 |
| OneRef-B [61] | NerulPS25 | BEiT3-ViT-B | ✓ | ✓ | 91.89 | 94.31 | 88.58 | 86.38 | 90.38 | 79.47 | 86.82 | 87.32 |
| Latent-VG [72] | ICCV25 | BEiT3-ViT-B | ✕ | ✓ | 91.75 | 94.64 | 88.62 | 86.41 | 90.57 | 80.59 | 87.01 | 87.11 |
| PropVG [9] | ICCV25 | BEiT3-ViT-B | ✕ | ✓ | 88.96 | 91.55 | 85.73 | 83.72 | 88.00 | 76.60 | 83.50 | 84.44 |
| Ours | - | BEiT3-ViT-B | ✕ | ✓ | 92.55 | 94.66 | 89.44 | 87.43 | 91.48 | 82.76 | 88.62 | 88.70 |
C Additional Experiments
C.1 Results on REC
Table 9 presents the performance on the REC task. Our model significantly outperforms SAM-based and LLM-based methods, such as Shikra-7B [2], LISA-13B [29], and GSVA-13B [59], all of which utilize more extensive grounding data and have larger model sizes. Compared with task-specific models, SSDE consistently outperforms HieA2G [56] and OneRef [61], which are trained under a compositional setting using additional datasets. Specifically, our approach improves the average performance across the three split sets by up to 4.9%, 7.5%, and 4.9%, respectively. Compared with methods trained at a similar data scale, SSDE consistently outperforms recent state-of-the-art methods, including those that adopt separate modality encoding, such as RaAM-RVG [46], as well as unified multi-modality encoder-based approaches, such as Latent-VG [72]. On the three different splits, our approach achieves average gains of up to 1.0%, 2.8%, and 1.6%, respectively, demonstrating its strong effectiveness and robustness.
C.2 Ablation Studies
Instance center determination. In constructing the instance center density map, the strategy for determining instance centers plays a critical role in overall performance. Due to occlusions, a single object may produce multiple disconnected mask regions. Table 10 compares three strategies: (1) using the centers of all connected components, (2) using the center of the central component, and (3) the center of the largest connected component for each instance. The results indicate that the third strategy yields the best performance. The first strategy may assign multiple centers to a single instance, making it difficult for the model to learn a stable and consistent instance distribution. The second strategy is sensitive to the spatial distribution of fragmented regions and may introduce localization bias toward small local structures. In contrast, selecting the largest connected component provides a more reliable representation of the primary object region, thereby improving the accuracy of subsequent reference point initialization.
Table 10: Ablation study on methods for determining the center of an instance.
| Ablations | F1score | N-acc. | gIoU | cIoU |
|---|---|---|---|---|
| All | 72.02 | 70.89 | 72.86 | 69.26 |
| Nearest | 72.34 | 71.60 | 73.12 | 69.15 |
| Largest | 73.45 | 74.85 | 74.73 | 70.16 |
Table 11: Ablation study on and .
| α | β | Val | TestA | TestB | |||
|---|---|---|---|---|---|---|---|
| F1score | gIoU | F1score | gIoU | F1score | gIoU | ||
| 0.05 | 0.05 | 73.62 | 74.30 | 70.76 | 76.01 | 59.94 | 66.99 |
| 0.05 | 0.1 | 71.99 | 73.94 | 69.55 | 75.74 | 59.63 | 67.4 |
| 0.1 | 0.05 | 73.31 | 74.28 | 70.29 | 75.62 | 60.29 | 67.23 |
| 0.1 | 0.1 | 73.45 | 74.73 | 70.64 | 76.04 | 60.53 | 67.66 |
| 0.1 | 0.2 | 73.90 | 74.73 | 70.76 | 76.08 | 59.97 | 66.83 |

Image
"taxi on the right partly cut off"
"taxi in middle and black car"
"every car"
"every person"

Image
"plate on right"
"rightmost plate and back bowl with cucumbers in it"
"all dishes"
"back bowl with bird in it"

Image
"front black cow and tan cow"
"every cow except for the tan one"
"every single cow"
"baby bear"

Image
"far left guy"
"catcher and batter"
"three players on left"
"right horse ahead"
Figure 4: Visualization on gRefCOCO [33] dataset.
Table 12: Ablation study on loss terms.
| F1score | N-acc. | gIoU | cIoU | |||
|---|---|---|---|---|---|---|
| 0.1 | 1.0 | 0.2 | 73.45 | 74.85 | 74.73 | 70.16 |
| 0.2 | 1.0 | 0.2 | 74.17 | 75.93 | 74.83 | 70.09 |
| 0.1 | 1.0 | 0.3 | 72.96 | 72.6 | 73.81 | 69.7 |
| 0.2 | 1 | 0.1 | 74.02 | 74.65 | 74.29 | 69.62 |
| 0.2 | 1.5 | 0.2 | 73.69 | 75.08 | 74.81 | 69.99 |
| 0.2 | 0.5 | 0.2 | 73.24 | 73.13 | 73.96 | 69.63 |
Hyperparameter in loss. We further analyze the impact of different values of and , as reported in Table 11. The loss enforces cross-modal semantic alignment, while models the spatial distribution of instance centers. The results indicate that the optimal performance is achieved when both and are set to 0.1. This suggests that maintaining a balanced contribution of these auxiliary constraints is beneficial, enabling the model to jointly learn semantic relevance and instance-level structural information, thus yielding more stable performance gains in multi-instance scenarios.
SSDE includes DETR-style loss, instance segmentation loss, exist loss, and auxiliary structural regularization losses. The ablation of auxiliary loss is in Table 11. The ablation of others is shown in Table 12. After systematically tuning weights on gRefcoco, the final loss weights are set to 0.2, 1.0, 0.2, 0.1, and 0.1. This configuration achieves the optimal trade-off of grounding accuracy.
Table 13: Ablation study on the number of queries for GRES task.
| Ablations | F1score | N-acc. | gIoU | cIoU |
|---|---|---|---|---|
| 5 | 73.74 | 73.67 | 74.13 | 69.85 |
| 10 | 73.45 | 74.85 | 74.73 | 70.16 |
| 20 | 73.39 | 73.8 | 74.29 | 70.03 |
| 30 | 72.07 | 72.01 | 73.76 | 69.71 |
Query numbers for GRES. Table 13 reports the impact of varying the number of queries in the GRES task. The results show that setting the number of queries to 10 leads to the best performance, as it facilitates a more stable cross-modal coupling within the feature space. In contrast, using an excessive number of queries tends
Kaiyan Lei and Xu-Yao Zhang
GT

Prediction
"man on motorcycle"
"bottle with white label"
"second row left"
"right big elephant"
"third person from left black hat"
"second laptop from left in front of pink shirt"
(a) RefCOCO
GT

Prediction
"bed is completely clean"
"animal facing ahead"
"book with not bird on it"
"woman sunglasses white shirt"
"white box with no rice"
"closest head straight brown hair"
(b) RefCOCO+
GT
Prediction

“a chili dog with slices of cheese visible under the chili”
“a white swan swimming on the left side of another swan”
"yellow train with bird on the front"
“the controller with the wire not chewed around”
(c) RefCOCOg
“an elephant nearly fully behind the lead elephant”
“girl in green sweater with baby horse”
Figure 5: Visualization on RefCOCO+/g [71] dataset.
to dilute semantic focus, increase optimization difficulty, and introduce additional uncertainty, ultimately resulting in degraded performance.
C.3 Efficiency and parameters
In the Table 14, we compare the parameters and computational efficiency of SSDE with those of other visual grounding methods. We employ the thop library to calculate the parameters and GFlops for SSDE, PropVG [9], and InstanceVG [8], while the statistics for the remaining models are obtained from their respective publications. Overall, methods [13, 33, 42] based on unimodal encoders typically exhibit larger model sizes compared to those adopting unified multimodal encoders [8, 9]. SSDE achieves the best overall performance while maintaining a relatively low number of parameters and computational cost. Furthermore, compared to InstanceVG [8], our method introduces only marginal increases in parameters and computational overhead, yet delivers substantially superior performance, demonstrating a more favorable efficiency-performance trade-off.
D Visualization
Visualization on CVG task. We visualize representative predictions on RefCOCO+/g [43, 44, 71], as illustrate in Figure 5. The results demonstrate that SSDE accurately localizes the referred
GT

Prediction
"the pumpkin pie with a cherry on top"
"dude holding knife"
"clock in picture"
"black shorts in middle and boy sitting in front"
"smallest kid and boy holding frisbee"
"a table with a young family of four seated around it"
GT

Prediction
"three boys with blond hair in a park on their skate boards"
"three giraffes resting under a shaded area at a camp"
"three surfers ride waves in water near shore"
"four guys in a room playing with a wii"
"four horses walking along water in front of a boat"
"a plane in the middle of two others"
GT

Prediction
"several sheep standing in the grass near a tree"
"person"
"several men are playing baseball on a baseball diamond"
"six military aircraft flying in formation in a blue sky"
"six people in snow field with ski equipment"
"a hat sitting on a suitcase in front of a curtain"
Figure 6: Visualization on Ref-ZOM [21] dataset.
Table 14: Efficiency and performance comparison with other methods on the testB set of RefCOCO+. “FT” indicates whether pre-training is performed, “MT” indicates whether it is multi-task training, and “Params” and “GFlops” represent the number of parameters and computational cost required by the models.
| Methods | FT | MT | Backbone | Params(M) | GFlops | Prec | mIoU |
|---|---|---|---|---|---|---|---|
| TransVG++ [13] | ✓ | ✕ | ViT-B/BERT | 206.66 | 396.00 | - | 75.39 |
| ReLA [33] | ✕ | ✕ | Swin-B/BERT | 226.00 | 131.00 | 57.65 | - |
| COHD [42] | ✕ | ✕ | Swin-B/BERT | 248.00 | 133.00 | 65.45 | - |
| One-Ref [61] | ✓ | ✓ | BEiT3-ViT-B | 267.00 | 162.00 | 69.58 | 79.47 |
| PropVG [9] | ✕ | ✓ | BEiT3-ViT-B | 191.39 | 217.86 | 67.22 | 76.60 |
| Latent-VG [72] | ✕ | ✓ | BEiT3-ViT-B | 267.00 | 198.00 | 72.95 | 80.59 |
| InstanceVG [8] | ✕ | ✓ | BEiT3-ViT-B | 182.69 | 118.84 | 71.56 | 80.70 |
| SSDE | ✕ | ✓ | BEiT3-ViT-B | 183.85 | 119.34 | 74.00 | 82.76 |
targets, even for long and complex expressions, demonstrating its strong fine-grained semantic understanding and the effectiveness of leveraging visual attributes to complement subject-level textual semantics.
Visualization on GVG task. In Figure 4, we further present qualitative results on gRefCOCO [33], where SSDE performs detection and segmentation in a unified manner. For the same image, we apply expressions corresponding to single-target, multi-target, and non-target scenarios. The results indicate that SSDE maintains high accuracy across all settings, including challenging cases with missing targets or densely distributed similar instances. In Figure 7, additional visualizations on RRefCOCO [58] further confirm its strong localization capability.
We also provide visualizations on the Ref-ZOM [21] dataset, which contains complex multi-instance scenes, as shown in Figure
Kaiyan Lei and Xu-Yao Zhang
GT

Prediction
"top plain"
"bus on left"
"guy near wall"
"brown bear on right"
"2nd hot dog from right"
"left half of pizza"
(a) RRefCOCO
GT

Prediction
"purple label in corner"
"man in black closest
to us"
"partial bed"
"medium height
yellow thing"
"lower giraffe"
"white shirt
under the bottle"
(b) RRefCOCO+
GT
Prediction

“a woman standing with her hands on her hips”
"black park bench
woman holding book
sitting on"
“a group of six oranges
on a wooden table
surrounded by several
other fruits and
vegetables”
"the slice of cake
on the left"
“a clear plastic
container holding
chopped carrots and
some white dip”
"heart designed shoes
wearing by child"
(c) RRefCOCOg
Figure 7: Visualization on RRefCOCO+/g [58] dataset.
- SSDE demonstrates robust understanding of referring expressions, particularly in scenarios involving more than three targets, where it can still accurately localize all relevant instances. This performance underscores that query representations enriched with fine-grained visual attributes enhance inter-instance semantic discrimination, while instance-level structural constraints ensure spatial independence, effectively mitigating instance adhesion and spatial ambiguity.