Causal-Tune: Mining Causal Factors from Vision Foundation Models for Domain Generalized Semantic Segmentation
Yin Zhang, Yongqiang Zhang, Yaoyue Zheng, Bogdan Raducanu, Dan Liu
TL;DR
This work tackles domain generalization in semantic segmentation using Vision Foundation Models (VFMs) by addressing artifacts from long-term pretraining. It introduces Causal-Tune, which first separates frequency-domain features into causal and non-causal components via a Discrete Cosine Transform (DCT) and a Gaussian band-pass, discards the non-causal part, and then refines the causal part with learnable tokens in the frequency domain before converting back to the spatial domain. The approach achieves state-of-the-art or competitive results across multiple cross-domain benchmarks, with notable gains in adverse weather (e.g., Snow) and real-to-real transfers, while providing extensive ablations and visualizations to validate the causal-factor hypothesis. These findings demonstrate a practical, plug-in fine-tuning strategy that enhances DGSS robustness for VFMs without full model re-training.
Abstract
Fine-tuning Vision Foundation Models (VFMs) with a small number of parameters has shown remarkable performance in Domain Generalized Semantic Segmentation (DGSS). Most existing works either train lightweight adapters or refine intermediate features to achieve better generalization on unseen domains. However, they both overlook the fact that long-term pre-trained VFMs often exhibit artifacts, which hinder the utilization of valuable representations and ultimately degrade DGSS performance. Inspired by causal mechanisms, we observe that these artifacts are associated with non-causal factors, which usually reside in the low- and high-frequency components of the VFM spectrum. In this paper, we explicitly examine the causal and non-causal factors of features within VFMs for DGSS, and propose a simple yet effective method to identify and disentangle them, enabling more robust domain generalization. Specifically, we propose Causal-Tune, a novel fine-tuning strategy designed to extract causal factors and suppress non-causal ones from the features of VFMs. First, we extract the frequency spectrum of features from each layer using the Discrete Cosine Transform (DCT). A Gaussian band-pass filter is then applied to separate the spectrum into causal and non-causal components. To further refine the causal components, we introduce a set of causal-aware learnable tokens that operate in the frequency domain, while the non-causal components are discarded. Finally, refined features are transformed back into the spatial domain via inverse DCT and passed to the next layer. Extensive experiments conducted on various cross-domain tasks demonstrate the effectiveness of Causal-Tune. In particular, our method achieves superior performance under adverse weather conditions, improving +4.8% mIoU over the baseline in snow conditions.
