munit_ms_image_discriminator
MUNIT's three-scale patch discriminator, scoring an image as real or fake at each scale.
Diffusion and generative · 42 operations Checked
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
- 8.3M
- Operations
- 42
- Framework
- PyTorch
- Recurrent
- No
- Published
- ECCV 2018
- Cited by
- 259 (as of 17 October 2026)
- Authors
- Xun Huang, Ming-Yu Liu, Serge Belongie, Jan Kautz
- Source
- GitHub: NVlabs/MUNIT
- License
- CC-BY-NC-SA-4.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m7524
- Graph hash
- 9bab4de4aa21718ac6d24506a33c514418f70f6f728c1e68d2eaa669f80768fc
- Skeleton hash
- c24488d188fc189db4bcdee6c70198fdf9236bc71fff55210669f4da69247c2e
- Architecture hash
- 694c97e359daf50c0ad5703753c1e2dcff70639612cb2fca4b12461a39c5cc0f
- Diagram SHA-256
- b94bd9c095aea4afc11ffdcf6bdd14a6615864d5b903e36e443a7de6f02e423e
- 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
What it is
This is the multi-scale image discriminator from MUNIT, the Multimodal Unsupervised Image-to-image Translation framework. MUNIT tackles unsupervised image-to-image translation, where the goal is to learn the conditional distribution of corresponding images in the target domain without seeing any pairs. Its point of departure is that this conditional distribution is inherently multimodal, while earlier approaches modeled it as a deterministic one-to-one mapping and so failed to generate diverse outputs. The framework assumes an image decomposes into a domain-invariant content code and a style code that captures domain-specific properties, and translates by recombining content with a random style code from the target domain.
The discriminator is trained with the LSGAN objective and uses multi-scale discriminators to guide the generators toward both realistic details and correct global structure. There are 3 scales, which is why the traced graph returns three patch logit maps of decreasing size for one input image. Each scale's architecture is d64, d128, d256, d512, a stack of four strided convolutions. The discriminator uses Leaky ReLU with slope 0.2, in contrast to the ReLU activations in the generator.
The paper credits the multi-scale discriminator design to the high-resolution conditional GAN work that extended pix2pix. The authors' code base is no longer maintained, and its README points to an improved implementation of MUNIT in NVIDIA's imaginaire. The code is released under the CC BY-NC-SA 4.0 license, with commercial use referred to NVIDIA Research Inquiries.
Key idea. MUNIT's discriminator applies the same four-layer strided convolutional patch critic at 3 image scales under a least-squares GAN loss, so the generator is judged on fine detail and global structure at once.
- MUNIT
- MUNIT discriminator
- MsImageDis
- multimodal unsupervised image-to-image translation
- multi-scale discriminator
- unsupervised image translation
- content code
- style code
- Huang
- NVlabs
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},
}