Few-shot Semantic Image Synthesis with Class Affinity Transfer

Marlene Careil, Jakob Verbeek, St'ephane Lathuiliere
2/14/2026

No confident code implementation found for this paper. 6 possible matches can be shown below.

Abstract

Semantic image synthesis aims to generate photo realistic images given a semantic segmentation map. Despite much recent progress, training them still requires large datasets of images annotated with per-pixel label maps that are extremely tedious to obtain. To alleviate the high annotation cost, we propose a transfer method that leverages a model trained on a large source dataset to improve the learning ability on small target datasets via estimated pairwise relations between source and target classes. The class affinity matrix is introduced as a first layer to the source model to make it compatible with the target label maps, and the source model is then further finetuned for the target domain. To estimate the class affinities we consider different approaches to leverage prior knowledge: semantic segmentation on the source domain, textual label embeddings, and self-supervised vision features. We apply our approach to GAN-based and diffusion-based architectures for semantic synthesis. Our experiments show that the different ways to estimate class affinity can be effectively combined, and that our approach significantly improves over existing state-of-the-art transfer approaches for generative image models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 6 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{careil2026fewshot,
  title  = {Few-shot Semantic Image Synthesis with Class Affinity Transfer},
  author = {Marlene Careil and Jakob Verbeek and St'ephane Lathuiliere},
  year   = {2026},
  eprint = {2304.02321},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2304.02321},
  journal = {CVPR 2023 2023}
}

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/2304.02321.svg)](https://codeofpaper.com/paper/2304.02321)

Discussion