NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CLIP-CLOP: CLIP-Guided Collage and Photomontage

Piotr Mirowski, Dylan Banarse, Mateusz Malinowski, Simon Osindero, Chrisantha Fernando

TL;DR

CLIP-CLOP introduces a text-guided generative collage system that optimizes the spatial and color transformations of user-curated image patches using a CLIP critic. By keeping the artist in the loop—allowing them to select the primitive visual elements and manually adjust them mid-optimization—it reclaims human agency from fully automated black-box text-to-image models.

What Problem Does This Paper Address?

Modern generative AI tools (like Diffusion models) have democratized art creation but often relegate the human artist to a mere "prompt engineer" or passive curator. Because these models operate on abstract latent spaces, artists have very little control over exact composition, texture, or structural primitives.

CLIP-CLOP addresses this loss of human agency and lack of interpretability. The authors formalize collage as a differentiable optimization problem, giving artists explicit control over the building blocks (the image patches) and the overall composition, while leveraging the semantic power of large language-image models.

Methods

The CLIP-CLOP framework consists of several key components working together:

  • Collage Generator: The system takes a library of $N$ user-provided RGBA image patches. It initializes and optimizes explicit parameters for each patch: six affine spatial transformation values (translation, rotation, scale, squeeze, and shear) and three RGB color multipliers.
  • Differentiable Rendering: Standard opaque layering blocks gradient flow. To allow backpropagation through overlapping layers, the authors implement a differentiable rendering pipeline. They compare three methods: transparency (summing RGB values), masked transparency (normalized sum of non-masked parts), and opacity (a learnable weighted sum approximating layer order).
  • CLIP Critic: The rendered canvas is passed to a pre-trained CLIP image encoder. The system calculates a compatibility score between the image embedding and the text prompt embedding, optimizing the patch parameters via stochastic gradient ascent.
Figure 2: Architecture of the generative collage algorithm.
  • Semantic Composition & High Resolution: To handle complex layouts, the canvas can be split into a 3x3 grid of overlapping local regions. Each region is evaluated by a distinct CLIP critic with its own specific prompt (e.g., "sky with sun", "trees"), alongside a tenth global critic.
  • Evolutionary Patch Swapping: Because gradients cannot handle the discrete choice of swapping one patch for another, a microbial genetic algorithm periodically runs to mutate patch selections across a small population of collages.
  • Human-in-the-Loop UI: The tool includes an interactive interface where artists can pause optimization, manually adjust a patch's position, scale, or rotation using sliders, and then resume the automated refinement.

Datasets

Unlike standard computer vision papers, CLIP-CLOP does not train or evaluate on standard benchmark datasets. Instead, the input datasets are custom, artist-curated libraries of 4-channel (RGBA) image patches (e.g., photos of animals, tree leaves, or broken plate fragments). The underlying AI critic relies on the standard pre-trained OpenAI CLIP model, which was trained on 400 million internet image-text pairs.

Key Insights and Ideas

  • Primitives Dictate Style: By changing the input primitives (e.g., switching from tree leaves to broken plates), the artist completely alters the texture and aesthetic of the final piece. This helps artists escape the "straight-jacket of style" inherent to deep neural network generators.
  • Non-Semantic Compositionality: CLIP proves remarkably adept at using semantically unrelated objects to satisfy a macro-level prompt—such as arranging animal patches to form a portrait of Alan Turing or a classical landscape.
  • Differentiable Layering via Opacity: Approximating opacity via a learnable continuous order parameter allows the system to successfully learn layer depth while preserving the gradients necessary for optimization.

Key Results

  • Aesthetic Distinctiveness: The paper demonstrates that CLIP-CLOP produces a completely different visual texture compared to pixel-based diffusion or stroke-based CLIPDraw methods.
Figure 6: Alan Turing in stained glass. a) CLIPDraw with 1000 strokes, b) CLIP-CLOP with 100 animal patches or c) 200 broken plate patches, d) CLIP-guided diffusion.
  • Resolution Scaling: By using the 3x3 overlapping critic grid, the system successfully generates compositionally complex, high-resolution collages (e.g., scaling up from CLIP's native 224x224 restriction to 448x448 and beyond), demonstrated in a complex recreation of Rubens' The Fall of the Damned.
  • Abstraction Control: The authors found that adjusting the number of patches changes the abstraction level; fewer patches yield abstract, Picasso-like forms, while more patches create realistic approximations.

Limitations and Future Work

  • Discrete Optimization Bottleneck: Gradients cannot directly optimize the discrete choice of selecting or swapping patches from a library. The evolutionary algorithm workaround helps but is computationally slow.
  • Computational Overhead: Evaluating multiple overlapping CLIP critics hierarchically is memory-intensive and slows down the generation process.
  • Real-Time Interaction: The current human-in-the-loop implementation requires pausing the optimization loop. The authors note that future development will focus on smoother, real-time manipulation of image patches during active optimization.

Summary updated

BibTeX
@inproceedings{mirowski2022clip,
  author = {Piotr Mirowski and Dylan Banarse and Mateusz Malinowski and Simon Osindero and Chrisantha Fernando},
  title = {{CLIP-CLOP: CLIP-Guided Collage and Photomontage}},
  booktitle = {ICCC},
  year = {2022},
  url = {https://openreview.net/forum?id=rjybjH39zF},
}
Figure