DRIT
An image-to-image translation model that produces diverse outputs from unpaired training data.
Diffusion and generative · 691 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
- 65M
- Operations
- 691
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- ECCV 2018
- Cited by
- 1,288 (as of 26 October 2026)
- Authors
- Hsin-Ying Lee, Hung-Yu Tseng, Jia-Bin Huang and others
- Source
- GitHub: HsinYingLee/DRIT
- 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
- m15736
- Graph hash
- 8030fe097949813ad2a0e0c07e7a953c1ca25cecfb408b7d8d0e284b73b6231b
- Skeleton hash
- 618f172165e21c1ce9abba1f3b1c75672a7a9923dd1de506a05d3e6e7d62df0d
- Architecture hash
- 5e5941119efe04007a7b0a986f50d82a785de3c85d3dd186ff64b2c01d40ced5
- Diagram SHA-256
- d7d80cefdc906f908d6493d4c6f2a4c206069cc5ceac4b2e48d9c47fe2ab3acd
- 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
DRIT is an image-to-image translation model that learns diverse translation between two collections of images without aligned training pairs. Those are the two challenges the paper sets out to handle: the lack of aligned training pairs, and multiple possible outputs from a single input image.
The method embeds each image onto two spaces: a content space shared across domains and an attribute space specific to each domain. Two strategies achieve this disentanglement: weight sharing, and a content discriminator that tries to tell which domain an encoded content feature came from. Training on unpaired data rests on a cross-cycle consistency loss: two unaligned images swap attribute vectors, the mapping is applied one more time, and the reconstructions are compared with the original images.
At test time the attribute vector is either sampled at random, giving diverse outputs, or extracted from an existing image for example-guided translation. The PyTorch repository also carries the DRIT++ extension, which applies mode-seeking regularization to improve diversity and applies DRIT to the multidomain setting.
Key idea. DRIT separates images into a shared content space and domain-specific attribute spaces, and trains on unpaired data with a cross-cycle consistency loss to produce diverse translations.
- drit
- diverse image-to-image translation
- disentangled representation
- image-to-image translation
- unpaired image translation
- cross-cycle consistency
- disentangled representation for image-to-image translation
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{lee2018diverseimagetoimagetranslationdisentangled,
title={Diverse Image-to-Image Translation via Disentangled Representations},
author={Hsin-Ying Lee and Hung-Yu Tseng and Jia-Bin Huang and Maneesh Kumar Singh and Ming-Hsuan Yang},
year={2018},
eprint={1808.00948},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1808.00948},
}