All models

erik_munit

Unpaired image translation that splits content from style so one input can become many outputs.

Diffusion and generative · 70 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (49 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
105.6K
Operations
70
Framework
PyTorch
Recurrent
No
Published
Lecture Notes in Computer Science (arXiv 2018)
Authors
Xun Huang, Ming-Yu Liu, Serge Belongie, Jan Kautz
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m11842
Graph hash
88b482cfa7ad66db9e39eb4cf560f945154f4be566b0d16c4898224e31f213b7
Skeleton hash
4017cc2d5bbb321cad7827331be27016cbbb525ea67c9e988ab3ca14f871cf5f
Architecture hash
8e506da3beecd4b6943445290e03e67c19f2b2ada7ff12f20e4259c0cf28f485
Diagram SHA-256
d462b0ed3cc32ac36d3140f2b41348f28bad4e211a442f0fd5118908e25d7e45
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.munit_generator:build_munit_generator: build({})

What it is

MUNIT, the Multimodal Unsupervised Image-to-image Translation framework, learns to map images between two domains without ever seeing a paired example. Its point of departure is that this conditional distribution is inherently multimodal, while earlier methods modelled it as a deterministic one-to-one mapping and so failed to generate diverse outputs from one source image.

The framework assumes an image's latent representation splits into a content code that is domain-invariant and a style code that captures domain-specific properties. To translate, it recombines the input's content code with a random style code sampled from the target domain's style space, so different style codes give different outputs.

The content encoder is several strided convolutional layers followed by residual blocks; the style encoder ends in global average pooling and a fully connected layer, deliberately without instance normalization, which would erase the feature statistics that carry style. The decoder processes the content code through residual blocks equipped with Adaptive Instance Normalization layers whose affine parameters an MLP generates from the style code, then upsamples to the image.

Training combines an adversarial loss with bidirectional reconstruction losses that reconstruct both images and latent codes, using L1 reconstruction because it encourages sharp outputs. The discriminators follow the LSGAN objective and are multi-scale, to push the generators toward both realistic details and correct global structure. The paper also proves that minimizing its loss matches latent distributions, matches the two joint image distributions, and enforces a weak form of cycle consistency. Because content and style are separated, a user can steer the translation by supplying an example style image from the target domain.

Key idea. Unsupervised image translation that models the full multimodal output distribution by factoring images into a shared content code and a domain-specific style code, recombined through AdaIN-conditioned residual decoding.

  • MUNIT
  • Multimodal Unsupervised Image-to-Image Translation
  • image-to-image translation
  • unpaired translation
  • style transfer
  • content code
  • style code
  • AdaIN
  • GAN

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{huang2018multimodalunsupervisedimagetoimagetranslation,
      title={Multimodal Unsupervised Image-to-Image Translation}, 
      author={Xun Huang and Ming-Yu Liu and Serge Belongie and Jan Kautz},
      year={2018},
      eprint={1804.04732},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1804.04732}, 
}