Methods › Computer Vision › Image Model Blocks › Content-Conditioned Style Encoder
Content-Conditioned Style Encoder
Introduced by Kuniaki Saito et al. in COCO-FUNIT: Few-Shot Unsupervised Image Translation with a Content Conditioned Style Encoder
archive 2025-07-28 Description, source and code snippet are the archive's method entry.
The Content-Conditioned Style Encoder, or COCO, is a style encoder used for image-to-image translation in the COCO-FUNIT architecture. Unlike the style encoder in FUNIT, COCO takes both content and style image as input. With this content conditioning scheme, we create a direct feedback path during learning to let the content image influence how the style code is computed. It also helps reduce the direct influence of the style image to the extract style code.
The bottom part of the Figure details architecture. First, the content image is fed into an encoder E_(S, C) to compute a spatial feature map. This content feature map is then mean-pooled and mapped to a vector ζ_c . Similarly, the style image is fed into encoder E_(S, S) to compute a spatial feature map. The style feature map is then mean-pooled and concatenated with an input-independent bias vector: the constant style bias (CSB). Note that while the regular bias in deep networks is added to the activations, in CSB, the bias is concatenated with the activations. The CSB provides a fixed input to the style encoder, which helps compute a style code that is less sensitive to the variations in the style image.
The concatenation of the style vector and the CSB is mapped to a vector ζₛ via a fully connected layer. We then perform an element-wise product operation to ζ_c and ζₛ, which is the final style code. The style code is then mapped to produce the AdaIN parameters for generating the translation. Through this element-wise product operation, the resulting style code is heavily influenced by the content image. One way to look at this mechanism is that it produces a customized style code for the input content image.
The COCO is used as a drop-in replacement for the style encoder in FUNIT. Let ϕ denote the COCO mapping. The translation output is then computed via
z_c=E_c(x_c), zₛ=ϕ(E_(s, s)(xₛ), E_(s, c)(x_c)), 𝐱=F(z_c, zₛ)
The style code extracted by the COCO is more robust to variations in the style image. Note that we set E_(S, C) ≡E_C to keep the number of parameters in our model similar to that in FUNIT.
Papers archive 2025-07-28
1 shown of 1, newest first. Repository counts are the archive's code-links table. A Syntology line states what Syntology ran from that paper's harvested code; it is per sample and not a correctness claim.
-
COCO-FUNIT: Few-Shot Unsupervised Image Translation with a Content Conditioned Style Encoder 15 Jul 2020 · 1 repository · arXiv:2007.07431
Tasks archive 2025-07-28
3 tasks the archive attaches to papers tagged with this method, by distinct papers. A task without a page in the catalog is plain text.
Usage over time archive 2025-07-28
Components: the archive holds no method-to-method composition, so PwC's Components table cannot be rebuilt; the Papers list carries no Results column for the same reason (the archive does not join its leaderboard rows to method tags).
Categories archive 2025-07-28
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections