Lune

CVPR2022Top-tier venue

Disentangling visual and written concepts in CLIP

Joanna Materzynska, Antonio Torralba, David Bau

Abstract

The CLIP network measures the similarity between natural text and images; in this work, we investigate the entanglement of the representation of word images and natural images in its image encoder. First, we find that the image encoder has an ability to match word images with natural images of scenes described by those words. This is consistent with previous research that suggests that the meaning and the spelling of a word might be entangled deep within the network. On the other hand, we also find that CLIP has a strong ability to match nonsense words, suggesting that processing of letters is separated from processing of their meaning. To explicitly determine whether the spelling capability of CLIP is separable, we devise a procedure for identifying representation subspaces that selectively isolate or eliminate spelling capabilities. We benchmark our methods against a range of retrieval tasks, and we also test them by measuring the appearance of text in CLIP-guided generated images. We find that our methods are able to cleanly separate spelling capabilities of CLIP from the visual processing of natural images.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

32 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • What does CLIP know about a red circle? Visual prompt engineering for VLMs cites Learning Transferable Visual Models From Natural Language Supervision
  • StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery cites Zero-Shot Text-to-Image Generation
  • StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery cites Learning Transferable Visual Models From Natural Language Supervision
  • GANSpace: Discovering Interpretable GAN Controls cites On the "steerability" of generative adversarial networks
  • Interpreting CLIP's Image Representation via Text-Based Decomposition cites Zero-Shot Text-to-Image Generation
  • Interpreting CLIP's Image Representation via Text-Based Decomposition cites Learning Transferable Visual Models From Natural Language Supervision
  • Zero-Shot Text-to-Image Generation cites Learning Transferable Visual Models From Natural Language Supervision
  • What the DAAM: Interpreting Stable Diffusion Using Cross Attention cites Learning Transferable Visual Models From Natural Language Supervision
  • Teaching CLIP to Count to Ten cites StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
  • Teaching CLIP to Count to Ten cites Zero-Shot Text-to-Image Generation
  • Teaching CLIP to Count to Ten cites Learning Transferable Visual Models From Natural Language Supervision
  • Decomposing and Editing Predictions by Modeling Model Computation cites Interpreting CLIP's Image Representation via Text-Based Decomposition
  • Decomposing and Editing Predictions by Modeling Model Computation cites Learning Transferable Visual Models From Natural Language Supervision
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers32

  1. What does CLIP know about a red circle? Visual prompt engineering for VLMsAleksandar Shtedritski, Christian Rupprecht, Andrea VedaldiICCV 2023 · 262 citations
  2. Teaching CLIP to Count to TenRoni Paiss, Ariel Ephrat, Omer Tov, Shiran Zada et al.ICCV 2023 · 196 citations
  3. Interpreting CLIP's Image Representation via Text-Based DecompositionYossi Gandelsman, Alexei A. Efros, Jacob SteinhardtICLR 2024 · 179 citations
  4. What the DAAM: Interpreting Stable Diffusion Using Cross AttentionRaphael Tang, Linqing Liu, Akshat Pandey, Zhiying Jiang et al.ACL 2023 · 93 citations
  5. Decomposing and Editing Predictions by Modeling Model ComputationHarshay Shah, Andrew Ilyas, Aleksander MadryICML 2024 · 25 citations

Builds on10

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Zero-Shot Text-to-Image GenerationAditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray et al.ICML 2021 · 6,356 citations
  3. StyleCLIP: Text-Driven Manipulation of StyleGAN ImageryOr Patashnik, Zongze Wu, Eli Shechtman, Daniel Cohen-Or et al.ICCV 2021 · 1,437 citations
  4. GANSpace: Discovering Interpretable GAN ControlsErik Härkönen, Aaron Hertzmann, Jaakko Lehtinen, Sylvain ParisNeurIPS 2020 · 1,049 citations
  5. On the "steerability" of generative adversarial networksAli Jahanian, Lucy Chai, Phillip IsolaICLR 2020 · 421 citations

Related papers

  1. Parts of Speech-Grounded Subspaces in Vision-Language ModelsJames Oldfield, Christos Tzelepis, Yannis Panagakis, Mihalis Nicolaou et al.NeurIPS 2023 · 13 citations
  2. Language-biased image classification: evaluation based on semantic representationsYoann Lemesle, Masataka Sawayama, Guillermo Valle Pérez, Maxime Adolphe et al.ICLR 2022 · 8 citations
  3. CLIP in Mirror: Disentangling text from visual images through reflectionTiancheng Wang, Yuguang Yang, Linlin Yang, Shaohui Lin et al.NeurIPS 2024 · 5 citations
  4. Delving into the Openness of CLIPShuhuai Ren, Lei Li, Xuancheng Ren, Guangxiang Zhao et al.ACL Findings 2023 · 10 citations
  5. Focus, Distinguish, and Prompt: Unleashing CLIP for Efficient and Flexible Scene Text RetrievalGangyan Zeng, Yuan Zhang, Jin Wei, Dongbao Yang et al.ACM MM 2024 · 8 citations
Dusk over the sea between two cliffs drawn in fine vertical lines