Adapt Before Comparison: A New Perspective on Cross-Domain Few-Shot Segmentation
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Few-shot Semantic Segmentation | FSS-1000 | mIoU76.2 | 64 | |
| Few-shot Segmentation | DeepGlobe | mIoU49 | 61 | |
| Few-shot Segmentation | Chest X-ray | mIoU81.4 | 60 | |
| Few-shot Semantic Segmentation | ISIC | mIoU53.3 | 32 | |
| Few-shot Semantic Segmentation | Average Deepglobe, ISIC, Chest X-Ray, FSS-1000 | mIoU65 | 32 | |
| Few-shot Segmentation | Road crack Industrial | 1-shot mIoU5.42 | 19 | |
| Few-shot Segmentation | Leaf diseases Agriculture | mIoU (1-shot)21.94 | 19 | |
| Few-shot Segmentation | Steel defect Industrial | 1-shot mIoU7.9 | 19 | |
| Semantic segmentation | SUIM | mIoU41.3 | 15 | |
| Cross-Domain Few-Shot Segmentation | DeepGlobe (test) | mIoU49 | 12 |