DA-CLIP
A CLIP-based controller paired with a restoration network that repairs degraded images.
Diffusion and generative · 1,629 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
- 295.2M
- Operations
- 1,629
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICLR 2024
- Cited by
- 37 (as of 27 October 2026)
- Authors
- Ziwei Luo, Fredrik K. Gustafsson, Zheng Zhao and others
- Source
- GitHub: Algolzw/daclip-uir
- License
- MIT
- 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
- m15516
- Graph hash
- b38ee54441a30bd3cae72de8b6f7c29b522bd032735787427b79bc745650422d
- Skeleton hash
- 49983bbb047f869cddee2b804f99d3c58c8575b768d89b293867e4e94e8bf93c
- Architecture hash
- 6064b72c4af6ed9b46c62c111fccfda6fbed2e1bd9aa754d2f38110491551d0f
- Diagram SHA-256
- ef5bce24170ec64c6e1c38960179da1a615152c30e065e30023e8be2bcd63c2d
- 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
DA-CLIP is a degradation-aware vision-language model, built to transfer pretrained vision-language models such as CLIP to image restoration as a single multi-task framework. The paper starts from the observation that such models perform much worse on low-level vision tasks like image restoration because the inputs are corrupted.
DA-CLIP trains an additional controller that adapts the fixed CLIP image encoder so that it predicts high-quality feature embeddings. That embedding is fed into an image restoration network through cross-attention. The controller also outputs a degradation feature that matches the corruption in the input, which serves as a classifier for the type of degradation.
For training, the authors constructed a mixed degradation dataset with synthetic captions. The official code lists ten degradation types: motion-blurry, hazy, jpeg-compressed, low-light, noisy, raindrop, rainy, shadowed, snowy and uncompleted, where uncompleted means inpainting.
Key idea. DA-CLIP adds a trained controller to a fixed CLIP image encoder so that its embeddings guide an image restoration network and identify the type of degradation.
- DA-CLIP
- daclip-uir
- degradation-aware CLIP
- image restoration
- universal image restoration
- multi-task image restoration
- vision-language model
- degradation classification
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{luo2024controllingvisionlanguagemodelsmultitask,
title={Controlling Vision-Language Models for Multi-Task Image Restoration},
author={Ziwei Luo and Fredrik K. Gustafsson and Zheng Zhao and Jens Sjölund and Thomas B. Schön},
year={2024},
eprint={2310.01018},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2310.01018},
}