Adapt Before Comparison: A New Perspective on Cross-Domain Few-Shot Segmentation

Jonas Herzog
2/9/2026

No official code found. Best implementation: Vision-Kek/ABCDFSS (18 stars, last commit 2024-05-16).

Abstract

Few-shot segmentation performance declines substantially when facing images from a domain different than the training domain, effectively limiting real-world use cases. To alleviate this, recently cross-domain few-shot segmentation (CD-FSS) has emerged. Works that address this task mainly attempted to learn segmentation on a source domain in a manner that generalizes across domains. Surprisingly, we can outperform these approaches while eliminating the training stage and removing their main segmentation network. We show test-time task-adaption is the key for successful CD-FSS instead. Task-adaption is achieved by appending small networks to the feature pyramid of a conventionally classification-pretrained backbone. To avoid overfitting to the few labeled samples in supervised fine-tuning, consistency across augmented views of input images serves as guidance while learning the parameters of the attached layers. Despite our self-restriction not to use any images other than the few labeled samples at test time, we achieve new state-of-the-art performance in CD-FSS, evidencing the need to rethink approaches for the task. Code is available at https://github.com/Vision-Kek/ABCDFSS.

View on arXivView PDF

Code Implementations(1)

Vision-Kek/ABCDFSSCommunity100%
184PythonJan 6, 20242 years ago

Cite this paper

@article{herzog2026adapt,
  title  = {Adapt Before Comparison: A New Perspective on Cross-Domain Few-Shot Segmentation},
  author = {Jonas Herzog},
  year   = {2026},
  eprint = {2402.17614},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2402.17614},
  journal = {CVPR 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/2402.17614.svg)](https://codeofpaper.com/paper/2402.17614)

Discussion