DoubleDIP
Two coupled Deep Image Prior networks that split one image into two layers and a mixing mask, with no training set.
207 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
- 3.1M
- Operations
- 207
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2019
- Cited by
- 373 (as of 3 November 2026)
- Authors
- Yossi Gandelsman, Assaf Shocher, Michal Irani
- 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
- m16186
- Graph hash
- 2387ce688d0eb1d453f8a33441fff55c56abbecd37184894a692e43b069ee40f
- Skeleton hash
- 254ea69df3b0fc4da7cd7618d779190b7cba39af5f9c7d6146920d9199c9eac2
- Architecture hash
- b3d1be95c47a80dba2db1704acce819fbfc76e5dc476573b9f5de41d56d37fa7
- Diagram SHA-256
- 049849e42379db9a5eef722226fec046123461d5a71f6c8c6c639ed3d0bef14e
- 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
Double-DIP treats many vision tasks as one problem: splitting a single image into separate layers. Segmentation separates foreground from background, transparency separation splits reflection from transmission, and dehazing splits a clear image from a haze map. It does this with no training examples other than the input image or video itself.
The building block is the Deep Image Prior (DIP), a generator network that takes random noise as input and is trained to reconstruct a single image. The authors observe that when multiple DIPs train to jointly reconstruct one image, they tend to split its patches among themselves. In Double-DIP each network produces one layer, and the layers are mixed using a weight mask m to form the reconstructed image. Where the mask is not simple and known, it is learned using an additional DIP. The loss adds an exclusion term, which minimizes the correlation between the layers' gradients, and a task-specific mask regularization to the reconstruction error.
The authors state that special-purpose methods designed for one task may outperform Double-DIP on that task. For dehazing, the paper reports a PSNR of 18.815 on the O-Haze dataset. It says this ranked second of the dehazing methods compared on that dataset. Optimization uses the ADAM optimizer and takes a few minutes per image on a Tesla V100 GPU.
Key idea. The paper shows that coupling multiple Deep-Image-Prior networks decomposes a single image into its layers, unsupervised, across segmentation, dehazing, watermark removal and transparency separation.
- Double-DIP
- DoubleDIP
- Double Dip
- coupled deep image priors
- unsupervised image decomposition
- layer separation
- image dehazing
- foreground background segmentation
- transparency separation
- watermark removal
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{gandelsman2018doubledipunsupervisedimagedecomposition,
title={"Double-DIP": Unsupervised Image Decomposition via Coupled Deep-Image-Priors},
author={Yossi Gandelsman and Assaf Shocher and Michal Irani},
year={2018},
eprint={1812.00467},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1812.00467},
}