Boosting Single-Domain Generalized Object Detection via Vision-Language Knowledge Interaction Xiaoran Xu, Jiangang Yang, Wenyue Chong, Wenhui Shi, Shichu Sun, Jing Xing, Jian Liu Abstract . Single-Domain Generalized Object Detection (S-DGOD) aims to train an object detector on a single source domain while generalizing well to diverse unseen target domains, making it suitable for multimedia applications that involve various domain shifts, such as intelligent video surveillance and VR/AR technologies. With the success of large-scale Vision-Language Models, recent S-DGOD approaches exploit pre-trained vision-language knowledge to guide invariant feature learning across visual domains. However, the utilized knowledge remains at a coarse-grained level (e.g., the textual description of adverse weather paired with the image) and serves as an implicit regularization for guidance, struggling to learn accurate region- and object-level features in varying domains. In this work, we propose a new cross-modal feature learning method, which can capture generalized and discriminative regional features for S-DGOD tasks. The core of our method is the mechanism of Cross-modal and Region-aware Feature Interaction, which simultaneously learns both inter-modal and intra-modal regional invariance through dynamic interactions between fine-grained textual and visual features. Moreover, we design a simple but effective strategy called Cross-domain Proposal Refining and Mixing, which aligns the position of region proposals across multiple domains and diversifies them, enhancing the localization ability of detectors in unseen scenarios. Our method achieves new state-of-the-art results on S-DGOD benchmark datasets, with improvements of +8.8% mPC on Cityscapes-C and +7.9% mPC on DWD over baselines, demonstrating its efficacy. Figure 1 . This figure provides a high-level comparison of three distinct strategies in S-DGOD. Different shapes in the figure mean different regions. (a) Vision-only methods; (b) VLM-based methods; (c) Our method. 1. INTRODUCTION With the advance of deep learning, object detection has achieved tremendous progress during the last decade, serving as a fundamental component in various multimedia applications such as video scene understanding, cross-modal retrieval, and Virtual Reality (VR) ( Feichtenhofer et al. 2017 ; Donahue et al. 2015 ; Karpathy and Fei-Fei 2015 ; Whelan et al. 2016 ; Newcombe et al. 2011 ) . Despite their success, the generalization ability of object detectors still faces significant challenges, as numerous studies have demonstrated their substantial performance degradation on out-of-distribution (OOD) data ( Hendrycks and Dietterich 2018 ; Hendrycks and Dietterich 2019 ; Zhou et al. 2022a ) . For instance, an object detector trained for identifying pedestrians in urban environments performs well in clear weather but struggles in heavy rain and fog. To address the OOD issue, Single-Domain Generalized Object Detection (S-DGOD) has emerged as a promising direction, which focuses on training object detectors within a single domain while improving their generalization across multiple unseen domains with the distribution shift ( Wu and Deng 2022 ; Vidit et al. 2023 ; Lee et al. 2024 ) . Existing S-DGOD approaches can be categorized into two types: Vision-only paradigms and Vision-Language-Model-based (VLM-based) paradigms. Vision-only paradigms primarily utilize multi-scale visual information to develop techniques such as data augmentation ( Lee et al. 2024 ; Xu et al. 2024 ; Danish et al. 2024 ) , contrastive learning ( Lee et al. 2024 ; Danish et al. 2024 ) , and causal modeling ( Liu et al. 2024 ) , which reduce the distribution discrepancies between source and target domains within the vision-based feature space, as shown in Fig. 1 (a). PhysAug ( Xu et al. 2024 ) simulates real-world domain shifts to augment visual training data, achieving state-of-the-art performance on S-DGOD tasks. In contrast, VLM-based methods leverage pre-trained knowledge from vision-language models to design implicit regularization, facilitating domain-invariant features in the vision-based latent space, as shown in Fig. 1 (b). CLIP the Gap ( Vidit et al. 2023 ) is the pioneer in using VLMs for S-DGOD, which utilizes scene prompts (e.g. an image taken on a fog night) to perform semantic augmentations on vision-based features. Another work exploits scene prompts as implicit guidance to dynamically extract vision-based features in response to varying scenes ( Li et al. 2024 ) . However, such approaches suffer from two limitations. First, their reliance on scene-level pre-trained knowledge is insufficient for learning the region-level feature invariance for accurate detection. Second, the inherent vision-language correlations, such as the correspondence between object regions and textual descriptions, are not explicitly leveraged to enhance the learning domain-invariant features. In this paper, we propose a new cross-modal feature learning method, which enhances the generalization and discrimination of region-level features for S-DGOD tasks. Specifically, we introduce the Cross-modal and Region-aware Feature Interaction (CRFI) mechanism. Different from prior VLM-based methods, CRFI explicitly models the inherent correlation between region-level visual content (e.g., an image crop of a pedestrian) and textual descriptions (e.g., a prompt of ’a pedestrian on a sunny day’) within a joint image-text feature space. Building upon the correlation modeling and domain-invariant properties of VLMs, CRFI further enables dynamic interactions between visual features and textual features during training, thereby promoting both intra-modal and inter-modal regional feature invariance. Moreover, we introduce a new strategy called Cross-domain Proposal Refining and Mixing (CPRM) for better localization. CPRM simultaneously aligns and diversifies the position of region proposals across multiple domains, enhancing the localization ability of detectors in unseen domains. We evaluate our proposed method on two popular S-DGOD benchmarks: Cityscapes-C and DWD. Experimental results demonstrate significant performance gains, improving by 8.8% mPC on Cityscapes-C and 7.9% mPC on DWD over the baseline method. Notably, our approach outperforms both existing Vision-only and VLM-based methods, establishing new state-of-the-art performance. The main contributions of our work are as follows: • We propose a novel cross-modal feature learning method that enhances the generalization and discrimination of region-level features for S-DGOD tasks. This approach effectively bridges visual and textual modalities to enhance object detection across diverse unseen domains. • We introduce the Cross-modal and Region-aware Feature Interaction mechanism, which explicitly promotes dynamic interactions between region-level visual and textual features, ensuring robust intra- and inter-modal features. • We design the Cross-domain Proposal Refining and Mixing strategy, which signs and diversifies region proposals to enhance the localization accuracy of detectors. • Our method achieves state-of-the-art performance on the DWD and Cityscapes-C benchmarks, surpassing previous approaches with significant gains. 2. RELATED WORK 2.1. Single Domain Generalized Object Detection In recent years, Single Domain Generalized Object Detection (S-DGOD) has emerged as a hot research direction to address the robustness challenges in real-world vision systems. The community has witnessed promising progress through diverse methodological avenues. Vision-only methods usually employ augmentation strategies ( Zhou et al. 2022a ; Shorten and Khoshgoftaar 2019 ; Zhao et al. 2020 ; Rebuffi et al. 2021 ; Modas et al. 2022 ; Vaish et al. 2024 ; Zhang et al. 2017 ; DeVries and Taylor 2017 ; Hendrycks et al. 2019 ; Cubuk et al. 2020 ) to improve model robustness against domain shifts. OA-DG ( Lee et al. 2024 ) utilizes object-aware data augmentation with contrastive loss, effectively decoupling ROI features from irrelevant background regions. DivAlign ( Danish et al. 2024 ) advances this paradigm by harmonizing domain diversity expansion with task-aware loss calibration. Physics-inspired frameworks like PhysAug ( Xu et al. 2024 ) further expand the scope by leveraging the material reflectance principle. Moreover, significant progress has also been made in Vision-only methods’ model architecture design, particularly through innovations like CDSD ( Wu and Deng 2022 ) and G-NAS ( Wu et al. 2024 ) . Cyclic self-decoupling (CDSD) demonstrates notable efficacy against texture-level domain shifts through reconstruction-guided feature disentanglement, and gradient-aware neural search (G-NAS) achieves model-adaptive architecture for style scenarios by adaptively optimizing network topology. Concurrently, Vision-Language Model (VLM)-based methods leverage semantic augmentation techniques to enhance cross-modal feature diversity. By employing textual and visual knowledge through CLIP-driven prompting mechanisms ( Vidit et al. 2023 ; Fahes et al. 2023 ) , these approaches synthesize domain-adaptive representations, and environmental text prompts are encoded to perturb image embeddings, thereby simulating diverse weather conditions and lighting variations. The above methods either design various constraints based on visual knowledge or utilize scene-level textual information to guide domain-invariant learning in image feature space. In contrast, our work focuses on the interactions between visual features and textual features, fully using detailed textual information to separate domain differences and obtain cross-modal domain-invariant representations for detection. 2.2. Vision-Language Models for Domain Generalization Joint vision-language representation learning has achieved remarkable progress through contrastive text-image alignment ( Radford et al. 2021 ; Desai and Johnson 2021 ) , which has unlocked novel approaches for domain generalization through their inherent text-image alignment capabilities. Works like DetCLIP ( Yao et al. 2022 ) and DenseCLIP ( Rao et al. 2022 ) exploit CLIP’s semantic alignment capabilities to refine region-level image features via textual prompts, while CLIPGap ( Vidit et al. 2023 ) and CLIP-Cluster ( Shen et al. 2023 ) mitigate domain gaps by aligning task-specific features with CLIP’s global embeddings. These approaches primarily focus on leveraging correlational links between text and image features to enhance open-vocabulary detection or domain-invariant classification. Text prompt tuning methods ( Zhou et al. 2022c ; Zhou et al. 2022b ) address this limitation by learning continuous prompt vectors to adapt CLIP embeddings to target tasks dynamically. Nevertheless, current adaptive methods are mainly focused on optimizing statistical correlations, but they do not explicitly establish mechanisms for the interaction between prompt semantics and cross-domain invariant image features. In comparison, our work introduces a text-image invariance learning paradigm that establishes robust links between textual prompts and invariant image features. 3. METHODOLOGY 3.1. Problem Setting Single-domain Generalization for Object Detection (S-DGOD) seeks to train an object detector F on a single labeled source domain D_{s}=\{(x_{i}^{s},y_{i}^{s})\}_{i=1}^{N_{s}} , where x_{i}^{s} represents input images and y_{i}^{s} denotes corresponding labels, and enable robust performance across multiple unseen target domains M=\{D_{t}^{1},D_{t}^{2},\cdots,D_{t}^{k}\} , with each D_{t}^{n}=\{(x_{i}^{t})\}_{i=1}^{N_{t}} containing unlabeled images ( Wu and Deng 2022 ) . Here, N_{s} and N_{t} denote the sizes of the source and target datasets, respectively. The primary challenge arises from the distribution shift between D_{s} and the target domains in M , driven by variations in scene composition, object appearance, lighting, weather, and image quality ( Wang et al. 2021 ) . This shift degrades the performance of the detector F trained only on D_{s} when applied to D_{t}^{n}\in M . Thus, S-DGOD requires detector F to learn domain-invariant representations for robust generalization to unseen target domains without their data during training. Formally, the objective is to maximize the detection performance across the target domains: (1) \max_{F}\mathbb{E}_{D_{t}^{n}\sim M}\left[\text{mAP}(F,D_{t}^{n})\right], where \text{mAP}(F,D_{t}^{n}) represents the mean Average Precision, averaging the precision-recall performance across all object classes for detector F on target domain D_{t}^{n} . 3.2. Overview Our proposed cross-modal feature learning method for S-DGOD tasks integrates two pivotal components: the Cross-modal and Region-aware Feature Interaction (CRFI) mechanism and the Cross-domain Proposal Refining and Mixing (CPRM) strategy. CRFI models the interactions among multiple regions by leveraging cross-domain image information and cross-modal image-text relationships. Through these interactions, CRFI dynamically clusters regions of the same category across different modalities and domains while enforcing greater feature separation between regions of different categories, ensuring more discriminative and domain-invariant representations. To further enhance object localization performance in domain-specific environments, CPRM, which is inherently complementary to CRFI, refines region proposal positions across clean and augmented domains and mixes them to capture diverse structural and semantic variations, enabling the detector to accurately and consistently localize objects across a wide range of unseen scenarios. In the following sections, we provide a detailed explanation of each component of our framework. Figure 2 . This figure illustrates our CRFI, which extracts multi-region invariant features through text-image interaction. 3.3. Cross-modal and Region-aware Feature Interaction The illustration of Cross-modal and Region-aware Feature Interaction is shown in Fig. 2 . To introduce domain discrepancies between the image and text domains under complex environments, we first employ data augmentation techniques to simulate domain distributions in noisy conditions. Additionally, the prompts template P is adapted based on whether the regions are clean or augmented, denoted as P_{ori} and P_{aug} , respectively. To achieve text-image interactions at different regions, including both object and background regions, we introduce a selection strategy that ensures a balanced mapping between textual and visual features, as is shown in Algorithm 1 . Given an input image with multiple object instances across different categories, we select representative object regions per unique category and a background region. The background region is explicitly chosen from areas without any foreground objects, ensuring that it represents background context rather than specific object information. In parallel, we convert the corresponding object labels and background descriptions into prompts. Algorithm 1 Multi-Region Text-Image Selection 1: Batch of Images: \mathcal{I}=\{(x_{i}^{s},y_{i}^{s})\}_{i=1}^{N}\in D_{S} . Prompts Template P 2: Aggregated sets O,B,C_{obj},C_{bg} 3: Initialize O,B,C_{obj},C_{bg} as empty sets 4: for all I\in\mathcal{I} do 5: for all c\in U(I) do \triangleright U(I) : unique categories in I 6: o^{*}_{c}\leftarrow\text{select}(\{o\in I:\text{category}(o)=c\}) 7: O\leftarrow O\cup\{o^{*}_{c}\} , C_{obj}\leftarrow C_{O}\cup\{c\} 8: end for 9: B\leftarrow B\cup\text{selectBackground}(I) 10: C_{bg}\leftarrow C_{bg}\cup\{\text{"background"}\} 11: end for 12: return O,B,P(C_{obj}),P(C_{bg}) Figure 3 . This figure illustrates our CPRM, which enables RPN to increasingly localize domain-invariant proposals across domains as training proceeds. Through the multi-region text-image selection strategy, the regions we get are stacked within each image and aggregated across the batch. The regions O , B are then processed by the backbone to extract different regions’ features. Additionally, we generate text features from textual prompts P(C_{O}) , P(C_{B}) . We express the relevant regions’ features obtained from both augmented and clean images as follows: (2) \begin{array}[]{ll}\begin{cases}T^{s}_{\text{obj}}=g\left(P_{ori}(C_{obj})\right),&T^{t}_{\text{obj}}=g\left(P_{aug}(C_{obj})\right)\\ I^{s}_{\text{obj}}=f\left(O_{ori}\right),&I^{t}_{\text{obj}}=f\left(O_{aug}\right)\end{cases}\\ \begin{cases}T^{s}_{\text{bg}}=g\left(P_{ori}(C_{bg})\right),&T^{t}_{\text{bg}}=g\left(P_{aug}(C_{bg})\right)\\ I^{s}_{\text{bg}}=f\left(B_{ori}\right),&I^{t}_{\text{bg}}=f\left(B_{aug}\right)\end{cases}\end{array} In Eq. 2 , g denotes the frozen CLIP text encoder, while f represents the backbone of the object detector. The prompts of the different regions before and after augmentation are denoted as P_{ori}(C_{obj}),P_{aug}(C_{obj}),P_{ori}(C_{bg}), and P_{aug}(C_{bg}) , respectively, with their corresponding extracted text features given by T^{s}_{\text{obj}},T^{t}_{\text{obj}},T^{s}_{\text{bg}}, and T^{t}_{\text{bg}} . Similarly, the regions’ images before and after augmentation are represented as O_{ori},O_{aug},B_{ori}, and B_{aug} , with their extracted image features denoted as I^{s}_{\text{obj}},I^{t}_{\text{obj}},I^{s}_{\text{bg}}, and I^{t}_{\text{bg}} . To achieve pairwise interaction between multi-region textual semantics and image features before and after augmentation, we design a series of contrastive losses based on T^{s}_{\text{obj}},T^{t}_{\text{obj}},T^{s}_{\text{bg}}, and T^{t}_{\text{bg}} . as well as I^{s}_{\text{obj}},I^{t}_{\text{obj}},I^{s}_{\text{bg}}, and I^{t}_{\text{bg}} . This interaction facilitates the extraction of domain-invariant features across different regions, ensuring that the model’s representations generalize effectively to new, unseen domains. As illustrated in Fig. 2 , the CRFI models the relationships between different modalities, focusing on learning both inter-modal and intra-modal regional invariance. This knowledge interaction not only aligns textual and visual features at the object region but also integrates contextual information from the background. To achieve multi-region interaction, we employ InfoNCE to compute the text-image losses. Identity labels are constructed for each feature embedding to ensure that it is most similar to its corresponding counterpart while contrasting against negative samples. This strategy encourages clustering of similar regions across text-image pairs, reducing cross-modal and image-domain discrepancies while ensuring that non-similar regions maintain a clear separation. Through multi-region interactions, the model develops a more comprehensive understanding of the scene, allowing it to better disentangle domain-specific variations and enhance feature robustness. The Cross-modal and Region-aware Feature Interaction loss, denoted as \mathcal{L}_{\text{CRFI}} , is formulated as follows: (3) \mathcal{L}_{\text{CRFI}}=\frac{1}{2}[\mathcal{L}_{\{i_{\text{ori}},i_{\text{aug}}\}}+\frac{1}{2}(\mathcal{L}_{\{t_{\text{obj}},i_{\text{obj}}\}}+\mathcal{L}_{\{t_{\text{bg}},i_{\text{bg}}\}})] The \mathcal{L}_{\{i_{\text{aug}},i_{\text{ori}}\}},\mathcal{L}_{\{t_{\text{obj}},i_{\text{obj}}\}},\mathcal{L}_{\{t_{\text{bg}},i_{\text{bg}}\}} in Eq. 3 are given below. In the following equation, \langle,\rangle represents the concatenation of two tensors, \Gamma represents the InfoNCE loss. (4) \displaystyle\mathcal{L}_{\{i_{\text{aug}},i_{\text{ori}}\}} \displaystyle=\text{$\Gamma$}\left(\langle I^{s}_{\text{obj}},I^{s}_{\text{bg}}\rangle,\langle I^{t}_{\text{obj}},I^{t}_{\text{bg}}\rangle\right) (5) \displaystyle\mathcal{L}_{\{{t_{\text{obj}}},i_{\text{obj}}\}} \displaystyle=\frac{1}{2}\left(\text{$\Gamma$}\left(I^{s}_{\text{obj}},T^{s}_{\text{obj}}\right)+\text{$\Gamma$}\left(I^{t}_{\text{obj}},T^{t}_{\text{obj}}\right)\right) (6) \displaystyle\mathcal{L}_{\{{t_{\text{bg}}},i_{\text{bg}}\}} \displaystyle=\frac{1}{2}\left(\text{$\Gamma$}\left(I^{s}_{\text{bg}},T^{s}_{\text{bg}}\right)+\text{$\Gamma$}\left(I^{t}_{\text{bg}},T^{t}_{\text{bg}}\right)\right) Table 1 . Comparison of our method with state-of-the-art approaches on Cityscapes-C. The mPC metric is defined in section 4.1.2. Bold numbers indicate the best results, while underlined values denote the second-best performance. Method Clean Noise Blur Weather Digital mPC Gauss Shot Impulse Defocus Glass Motion Zoom Snow Frost Fog Bright Contrast Elastic Pixel JPEG baseline 42.2 0.5 1.1 1.1 17.2 16.5 18.3 2.1 2.2 12.3 29.8 32.0 24.1 40.1 18.7 15.1 15.4 Cutout 42.5 0.6 1.2 1.2 17.8 15.9 18.9 2.0 2.5 13.6 29.8 32.3 24.6 40.1 18.9 15.6 15.7 PhotoDistort 42.7 1.6 2.7 1.9 17.9 14.1 18.7 2.0 2.4 16.5 36.0 39.1 27.1 39.7 18.0 16.4 16.9 AutoAug 42.4 0.9 1.6 0.9 16.8 14.4 18.9 2.0 1.9 16.0 32.9 35.2 26.3 39.4 17.9 11.6 15.8 AugMix 39.5 5.0 6.8 5.1 18.3 18.1 19.3 6.2 5.0 20.5 31.2 33.7 25.6 37.4 20.3 19.6 18.1 StylizedAug 36.3 4.8 6.8 4.3 19.5 18.7 18.5 2.7 3.5 17.0 30.5 31.9 22.7 33.9 22.6 20.8 17.2 OA-Mix 42.7 7.2 9.6 7.7 22.8 18.8 21.9 5.4 5.2 23.6 37.3 38.7 31.9 40.2 22.2 20.2 20.8 SupCon 43.2 7.0 9.5 7.4 22.6 20.2 22.3 4.3 5.3 23.0 37.3 38.9 31.6 40.1 24.0 20.1 20.9 FSCE 43.1 7.4 10.2 8.2 23.3 20.3 21.5 4.8 5.6 23.6 37.1 38.0 31.9 40.0 23.2 20.4 21.0 OA-DG 43.4 8.2 10.6 8.4 24.6 20.5 22.3 4.8 6.1 25.0 38.4 39.7 32.8 40.2 23.8 22.0 21.8 PhysAug 42.6 14.3 17.0 11.9 25.6 19.1 25.5 3.9 8.6 21.3 35.3 39.5 27.5 39.1 28.9 19.9 22.6 Ours 42.2 17.4 20.5 15.6 26.6 19.7 25.3 4.4 10.0 23.3 39.3 40.0 31.9 39.4 28.7 21.2 24.2 3.4. Cross-domain Proposal Refining and Mixing To further enhance the model’s localization ability, we introduce a simple but effective strategy called Cross-domain Proposal Refining and Mixing (CPRM), which aims to strengthen the model’s ability to localize domain-invariant features across diverse domains. The illustration of Cross-domain Proposal Refining and Mixing (CPRM) is shown in Fig. 3 . To achieve regional localization refinement, the Region Proposal Network (RPN) is used to extract region-of-interest features from both clean and augmented images. Throughout training, the model continuously refines the RPN’s localization capability across both clean and augmented domains, effectively preventing the loss of regions of interest caused by domain shifts and preserving localization consistency across domains. The corresponding \mathcal{L}_{\text{CPRM}} ( \mathcal{L}_{\text{refine}} ) is defined as follows, which serves as a replacement for the RPN-related loss: (7) \mathcal{L}_{\text{CPRM}}=\mathcal{L}_{\text{refine}}=\frac{1}{2}\left(\mathcal{L}_{\text{rpn}}^{\text{aug}}+\mathcal{L}_{\text{rpn}}^{\text{ori}}\right) In addition, CPRM mixes the proposals generated from clean and augmented images, allowing the model to learn consistent region localization across domains by capturing broader structural and semantic variations. The following equation can express the concept of proposal mixing: (8) R_{\text{multi-region}}= The R_{\text{multi-region}},R_{\text{region}}^{\text{ori}} , and R_{\text{region}}^{\text{aug}} in Eq. 8 represent the ROIs produced by CPRM, the ROIs from the clean image, and the ROIs from the augmented image, respectively. The R_{multi-region} will be forwarded to the next training stage. Mixing proposals from clean and augmented views encourages the model to focus on domain-invariant cues, thus enhancing its generalization to unseen target domains. In general, CPRM refines the localization of regions across clean and augmented images, ensuring consistent region positioning. Meanwhile, the CRFI ensures consistent semantic relationships between text and image regions, making the features domain-invariant. These techniques complement each other by aligning semantic features across modals and domains and refining region localization, improving both feature extraction and object detection robustness across diverse domains. The overall optimization is driven by ROI loss \mathcal{L}_{\text{roi}} , Cross-modal and Region-aware Feature Interaction loss \mathcal{L}_{\text{CRFI}} , and Cross-domain Proposal Refining and Mixing loss \mathcal{L}_{\text{CPRM}} , enhancing domain generalization. The complete loss formulation \mathcal{L} is defined as follows, where \alpha is a hyperparameter. (9) \mathcal{L}=\mathcal{L}_{\text{roi}}+\mathcal{L}_{\text{CPRM}}+\alpha*\mathcal{L}_{\text{CRFI}} Table 2 . Comparison with state-of-the-art Vision-only and VLM-based methods on the Diverse Weather Dataset (DWD). The mPC metric is defined in section 4.1.2. Bold numbers represent the highest performance in each column, and underlined numbers indicate the second-highest rank. Method Daytime Sunny Night Sunny Dusk Rainy Night Rainy Daytime Foggy mPC Baseline 50.4 37.5 29.2 14.6 33.1 30.2 Vision-only Methods IBN-Net 49.7 32.1 26.1 14.3 29.6 25.5 SW 50.6 33.4 26.3 13.7 30.8 26.1 IterNorm 43.9 29.6 22.8 12.6 28.4 23.4 ISW 51.3 33.2 25.9 14.1 31.8 26.3 SHADE – 33.9 29.5 16.8 33.4 28.4 CDSD 56.1 36.6 28.2 16.6 33.5 28.7 SRCD – 36.7 28.8 17.0 35.9 29.6 OA-Mix 56.4 38.6 33.8 14.8 38.1 31.3 OA-DG 55.8 38.0 33.9 16.8 38.3 31.8 Div 50.6 39.4 37.0 22.0 35.6 33.5 DivAlign 52.8 42.5 38.1 24.1 37.2 35.5 UFR 58.6 40.8 33.2 19.2 39.6 33.2 PhysAug 60.2 44.9 41.2 23.1 40.8 37.5 VLM-based Methods CLIP-Gap 51.3 36.9 32.3 18.7 38.5 31.6 Li’s 53.6 38.5 33.7 19.2 39.1 32.6 VLTDet 60.5 44.6 38.4 22.1 42.3 36.9 Ours 59.8 45.0 41.3 23.8 42.1 38.1 4. EXPERIMENTS In this section, we present the benchmarks and experimental setup used to evaluate our approach. We will showcase the results across different single-domain generalization object detection benchmarks and provide detailed ablation studies. 4.1. Setting Up 4.1.1. Datasets Our evaluations are conducted on Cityscapes-C ( Hendrycks and Dietterich 2019 ) and Diverse Weather Dataset (DWD) ( Wu and Deng 2022 ) , benchmarks designed to systematically assess the robustness of object detection models under diverse image degradations. Cityscapes-C is generated by applying 15 different corruption types, each with five severity levels, to the validation set of Cityscapes ( Michaelis et al. 2019 ) . These corruptions are grouped into four major categories: Noise, Blur, Digital, and Weather-related distortions. The dataset provides a controlled evaluation setting for measuring a model’s ability to generalize across real-world degradation factors. Following S-DGOD protocols, we use the training set of Cityscapes as the source domain, while corrupted versions of the validation set serve as unseen target domains for evaluation. In addition to synthetic corruptions, we choose the DWD, a real-world urban-scene detection dataset collected from multiple autonomous driving benchmarks ( Yu et al. 2020 ; Sakaridis et al. 2018 ; Hassaballah et al. 2020 ) . By evaluating our approach on both Cityscapes-C and DWD, we provide a comprehensive assessment of its effectiveness across both synthetic corruptions and real-world weather variations, ensuring robustness to diverse domain shifts. 4.1.2. Evaluation Metrics To assess the performance of our method on the clean domain, we use mean average precision (mAP), following the guidelines established by Michaelis et al. ( Michaelis et al. 2019 ) . In addition, we introduce the mean performance under corruption (mPC) metric, as defined by Lee et al. ( Lee et al. 2024 ) , to evaluate performance across corrupted domains. The mPC provides an aggregate measure of mAP performance over various corruptions and severity levels, and is calculated as follows: (10) mPC=\frac{1}{N_{C}}\sum_{C=1}^{N_{C}}\left(\frac{1}{N_{S}}\sum_{S=1}^{N_{S}}P_{C,S}\right), where P_{C,S} refers to the mAP of the target domain under corruption C at severity level S . The parameters N_{C} and N_{S} represent the number of corruption types and severity levels, respectively. For Cityscapes-C, N_{C} is 15 and N_{S} is 5, while for DWD dataset, N_{C} is 4 and N_{S} is 1 4.1.3. Implementation In the experiments, our configurations all align with those in CDSD, OA-DG, and Physaug. In CRFI, we apply random color and frequency transformations for data augmentation, as detailed in the supplementary material. For experiments on the Cityscapes-C dataset, we utilize Faster R-CNN ( Ren et al. 2015 ) with a ResNet50 ( He et al. 2016 ) backbone and incorporate feature pyramid networks (FPN) ( Lin et al. 2017 ) . The learning rate is set to 0.01 , and we use a batch size of 8 . The optimizer is SGD, with a momentum of 0.9 and a weight decay of 0.0001 . For the DWD dataset, we use Faster R-CNN ( Ren et al. 2015 ) with a ResNet101 ( He et al. 2016 ) backbone as the model. We use the SGD optimizer with a momentum of 0.9 and a weight decay of 0.0001 . The learning rate is set to 0.001 , with a batch size of 2 . In our implementation, the CLIP text encoder employs a ResNet101 backbone, and we set \alpha values to 0.01 and 0.03 for the respective experiments. All other configurations align with those in CDSD ( Wu and Deng 2022 ) , OA-DG ( Lee et al. 2024 ) , and Physaug ( Xu et al. 2024 ) . All experiments are conducted on two NVIDIA A100 GPUs. Figure 4 . The visualizations of the baseline, PhysAug, and our model on the Cityscapes-C dataset are presented. These include results for the clean validation set, as well as specific corruptions such as shot noise, zoom blur, snow, and contrast. All images from the Cityscapes-C dataset are evaluated at a corruption level of 5. (a) PhysAug (b) Ours Figure 5 . Visualization of Daytime Foggy in DWD. 4.2. Performance on Robust Detection Benchmarks 4.2.1. Robustness Against Common Corruptions To assess the effectiveness of our approach on Cityscapes-C, we compare our method with several Vision-only models and also investigate the potential of VLM-based models within this benchmark. We consider widely used data augmentation techniques, including Cutout ( DeVries and Taylor 2017 ) , PhotoDistort ( Redmon and Farhadi 2018 ) , AutoAug ( Zoph et al. 2020 ) , AugMix ( Hendrycks et al. 2019 ) , StylizedAug ( Geirhos et al. 2018 ) , and PhysAug ( Xu et al. 2024 ) . Additionally, we include methods that incorporate augmentation with loss function optimization, such as SupCon ( Khosla et al. 2020 ) , FSCE ( Sun et al. 2021 ) , and OA-DG ( Lee et al. 2024 ) . While previous studies have primarily focused on Vision-only approaches, we take the first step in exploring the effectiveness of vision-language models (VLMs) in this benchmark. These models leverage textual representations to improve robustness under corruption. The results, summarized in Table 1 , demonstrate that our approach consistently ranks among the top performers, achieving either the best or second-best results across various settings, highlighting its generalization ability. Notably, our method establishes a new state-of-the-art, outperforming the baseline detector by an average of 8.8 mPC. Furthermore, it surpasses the previous best-performing method by an additional 1.6 mPC, further validating its effectiveness. (a) Severity 1. (b) Severity 5. Figure 6 . The plots show cosine similarity between the Cityscapes validation set and Cityscapes-C at severity 1 and severity 5, with higher scores indicating better feature alignment between source and target features. 4.2.2. Robustness Against Diverse Weather To further assess the effectiveness of our method in real-world scenarios, we use the DWD dataset as an additional benchmark. We compare our approach with state-of-the-art methods, categorized into Vision-only and VLM-based methods. Vision-only methods include SW ( Pan et al. 2019 ) , IBN-Net ( Pan et al. 2019 ) , IterNorm ( Huang et al. 2019 ) , ISW ( Choi et al. 2021 ) , SHADE ( Zhao et al. 2022 ) , OA-DG ( Lee et al. 2024 ) , DivAlign ( Danish et al. 2024 ) , UFR ( Liu et al. 2024 ) , and PhysAug ( Xu et al. 2024 ) . For VLM-based methods, we include CLIP-Gap ( Vidit et al. 2023 ) , Li’s method ( Li et al. 2024 ) and VLTDet ( Hümmer et al. 2024 ) . The results of these comparisons, reported in Table 2 , showcase their performance across five different scenarios. As shown in the table, our method performs the best in the night-sunny and dusk-rainy environments, surpassing all other methods. Moreover, compared to other methods that also use VLM, our approach better leverages the role of VLM in enhancing the model’s generalization ability. Overall, our method outperforms the baseline by 7.9% mPC and surpasses the previous state-of-the-art by 0.6% mPC on this benchmark. Table 3 . Ablation study on Cityscapes-C evaluating the performance of CRFI and CPRM. Corruption types per group ( N_{C} ): Noise (3), Blur (4), Weather (4), Digital (4), Total (15). Corruption CRFI CPRM mPC Noise ✗ ✗ 0.9 ✓ ✗ 17.4( +16.5 ) ✓ ✓ 17.8( +16.9 ) Blur ✗ ✗ 13.5 ✓ ✗ 18.7( +5.2 ) ✓ ✓ 19.0( +5.5 ) Weather ✗ ✗ 19.1 ✓ ✗ 27.3( +8.2 ) ✓ ✓ 28.2( +9.1 ) Digital ✗ ✗ 24.5 ✓ ✗ 29.7( +5.2 ) ✓ ✓ 30.3( +5.8 ) Total ✗ ✗ 15.4 ✓ ✗ 23.9( +8.5 ) ✓ ✓ 24.2( +8.8 ) 4.3. Ablation Study We present an ablation study on the robustness of the model’s detection performance for Cross-modal and Region-aware Feature Interaction and Cross-domain Proposal Refining and Mixing on Cityscapes-C, as shown in Tab. 3 . The results show that incorporating CRFI improves mPC scores significantly compared to both unmodified versions of the models. This suggests that integrating region-aware feature interactions between multimodal data helps enhance the model’s ability to handle corruptions. Furthermore, when CPRM is added to the modified version of the model using CRFI, there is another noticeable increase in the mPC score. This indicates that refining proposals from various domains can improve the overall robustness against corruption even after applying CRFI. Overall, these findings demonstrate that combining regional-level interaction within modalities along with proposal refinement across domains contributes positively towards improving the model’s resilience against image corruptions. It also highlights the importance of learning domain invariant features through the connection among diverse regions’ vision-language knowledge, thus showcasing the effectiveness and rationale of our approach. 5. Analysis To better understand the effectiveness of our method, we provide visualizations that highlight how our model extracts domain-invariant features. Specifically, we present: (1) qualitative results on images with model-predicted bounding boxes. (2) feature space visualizations to demonstrate the improved domain-invariant feature extraction capability. In the following subsection, we present visualization results demonstrating our method’s effectiveness in adverse weather and its impact on detection robustness. 5.1. Visualization Analysis In Fig. 4 , we provide visualized object detection examples of the baseline method, PhysAug, and our proposed method under adverse environment conditions. In the clean validation set, the detection performance of each model is similar. However, when tested in noisy environments, the detection performance of all models decreases. The baseline model experiences a sharp decline in performance, with no detections in the shot noise, snow, and contrast conditions. PhysAug, as the previous state-of-the-art method, maintains relatively robust detection performance under various noisy conditions; however, it still suffers from occasional detection failures. Compared to the baseline and PhysAug, our approach demonstrates a marked improvement in detecting objects accurately. Furthermore, we visualize the detection results of our model under real-world adverse weather conditions by evaluating the Daytime Foggy subset of the DWD test set, as shown in Fig. 5 . Compared with PhysAug, our method can detect small or easily overlooked objects under adverse weather conditions. 5.2. Feature Analysis To further demonstrate the effectiveness of our approach in learning domain-invariant representations, we analyze the feature similarities across different domains using cosine similarity, a common metric for measuring feature similarity. We extract features from both the source and target domains and compute their pairwise cosine similarity to assess the model’s ability to extract domain-invariant features. We visualize the results in Fig. 6 as a line plot. Compared with the baseline and PhysAug, our method consistently achieves higher cosine similarity across diverse datasets under both the mildest and most severe corruption levels, indicating its superior ability to extract domain-invariant features. 6. Conclusion In this work, we introduced a novel cross-modal invariant feature learning approach tailored for Single-Domain Generalized Object Detection, significantly advancing the ability to generalize across diverse unseen domains. Central to our method is the Cross-modal and Region-aware Feature Interaction mechanism, which dynamically integrates fine-grained visual and textual features to achieve robust intra- and inter-modal invariance at the region level. Additionally, our Cross-domain Proposal Refining and Mixing strategy enhances localization by aligning and diversifying region proposals across domains. Experimental results on the Cityscapes-C and DWD benchmarks demonstrate that our approach achieves state-of-the-art performance, highlighting its potential for real-world multimedia applications.