Manuscript Offprint
arXiv:2611.06160DSRS: Teaching MLLMs to Perceive, Reason, and Segment in Complex Driving Scenes
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Sicen Guo , Zhengfei Song , Kuanhsun Chen , Xu Huang , Ping Zhong , Wei Ye , Shaoyi Du , Rui Fan , Senior Member, IEEE
Abstract—Existing reasoning segmentation frameworks typically employ multimodal large language models (MLLMs) with broad world knowledge to extract semantics in a human-like manner and generate corresponding segmentation masks. Nevertheless, these frameworks lack the necessary scene-specific awareness. This paper introduces driving scene reasoning segmentation (DSRS), a scene-specific task that requires models to interpret implicit instructions, infer spatial relations, detect potential risks, handle challenging conditions, and comprehend underlying traffic rules, ultimately generating accurate segmentation masks. Meanwhile, we establish a benchmark dataset to facilitate future research on the DSRS task. To pioneer this task, we propose DSRS-Net, a novel architecture with advanced reasoning segmentation capability for automated driving. Specifically, DSRS-Net seamlessly infuses geometric features for deeper reasoning segmentation, without compromising the original multimodal fusion mechanism. This strategy effectively mitigates the modality representation mismatch in MLLMs caused by RGB-only pretraining, while enhancing the integration of geometric, contextual, and linguistic features. Extensive experiments demonstrate the superior performance of DSRS-Net in both
This research was supported by the National Natural Science Foundation of China under Grant 62473288, the National Key Laboratory of Human-Machine Hybrid Augmented Intelligence, Xi'an Jiaotong University (No. HMHAI-202406), the Fundamental Research Funds for the Central Universities, NIO University Programme (NIO UP), and the Xiaomi Young Talents Program. The research leading to these results has also received partial funding from the European Commission - European Union (under HORIZON EUROPE (HORIZON Research and Innovation Actions) under grant agreement 101093003 (TEMA) HORIZON-CL4-2022-DATA-01-01). Views and opinions expressed are, however, those of the authors only and do not necessarily reflect those of the European Union - European Commission. Neither the European Commission nor the European Union can be held responsible for them. (Corresponding author: Rui Fan)
Sicen Guo, Zhengfei Song, Kuanhsun Chen, and Xu Huang are with the College of Electronic & Information Engineering, Tongji University, Shanghai 201804, China (e-mail: {guosicen, 2151094, 2350487, hxnb}@tongji.edu.cn).
Ping Zhong is with the Department of Computer Science and Technology, Central South University. (email: ping.zhong@csu.edu.cn).
Wei Ye is with the College of Electronics and Information Engineering, Tongji University, Shanghai 201804, China. He is also with the Shanghai Innovation Institute, Shanghai 200231, China (e-mail: yew@tongji.edu.cn).
Shaoyi Du is with the National Key Laboratory of Human-Machine Hybrid Augmented Intelligence, the National Engineering Research Center for Visual Information and Applications, and the Institute of Artificial Intelligence and Robotics, Xi'an Jiaotong University, Xi'an, Shaanxi 710049, China (e-mail: dushaoyi@xjtu.edu.cn).
Rui Fan is with the College of Electronic and Information Engineering, Shanghai Institute of Intelligent Science and Technology, Shanghai Research Institute for Intelligent Autonomous Systems, Shanghai Key Laboratory of Intelligent Autonomous Systems, State Key Laboratory of Autonomous Intelligent Unmanned Systems, and Frontiers Science Center for Intelligent Autonomous Systems (Ministry of Education), Tongji University, Shanghai 201804, China, as well as with the National Key Laboratory of Human-Machine Hybrid Augmented Intelligence, Xi'an Jiaotong University, Xi'an, Shaanxi 710049, China (e-mail: rui.fan@ieee.org).

Fig. 1. Comparison of the segmentation masks by LISA [1] and our DSRS-Net, facing the challenges in the driving scene reasoning segmentation task.
driving scene reasoning segmentation and other language-driven segmentation tasks across various public datasets. The source code and dataset will be released upon publication.
Index Terms—Multimodal large language models, reasoning segmentation, data-fusion.
I. INTRODUCTION
The ultimate ambition of automated driving is to develop vehicles whose scene-specific awareness and decision-making capabilities rival and ultimately surpass those of human drivers [2], enabling safe and efficient interaction with vehicles of varying automation levels and other road users in mixed traffic environments. Such coexistence poses profound challenges in terms of safety, efficiency, and interaction dynamics. Although current advances have made remarkable strides in fundamental perception tasks such as semantic segmentation, their scene understanding of complex mixed traffic remains superficial, lacking deeper contextual reasoning. Today's vehicles can recognize basic elements, but they often struggle to reason about real-world mixed traffic scenarios involving shared road usage, implicit intentions, and interactive behaviors [3], [4]. This

Fig. 2. Overview of the proposed DSRS benchmark and DSRS-Net. The left part illustrates representative driving-scene reasoning segmentation scenarios. The right part reports quantitative comparisons on the DSRS dataset.
underscores a fundamental gap between low-level perceptual recognition and the high-level scene reasoning required for automated vehicles [5].
To bridge this gap, we advocate for a paradigm shift away from conventional, purely perception tasks. Instead of merely supervising models to recognize what they see, we should empower them to reason in a human-like, instruction-driven manner [1]. The development of multimodal large language models (MLLMs) offers a compelling glimpse into this future, which reframes visual understanding as an interactive, language-driven process [6]. Nevertheless, despite the remarkable progress of these MLLMs [7] in general vision-language benchmarks, the field of reasoning segmentation in complex mixed traffic scenes remains largely underexplored. Traditional reasoning segmentation tasks have largely focused on broad representations of world knowledge and exhibit limited scene-specific awareness in driving scenes [8]. As illustrated in Fig. 1, LISA [1] lacks the capacity for driving scene reasoning and thus cannot generate correct segmentation outputs.
As illustrated in Fig. 2, this limitation motivates us to introduce a scene-specific, multimodal perception task for automated vehicle systems: Driving Scene Reasoning Segmentation (DSRS). Since automated vehicles operate in mixed traffic environments involving dynamic interactions with multiple road users, the DSRS task integrates six core capabilities: (1) interpreting abstract, often implicit, human instructions, (2) comprehending traffic rules, e.g., functions of different lanes, traffic lights, and traffic signs, (3) inferring spatial relations, (4) detecting potential risks in complex driving scenes, including traffic accidents and both positive and negative obstacles, (5) handling challenging conditions, e.g., complex terrain,
extreme light and weather conditions, and (6) generating the corresponding segmentation masks.
Endowing neural networks with scene-specific reasoning capabilities requires unleashing the power of MLLMs [9]. A commonly adopted architecture [10] maps RGB images and text instructions into a shared linguistic-contextual space [9], followed by a segmentation head [11] to generate pixel-level predictions. However, this coarse-grained strategy of simply connecting modules often proves insufficient for the fine-grained reasoning required in complex mixed traffic scenes [12]. Accurately inferring spatial relations, such as occlusion, direction, and distance, cannot rely solely on RGB images [13]. Incorporating geometric clues, such as relative depth maps, offers a more reliable option. Moreover, in low-visibility or texture-less environments, and when object-level properties such as size and shape information are required, the incorporation of geometric clues can substantially enhance the model's reasoning capabilities [14].
While integrating geometric clues is a logical next step, existing approaches are superficial and predominantly limited to text generation tasks [13], [15]–[17]. These approaches often simply concatenate depth maps and RGB images as inputs to MLLMs for superficial geometric understanding. However, their neglect of the inherent modality gap that large language models (LLMs) are typically pretrained with RGB visual inputs, prevents them from effectively utilizing such geometric features [18], [19]. Moreover, the mismatch between geometric and contextual representations may introduce noise into the original alignment between visual and linguistic features in the MLLM, ultimately compromising the reasoning performance. This leads us to ask: can a model truly enhance its reasoning capabilities without explicitly aligning geometric features with contextual semantics?
To answer this question and pioneer the DSRS task, we propose the driving scene reasoning segmentation network (DSRS-Net), a novel framework that seamlessly infuses geometric features into MLLM for deeper scene-specific reasoning. Its core is our proposed depth-guided hierarchical feature interaction (DHFI) strategy. By projecting geometric priors into the hierarchical vision features, the DHFI strategy enforces a contextually aligned integration of appearance-based perception and geometric structure. For instance, DSRS-Net learns to continuously correlate the concept of a “car” not merely through visual texture cues, but through its geometric structure and spatial positioning within the scene. This capability enables the model to holistically comprehend and infer scene semantics across color, texture, and geometric domains. In a nutshell, our contributions are threefold:
- We introduce the DSRS task, a scene-specific extension of reasoning segmentation that explicitly evaluates traffic-rule understanding, spatial reasoning, hazard awareness, and perception under challenging driving conditions. To catalyze research in this direction, we release a benchmark dataset comprising over 1,500 image-instruction-mask samples tailored for automated vehicles.
- We propose the DSRS-Net, which establishes a pioneering pathway for integrating geometric priors into an MLLM-based segmentation model.
- We propose the DHFI strategy, a specialized mechanism that effectively projects geometric priors into the hierarchical vision feature space.
A. Language-Driven Segmentation Tasks
Image segmentation has evolved from predefined pixel-wise prediction toward more intuitive and interactive paradigms [20]. Referring expression segmentation [21] enables object localization through natural language but largely depends on explicit visual attributes, limiting its ability to interpret implicit human intent in complex real-world scenarios [10]. Reasoning segmentation [1] addresses this limitation by requiring multi-step inference and external knowledge. Representative methods such as LISA [1] decode segmentation masks from MLLM-generated embeddings, while GSVA [6] further handles cases where the referred object is absent. Nevertheless, existing models [22]–[24] mainly rely on broad, general-purpose knowledge and remain limited in scenarios requiring fine-grained, scene-specific understanding. Therefore, we introduce the scene-specific DSRS task and benchmark, which require models to interpret implicit instructions in complex driving scenes, supporting safer and more intelligent automated driving.
B. MLLM-Based Models for Automated Driving
Integrating language prompts into driving tasks provides a promising avenue for improving reasoning and generalization in automated driving systems [25]. For instance, DiLU [26]
learns from prior driving experiences, while DriveMLM [27] and LMDrive [28] integrate multimodal inputs, such as images and point clouds, to generate control signals from language instructions. However, these methods mainly address high-level decisions and lack the pixel-level localization required for safety-critical perception. This gap is also evident in existing benchmarks. nuScenes [29] and BDD100K [30] benchmarks lack reasoning-oriented question-answer annotations, whereas DriveLM-Data [31] and Impromptu VLA [32] benchmarks lack pixel-level labels for fine-grained scene understanding. To this end, we develop the DSRS benchmark.
III. METHODOLOGY
A. Overall Workflow
As illustrated in Fig. 3, in the CLIP-based vision encoder branch, the RGB image is first divided into non-overlapping patches. These patches are flattened and projected into -dimensional tokens, which are then passed through the vision encoder for further contextualized representation learning. Simultaneously, the corresponding depth map passes through the GPE module to generate the geometric prior for subsequent feature interactions. Specifically, we evenly split the CLIP-based vision encoder into four blocks. At the -th stage, the geometric prior interacts with the vision feature via the DHFI module, thereby improving the model's overall comprehension and contextual reasoning ability. Subsequently, two separate projectors are employed to map the vision and geometric features into their corresponding visual tokens and . Then, the downstream LLM processes the fused tokens and generates the textual response autoregressively. The generation of binary segmentation masks is indicated by the presence of designated <MASK> tokens within . The hidden representation associated with image tokens is extracted from the LLM output and yields the image embeddings . Finally, is fed to the segmentation head to predict the ultimate binary segmentation mask.
B. Multimodal Vision Encoder
-
CLIP-Based Vision Encoder: We leverage a CLIP-based vision encoder to extract contextual visual features. Given an input RGB image , the encoder first extracts the hierarchical vision features . Subsequently, a projection layer maps the extracted features into the visual token , aligning them with the input embedding space of the LLM.
-
Geometric Prior Extractor: Recent studies have demonstrated that embedding convolutional mechanisms into Transformer-based architectures can significantly improve the model's capacity for fine-grained scene inference and precise boundary modeling [34], [35]. Building on this idea, we propose the GPE module , which utilizes ResNet blocks to extract structured geometric priors from the relative depth map .

Fig. 3. An illustration of our proposed DSRS-Net. Given the RGB image, depth map, and text query, DSRS-Net generates text output and segmentation masks. We use the lightweight LoRA strategy [33] for efficient fine-tuning.

Fig. 4. An illustration of our proposed depth-aware deformable attention module.
- Depth-Guided Hierarchical Feature Interaction: Most existing MLLMs are pretrained predominantly on RGB images, restricting their capacity to comprehend unfamiliar geometric modalities such as depth maps [36], [37]. Consequently, the straightforward concatenation of depth and RGB images [13], [15] has shown limited effectiveness in enhancing reasoning capabilities, and may even disrupt the original visual-language alignment established within MLLMs. To address these limitations, we design the DHFI strategy to explicitly project geometric priors into the visual-semantic space, thereby enhancing reasoning capabilities in MLLMs. Such an integration allows the model to capitalize on geometric priors without learning unfamiliar input modalities from scratch, thus improving efficiency and generalization.
The DHFI strategy comprises four stacked depth-aware deformable attention (DA) blocks, which preserve the hierarchical structure of the vision pipeline and progressively align semantic and geometric representations. As illustrated in Fig. 4, in each DA module, given the input geometric prior , a uniform grid of reference points is generated. These points are initialized as linearly 2D coordinates ranging from to , forming a regular grid of size . These coordinates are subsequently normalized to
the range along both axes, where corresponds to the top-left corner and to the bottom-right corner of the grid. Existing deformable attention frameworks [38] often rely on a multi-layer perceptron (MLP) to learn sampling offsets from scratch. While MLPs are theoretically capable of modeling complex functions, their unconstrained learning schemes often demand large-scale training data to achieve reliable generalization. To this end, we decompose the offset generation process into a two-stage process:
In the first stage, the depth-aware offset generation module leverages the average-pooled depth map along with positional priors to produce a set of modulated geometric-aware offset candidates. Specifically, we first calculate the geometric affinity matrix by calculating pairwise relative depth differences between each depth patch, expressed as follows:
where each element represents the depth distance between the patches at locations and . Since the offsets depend on both geometric structure and positional layout, we further compute a positional affinity matrix among patch-wise 2D coordinates to enhance location-sensitive sampling, expressed as follows:
where represents the relative 2D positional distance vector in and represents absolute 2D position at locations . Accordingly, the modulated candidate offsets are generated by applying an MLP to the channel-wise concatenation of the affinity matrices and . Such an explicitly encoding geometric relations process can capture explicit object-level dependencies, facilitating more transparent decision-making over purely data-driven offset prediction.
In the second stage, the DA employs an MLP to select a subset of candidate offsets . This selection strategy filters out unstable offset candidates, reducing noise sensitivity and stabilizing downstream attention computation.
Subsequently, the vision features are sampled at the locations of the deformed points , generating the

(a) Category Composition
(b) Instruction Length
(c) Word Distribution
(d) Category Statistics
Fig. 5. A comprehensive analysis of our proposed DSRS dataset: (a) category composition; (b) distribution of instruction lengths, with the dashed line indicating the mean length; (c) frequency-weighted word cloud; and (d) category-wise sample counts (top) and relative mask-scale distributions, with category indices corresponding to those in (a).
| Method | MLLM | Zero-shot (zs) | Fine-tuned (ft) | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Val | Test | Val | Test | ||||||
| gIoU | cloU | gIoU | cloU | gIoU | cloU | gIoU | cloU | ||
| ReLA [41] | - | 13.1 | 9.1 | 17.1 | 12.3 | 43.6 | 50.8 | 44.4 | 53.3 |
| X-Decoder [42] | - | 24.1 | 14.3 | 26.3 | 15.1 | 56.5 | 48.8 | 51.4 | 46.2 |
| SEEM [43] | - | 23.9 | 16.2 | 29.7 | 14.9 | 42.1 | 34.1 | 42.4 | 33.2 |
| Grounded-SAM [44] | - | 6.6 | 26.2 | 10.0 | 28.6 | 20.4 | 32.8 | 17.0 | 31.8 |
| LISA [1] | LLaVav1 7B | 22.7 | 20.3 | 30.5 | 28.3 | 55.7 | 52.5 | 56.8 | 55.1 |
| GSVA [6] | LLaVav1 7B | 26.1 | 19.4 | 31.1 | 26.3 | 59.7 | 60.8 | 59.9 | 61.0 |
| PixelLLM [45] | LLaVav1 7B | 25.0 | 16.5 | 31.3 | 22.3 | 39.3 | 53.8 | 40.1 | 53.8 |
| M²SA [22] | LLaVav1 7B | 22.2 | 22.7 | 30.2 | 29.0 | 54.6 | 54.7 | 57.5 | 61.1 |
| SegAgent [46] | Qwen-VL 7B | 23.6 | 11.4 | 31.2 | 16.9 | 24.7 | 12.3 | 30.3 | 17.7 |
| Seg-R1 [47] | Qwen2.5-VL 7B | 43.4 | 29.4 | 47.9 | 35.1 | 50.8 | 39.8 | 51.8 | 40.8 |
| ConverSeg-Net [48] | Qwen2.5-VL 3B | 18.6 | 23.4 | 28.4 | 34.0 | 43.2 | 45.9 | 47.9 | 47.9 |
| DSRS-Net | LLaVA1.5 7B | 37.4 | 35.0 | 47.5 | 50.2 | 56.0 | 70.3 | 61.1 | 77.8 |
| DSRS-Net | InternVL2.5 8B | 45.8 | 40.5 | 54.9 | 53.1 | 67.2 | 76.7 | 71.2 | 79.7 |
TABLE 1
COMPARATIVE RESULTS ON DRIVING SCENE SEGMENTATION. 'zs' DENOTES ZERO-SHOT EVALUATION, AND 'ft' INDICATES FINE-TUNING ON THE DSRS DATASET. IN ADDITION, THE DSRS DATASET HAS NO OVERLAP WITH THE INITIAL TRAINING DATASET.
deformed vision features . To realize cross-modal alignment, employs a multi-head cross-attention mechanism [39] conditioned on learned offsets, followed by an MLP for nonlinear feature integration. This process can be formulated as follows:
where “MHA(·)” denotes the multi-head attention operation [39], , and are learnable projection matrices for the query, key, and value, and “LN(·)” represents the layer normalization operation [40]. To ensure compatibility with downstream LLM, the geometric feature is mapped into the semantic token space using a projection layer, resulting in the visual token .
C. Large Language Model
Receiving both the visual representations and , as well as the textual instruction token , the LLM
jointly processes these inputs to generate the output token embeddings . To obtain the textual output, the token embeddings are projected into the vocabulary space via a learnable linear layer. A special token, <MASK>, is introduced into the vocabulary, activating the LLM to switch from text generation to a segmentation-aware mode. Subsequently, the output embedding corresponding to the <MASK> token, denoted as and the image embeddings are passed to the downstream segmentation head.
D. Segmentation Head
To recover fine spatial details from low-resolution visual features, the model autoregressively predicts multiple tokens, each corresponding to a position in the image. The hidden embeddings of the <MASK> tokens are used as queries over the processed image embeddings , and a scaled dot-product similarity map is computed to identify pixels semantically aligned with the target region. Positive responses in this similarity map are then converted into the predicted binary mask. The resulting similarity maps are concatenated and reshaped into a higher-resolution mask, enabling dynamic, image-conditioned upsampling.
| Method | RefCOCO | RefCOCO+ | RefCOCOg | |||||
|---|---|---|---|---|---|---|---|---|
| Val. | TestA | TestB | Val. | TestA | TestB | Val. | Test | |
| CRIS [49] | 70.5 | 73.2 | 66.1 | 62.3 | 68.1 | 53.7 | 59.9 | 60.4 |
| ReLA [41] | 73.8 | 76.5 | 70.2 | 66.0 | 71.0 | 57.7 | 65.0 | 66.0 |
| LISA [1] | 74.1 | 76.5 | 71.1 | 62.4 | 67.4 | 56.5 | 66.4 | 68.5 |
| LISA (ft) [1] | 74.9 | 79.1 | 72.3 | 65.1 | 70.8 | 58.1 | 67.9 | 70.6 |
| GSVA [6] | 76.4 | 77.4 | 72.8 | 64.5 | 67.7 | 58.6 | 71.1 | 72.0 |
| GSVA (ft) [6] | 77.2 | 78.9 | 73.5 | 65.9 | 69.6 | 59.8 | 72.7 | 73.3 |
| PixelLM [45] | 73.0 | 76.5 | 68.2 | 66.3 | 71.7 | 58.3 | 69.3 | 70.5 |
| M²SA [22] | 74.0 | 76.8 | 69.7 | 63.1 | 67.2 | 56.1 | 67.0 | 68.3 |
| SegAgent (ft) [46] | 79.7 | 81.4 | 76.6 | 72.5 | 75.8 | 66.9 | 75.1 | 75.2 |
| Seg-R1 [47] | 74.3 | 78.7 | 67.6 | 62.6 | 70.9 | 57.9 | 71.0 | 71.4 |
| POPEN [50] | 78.5 | 79.9 | 73.0 | 70.3 | 74.4 | 62.4 | 73.8 | 74.6 |
| SAM 3 Agent [51] | 75.5 | 77.6 | 71.0 | 67.3 | 71.1 | 63.4 | 73.4 | 74.0 |
| READ [52] | 78.1 | 80.2 | 73.2 | 68.4 | 73.7 | 60.4 | 70.1 | 71.4 |
| WISE [53] | - | 79.1 | - | - | 74.0 | - | - | 71.8 |
| ConverSeg-Net [48] | 78.2 | 80.3 | 74.7 | 72.0 | 77.5 | 66.3 | 74.1 | 73.9 |
| DSRS-Net-LLaVA1.5 | 76.3 | 79.1 | 74.8 | 70.2 | 76.5 | 69.3 | 73.2 | 72.6 |
| DSRS-Net-LLaVA1.5 (ft) | 78.5 | 79.6 | 75.3 | 72.8 | 78.0 | 70.7 | 74.1 | 73.4 |
| DSRS-Net-InternVL2.5 | 77.0 | 79.5 | 73.8 | 72.5 | 77.1 | 67.7 | 73.3 | 73.7 |
| DSRS-Net-InternVL2.5 (ft) | 80.9 | 82.1 | 77.2 | 74.3 | 78.2 | 71.2 | 75.4 | 76.2 |
TABLE II
REFERRING EXPRESSION SEGMENTATION RESULTS ON THE REFCOCO, REFCOCO+, AND REFCOCOg DATASETS, WHERE “FT” DENOTES FINE-TUNING ON TRAINING SAMPLES FROM THE REFERRING SEGMENTATION DATASETS.
| Method | Val. | Test | ||
|---|---|---|---|---|
| gloU | cloU | gloU | cloU | |
| OVSeg [54] | 28.5 | 18.6 | 26.1 | 20.8 |
| ReLA [41] | 22.4 | 19.9 | 21.3 | 22.0 |
| X-Decoder [42] | 22.6 | 17.9 | 21.7 | 16.3 |
| SEEM [43] | 25.5 | 21.2 | 24.3 | 18.7 |
| Grounded-SAM [44] | 26.0 | 14.5 | 21.3 | 16.4 |
| LISA-7B [1] | 44.4 | 46.0 | 36.8 | 34.1 |
| LISA-7B (ft) [1] | 52.9 | 54.0 | 47.3 | 48.4 |
| PixelLM [45] | 44.4 | 32.1 | 41.1 | 38.1 |
| M²SA-7B [22] | 30.5 | 35.2 | 24.7 | 28.0 |
| Seg-R1 [47] | 58.6 | 41.2 | 56.7 | 53.7 |
| SegAgent [46] | 34.4 | 28.7 | 34.5 | 31.2 |
| OISA-1B [55] | - | 61.2 | - | 50.8 |
| ConverSeg-Net [48] | 56.4 | - | 52.2 | - |
| Text4Seg++ [23] | 59.1 | 49.5 | 57.1 | 52.1 |
| UniPixel [24] | 60.5 | 58.7 | - | - |
| DSRS-Net-LLaVA1.5 | 53.9 | 57.7 | 54.5 | 56.8 |
| DSRS-Net-LLaVA1.5(ft) | 54.1 | 60.5 | 55.0 | 58.1 |
| DSRS-Net-InternVL2.5 | 57.0 | 57.2 | 60.5 | 63.3 |
| DSRS-Net-InternVL2.5(ft) | 62.5 | 66.8 | 65.2 | 69.4 |
TABLE III
REASONING SEGMENTATION RESULTS, WHERE “FT” DENOTES FINE-TUNING ON 239 SAMPLES FROM THE REASONSEG TRAINING SET.
IV. EXPERIMENTS
A. DSRS Dataset and Implementation Details
We establish the DSRS dataset, with each sample containing an RGB image, a corresponding relative depth map, implicit reasoning instructions, and pixel-level masks. The entire dataset is split into three sets for training (832 pairs), validation (312 pairs), and testing (417 pairs). The images are selected from several real-world driving datasets [29], [56]–[58]. Fig. 5 presents a detailed analysis of the dataset statistics. As shown in Fig. 5(a), with 1,561 annotated samples, DSRS is larger than the widely used ReasonSeg [1] and provides broad coverage of instruction complexities, mask scales, and driving-specific reasoning categories: spatial relations, potential risks, challenging conditions, and traffic rules. Fig. 5(b) shows that instructions range in length and complexity from straightforward logical reasoning (e.g., “areas where parking is allowed”) to more complex multi-hop reasoning involving spatial relations (e.g., “Considering taxi transportation as an alternative is practical. Which taxi sits nearest to us in the left lane?”). The frequency-weighted word cloud in Fig. 5(c) highlights a diverse and domain-specific vocabulary involved in driving scenes. As shown in Fig. 5(d), the substantial variation in mask scales, ranging from small traffic signs to large lanes, demonstrates that the proposed dataset requires models to perform robust reasoning across diverse semantic categories and object scales.
Our DSRS-Net was trained for 120,000 iterations on an A800 GPU with a batch size of two, utilizing the DeepSpeed engine to enable efficient memory management. For optimization, we employed the AdamW optimizer with a learning rate of 0.0002. We quantify the segmentation performance of the model using the gloU and cloU metrics.

Fig. 6. Qualitative comparisons on the DSRS dataset, where ground-truth areas are highlighted with white dashed boxes and wrong areas are highlighted with blue dashed circles.
B. Driving Scene Segmentation Results
We compare our proposed DSRS-Net with representative language-driven segmentation networks on the DSRS dataset, as presented in Table I. To evaluate the generalizability of DSRS-Net, we first conduct a zero-shot test using the pretrained weights obtained from the mixed-source training data. Our proposed DSRS-Net outperforms existing SoTA methods in zero-shot driving scene reasoning segmentation, demonstrating its exceptional generalizability. This is primarily due to the richer geometric prior knowledge embedded in our DSRS-Net, so that familiar geometric features can also be captured effectively when encountering unseen scenes. Moreover, it can be observed that finetuned DSRS-Net consistently outperforms other language-driven segmentation networks in
| RGB Branch | Depth CLIP Branch | GPE | DHFI | gIoU | cIoU |
|---|---|---|---|---|---|
| ✓ | 53.00 | 50.42 | |||
| ✓ | ✓ | 55.25 | 52.12 | ||
| ✓ | ✓ | 37.39 | 36.67 | ||
| ✓ | ✓ | 53.28 | 55.10 | ||
| ✓ | ✓ | ✓ | 55.40 | 56.97 |
TABLE IV
ABLATION STUDIES ON THE CORE DESIGNS OF DSRS-Net.
| Contextual Features | Geometric Features | Fusion Strategies | gIoU | cIoU |
|---|---|---|---|---|
| ✓ | Self-Attention | 44.56 | 44.08 | |
| ✓ | ✓ | Element-wise Summation | 50.47 | 51.12 |
| ✓ | ✓ | Channel-wise Concatenation | 51.09 | 51.86 |
| ✓ | ✓ | Cross-Attention | 52.78 | 54.05 |
| ✓ | ✓ | 55.40 | 56.97 |
TABLE V
ABLATION STUDIES ON THE DHFI STRATEGY.
the DSRS task, demonstrating its superior reasoning capabilities in automated driving. As illustrated in Fig. 6, it is evident that our proposed DSRS-Net significantly outperforms existing approaches in driving scene reasoning segmentation. In scenarios involving multiple visually similar candidates that necessitate deep reasoning and scene-specific knowledge, our method demonstrates superior inference capabilities and robustness.
C. Language-Driven Segmentation Results
In this section, we present additional experiments to demonstrate the versatility of DSRS-Net in handling other language-driven segmentation tasks. As presented in Table II, we first evaluate the methods on the validation and test sets of RefCOCO, RefCOCO+ [59], and RefCOCOg [60]. DSRS-Net achieves superior performance across these referring expression segmentation benchmarks. As shown in Table III, we further evaluate the effectiveness of DSRS-Net on the ReasonSeg [1] dataset. Specifically, DSRS-Net-InternVL2.5 (ft) outperforms previous SoTA approaches, achieving an improvement of over 2.0% in gIoU and 5.6% in cIoU. These results highlight the robustness and generalizability of the DSRS-Net framework in handling language-driven segmentation tasks with varying levels of instruction complexity.
D. Ablation Studies
In this section, we conduct comprehensive ablation experiments by training DSRS-Net for 80k iterations to investigate the individual contributions of key components within DSRS-Net. As presented in Table IV, removing any of them leads to a performance deterioration. Directly feeding the depth map into the vision encoder brings only a limited improvement, suggesting that RGB-pretrained MLLMs cannot effectively leverage unfamiliar geometric modalities without explicit alignment. In contrast, incorporating both the GPE and
DHFI modules substantially improves driving scene reasoning segmentation. The degradation observed when only the GPE module is used further shows the representational incompatibility between geometric and contextual features, which may introduce conflicts within the LLM. These results demonstrate that the performance gain primarily stems from the effective alignment and interaction of geometric and contextual features, rather than merely from the inclusion of an additional depth input.
Moreover, Table V shows that simple fusion strategies such as element-wise summation and channel-wise concatenation provide limited gains, whereas attention-based interaction is more effective. The proposed module achieves superior performance, demonstrating that depth-aware offsets help the model focus on contextually and geometrically relevant regions during feature interaction.
V. ADDITIONAL DISCUSSION AND EXPERIMENTS
Further discussions, experiments, and video are provided in the supplementary material. We first distinguish DSRS from other language-driven segmentation tasks, and further compare the proposed benchmark with existing spatial-reasoning and autonomous-driving datasets. Additional dataset analyses describe its category definitions, instruction distributions, and the dataset construction pipeline. We also provide detailed descriptions of the model architecture, loss, training datasets, evaluation metrics, depth map generation pipeline, and competitor configurations. Moreover, we discuss the challenges of spatial reasoning in MLLMs, the extensibility of our contributions to other multimodal tasks, current limitations, and failure cases of DSRS-Net. Finally, additional quantitative and qualitative experiments, including fair comparisons using the same LLM backbone, robustness experiments with perturbed depth maps, resource consumption and efficiency analyses, category-wise evaluations on the DSRS dataset, and further ablation studies, consistently demonstrate that effective extraction and contextual alignment of geometric priors are essential for reliable reasoning segmentation in complex driving scenes.
VI. CONCLUSION AND FUTURE WORK
This paper introduced driving scene reasoning segmentation, a novel multimodal perception task, and released a mixed-traffic benchmark dataset specifically designed for complex driving scenarios. Additionally, we proposed DSRS-Net, a novel framework that effectively infuses geometric features for deeper scene reasoning. Extensive experiments and comprehensive analyses validate the effectiveness of our novel contributions and the superior performance of DSRS-Net. We hope our work offers new insights into the integration of MLLMs with vision tasks, paving the way for future advancements in automated driving.
REFERENCES
[1] X. Lai et al., "LISA: reasoning segmentation via large language model," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024, pp. 9579–9589. [2] W. Pan et al., "Cooperative driving at multiple unsignalized intersections in fully autonomous driving scenarios," IEEE Transactions on Intelligent Transportation Systems, vol. 26, no. 12, pp. 23298–23313, 2025.
[3] R. Wang et al., “Traffic scenario logic: a spatial-temporal logic for modeling and reasoning of urban traffic scenarios,” in Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), vol. 39, no. 14, 2025, pp. 15 195–15 202.
[4] X. Jia et al., “Think twice before driving: towards scalable decoders for end-to-end autonomous driving,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023, pp. 21 983–21 994.
[5] S. Jiang et al., “A survey on vision-language-action models for autonomous driving,” Computing Research Repository (CoRR), vol. abs/2506.24044, 2025. [Online]. Available: https://arxiv.org/abs/2506.24044
[6] Z. Xia et al., “GSVA: Generalized segmentation via multimodal large language models,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024, pp. 3858–3869.
[7] S. Yang et al., “An improved baseline for reasoning segmentation with large language model,” CoRR, 2023.
[8] —, “A safe and efficient self-evolving algorithm for decision-making and control of autonomous driving systems,” IEEE Transactions on Intelligent Transportation Systems, vol. 26, no. 8, pp. 11466–11478, 2025.
[9] H. Liu et al., “Visual instruction tuning,” in Advances in Neural Information Processing Systems (NeurIPS), vol. 36. Curran Associates, Inc., 2023, pp. 34892–34916. [Online]. Available: https://proceedings.neurips.cc/paper_files/paper/2023/file/6dcf277ea32ce2388914faf369fe6de0-Paper-Conference.pdf
[10] Y. Shen et al., “Reasoning segmentation for images and videos: a survey,” Computing Research Repository (CoRR), vol. abs/2505.18816, 2025. [Online]. Available: https://arxiv.org/abs/2505.18816
[11] A. Kirillov et al., “Segment anything,” in Proceedings of the IEEE/CVF international conference on computer vision (ICCV), 2023, pp. 4015–4026.
[12] K. Ranasinghe et al., “Learning to localize objects improves spatial reasoning in Visual-LLMs,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024, pp. 12 977–12 987.
[13] Cheng, An-Chieh et al., “SpatialRGPT: grounded spatial reasoning in vision-language models,” in Advances in Neural Information Processing Systems (NeurIPS), vol. 37. Curran Associates, Inc., 2024, pp. 135 062–135 093.
[14] R. Fan et al., “SNE-RoadSeg: incorporating surface normal information into semantic segmentation for accurate freespace detection,” in Proceedings of the European Conference on Computer Vision (ECCV). Springer, 2020, pp. 340–356.
[15] W. Cai et al., “SpatialBot: precise spatial understanding with vision language models,” Computing Research Repository (CoRR), vol. abs/2406.13642, 2024. [Online]. Available: https://arxiv.org/abs/2406.13642
[16] J. Zha et al., “How to enable LLM with 3D capacity? a survey of spatial reasoning in LLMs,” Computing Research Repository (CoRR), vol. abs/2504.05786, 2025. [Online]. Available: https://arxiv.org/abs/2504.05786
[17] J. Feng et al., “A survey of large language model-powered spatial intelligence across scales: advances in embodied agents, smart cities, and earth science,” Computing Research Repository (CoRR), vol. abs/2504.09848, 2025. [Online]. Available: https://arxiv.org/abs/2504.09848
[18] N. Nadeem et al., “MaskAdapt: unsupervised geometry-aware domain adaptation using multimodal contextual learning and RGB-Depth masking,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025, pp. 5422–5432.
[19] Z. Wang et al., “SpatialCLIP: learning 3D-aware image representations from spatially discriminative language,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025.
[20] S.-A. Liu et al., “ReferSAM: unleashing segment anything model for referring image segmentation,” IEEE Transactions on Circuits and Systems for Video Technology, 2025.
[21] R. Hu et al., “Segmentation from natural language expressions,” in European Conference on Computer Vision (ECCV). Springer, 2016, pp. 108–124.
[22] D. Jang et al., “MMR: A large-scale benchmark dataset for multi-target and multi-granularity reasoning segmentation,” in International Conference on Learning Representations (ICLR), 2025, pp. 67406–67431.
[23] M. Lan et al., “Text4seg++: Advancing image segmentation via generative language modeling,” IEEE Transactions on Pattern Analysis and Machine Intelligence, 2026.
[24] Y. Liu et al., “UniPixel: Unified object referring and segmentation for pixel-level visual reasoning,” Advances in Neural Information Processing Systems (NeurIPS), vol. 38, pp. 126078–126108, 2026.
[25] Y. Feng and J. Li, “Auto-prompting SAM for container detection and localization in container yards,” IEEE Transactions on Intelligent Transportation Systems, vol. 26, no. 8, pp. 11504–11514, 2025.
[26] L. Wen et al., “DiLu: a knowledge-driven approach to autonomous driving with large language models,” Computing Research Repository (CoRR), vol. abs/2309.16292, 2023. [Online]. Available: https://arxiv.org/abs/2309.16292
[27] W. Wang et al., “DriveMLM: aligning multi-modal large language models with behavioral planning states for autonomous driving,” Computing Research Repository (CoRR), vol. abs/2312.09245, 2023. [Online]. Available: https://arxiv.org/abs/2312.09245
[28] H. Shao et al., “LMDrive: closed-loop end-to-end driving with large language models,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024, pp. 15 120–15 130.
[29] H. Caesar et al., “nuScenes: a multimodal dataset for autonomous driving,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2020, pp. 11 621–11 631.
[30] F. Yu et al., “BDD100k: a diverse driving dataset for heterogeneous multi-task learning,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2020, pp. 2636–2645.
[31] C. Sima et al., “DriveLM: driving with graph visual question answering,” in European Conference on Computer Vision (ECCV). Springer, 2024, pp. 256–274.
[32] H. Chi et al., “Impromptu VLA: open weights and open data for driving vision-language-action models,” Computing Research Repository (CoRR), vol. abs/2505.23757, 2025. [Online]. Available: https://arxiv.org/abs/2505.23757
[33] E. J. Hu et al., “LoRA: low-rank adaptation of large language models,” in International Conference on Learning Representations (ICLR), 2022. [Online]. Available: https://openreview.net/forum?id=nZeVKeeFYf9
[34] P. Gu et al., “ConvFormer: combining CNN and Transformer for medical image segmentation,” in 2023 IEEE 20th International Symposium on Biomedical Imaging (ISBI). IEEE, 2023, pp. 1–5.
[35] K. Yuan et al., “Incorporating convolution designs into visual Transformers,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2021, pp. 579–588.
[36] Y. Wang et al., “Generative AI for autonomous driving: frontiers and opportunities,” Computing Research Repository (CoRR), vol. abs/2505.08854, 2025. [Online]. Available: https://arxiv.org/abs/2505.08854
[37] F. Han et al., “ControlThinker: unveiling latent semantics for controllable image generation through visual reasoning.” Computing Research Repository (CoRR), vol. abs/2506.03596, 2025. [Online]. Available: https://arxiv.org/abs/2506.03596
[38] Z. Xia et al., “Vision Transformer with deformable attention,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022, pp. 4794–4803.
[39] B. Cheng et al., “Masked-attention mask Transformer for universal image segmentation,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022, pp. 1290–1299.
[40] J. L. Ba et al., “Layer normalization,” Computing Research Repository (CoRR), vol. abs/1607.06450, 2016. [Online]. Available: https://arxiv.org/abs/1607.06450
[41] C. Liu et al., “GRES: generalized referring expression segmentation,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023, pp. 23 592–23 601.
[42] X. Zou et al., “Generalized decoding for pixel, image, and language,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023, pp. 15 116–15 127.
[43] Zou, Xueyan et al., “Segment everything everywhere all at once,” in Advances in Neural Information Processing Systems (NeurIPS), vol. 36, 2023, pp. 19 769–19 782.
[44] S. Liu et al., “Grounding DINO: marrying DINO with grounded pre-training for open-set object detection,” in European Conference on Computer Vision (ECCV). Springer, 2024, pp. 38–55.
[45] Z. Ren et al., “PixelLM: Pixel reasoning with large multimodal model,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024, pp. 26 374–26 383.
[46] M. Zhu et al., “SegAgent: exploring pixel understanding capabilities in MLLMs by imitating human annotator trajectories,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025, pp. 3686–3696.
[47] Z. You et al., “Seg-R1: Segmentation can be surprisingly simple with reinforcement learning,” Computing Research Repository (CoRR), vol. abs/2506.22624, 2025. [Online]. Available: https://arxiv.org/abs/2506.22624
[48] A. Sahoo et al., “Conversational image segmentation: Grounding abstract concepts with scalable supervision,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2026, pp. 39476–39485.
[49] Z. Wang et al., “CRIS: Clip-driven referring image segmentation,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022, pp. 11686–11695.
[50] L. Zhu et al., “POPEN: Preference-based optimization and ensemble for LVLM-based reasoning segmentation,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025, pp. 30231–30240.
[51] N. Carion et al., “SAM 3: Segment anything with concepts,” Computing Research Repository (CoRR), vol. abs/2511.16719, 2025. [Online]. Available: https://arxiv.org/abs/2511.16719
[52] R. Qian et al., “Reasoning to attend: Try to understand how SegG, token works,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025, pp. 24722–24731.
[53] Q. Zhou et al., “Efficient reasoning via thought compression for language segmentation,” Computing Research Repository (CoRR), vol. abs/2604.02040, 2026. [Online]. Available: https://arxiv.org/abs/2604.02040
[54] F. Liang et al., “Open-vocabulary semantic segmentation with mask-adapted CLIP,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023, pp. 7061–7070.
[55] K. Ying et al., “Towards omnimodal expressions and reasoning in referring audio-visual segmentation,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2025, pp. 22575–22585.
[56] M. Cordts et al., “The CityScapes dataset for semantic urban scene understanding,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2016, pp. 3213–3223.
[57] M. Menze et al., “Object scene flow for autonomous vehicles,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2015, pp. 3061–3070.
[58] P. Wang et al., “The ApolloScape open dataset for autonomous driving and its application,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 1, 2019.
[59] S. Kazemzadeh et al., “ReferItGame: referring to objects in photographs of natural scenes,” in Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), 2014, pp. 787–798.
[60] J. Mao et al., “Generation and comprehension of unambiguous object descriptions,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2016, pp. 11–20.
[61] X. Ma et al., “SQA3D: situated answering in 3D scenes,” in International Conference on Learning Representations (ICLR), 2023.
[62] X. Linghu et al., “Multi-modal situated reasoning in 3D scenes,” in Advances in Neural Information Processing Systems (NeurIPS), 2024, pp. 140903–140936.
[63] H. Zhang et al., “VLA-3D: a dataset for 3D semantic scene understanding and navigation,” Computing Research Repository (CoRR), vol. abs/2411.03540, 2024. [Online]. Available: https://arxiv.org/abs/2411.03540
[64] Y. Chen et al., “Grounded 3D-LLM with referent tokens,” Computing Research Repository (CoRR), vol. abs/2405.10370, 2024. [Online]. Available: https://arxiv.org/abs/2405.10370
[65] A. Abdelreheem et al., “ScanEnts3D: exploiting phrase-to-3D object correspondences for improved visio-linguistic models in 3D scenes,” Computing Research Repository (CoRR), vol. abs/2212.06250, 2022. [Online]. Available: https://arxiv.org/abs/2212.06250
[66] T. Wang et al., “EmbodiedScan: a holistic multi-modal 3D perception suite towards embodied AI,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024.
[67] Y. Hong et al., “3D-LLM: injecting the 3D world into large language models,” in Advances in Neural Information Processing Systems (NeurIPS), vol. 36. Curran Associates, Inc., 2023, pp. 20482–20494. [Online]. Available: https://proceedings.neurips.cc/paper_files/paper/2023/file/413885e70482b95dcbdeeddc1daf39177-Paper-Conference.pdf
[68] S. He et al., “SegPoint: segment any point cloud via large language model,” in Proceedings of the European Conference on Computer Vision (ECCV), 2024, pp. 349–367.
[69] C. Zhu et al., “ScanReason: empowering 3D visual grounding with reasoning capabilities,” Computing Research Repository (CoRR), vol. abs/2407.01525, 2024. [Online]. Available: https://arxiv.org/abs/2407.01525
[70] K.-C. Huang et al., “Reason3D: searching and reasoning 3D segmentation via large language model,” in International Conference on 3D Vision 2025 (3DV), 2025. [Online]. Available: https://openreview.net/forum?id=w1M87I E7D2
[71] J. Huang et al., “SURPRISE3D: a dataset for spatial understanding and reasoning in complex 3D scenes,” Computing Research Repository (CoRR), vol. abs/2507.07781, 2025. [Online]. Available: https://arxiv.org/abs/2507.07781
[72] J. Kim et al., “Textual explanations for self-driving vehicles,” in Proceedings of the European Conference on Computer Vision (ECCV), 2018, pp. 577–593.
[73] X. Jia et al., “Bench2Drive: towards multi-ability benchmarking of closed-loop end-to-end autonomous driving,” in Advances in Neural Information Processing Systems (NeurIPS), vol. 37, 2024, pp. 819–844.
[74] M. Nie et al., “Reason2Drive: towards interpretable and chain-based reasoning for autonomous driving,” 2024. [Online]. Available: https://arxiv.org/abs/2312.03661
[75] Z. Zhao et al., “Extending large vision-language model for diverse interactive tasks in autonomous driving,” Computing Research Repository (CoRR), vol. abs/2505.08725, 2025. [Online]. Available: https://arxiv.org/abs/2505.08725
[76] Y. Hao et al., “DriveAction: a benchmark for exploring human-like driving decisions in VLA models,” Computing Research Repository (CoRR), vol. abs/2506.05667, 2025. [Online]. Available: https://arxiv.org/abs/2506.05667
[77] P. Young et al., “From image descriptions to visual denotations: new similarity metrics for semantic inference over event descriptions,” Transactions of the Association for Computational Linguistics, vol. 2, pp. 67–78, 02 2014.
[78] B. A. Plummer et al., “Flickr30k Entities: collecting region-to-phrase correspondences for richer image-to-sentence models,” in Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2015, pp. 1576–1584.
[79] R. Krishna et al., “Visual Genome: connecting language and vision using crowdsourced dense image annotations,” International Journal of Computer Vision, vol. 123, no. 1, pp. 32–73, 2017.
[80] T.-Y. Lin et al., “Visualizing and understanding deep texture representations,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016.
[81] S. Kurita et al., “RefEgo: referring expression comprehension dataset from first-person perception of Ego4D,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2023, pp. 15214–15224.
[82] B. Zhou et al., “Scene parsing through ADE20K dataset,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2017, pp. 633–641.
[83] Z. Bai et al., “One Token to Seg Them All: Language Instructed Reasoning Segmentation in Videos,” Computing Research Repository (CoRR), vol. abs/2409.19603, 2024. [Online]. Available: https://arxiv.org/abs/2409.19603
[84] S. Yun et al., “STAR: Segment anything reasoner,” Computing Research Repository (CoRR), vol. abs/2603.14382, 2026. [Online]. Available: https://arxiv.org/abs/2603.14382
[85] T. Liang et al., “Seg-ReSearch: Segmentation with interleaved reasoning and external search,” Computing Research Repository (CoRR), vol. abs/2602.04454, 2026. [Online]. Available: https://arxiv.org/abs/2602.04454
[86] J. Wu et al., “Towards open vocabulary learning: A survey,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 46, no. 7, pp. 5092–5113, 2024.
[87] I. Kabir et al., “Logic-RAG: augmenting large multimodal models with visual-spatial knowledge for road scene understanding,” Computing Research Repository (CoRR), vol. abs/2503.12663, 2025. [Online]. Available: https://arxiv.org/abs/2503.12663
[88] L. Yang et al., “Depth anything v2,” Advances in Neural Information Processing Systems (NeurIPS), vol. 37, pp. 21875–21911, 2024.
[89] R. Ding et al., “PLA: language-driven open-vocabulary 3D scene understanding,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023, pp. 7010–7019.
[90] G. Neuhold et al., “The mapillary vistas dataset for semantic understanding of street scenes,” in Proceedings of the IEEE International Conference on Computer Vision (ICCV), Oct 2017.
[91] H. Caesar et al., “Coco-stuff: Thing and stuff classes in context,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2018, pp. 1209–1218.
[92] B. Li et al., “Lava-onevision: Easy visual task transfer,” arXiv preprint arXiv:2408.03326, 2024.
[93] S. Yang et al., “LISA++: An improved baseline for reasoning segmentation with large language model,” Computing Research Repository (CoRR), vol. abs/2312.17240, 2023. [Online]. Available: https://arxiv.org/abs/2312.17240
[94] Y. Lu et al., “RSVP: Reasoning segmentation via visual prompting and multi-modal chain-of-thought,” in Proceedings of the Annual Meeting of the Association for Computational Linguistics (ACL), 2025, pp. 14699–14716.

Fig. 7. Comparisons between driving scene reasoning segmentation and other segmentation tasks.
Appendix
A Ethics ..... 11
B Additional Details on the DSRS Task and Dataset ..... 11
B.1 Comparisons with Various Perception Tasks ..... 11
B.2 Comparison with Existing Benchmark Datasets ..... 12
B.3 Comprehensive Analysis of DSRS Dataset ..... 13
C Additional Methodological Details ..... 15
C.1 Implementation Details for DSRS-Net Architecture ..... 15
C.2 Depth-Aware Deformable Attention Blocks ..... 15
C.3 Overall Loss ..... 16
D Additional Discussion ..... 16
D.1 Spatial Relation Inferring in MLLM-Based Models ..... 16
D.2 Failure Cases ..... 16
D.3 Extensibility and Broader Applications ..... 17
D.4 Future Directions ..... 17
E Technical Details ..... 17
E.1 Implementation Details ..... 17
E.2 Training Datasets ..... 17
E.3 Evaluation Metrics ..... 17
E.4 Competitors and Implementation Details ..... 17
F Additional Quantitative Experimental Results ..... 19
F.1 Depth Source, Quality, and Robustness Analysis ..... 19
F.2 Fair Comparison with Depth-Enhanced Baselines ..... 21
F.3 Computational Efficiency and Deployment Analysis ..... 22
F.4 Additional Comparison on the ReasonSeg Benchmark ..... 23
F.5 Per-Category Results on the DSRS Dataset ..... 23
F.6 Additional Ablation Studies ..... 24
G Additional Qualitative Experimental Results ..... 24
In this research, we utilize ten public datasets for the development and evaluation of computer vision models: ADE20K [82], RefCOCO, RefCOCO+ [59], RefCOCOg [60], SpatialQA [15], ReasonSeg [1], Cityscapes [56], KITTI Semantics
[57], nuScenes [29], and ApolloScape [58]. It is important to emphasize that we adhere strictly to the terms of usage for each dataset. We acknowledge that these datasets may contain images with visible faces and other personal data collected without consent. However, we assure that no biometric information has been processed. All images are used in accordance with the CC-BY license or in a manner compatible with the Data Analysis Permission.
A. Comparisons with Various Perception Tasks
Semantic segmentation offers pixel-level predictions, facilitating fine-grained scene understanding in applications such as medical imaging. However, its fundamental limitation lies in its closed-set training paradigm, which restricts the model to a fixed vocabulary of predefined classes [86]. This inherent inflexibility prevents it from accommodating user-specific requirements or interpreting ambiguous, open-world instructions that lie outside its training distribution.
To overcome these limitations, referring expression segmentation [21] has been introduced, which leverages natural language expressions to guide the segmentation of a specific object within an image. It enables more interactive and context-aware segmentation that aligns better with human intent. For instance, as illustrated in Fig. 7 in the supplementary material, instead of segmenting all instances of “women” in an image, a referring expression segmentation model can isolate “woman on top left tennis player”.
Existing referring expression segmentation models are optimized for relatively simple expressions and often struggle with complex descriptions. This has motivated the research on
| Dataset | Input | Output | Lang. Source | Scene | Spatial Reasoning | Traffic Rule |
|---|---|---|---|---|---|---|
| SQA3D [61] | Lang, Image, Point cloud, Video | Lang | Human | IS | ✓ | ✗ |
| MSQA [62] | Lang, Image, Point cloud | Lang | Human, LLM | IS | ✓ | ✗ |
| VLA-3D [63] | Lang, Point cloud, Scene graph | Lang | Template | IS | ✓ | ✗ |
| Grounded 3D-LLM [64] | Lang, Point cloud | Mask | Template, LLM | IS | ✓ | ✗ |
| ScanEnts3D [65] | Lang, Point cloud | BBox | Human | IS | ✓ | ✗ |
| EmbodiedScan [66] | Lang, RGB-D image | BBox | Template, LLM | IS | ✓ | ✗ |
| 3D-LLM [67] | Lang, Point cloud | Lang, BBox | LLM | IS | ✓ | ✗ |
| SegPoint [68] | Lang, Point cloud | Mask | LLM | IS | ✓ | ✗ |
| ScanReason [69] | Lang, RGB-D image | BBox | LLM | IS | ✓ | ✗ |
| Reason3D [70] | Lang, Point cloud | Mask | LLM | IS | ✓ | ✗ |
| Surprise3D [71] | Lang, Point cloud | Mask | Human, LLM | IS | ✓ | ✗ |
| nuScenes [29] | LiDAR, Image, Radar | BBox | - | Real DS | ✗ | ✗ |
| BDD100K [30] | Video | Mask, BBox | - | Real DS | ✗ | ✗ |
| BDD-X [72] | Lang, Video | Lang | Human | Real DS | ✓ | ✓ |
| DriveLM-Data [31] | Lang, Image | Lang | Template, Human | Real, Sim DS | ✓ | ✓ |
| Apollo [58] | LiDAR, Image, Point cloud | Mask | - | Real DS | ✗ | ✗ |
| Bench2Drive [73] | LiDAR, Image | Action | - | Sim DS | ✗ | ✗ |
| Reason2Drive [74] | Video | Lang | Human, LLM | Real DS | ✓ | ✗ |
| ImpromptuVLA [32] | Video, State | Lang, Action | Human, LLM | Real DS | ✓ | ✓ |
| NuInteract [75] | LiDAR, Image | Lang | Human, LLM | Real DS | ✓ | ✗ |
| DriveAction [76] | Lang, Video | Action | - | Real DS | ✗ | ✗ |
| RefCLEF [59] | Lang, Image | BBox | Human | MS | ✓ | ✗ |
| RefCOCO [59] | Lang, Image | Mask, BBox | Human | MS | ✓ | ✗ |
| RefCOCO+ [59] | Lang, Image | Mask, BBox | Human | MS | ✗ | ✗ |
| gRefCOCO [41] | Lang, Image | Mask, BBox | Human | MS | ✗ | ✗ |
| SpatialQA [15] | Lang, RGB-D image | Lang | Human | MS | ✓ | ✗ |
| Flickr30k [77] | Image | Lang | Human | MS | ✗ | ✗ |
| Flickr 30k entities [78] | Lang, Image | BBox | Human | MS | ✓ | ✗ |
| ReasonSeg [1] | Lang, Image | Lang, Mask | Human, LLM | MS | ✗ | ✗ |
| Visual Genome [79] | Lang, Image | BBox | Human | MS | ✓ | ✗ |
| VGPhraseCut [80] | Lang, Image | Mask | Human | MS | ✗ | ✗ |
| RefEgo [81] | Video, Lang | BBox | Human | MS | ✗ | ✗ |
| DSRS (ours) | Lang, RGB-D image | Lang, Mask | Human, LLM | Real DS | ✓ | ✓ |
TABLE VI
COMPARISON WITH OTHER VISION DATASETS. 'LANG' DENOTES LANGUAGE QUERIES, 'LANG SOURCE' DENOTES WHETHER LANGUAGE QUERIES ARE HUMAN-ANNOTATED OR GENERATED VIA TEMPLATE OR LLM, 'IS' DENOTES INDOOR SCENES, 'DS' DENOTES DRIVING SCENES, AND 'MS' DENOTES MULTI-SCENE.
| Dataset | Task type | Number of samples |
|---|---|---|
| ReasonSeg [1] | Open-domain reasoning segmentation | 1,218 |
| ReasonVOS [83] | Video reasoning segmentation | 458 |
| FCoT [47] | Foreground reasoning and segmentation-prompt generation | 1,500 |
| ConvertSeg [48] | Conversational image segmentation | 1,687 |
| ReasonSeg-X [84] | Extended reasoning segmentation | 1,169 |
| OK-VOS [85] | Outside-knowledge video object segmentation | 1,000 |
| DSRS (ours) | Driving scene reasoning segmentation | 1,561 |
TABLE VII
SCALE COMPARISON WITH REPRESENTATIVE REASONING AND INSTRUCTION SEGMENTATION DATASETS.
reasoning segmentation, which requires reasoning capabilities to identify regions that satisfy abstract or indirect requirements specified in text queries.
Nevertheless, the reasoning segmentation task has largely focused on broad representations of world knowledge and exhibits limited scene-specific awareness in driving scenarios [87]. This limitation motivates us to introduce the driving scene reasoning segmentation, a new multimodal perception task specifically designed to address the scene-specific challenges in automated driving contexts, as illustrated in Fig. 7 in the supplementary material.
B. Comparison with Existing Benchmark Datasets
As illustrated in Table VI in the supplementary material, most existing multimodal datasets that support spatial reasoning are primarily focused on indoor environments, where geometric priors are typically obtained from point clouds or bird's eye view (BEV) images, such as in SQA3D [61] and MSQA [62]. Although these datasets have contributed valuable insights into 3D spatial reasoning, they are limited in terms of object diversity and scene complexity, making them insufficient for modeling the rich, dynamic environments of the real world. For instance, in driving scenes, spatial relation inference is particularly critical, as it underpins essential tasks such as estimating object distances, interpreting road structures, and predicting dynamic behaviors.
(a) Noun Distribution of Instructions

(b) Frequency Distribution of Nouns in DSRS Instructions
(c) Verb Distribution of Instructions
(d) Frequency Distribution of Verbs in DSRS Instructions
Fig. 8. Word distribution of instructions in the DSRS dataset. (a) and (c) illustrate word clouds of nouns and verbs appearing in the instructions of the DSRS dataset, respectively. (b) and (d) show the frequency distributions of representative nouns and verbs, respectively.
In scene parsing tasks, pixel-level mask prediction serves as a critical foundation for precise object localization. For instance, given a text query such as “Avoid the maintenance roads with irregular shapes”, the absence of pixel-level output makes it challenging for the system to precisely localize the referenced areas within the scene. While existing language-driven datasets, e.g., RefCOCO [59] and VGPhraseCut [80], offer segmentation masks, such resources remain scarce in the context of automated driving. Datasets such as DriveLM-Data [31] and BDD-X [72] incorporate language prompts but only support coarse-grained textual outputs. Conversely, datasets like nuScenes [29] and BDD100K [30] provide segmentation masks but lack alignment with language inputs. To date, there is no multimodal dataset that simultaneously supports natural language input and pixel-level mask output in real-world mixed traffic scenarios. This remains a critical bottleneck in advancing automated driving systems.
To fill the gap in existing multimodal datasets, we introduce the DSRS dataset. To the best of our knowledge, it is the first dataset in real-world mixed traffic scenes to jointly provide both text queries and segmentation masks, thereby filling a critical gap in the advancement of multimodal automated driving systems.
Dataset scale should be interpreted in relation to annotation granularity and intended usage. DSRS dataset is not intended as the sole corpus for training a 7B–8B MLLM from scratch, rather, it is a high-quality, domain-specific benchmark for evaluating and adapting pretrained MLLMs. Unlike large-scale pretraining corpora, constructing a pixel-level reasoning segmentation benchmark requires every sample to combine an unambiguous instruction, a reasoning-grounded target, and an accurate pixel-level mask, making annotation and multi-
stage manual verification substantially more expensive. This is especially true for driving scenes, where annotations must also preserve traffic semantics, spatial relations, and safety-critical context. As shown in Table VII, several representative image-based and video-based reasoning or instruction segmentation benchmarks are constructed within a comparable 1K-scale range, with some being substantially smaller. Following this high-quality benchmark setting, DSRS provides 1,561 carefully curated samples for evaluating pretrained MLLMs and supporting their parameter-efficient adaptation to driving-scene reasoning segmentation.
C. Comprehensive Analysis of DSRS Dataset
- Fine-Grained Category Definitions: To comprehensively represent diverse road conditions encountered in complex driving scenarios, the dataset is categorized into the following categories:
- Spatial relations. This category includes samples that involve diverse spatial relations among objects within complex driving environments.
- Potential risks. This category comprises samples involving traffic accidents and various potential hazards on the road, including both positive and negative obstacles, e.g., obstacles and road surface defects.
- Challenging conditions. This category includes samples captured under adverse environmental conditions, such as extreme lighting, severe weather, and complex terrain.
- Traffic rules. This category includes samples that reflect traffic rule enforcement via regulatory infrastructure elements, including dedicated lanes, crosswalks, traffic lights, and traffic signs.

Fig. 9. Construction and Annotation Pipeline of Our DSRS Dataset.
The proposed DSRS dataset offers a comprehensive benchmark for evaluating and advancing the reasoning capabilities of models in automated driving scenarios.
-
Word Distribution of Instructions: To further analyze the language features of the DSRS dataset, Fig. 8 presents the word distribution of nouns and verbs in the instructions of the DSRS dataset. As shown in Figs. 8(a) and (b), the noun distribution reveals that instructions primarily involve road structures and road users. In particular, “road” and “traffic” account for approximately 6.3% and 6.1% of all nouns in the instructions, respectively. Other frequent nouns, including “lane”, “vehicle”, “pedestrian”, “sign”, and “crosswalk”, indicate that instructions comprehensively reflect the complex road conditions in real-world driving scenes. In parallel, the verb distributions illustrated in Figs. 8(c) and (d) show that these instructions are strongly associated with driving behaviors, operational requirements, and safety-critical scenarios. “Drive” accounts for 5.9% of all verbs in the instructions, followed by “locate” at 4.3% and “position” at 3.0%. Verbs such as “turn”, “navigate”, and “guide” further demonstrate that models are required to interpret implicit instructions, identify the referred regions, and understand corresponding driving scenes. Overall, the word distribution depicted in Fig. 8 demonstrates that instructions of the DSRS dataset extend beyond explicit object descriptions and capture contextual details, which makes the DSRS dataset well-suited for evaluating models in automated driving scenarios. The dataset contains both concise queries and long compositional queries. Concise queries assess direct grounding, while long queries require multiple reasoning steps over spatial relations, traffic rules, and potential risks. For example, the prompt, “In conditions of reduced visibility, what element above in the picture helps regulate traffic flow and ensure safety?”, requires the model to identify candidate objects in the image, infer which object serves to regulate traffic flow and enhance road safety, and accurately segment the corresponding region. This variation helps distinguish genuine reasoning from superficial matching between words and visible objects.
-
DSRS Dataset Construction and Annotation Pipeline: As illustrated in Fig. 9, we present the construction pipeline of the DSRS dataset, which consists of five stages: image selection and depth map generation, pixel-level annotation, instruction and response generation, manual quality verification, and sample categorization. We exclude adjacent frames from different splits and assign every continuous scene to only one of the training, validation, and test sets. This scene-
level separation prevents visual overlap and eliminates leakage caused by temporally neighboring observations. To comprehensively cover diverse scenes and complex conditions in real-world driving scenarios, we select RGB images from multiple autonomous driving datasets and employ Depth Anything V2 [88] to obtain corresponding relative depth maps. To reduce dependence on country-specific road conventions, we retain samples whose answers are supported by explicit visual indicators such as lane markings, traffic lights, traffic signs, and clearly visible road structures. Samples that could produce ambiguous masks under different regional conventions are excluded during manual verification. We then use LabelMe, which is assisted by SAM 2, to manually annotate the target regions in the selected images, producing pixel-level masks with accurate target boundaries. After completing pixel-level annotations, we utilize large language models such as GPT-4o and DeepSeek-V3 to generate multiple implicit reasoning instructions for each target region. Subsequently, we generate corresponding responses for these instructions and organize them into question-answer pairs for reasoning chains. To ensure the accuracy of the outputs produced in the preceding stages, we further conduct multiple rounds of manual quality verification on pixel-level masks, natural language instructions, and corresponding responses. Specifically, we check whether masks completely cover the target regions and whether the target boundaries are accurate. Meanwhile, we also verify whether the instructions are semantically consistent with the annotated regions while checking for repetition, ambiguity, and factual errors. For samples that do not pass verification, inaccurate masks are reannotated, while instructions or responses are revised accordingly. Once all samples have passed manual quality verification, we categorize them into four high-level categories: Spatial Relations, Potential Risks, Challenging Conditions, and Traffic Rules. These categories comprise 13 fine-grained categories, which comprehensively represent diverse road conditions in real-world driving scenes. By completing the five stages above, we obtain the DSRS dataset, which contains more than 1,500 image-instruction-mask samples, together with corresponding relative depth maps. Unlike existing datasets, our proposed DSRS dataset integrates implicit reasoning instructions, relative depth maps, and pixel-level annotations, thereby enabling scene-specific reasoning and accurate segmentation in complex driving scenarios.
- Mask Scale Distribution: Fig. 10 presents the distribution of relative mask scales across 13 fine-grained cate-
| Model | Multimodal Encoder | LLM | Segmentation Head | ||
|---|---|---|---|---|---|
| Vision Encoder | Text Encoder | Projector | |||
| LISA [1] | CLIP ViT-L/14, SAM ViT-H | LLaMA Tokenizer | MLP | Vicuna 7B | SAM decoder |
| GSVA [6] | CLIP ViT-L/14, SAM ViT-H | LLaMA Tokenizer | MLP | Vicuna 7B | SAM decoder |
| PixelLM [45] | CLIP ViT-L/14 | LLaMA Tokenizer | MLP | Vicuna 7B | PixelLM decoder |
| [22] | CLIP ViT-L/14, SAM ViT-H | LLaMA Tokenizer | MLP | Vicuna 7B | SAM decoder |
| SegAgent [46] | Qwen-VL, SClick ViT-L | Qwen-VL Tokenizer | Qwen-VL adapter, SClick prompt embedding | Qwen-VL 7B | SClick decoder |
| Seg-R1 [47] | Qwen2.5-VL, SAM2 Hiera-L | Qwen2.5-VL Tokenizer | Qwen2.5-VL visual merger | Qwen2.5-VL 7B | SAM2 decoder |
| ConverSeg-Net [48] | Qwen2.5-VL, SAM2 Hiera-L | Qwen2.5-VL Tokenizer | MLP | Qwen2.5-VL 3B | SAM2 decoder |
| DSRS-Net-LLaVA1.5 | CLIP ViT-L/14, GPE, DHFI | LLaMA Tokenizer | MLP | Vicuna1.5 7B | DSRS-Net decoder |
| DSRS-Net-InternVL2.5 | InternViT, GPE, DHFI | InternVL2.5 Tokenizer | MLP | InternLM2.5 7B | DSRS-Net decoder |
TABLE VIII
ARCHITECTURAL COMPARISON OF REPRESENTATIVE LANGUAGE-GUIDED SEGMENTATION MODELS.

Fig. 10. Mask scale distribution across 13 fine-grained categories of our proposed DSRS dataset. White circles denote the median mask scale for each category. The lower extreme and the upper extreme represent the 5th and 95th percentiles, respectively. The horizontal axis is truncated between 30% and 60% for clarity.
gories of the DSRS dataset, where the relative mask scale is defined as the ratio of the annotated region to the entire image. The mask scale distribution demonstrates significant differences among categories. Most categories occupy less than 15% of the entire image, which indicates that DSRS dataset contains many small targets and requires models to perform fine-grained scene inference and precise boundary modeling. Specifically, the mask scales of “Road defect”, “Traffic light”, “Traffic sign”, and “Obstacle” range from approximately 0.04% to 0.51% of the entire image, placing greater demands on localizing targets precisely and extracting boundaries accurately. In contrast, the pixel-level annotated masks of categories such as “Traffic lane”, “Crosswalk”, “Traffic accident” cover larger scales of entire images, requiring models to understand traffic rules in more complex real-world road conditions. Notably, “Traffic accident” demonstrates the widest range of mask scales, ranging from 2.02% to 72.06%
of the entire image. Moreover, “Complex Terrain”, “Light Condition”, and “Weather Condition” also exhibit broad mask scale distributions, reflecting pronounced differences in the mask scales of targets under challenging conditions. Overall, we form a challenging benchmark with diverse mask scales for evaluating scene-specific reasoning and accurate segmentation tasks in real-world automated driving scenarios.
D. Implementation Details for DSRS-Net Architecture
As shown in Table VIII, our DSRS-Net architecture comprises three key components: (1) a multimodal encoder, (2) an LLM, and (3) a segmentation head. The multimodal encoder consists of a vision encoder and a text encoder. The vision encoder extracts complementary information from the RGB-D images, which consists of an MLLM vision encoder, a geometric prior extractor (GPE), a depth-guided hierarchical feature interaction (DHFI) module, and projectors for modality alignment. Unlike conventional depth-guided segmentation methods that fuse RGB and depth features without an LLM, our design must preserve the visual-language balance already learned by the MLLM. GPE extracts structured geometric cues, while DHFI aligns them with hierarchical visual semantics before they enter the language space. This process enables the MLLM to interpret relative depth information such as spatial ordering, object boundaries, and scene layout without disrupting its original image-text alignment.
E. Depth-Aware Deformable Attention Blocks
For reproducibility, given patch tokens, we concatenate the normalized pairwise depth differences and 2D relative positions to form candidate descriptors of shape , such that each query has candidates. A learned linear layer with 0.1 dropout regresses the flattened descriptors into offsets of shape . We use heads, feature level, and sampling points, yielding 32 two-dimensional offsets per query. Although the offsets are not directly clipped, the depth differences are bounded by tanh, and the final sampling coordinates are clamped to [0, 1]. Bilinear interpolation is applied to value features projected from 1024 to 512 channels (64 channels per head), after which the output is projected back to 1024 channels. Four DA blocks are stacked in total.
F. Overall Loss
In summary, the overall loss function can be formulated as a weighted combination of the text generation loss and the segmentation mask loss , as follows:
where and balance the contributions of the text generation and segmentation losses, respectively. Specifically, we adopt the standard token-level cross-entropy loss for autoregressive text generation. For the segmentation branch, we define as a weighted sum of the sigmoid focal loss and the Dice loss, with weights and . Given the ground-truth text tokens and segmentation mask , the losses are formulated as follows:
(7)
Here, the sigmoid focal loss is implemented using binary cross-entropy with logits and a focal modulation term. By minimizing Eq. (6), our DSRS-Net is jointly optimized for autoregressive text generation and accurate segmentation mask prediction.
G. Spatial Relation Inferring in MLLM-Based Models
Although recent advancements in MLLMs have demonstrated impressive performance in language-driven tasks, their abilities to infer spatial relations remain a critical challenge. Early efforts [67], [89] first reconstruct 3D scenes from multi-view inputs like point clouds or neural fields, then feed these volumetric representations or scene graphs into language models to support spatial understanding. However, such pipelines are typically resource-intensive and require dense multi-view annotations, which are often unavailable in real-world scenarios. To this end, other approaches [13], [15] incorporate depth maps alongside RGB images within standard vision-language pipelines, thereby bypassing explicit 3D reconstruction and enabling coarse-grained spatial relations inference. These methods are adequate for high-level textual reasoning but are inadequate for fine-grained vision tasks like pixel-level segmentation [10]. This limitation arises primarily because they often overlook the unique geometric properties required for accurate spatial reasoning and introduce modalities that remain unfamiliar to LLMs. To address these limitations, we propose DSRS-Net, which leverages the DHFI module to structurally integrate hierarchical visual cues and geometric priors, thereby enhancing the model's capacity for scene cognitive segmentation in complex driving environments.
(a)

(b)
Q: Could you please separate the left-turn lanes in the image?

(c) Q: Can you identify the sidewalk in the picture where a man is seen walking across?

(d) Q: What object on the right side of the road is there to warn drivers of construction?

(e) Q: What is the rectangle sign on the right side of the street?

Fig. 11. Unsatisfactory results on the DSRS dataset: (a) areas with insufficient illumination; (b) blurred scene under rainy conditions; (c) areas with indistinct boundaries; (d) additional areas of erroneous segmentation; (e) contextual confusions. Challenging areas are highlighted with white dashed boxes.
H. Failure Cases
While DSRS-Net demonstrates significant progress, it still faces challenges in several scenarios. As illustrated in Fig. 11(a), segmentation performance degrades in low-light regions, where objects cannot be clearly distinguished. In challenging weather conditions, such as the blurred rainy scene in Fig. 11(b), the network struggles to effectively integrate geometric features for robust scene reasoning. Furthermore, when targets lack well-defined boundaries, such as the sidewalk in Fig. 11(c), the model can localize the region but fails to produce accurate boundaries. A similar issue arises in Fig. 11(d), where although the traffic sign is correctly segmented, additional areas of erroneous segmentation appear around it. In addition to segmentation quality, the network's contextual reasoning also requires improvement. For instance, in Fig.
11(e), DSRS-Net mistakenly segments a window together with the traffic sign, likely due to confusion caused by the textual cue “rectangle”. Addressing these limitations in both segmentation precision and contextual understanding presents promising directions for future research and optimization.
I. Extensibility and Broader Applications
Moreover, the modular nature of the DHFI module allows it to be readily extended beyond DSRS-Net and applied to other related tasks. Serving as an auxiliary branch, it effectively incorporates spatial information and can be seamlessly embedded into various backbone architectures. For instance, it can be incorporated into LLM-based frameworks to strengthen multimodal feature alignment. Additionally, its submodule can serve as a depth-aware alternative to conventional cross-attention mechanisms, thereby strengthening the interaction of spatial features within transformer-based backbones. Furthermore, the integration of spatial cues benefits a wide range of vision tasks, including 3D scene reasoning, embodied visual question answering, and vision-language navigation, where explicitly modeling spatial dependencies is critical for precise perception and reliable reasoning.
J. Future Directions
Looking ahead, advancements in LLMs present new opportunities for robust scene reasoning and decision-making in automated driving. Drawing inspiration from DriveLM's [31] graph-based reasoning for sequential decision-making, a promising future direction for DSRS-Net lies in an evolution from a static reasoning framework to a dynamic system capable of localization, prediction, and action planning. Such an evolution would not only enhance DSRS-Net's adaptability and responsiveness to dynamic real-time challenges but also pave the way for more intelligent and interactive automated driving systems.
K. Implementation Details
For instruction tuning, we optimize DSRS-Net using AdamW with an initial learning rate of and a weight decay of 0.01. We adopt a cosine learning-rate schedule with 1K warm-up iterations and clip the gradient norm to 1.0. The model is trained with a batch size of 2 and 16 gradient-accumulation steps. We employ LoRA to efficiently fine-tune the LLMs. All experiments are conducted using BF16 precision on an NVIDIA A800 GPU.
L. Training Datasets
Our training data comprises four primary dataset types: (1) For the semantic segmentation dataset, we use ADE20K [82], Mapillary [90] and COCO-Stuff [91]; (2) For the referring expression segmentation dataset, we use RefCOCO, RefCOCO+ [59], and RefCOCOg [60]; (3) Visual question answering (VQA) datasets [9], [92]; (4) For the reasoning segmentation dataset, we use the ReasonSeg [1]. Notably, to ensure a zero-shot evaluation shown in Table 1 in the main text, the above training data excludes all samples from the DSRS dataset and is used exclusively for fine-tuning.
M. Evaluation Metrics
We quantify the DSRS performance of models using the variations of intersection over union (IoU) metric, specifically cumulative intersection over union (cIoU) and generalized intersection over union (gIoU) metrics.
- cIoU: The cIoU metric aims to evaluate segmentation performance at the dataset level. For a given prediction mask P and its corresponding ground truth mask G, the IoU metric is calculated as the ratio of their intersection to the area of their union as follows:
The cIoU extends IoU by aggregating intersection and union values across all samples before computing their ratio expressed as follows:
where N represents the total number of samples in the dataset, and and denote the prediction and ground truth masks for the i-th sample, respectively. This cumulative computation can prevent individual samples with small regions from disproportionately affecting the overall performance metric.
- gIoU: The gIoU metric offers a complementary perspective to cIoU by evaluating segmentation performance at the instance level. Unlike cIoU, which provides a dataset-level assessment and favors larger objects, gIoU computes the mean IoU across all samples, treating each instance equally regardless of its size, formulated as follows:
This metric can, therefore, evaluate the model's consistency across different instances and scales, as it gives equal weight to each prediction regardless of the object's size. In cases where the ground truth mask is empty, and the model correctly predicts no object ( ), the instance is assigned a perfect score of to avoid penalizing the model for a correct negative prediction.
N. Competitors and Implementation Details
In this section, we provide a detailed summary of the models evaluated in Table 1 of the main text.
ReLA [41] proposes a region-based baseline for generalized referring expression segmentation, where one expression may refer to single, multiple, or no target objects. It adaptively divides an image into regions with sub-instance clues and explicitly models both region-region and region-language dependencies to handle complex relational expressions. For implementation, we follow the official repository with the SwinBase backbone and default inference pipeline. We obtain the zero-shot results using the released model weights, while the fine-tuned results are obtained by supervised fine-tuning on our DSRS dataset under its default training configuration.
X-Decoder [42] presents a generalized decoding model that jointly predicts pixel-level segmentation masks and language tokens in a unified semantic space. It uses generic non-semantic queries and text-induced semantic queries to support diverse segmentation and vision-language tasks, enabling transferable pixel-level visual-semantic understanding across zero-shot and fine-tuning settings. For implementation, we follow the official repository with the Focal-L backbone and default evaluation pipeline. In the zero-shot setting, we directly evaluate the released X-Decoder checkpoint; for the fine-tuned setting, we initialize from this checkpoint and adapt the model on our DSRS dataset using its standard training setup.
SEEM [43] presents a promptable and interactive segmentation model that aims to segment everything in an image through a unified multimodal prompt interface. It introduces a decoding mechanism that supports diverse prompts, including points, boxes, scribbles, masks, text, and their combinations, while learning a joint visual-semantic space and using memory prompts to preserve interaction history for multi-round segmentation. For implementation, we follow the official repository and use SEEM_v1 with the SAM-ViT-L backbone. The zero-shot setting evaluates the released SEEM checkpoint, and the fine-tuned setting applies supervised fine-tuning on our DSRS dataset under its default training configuration.
Grounded-SAM [44] assembles Grounding DINO and Segment Anything Model into an open-world detection-and-segmentation pipeline, where arbitrary text inputs are first grounded as object boxes and then converted into pixel-level masks by SAM. This modular design enables text-guided segmentation of open-set regions and can be further connected with other vision models for automatic annotation, image editing, and multimodal visual analysis. For implementation, we follow the official repository and use Grounding DINO with the Swin-T backbone and SAM with the ViT-H backbone as the detector-segmenter pipeline. For zero-shot evaluation, we feed each instruction as the text prompt and follow the default inference pipeline for box prediction and mask generation. In the fine-tuned setting, we adapt the detector-segmenter pipeline to our DSRS dataset with the official training setup.
LISA [1] proposes a large language instructed segmentation assistant for reasoning segmentation, which produces segmentation masks from complex and implicit queries requiring visual reasoning and world knowledge. Architecturally, LISA consists of a vision branch and an MLLM branch. In the vision branch, a SAM vision backbone extracts dense, high-resolution visual features for the mask decoder. In the MLLM branch, LLaVA jointly processes the input image and text query using a visual encoder, a linear projector for feature alignment, and a language model for reasoning and response generation. To connect the two branches, LISA adds a [SEG] token and projects its last-layer MLLM embedding into the SAM prompt space via an MLP, following an embedding-as-mask paradigm. The SAM mask decoder combines this prompt with the SAM visual features to predict the final mask. For implementation, we follow the official repository and use the LISA-7B checkpoint. Its MLLM is LLaVA-Lightning-7B-v1-
1, which uses CLIP ViT-L/14 as its visual encoder and Vicuna 7B as its language model, while SAM ViT-H serves as the segmentation backbone. The zero-shot setting evaluates this checkpoint through the default evaluation pipeline, while the fine-tuned setting performs supervised fine-tuning on our DSRS dataset following the official training recipe.
GSVA [6] proposes a generalized segmentation vision assistant for generalized referring expression segmentation, targeting cases where one expression may refer to multiple objects or no valid target in the image. Architecturally, GSVA follows LISA and couples an MLLM branch with a Segmentation Foundation Model (SFM) branch. In the MLLM branch, LLaVA processes the input image and text using a vision encoder, a linear projector for feature alignment, and a decoder-based language model. In the SFM branch, a frozen high-resolution vision encoder extracts dense features, and a trainable mask decoder predicts masks from segmentation queries. GSVA extends the embedding-as-mask mechanism by generating multiple weight-sharing [SEG] tokens, each guided by its preceding referent phrase, and [REJ] tokens for absent targets. An MLP projects the embeddings of all [SEG] tokens into the SFM prompt space for mask decoding, whereas [REJ] tokens are discarded and assigned all-zero masks. For implementation, we follow the official repository and use GSVA-7B with LLaVA-Lightning-7B-v1-1 as the prompt encoder and SAM ViT-H as the segmentation model. LLaVA-Lightning-7B-v1-1 uses CLIP ViT-L/14 as its visual encoder and Vicuna 7B as its language model. The zero-shot setting evaluates the released pretrained GSVA-7B weights with the default evaluation pipeline, and the fine-tuned setting further applies supervised fine-tuning on our DSRS dataset under its default configuration.
PixelLM [45] proposes an efficient large multimodal model for pixel-level reasoning and understanding. Architecturally, it comprises a CLIP-ViT vision encoder, a language model, a segmentation codebook, and a lightweight pixel decoder. The final-layer visual features are aligned with the language space through a vision-to-language projector, while multi-scale features are mapped to the pixel decoder through a separate vision-to-decoder projector. The hidden embeddings of the generated codebook tokens encode target-specific information at different visual scales, and the pixel decoder combines them with the corresponding image features to progressively refine and fuse scale-wise masks. This design avoids an additional segmentation model such as SAM, while a target refinement loss further improves multi-target discrimination and mask quality. For implementation, we follow the official PixelLM repository and use PixelLM-7B initialized from LLaVA-Lightning-7B-v1-1. Its MLLM uses CLIP ViT-L as the vision encoder, an MLP projector for feature alignment, and Vicuna 7B as the language model, while the segmentation codebook and PixelLM decoder are used for mask generation. The zero-shot setting evaluates the released PixelLM-7B checkpoint, while the fine-tuned setting applies supervised fine-tuning on our DSRS dataset using the default training configuration.
M²SA [22] extends LISA for multi-target and multi-granularity reasoning segmentation with early local feature fusion and multiple [SEG] tokens. Architecturally, it consists of a vision branch and an MLLM branch. In the vision branch, the SAM vision encoder extracts both early-layer local features and last-layer global features. Two convolutional layers align the local features with the global features, which are then fused to provide fine-grained visual representations for mask decoding. In the MLLM branch, LLaVA encodes the image using a CLIP vision encoder, maps the visual features into the language embedding space through a vision-to-text projector, and jointly processes them with the text query using a language model. The MLLM generates a separate [SEG] token for each target, and an MLP prompt projector maps their hidden states into the SAM prompt space. The SAM mask decoder then combines these prompt embeddings with the fused SAM visual features to predict the corresponding segmentation masks. For implementation, we follow the official repository and use the M²SA-7B checkpoint. Its MLLM is LLaVA-Lightning-7B-v1-1, which uses CLIP ViT-L/14 as its visual encoder and Vicuna 7B as its language model, while SAM ViT-H serves as the segmentation backbone. For zero-shot evaluation, we evaluate the released M²SA-7B checkpoint with the default validation pipeline, and the fine-tuned setting further adapts the model on our DSRS dataset under its default training configuration.
SegAgent [46] introduces the Human-Like Mask Annotation Task (HLMAT), which formulates segmentation as a multi-step decision-making process that imitates human annotation trajectories. Architecturally, SegAgent couples an MLLM policy with an interactive segmentation model without introducing implicit mask tokens or modifying the MLLM output space. At each step, the current mask is overlaid on the original image and encoded by the frozen Qwen-VL ViT. A Qwen-VL vision-language adapter maps the resulting visual tokens into the language space, where Qwen jointly reasons over the visual state and target description to generate the next positive or negative click as text coordinates. SClick then uses its ViT-L visual backbone to update the segmentation mask from the accumulated clicks and previous mask, and the resulting mask is fed back to the MLLM for the next decision. For implementation, we follow the official two-stage pipeline and use SegAgent-Qwen initialized from Qwen-VL-Chat together with the pretrained SClick model. For the fine-tuned setting, since our DSRS dataset is not annotated in the HLMAT trajectory format, we freeze SegAgent-Qwen to retain its prompt-conditioned point selection ability while adapting the segmentation module.
Seg-R1 [47] uses reinforcement learning to enhance pixel-level understanding in large multimodal models by reducing dense mask prediction to sparse prompt generation. Architecturally, it couples a Qwen2.5-VL policy model with a SAM2 segmentation branch. In the MLLM branch, the Qwen2.5-VL vision encoder extracts image features, and its built-in visual merger maps them into the language space. Qwen then autoregressively generates a reasoning trace together with bounding boxes, foreground and background points, and their labels as ordinary text tokens. In the segmentation branch, the SAM2 image encoder extracts dense visual features, while its prompt encoder converts the generated boxes and points into prompt embeddings. The SAM2 mask decoder combines these embeddings with the image features to predict the final mask. Seg-R1 trains this prompt-generation policy with Group Relative Policy Optimization using format and segmentation rewards. For implementation, we follow the official repository and use the Seg-R1-7B checkpoint with Qwen2.5-VL as the policy model and SAM2 Hiera-L as the segmentation model. For zero-shot evaluation, we test the released checkpoint under the official Reasoning Segmentation protocol. For the fine-tuned setting, we start from Seg-R1-7B and conduct supervised fine-tuning on our DSRS dataset.
ConverSeg-Net [48] targets conversational image segmentation by grounding intent-driven concepts involving functional and physical reasoning into pixel-accurate masks. Architecturally, it couples a SAM2 vision branch with a compact Qwen2.5-VL prompt encoder. In the vision branch, the frozen SAM2 image encoder processes the image once to produce a spatial embedding. In the vision-language branch, Qwen2.5-VL jointly encodes the image and conversational prompt and extracts final-layer hidden states for the text tokens and the end-of-sequence (EOS) token. A linear projector maps the text-token states to sparse prompt embeddings, while a two-layer MLP with a SiLU activation maps the EOS state to a dense prompt embedding that captures global image-text context. The SAM2 mask decoder uses bidirectional cross-attention to fuse these language-conditioned prompts with the spatial image embedding and predicts the final mask. For implementation, we follow the official repository and use the open-source ConverSeg-Net-3B checkpoint with Qwen2.5-VL as the prompt encoder. The zero-shot inference is performed with ConverSeg-Net-3B, and the fine-tuned setting initializes from this checkpoint and applies supervised fine-tuning on our DSRS dataset.
O. Depth Source, Quality, and Robustness Analysis
We generate all depth maps offline using the Large variant of Depth Anything V2 [88]. The generated maps represent monocular relative depth rather than metric depth and are directly fed into our DSRS-Net. Additionally, Table 4 of the main paper demonstrates that relative depth provides effective geometric cues. Compared with the RGB-only baseline, incorporating relative depth through GPE and DHFI improves gIoU from 53.0 to 55.4. Moreover, commonly used segmentation datasets, including ADE20K [82], COCO-Stuff [91], referring-segmentation benchmarks [59], [60], and ReasonSeg [1], do not provide ground-truth depth. Offline relative depth is therefore a more realistic and broadly applicable choice than assuming access to metric-depth annotations.
We further evaluate DSRS-Net using relative-depth maps generated by the Small, Base, and Large variants of Depth Anything V2 and perturb the Large-model depth maps with zero-mean Gaussian noise at different intensities. As shown in Fig. 12 and Table IX, all three depth variants yield positive results over RGB-only inference, indicating that the benefit is not restricted to the highest-capacity depth estimator. The
| Depth input | Perturbation | gIoU |
|---|---|---|
| None (RGB-only) | - | 53.0 |
| Depth Anything V2-Small | None | 54.2 |
| Depth Anything V2-Base | None | 54.9 |
| Depth Anything V2-Large | None | 55.4 |
| Depth Anything V2-Large | Gaussian ( ) | 53.5 |
| Depth Anything V2-Large | Gaussian ( ) | 48.8 |
| Depth Anything V2-Large | Gaussian ( ) | 40.2 |
TABLE IX
INFLUENCE OF DEPTH SOURCES AND GAUSSIAN PERTURBATIONS ON THE DSRS DATASET. GAUSSIAN NOISE IS APPLIED TO RELATIVE-DEPTH MAPS NORMALIZED TO [0, 1].

Fig. 12. Visualizations of noisy depth maps.

Fig. 13. Qualitative results of depth quality analysis under low illumination.
model also remains robust under small perturbations because GPE and DHFI can tolerate moderate local depth errors. Under severe corruption, however, performance falls below the RGB-only baseline. Heavily distorted geometric relationships conflict with the appearance features and disrupt the original

Fig. 14. Qualitative results of depth quality analysis under strong illumination.
| Method | Zero-shot (zs) | Fine-tuned (ft) | ||||||
|---|---|---|---|---|---|---|---|---|
| Val | Test | Val | Test | |||||
| gIoU | cloU | gIoU | cloU | gIoU | cloU | gIoU | cloU | |
| LISA-LLaVAv1 [1] | 22.7 | 20.3 | 30.5 | 28.3 | 55.7 | 52.5 | 56.8 | 55.1 |
| GSVA-LLaVAv1 [6] | 26.1 | 19.4 | 31.1 | 26.3 | 59.7 | 60.8 | 59.9 | 61.0 |
| DSRS-Net-LLaVAv1 | 27.3 | 22.7 | 34.2 | 29.1 | 61.6 | 64.5 | 61.0 | 65.0 |
TABLE X
SAME-BACKBONE COMPARISON ON THE DSRS DATASET. DSRS-Net-LLaVAv1 ADOPTS THE LISA BACKBONE AUGMENTED WITH OUR GPE AND DHFI COMPONENTS.
balance learned by the LLM and interaction modules. This analysis shows that DSRS-Net is robust to variations in depth-estimation quality and moderate noise, but is not invariant to severely corrupted geometric inputs.
To examine the performance of existing models on the DSRS task when estimated depth is degraded, we qualitatively evaluate these models under five representative challenging conditions: low illumination, strong illumination, visual blur, background clutter, and targets with small spatial extent. The qualitative results under these conditions correspond to Figs. 13–17, respectively.
Figs. 13–15 show that extreme illumination and adverse weather simultaneously degrade RGB visibility and monocular depth quality. In dark tunnels and nighttime scenes, low appearance contrast and imprecise depth boundaries around roads and pedestrians often result in localization errors and

Fig. 15. Qualitative results of depth quality analysis under visual blur.
| Metric | DSRS-Net-LLaVA1.5 | DSRS-Net-InternVL2.5 | Depth Generation |
|---|---|---|---|
| Input resolution | 336 × 336 | 896 × 896 | 518 × 518 |
| Total parameters (B) | 7.12 | 8.14 | 0.34 |
| Trainable parameters (M) | 318.46 | 82.43 | N/A |
| FLOPs (T/image) | 17.31 | 36.06 | 1.30 |
| Latency (s/image) | 2.07 | 3.81 | 0.12 |
| Throughput (images/s) | 0.48 | 0.26 | 8.65 |
| Peak GPU memory (GB) | 28.43 | 34.68 | 1.75 |
| Test GPU | A800 | A800 | RTX 3090 |
| Execution mode | Online | Online | Offline |
TABLE XI
COMPUTATIONAL EFFICIENCY OF DSRS-Net AND THE OFFLINE DEPTH GENERATION PIPELINE. BOTH DSRS-Net VARIANTS ARE EVALUATED ON AN A800 GPU WITH BATCH SIZE 1. RELATIVE DEPTH MAPS ARE GENERATED IN ADVANCE WITH DEPTH ANYTHING V2-LARGE ON AN RTX 3090 GPU.
incomplete segmentation masks. Conversely, overexposed road regions distort local depth and interfere with lane localization. Fog and rain further obscure small structures and reduce depth contrast among vehicles, roads, and roadside objects, resulting in imprecise contours.
Background clutter and small target scale introduce similar difficulties. As shown in Fig. 16, nearby windows, walls, and vegetation blur the depth boundaries of traffic signs. In Fig. 17, potholes occupy only a few pixels and exhibit weak depth differences from the surrounding road, increasing both missed detections and false positives. These cases indicate

Fig. 16. Qualitative results of depth quality analysis under background clutter.
that unreliable depth is harmful when the RGB appearance is already ambiguous or the target geometry is too fine-grained to be preserved.
Importantly, these failures cannot be attributed solely to the geometric branch. The conditions that produce poor depth maps are themselves highly challenging for RGB-only reasoning segmentation. For example, in Fig. 13(b), competing RGB-based models without explicit geometric priors also fail to identify the correct drivable road because illumination and lane-boundary cues are severely degraded. Thus, depth degradation and RGB ambiguity jointly limit performance, while corrupted geometry may further disturb the learned balance between appearance and geometric features. In future work, we will introduce depth-confidence estimation and uncertainty-aware adaptive fusion, allowing the model to suppress unreliable geometric cues and fall back to RGB features when necessary. We will also incorporate depth-corruption augmentation during training to improve robustness under low light, adverse weather, clutter, and small-target scenarios.
P. Fair Comparison with Depth-Enhanced Baselines
As shown in Table X, to isolate the contribution of our architectural innovations from that of the MLLM backbone, we integrate GPE and DHFI into LISA while retaining the same LLaVA-v1 7B backbone. The controlled gains are smaller than the headline improvements in the main comparison because
| Method | MLLM | Val | Test | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Overall | Short Query | Long Query | Overall | ||||||
| gIoU | cIoU | gIoU | cIoU | gIoU | cIoU | gIoU | cIoU | ||
| OVSeg [54] | - | 28.5 | 18.6 | 18.0 | 15.5 | 28.7 | 22.5 | 26.1 | 20.8 |
| ReLa [41] | - | 22.4 | 19.9 | 17.6 | 15.0 | 22.6 | 23.8 | 21.3 | 22.0 |
| X-Decoder [42] | - | 22.6 | 17.9 | 20.4 | 11.6 | 22.2 | 17.5 | 21.7 | 16.3 |
| SEEM [43] | - | 25.5 | 21.2 | 20.1 | 11.5 | 25.6 | 20.8 | 24.3 | 18.7 |
| Grounded-SAM [44] | - | 26.0 | 14.5 | 17.8 | 10.8 | 22.4 | 18.6 | 21.3 | 16.4 |
| LLaVA-7B + OVSeg | LLaVA-NeXT-7B | 38.2 | 23.5 | 24.2 | 18.7 | 44.6 | 37.1 | 39.7 | 31.8 |
| LLaVA-7B + CoT + OVSeg | LLaVA-NeXT-7B | 42.1 | 26.6 | 27.5 | 19.6 | 44.6 | 40.2 | 40.4 | 34.0 |
| LISA-7B [1] | LLaVA-v1 7B | 44.4 | 46.0 | 37.6 | 34.4 | 36.6 | 34.7 | 36.8 | 34.1 |
| LISA-7B (ft) [1] | LLaVA-v1 7B | 52.9 | 54.0 | 40.6 | 40.6 | 49.4 | 51.0 | 47.3 | 48.4 |
| LISA-7B [1] | LLaVA-1.5 7B | 53.6 | 52.3 | 47.1 | 48.5 | 49.2 | 48.9 | 48.7 | 48.8 |
| LISA-7B (ft) [1] | LLaVA-1.5 7B | 61.3 | 62.9 | 48.3 | 46.3 | 57.9 | 59.7 | 55.6 | 56.9 |
| LISA++-7B (ft) [93] | LLaVA-1.5 7B | 64.2 | 68.1 | 49.6 | 51.1 | 59.3 | 61.7 | 57.0 | 59.5 |
| PixelLM [45] | LLaVA-v1 7B | 44.4 | 32.1 | - | - | - | - | 41.1 | 38.1 |
| M²SA-7B [22] | LLaVA-v1 7B | 30.5 | 35.2 | - | - | - | - | 24.7 | 28.0 |
| Seg-R1 [47] | Qwen2.5-VL 7B | 58.6 | 41.2 | - | - | - | - | 56.7 | 53.7 |
| SegAgent [46] | Qwen-VL 7B | 34.4 | 28.7 | - | - | - | - | 34.5 | 31.2 |
| RSVP-LLaVA [94] | LLaVA-NeXT-7B | 59.2 | 56.7 | 47.9 | 42.0 | 58.4 | 53.0 | 55.9 | 50.7 |
| RSVP-Qwen [94] | Qwen2-VL 7B | 58.6 | 48.5 | 48.5 | 44.3 | 57.1 | 53.8 | 56.6 | 51.6 |
| RSVP-Gemini [94] | Gemini-Flash | 56.9 | 49.2 | 47.3 | 40.2 | 60.2 | 65.6 | 57.1 | 59.2 |
| RSVP-GPT [94] | GPT-4o | 64.7 | 63.1 | 55.4 | 50.4 | 61.9 | 62.5 | 60.3 | 60.0 |
| ConverSeg-Net [48] | Qwen2.5-VL 3B | 56.4 | - | 53.8 | - | 51.7 | - | 52.2 | - |
| DSRS-Net | LLaVA1.5 7B | 53.9 | 57.7 | 40.6 | 34.8 | 57.0 | 63.8 | 54.5 | 56.8 |
| DSRS-Net (ft) | LLaVA1.5 7B | 54.1 | 60.5 | 43.2 | 40.2 | 58.7 | 64.0 | 55.0 | 58.1 |
| DSRS-Net | InternVL2.5 8B | 57.0 | 57.2 | 51.6 | 46.1 | 63.4 | 68.8 | 60.5 | 63.3 |
| DSRS-Net (ft) | InternVL2.5 8B | 62.5 | 66.8 | 54.6 | 51.1 | 68.6 | 74.9 | 65.2 | 69.4 |
TABLE XII
SUPPLEMENTARY COMPARISON ON THE REASONSEG BENCHMARK UNDER DIFFERENT QUERY LENGTHS.
| Methods | Spatial Relations | Potential Risks | Challenging Conditions | Traffic Rules | Overall | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Obstacle | Road Defect | Traffic Accident | Complex Terrain | Light Condition | Weather Condition | Bicycle Lane | Bus Lane | Crosswalk | Traffic Lane | Traffic Light | Traffic Sign | |||
| PixelLM [45] | 53.0 | 27.9 | 10.4 | 65.4 | 55.5 | 53.0 | 35.2 | 55.3 | 50.3 | 47.4 | 64.0 | 19.2 | 25.4 | 40.1 |
| M²SA [22] | 82.5 | 46.7 | 52.1 | 81.0 | 62.1 | 70.7 | 64.1 | 59.6 | 42.9 | 53.6 | 66.5 | 43.9 | 42.8 | 57.5 |
| SegAgent [46] | 80.5 | 17.4 | 0.4 | 80.9 | 47.1 | 58.7 | 33.7 | 22.8 | 6.4 | 20.4 | 32.9 | 12.6 | 16.7 | 30.3 |
| ConverSeg-Net [48] | 83.1 | 45.2 | 2.0 | 86.5 | 74.0 | 66.1 | 62.7 | 25.0 | 21.2 | 32.1 | 49.9 | 48.4 | 46.3 | 47.9 |
| DSRS-Net (Ours) | 85.0 | 58.8 | 41.5 | 86.5 | 77.8 | 77.9 | 66.5 | 80.9 | 70.4 | 72.6 | 74.5 | 53.6 | 57.3 | 71.2 |
TABLE XIII
PER-CATEGORY RESULTS ON THE DSRS DATASET.
the backbone advantage is removed. Even under this stricter setting, DSRS-Net raises test gIoU from 30.5 to 34.2 in zero-shot evaluation and from 56.8 to 61.0 after fine-tuning. These positive results show that depth-aware geometric modeling and hierarchical feature interaction remain effective independently of backbone strength. The fine-tuned test cIoU also rises from 55.1 to 65.0, providing further evidence that our method improves mask quality under a matched backbone.
Q. Computational Efficiency and Deployment Analysis
We evaluate the computational efficiency of DSRS-Net with both LLaVA1.5-7B and InternVL2.5-8B backbones. Both model variants are tested on an A800 GPU with batch size one. The relative depth maps are generated and tested in advance using Depth Anything V2-Large on an RTX 3090 GPU. We report the total and trainable parameters, floating-point operations (FLOPs), end-to-end inference latency, throughput, and peak GPU memory. Latency is averaged over 100 inference runs after 10 warm-up runs, and throughput is measured without data-loading time. Since the relative-depth maps are generated offline by Depth Anything V2, depth estimation is excluded from the online latency and memory measurements. The reported overhead therefore reflects the deployable reasoning-segmentation network itself.
As shown in Table XI, the LLaVA1.5 configuration provides
| RGB Branch | Depth CLIP Branch | GPE | DHFI | gIoU | cloU | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Run 1 | Run 2 | Run 3 | Mean±Std | Run 1 | Run 2 | Run 3 | Mean±Std | ||||
| ✓ | 52.82 | 53.18 | 53.00 | 53.00±0.18 | 50.66 | 50.18 | 50.42 | 50.42±0.24 | |||
| ✓ | ✓ | 55.04 | 55.46 | 55.25 | 55.25±0.21 | 52.12 | 51.95 | 52.29 | 52.12±0.17 | ||
| ✓ | ✓ | 37.66 | 37.12 | 37.39 | 37.39±0.27 | 36.48 | 36.67 | 36.86 | 36.67±0.19 | ||
| ✓ | ✓ | 53.42 | 53.28 | 53.14 | 53.28±0.14 | 54.88 | 55.32 | 55.10 | 55.10±0.22 | ||
| ✓ | ✓ | ✓ | 55.24 | 55.40 | 55.56 | 55.40±0.16 | 57.10 | 56.84 | 56.97 | 56.97±0.13 | |
TABLE XIV
COMPONENT-WISE ABLATION RESULTS OVER THREE INDEPENDENT RUNS ON THE DSRS DATASET. ±STD DENOTES THE SAMPLE STANDARD DEVIATION ACROSS THE THREE RUNS.

Fig. 17. Qualitative results of depth quality analysis for targets with small spatial extent.
a lighter deployment option, whereas the InternVL2.5 configuration targets stronger reasoning performance with a larger computational budget. The comparison enables practitioners to select a suitable configuration according to available memory and latency constraints. Moreover, offline depth generation avoids introducing an additional depth-estimation network into the online inference path, making DSRS-Net applicable to systems in which relative-depth maps can be precomputed or supplied by an independent perception module.
R. Additional Comparison on the ReasonSeg Benchmark
Table XII further analyzes performance with respect to query length. For short queries, DSRS-Net-InternVL2.5 (ft) achieves 54.6 gIoU and 51.1 cloU, improving the gIoU of
| Contextual Features | Geometric Features | Fusion Strategies | gIoU | cIoU |
|---|---|---|---|---|
| ✓ | Self-Attention | 44.56 | 44.08 | |
| ✓ | ✓ | Element-wise Summation | 50.47 | 51.12 |
| ✓ | ✓ | Channel-wise Concatenation | 51.09 | 51.86 |
| ✓ | ✓ | Cross-Attention | 52.78 | 54.05 |
| ✓ | ✓ | 55.40 | 56.97 |
TABLE XV
ABLATION STUDIES ON THE DHFI STRATEGY.
LISA++ by 5.0 points while matching its cloU, and remaining competitive with the strongest RSVP-GPT result. The advantage becomes substantially larger for long queries. DSRS-Net-InternVL2.5 (ft) reaches 68.6 gIoU and 74.9 cloU, outperforming LISA++ by 9.3 and 13.2 points and RSVP-GPT by 6.7 and 12.4 points, respectively. This pattern indicates that DSRS-Net is particularly effective for long, compositional instructions that require multi-step semantic reasoning, spatial-relation understanding, and precise grounding of the inferred target. We attribute this strength to the explicit interaction between contextual appearance features and geometric priors, which helps preserve target-relevant spatial evidence throughout complex reasoning. Consequently, DSRS-Net obtains the best overall test performance of 65.2 gIoU and 69.4 cloU, demonstrating its advantage in resolving complex queries without sacrificing performance on concise instructions.
S. Per-Category Results on the DSRS Dataset
Table XIII shows that DSRS-Net achieves the best overall gIoU of 71.2, demonstrating broad gains across different driving-scene reasoning categories. The model is particularly effective at spatial relations, traffic accidents, complex terrain, and adverse illumination, where correct predictions require jointly reasoning about scene context and geometric layout. It also performs strongly on traffic-rule categories involving spatially structured regions, including bicycle lanes, bus lanes, crosswalks, and traffic lanes, indicating that geometric priors help associate implicit functional descriptions with the correct road areas. Nevertheless, substantial room for improvement remains for road defects, traffic lights, traffic signs, and obstacles. Road defects often exhibit weak depth and appearance contrast with the surrounding road, while traffic lights and signs occupy very small regions and require fine-grained recognition of state, shape, and semantics. Weather conditions also remain challenging because rain and fog simultaneously degrade visual details and depth quality. Future work should therefore strengthen small-object representation, boundary refinement, uncertainty-aware geometric fusion, and category-specific reasoning for ambiguous or visually degraded targets.
T. Additional Ablation Studies
As a further analysis of the ablation results reported in the main text, we examine how geometric priors and feature-interaction strategies contribute to DSRS-Net. As shown in Table XIV, we first feed the depth map into the CLIP-based vision encoder alongside the RGB image, resulting in a limited increase of 1.70% in cIoU compared to that of the RGB-only baseline. We attribute this phenomenon to the RGB-only pretraining mechanism of the MLLM, which renders it incapable of leveraging prior knowledge to effectively process geometric features. As discussed earlier, scene inference requires a specific mechanism to align geometric features with their underlying contextual representations. By incorporating the proposed GPE and DHFI modules, we observe a significant positive performance improvement in driving scene reasoning segmentation. Notably, gIoU and cIoU increase by 1.4% and 6.6%, respectively. These findings lend further support to our hypothesis stated earlier.
As observed, the improvement cannot be achieved without the contribution of the GPE module, which leads to an increase of approximately 2.1% in gIoU. However, when the GPE module is applied without the support of an interaction mechanism, performance significantly degrades to 36.7% in cIoU. This performance degradation likely arises from the representational incompatibility between the geometric features and the contextual features, thereby causing integration conflicts within the LLM. The effectiveness of the convolutional GPE module is significantly enhanced only when it follows the DHFI module. These experimental results underscore that the successful utilization of geometric features depends critically on both their effective extraction and proper alignment with contextual information.
As shown in Table XV, to investigate the most effective structure for the DHFI strategy, we substitute the basic blocks with alternatives. We first construct baseline architectures utilizing self-attention blocks exclusively on geometric features. As expected, such a baseline architecture fails to achieve performance comparable to other fusion strategies. We then investigate the effectiveness of aligning geometric features with contextual vision features. It is evident that simple fusion strategies such as element-wise summation and channel-wise concatenation yield limited performance improvements, while attention-based strategies significantly improve the framework's reasoning performance. Specifically, our proposed module achieves an increase of 2.6% in gIoU and 2.9% in cIoU compared to the deformable cross-attention strategy. These results demonstrate the efficacy of depth-aware offsets in guiding the model to focus more on
contextually and geometrically relevant regions during the feature interaction process.
We compare the proposed DSRS-Net with existing language-driven segmentation networks on the DSRS dataset. Qualitative results are provided in Figs. 18 and 19 of the supplementary material. The evaluated scenarios are visually complex and involve multiple aspects, including spatial relations, potential risks, challenging conditions, and traffic rules. Moreover, the referred segmentation targets are highly diverse, encompassing a wide range of objects commonly encountered in driving scenes.
As illustrated in Figs. 18 and 19, it is evident that our proposed DSRS significantly outperforms existing approaches in driving scene reasoning segmentation. When the text query refers to the function of an object rather than its explicit appearance, most competing approaches struggle to associate it with the correct visual target. Furthermore, the performance gap becomes even more pronounced under challenging environmental conditions. For instance, as shown in the second example of Fig. 18 in the supplementary material, although scene visibility is reduced due to rain, DSRS accurately localizes the traffic light and yields accurate segmentation results. In contrast, other methods misidentify small twinkling elements as traffic lights and struggle to extract accurate object boundaries. Moreover, in scenarios involving multiple visually similar candidates that necessitate deep reasoning, as illustrated in the third example of Fig. 19 in the supplementary material, our method demonstrates superior inference capabilities and robustness.

Fig. 18. Qualitative comparisons between DSRS-Net and existing language-driven segmentation networks on the DSRS dataset, where ground-truth areas are highlighted with white dashed boxes and wrong areas are highlighted with red dashed circles.
Q: It's important to be aware of our surroundings when we drive on the road. Can you identify the closest car to the camera driving on the road?
Text Query
RGB Image
Depth Image
DSRS-Net (Ours)
RelLA
X-Decoder
SEEM
Grounded SAM
LISA
GSVA
PixelLM
M²SA
SegAgent
Seg-R1
CONVERSEG-NET
Ground Truth
Q: Isolate the traffic control sign that has the word "stop" on it in this image.
Text Query
RGB Image
Depth Image
DSRS-Net (Ours)
RelLA
X-Decoder
SEEM
Grounded SAM
LISA
GSVA
PixelLM
M²SA
SegAgent
Seg-R1
CONVERSEG-NET
Ground Truth
Q: Please identify the highest traffic light relevant to the through lane.
Text Query
RGB Image
Depth Image
DSRS-Net (Ours)
RelLA
X-Decoder
SEEM
Grounded SAM
LISA
GSVA
PixelLM
M²SA
SegAgent
Seg-R1
CONVERSEG-NET
Ground Truth
Q: Can you identify the weight limit sign on the street?
Text Query
RGB Image
Depth Image
DSRS-Net (Ours)
RelLA
X-Decoder
SEEM
Grounded SAM
LISA
GSVA
PixelLM
M²SA
SegAgent
Seg-R1
CONVERSEG-NET
Ground Truth
Fig. 19. Qualitative comparisons between DSRS-Net and existing language-driven segmentation networks on the DSRS dataset.