arXiv:2610.39926cs.CVOct 2026

Manuscript Offprint

arXiv:2610.39926

Spectral Invariant Fusion and Refinement for Domain Generalized Semantic Segmentation

Yansong Bai, Yunzhi Zhuge, Xinzhuo Yu, Lu Zhang, Jin Zhan, Pingping Zhang, Huchuan Lu

Yansong Bai, Yunzhi Zhuge, Xinzhuo Yu, Lu Zhang, Jin Zhan, Pingping Zhang, Huchuan Lu, Fellow IEEE

Abstract—Domain generalized semantic segmentation is challenging because it requires accurate dense prediction on unseen domains without any access to target-domain data during training. Existing methods improve transferability through data diversification, invariant learning, or direct use of foundation models, but they often struggle to simultaneously suppress domain-sensitive interference and preserve fine-grained spatial cues. In this work, we propose SIFR, a frequency-aware dual-stream framework that tackles domain shift at both the fusion and decoding stages. SIFR uses spectral modeling as a unified principle to regulate both heterogeneous prior interaction and dense decoder refinement. Instead of directly fusing frozen CLIP and DINOv2 features, SIFR performs spectral-guided invariant fusion to filter out domain-sensitive responses while preserving complementary semantic and structural information. In addition, SIFR incorporates a spectral decoder refinement module that stabilizes multi-scale decoder features through low-frequency statistics-based normalization and adaptive frequency selection, thereby reducing the propagation of residual domain bias in dense prediction. This design enables SIFR to jointly improve domain robustness and segmentation precision under severe distribution shifts. Extensive experiments on multiple DGSS benchmarks, including synthetic-to-real, real-to-real, and adverse-weather settings, demonstrate consistent improvements over previous state-of-the-art methods.

Index Terms—Domain generalized semantic segmentation, vision foundation model, vision-language model, frequency modeling, CLIP, DINOv2.

I. INTRODUCTION

Domain Generalized Semantic Segmentation (DGSS) aims to learn segmentation models from multiple source domains that generalize well to unseen target domains without any target-domain adaptation [1]–[7]. Compared with Domain Adaptive Semantic Segmentation [8]–[10], which addresses cross-domain discrepancies by leveraging unlabeled target-domain data during training, DGSS must confront domain shifts in a more challenging setting where no target-domain information is available at all. Consequently, a central challenge in DGSS is to achieve robustness to both low-level appearance changes and high-level semantic or contextual variations without compromising the accuracy and structural consistency of pixel-wise predictions [1], [2], [11].

Existing DGSS methods mainly improve generalization from two perspectives: data-level generalization and feature-level representation learning [2], [4], [16], [17]. The former increases source-domain diversity through perturbation, stylization, or synthesis, while the latter aims to learn domain-invariant representations across source domains [2], [4], [17]–[20]. However, both directions face an inherent tension between domain invariance and spatial discriminability. Increasing appearance diversity or enforcing feature consistency can improve robustness to domain shifts, but may also weaken boundary, texture, and other fine-grained cues that are essential for accurate segmentation. Consequently, those methods still struggle to jointly achieve strong domain robustness and precise spatial prediction [4], [16].

Recent advances in large-scale pretrained models have opened a promising direction for DGSS, as they provide more transferable and stable visual priors than conventionally trained backbones [6]. In particular, vision-language models (VLMs) capture rich high-level semantic knowledge, while vision foundation models (VFMs) offer stronger local structural cues and dense visual representations [15], [21], [22]. However, simply combining these heterogeneous priors is still insufficient for DGSS, as it faces two core challenges: i) Cross-prior misalignment. VLM and VFM are pretrained with different objectives, which leads to inconsistent feature geometries and domain responses and thus makes their interaction unstable under domain shifts. ii) Domain appearance entanglement. Despite their strong transferability, both priors can still encode domain-specific style, texture, and low-level statistics, so direct fusion may propagate domain-sensitive variations instead of isolating task-relevant cues.

To address these challenges, spectral modeling offers a complementary perspective. i) Spectral alignment. By organizing heterogeneous priors in the frequency domain, spectral modeling promotes more coherent interaction between semantic and structural cues across domains. ii) Spectral disentanglement. By separating domain-variant appearance components from task-relevant structural information, spectral modeling suppresses domain-sensitive responses while preserving the local details required for precise segmentation.

Inspired by these principles, we propose SIFR, a Spectral Invariant Fusion and Refinement framework for domain generalized semantic segmentation, which leverages heterogeneous large-scale priors while explicitly enhancing domain invariance. i) Spectral-Guided Invariant Fusion (SGIF). SGIF employs frozen CLIP [21] and DINOv2 [22] as the VLM and VFM, where CLIP provides high-level semantic priors and DINOv2 captures fine-grained structural representations. By casting cross-prior interaction into the spectral domain, SGIF explicitly

This work was supported in part by the National Natural Science Foundation of China under Grants 62406053 and 62441231, and in part by the Liaoning Provincial Doctoral Scientific Research Start-up Fund Project under Grant 2025-BS-0080, and in part by the Fundamental Research Funds for the Central Universities under Grant DUT25LAB128.

Yansong Bai, Yunzhi Zhuge, Lu Zhang, Pingping Zhang and Huchuan Lu are with the School of Information and Communication Engineering, Dalian University of Technology, Dalian 116081, China. (e-mail: bys@mail.dlut.edu.cn; zgyz@dlut.edu.cn; zhangluu@dlut.edu.cn; lhchuan@dlut.edu.cn)

Xinzhuo Yu and Jin Zhan are with the School of Computer Science and Technology, Dalian University of Technology, Dalian 116081, China. (e-mail: yxz_3132@mail.dlut.edu.cn; zhanjin@dlut.edu.cn)

Figure

(a) Performance comparison

(b) FFT feature visualization

Fig. 1. Representative characteristic of SIFR. (a) Performance comparison with recent DGSS methods on representative real-to-real and adverse-weather benchmarks, where SIFR consistently achieves the best mIoU. (b) Feature visualization comparing MFuser [15] and SIFR, where our method preserves clearer structures, suppresses domain-sensitive interference, and produces feature responses that better match the ground-truth semantics in challenging regions.

suppresses domain-variant appearance responses and enhances domain-stable semantic and structural cues. As qualitatively illustrated in Fig. 1 (b), this spectral-guided invariant fusion produces clearer structural responses and better preserves semantically relevant regions under challenging domain shifts. Learnable query tokens and cross-attention [23] are further introduced to promote effective semantic-visual fusion under reduced domain interference. ii) Spectral Decoder Refinement (SDR). SDR performs decoder refinement via domain-stable normalization and frequency-guided enhancement module to curb the accumulation of domain-sensitive patterns, stabilize multi-scale features, and preserve informative components for precise segmentation. Overall, SIFR unifies spectral invariant fusion and refinement into a coherent framework that enhances generalization to unseen domains without sacrificing fine-grained spatial prediction.

We evaluate SIFR on multiple DGSS benchmarks spanning real-to-real and real-to-adverse-weather settings, the comparison results of which is shown in Fig. 1 (a). Furthermore, on the synthetic-to-real setting, SIFR achieves state-of-the-art performance, reaching 71.30 mIoU on Cityscapes [24], 62.54 on BDD100K [25], and 71.96 on Mapillary [26], with gains of up to +1.32 points over previous methods. On the real-to-real setting, SIFR consistently outperforms strong baselines, obtaining 67.60 and 78.48 mIoU on BDD100K [25] and Mapillary [26], respectively. These consistent improvements suggest that SIFR effectively suppresses domain-sensitive interference while preserving transferable semantic and structural cues, thereby enhancing robustness under domain shift.

Our contributions can be summarized as follows:

• We present SIFR, a frequency-aware dual-stream framework for domain generalized semantic segmentation that leverages frozen CLIP and DINOv2 as complementary semantic and structural priors, and introduces spectral modeling in both feature fusion and decoder refinement.

• We introduce a Spectral-Guided Invariant Fusion (SGIF) module that couples token-level cross-attention with frequency-domain refinement to promote complementary interaction between heterogeneous pretrained representations while suppressing domain-sensitive responses.

• We develop a Spectral Decoder Refinement (SDR) module, comprising domain-stable normalization and frequency-guided enhancement, to stabilize decoder features and preserve segmentation-relevant spectral components for robust dense prediction under domain shift.

• Extensive experiments on multiple DGSS benchmarks show that SIFR consistently improves cross-domain segmentation performance across synthetic-to-real, real-to-real, and adverse-weather settings.

References (61)