Manuscript Offprint

arXiv:2608.30233

Semantic-Spatial Discriminability Enhancement for Generalized Visual Grounding

Kaiyan Lei, Xu-Yao Zhang

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

Figure

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

xyz@nlpr.ia.ac.cn

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

Figure

(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"

Figure

"every person"

"every person tattoo and plaid shorts and red"

Figure

"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.

References (12)