Introduction
Semantic segmentation typically requires vast amounts of annotated data, a requirement that Few-Shot Segmentation (FSS) aims to relax by learning to segment new objects from just a few examples. However, standard FSS models often struggle with the domain gap—the performance drop when moving from a source domain (e.g., natural images) to a vastly different target domain (e.g., satellite or medical imagery). This challenge is known as Cross-Domain Few-Shot Segmentation (CD-FSS).
Researchers have recently discovered that the domain gap often causes models to focus on small, highly discriminative parts of an object rather than its complete structure. To address this, a new approach suggests that simply filtering specific frequency components of image features can significantly boost cross-domain performance.
Proposed Methodology
The proposed solution introduces a "Lightweight Frequency Masker" that operates in the frequency domain using Fast Fourier Transforms (FFT). It consists of two ultra-lightweight modules:
- Amplitude-Phase Masker (APM): This module adaptively learns to filter out "harmful" frequency components in the feature maps. By learning which parts of the amplitude and phase spectra to mask for a specific target domain, it improves feature robustness. The "S" version of this module is incredibly efficient, adding only 0.01% additional parameters to the backbone.
- Adaptive Channel Phase Attention (ACPA): This mechanism uses the phase spectrum—which represents structural "content" and is more domain-invariant than amplitude—to calculate attention weights for different feature channels. This helps the model prioritize the most reliable features for the task.
The Frequency-Correlation Insight
A key discovery of this work is the link between frequency filtering and inter-channel correlation. When feature channels are highly correlated, they become redundant and biased toward specific source-domain patterns. By filtering frequencies, the model reduces this correlation (measured via Mutual Information), forcing different channels to capture independent semantic patterns. This "disentanglement" allows the model's attention to expand from small discriminative parts (like the head of a bird) to the entire object structure.
Experimental Results
The proposed method was evaluated using PASCAL-$5^i$ as the source domain and four diverse target domains: FSS-1000 (natural images), Deepglobe (satellite), ISIC2018 (skin lesions), and Chest X-ray (medical radiographs).
Performance Gains
- Significant Boost: On the Chest X-ray dataset, frequency filtering alone improved mIoU by 14%.
- State-of-the-Art (SOTA): In 1-shot scenarios, the best model configuration (APM-M + ACPA) achieved an average mIoU of 60.03% across all target datasets, outperforming previous SOTA models like PATNet and HSNet (56.06%).
- Efficiency: The APM-S module achieves a 10% average performance improvement with negligible overhead (0.01% parameters).
Qualitative results show that the masker helps the model "fill in" gaps in segmentation masks, moving from sparse, patchy detections to complete, solid object segmentations.
Conclusion and Future Work
The Lightweight Frequency Masker demonstrates that frequency-domain manipulation is a powerful and efficient tool for bridging the domain gap in CD-FSS. While the modules currently require a small number of optimization steps (60 iterations) on the target support set, their efficiency and performance gains are substantial. Future research may extend this frequency-based disentanglement to broader fields like general domain generalization and unsupervised domain adaptation.
Summary updated