Lightweight Frequency Masker for Cross-Domain Few-Shot Semantic Segmentation

Jintao Tong, Yixiong Zou, Yuhua Li, Ruixuan Li
2/3/2026

No official code found. Best implementation: TungChintao/APM (37 stars, Apache-2.0, last commit 2025-05-22).

Abstract

Cross-domain few-shot segmentation (CD-FSS) is proposed to first pre-train the model on a large-scale source-domain dataset, and then transfer the model to data-scarce target-domain datasets for pixel-level segmentation. The significant domain gap between the source and target datasets leads to a sharp decline in the performance of existing few-shot segmentation (FSS) methods in cross-domain scenarios. In this work, we discover an intriguing phenomenon: simply filtering different frequency components for target domains can lead to a significant performance improvement, sometimes even as high as 14% mIoU. Then, we delve into this phenomenon for an interpretation, and find such improvements stem from the reduced inter-channel correlation in feature maps, which benefits CD-FSS with enhanced robustness against domain gaps and larger activated regions for segmentation. Based on this, we propose a lightweight frequency masker, which further reduces channel correlations by an Amplitude-Phase Masker (APM) module and an Adaptive Channel Phase Attention (ACPA) module. Notably, APM introduces only 0.01% additional parameters but improves the average performance by over 10%, and ACPA imports only 2.5% parameters but further improves the performance by over 1.5%, which significantly surpasses the state-of-the-art CD-FSS methods.

View on arXivView PDF

Code Implementations(1)

TungChintao/APMCommunity100%
Apache-2.0

[NeurIPS 2024] Lightweight Frequency Masker for Cross-Domain Few-Shot Semantic Segmentation

371PythonOct 28, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{tong2026lightweight,
  title  = {Lightweight Frequency Masker for Cross-Domain Few-Shot Semantic Segmentation},
  author = {Jintao Tong and Yixiong Zou and Yuhua Li and Ruixuan Li},
  year   = {2026},
  eprint = {2410.22135},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.22135},
  url    = {https://arxiv.org/abs/2410.22135},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.22135.svg)](https://codeofpaper.com/paper/2410.22135)

Discussion