TL;DR
This paper revisits Evolutionary Strategies (ES) as a powerful tool for computational creativity, demonstrating that modern ES algorithms (like PGPE) can outperform traditional genetic algorithms and rival gradient-based methods in synthesizing geometric art. By coupling ES with the CLIP model, the authors generate diverse, "Abstract Expressionist" style images from text prompts using simple transparent triangles as the only building blocks.
What Problem Does This Paper Address?
In the world of AI-generated art, two main paradigms usually dominate: Genetic Algorithms (GA), which have been used since the 70s to evolve images but are often slow and produce lower-quality results, and Gradient-Based Methods, which use differentiable rendering to "steer" pixels toward a goal.
While gradient-based methods (like CLIPDraw) are powerful, they require a differentiable pipeline and often produce "smooth" or "blurry" results as the optimizer smears colors to minimize loss. The authors seek to prove that Modern Evolution Strategies (ES)—which are black-box optimizers—can produce high-quality geometric abstractions with sharp boundaries, offering a unique aesthetic that mirrors 20th-century movements like Cubism and Minimalism.
Methods
The authors represent an image as a collection of $N$ semi-transparent triangles. Each triangle is defined by 10 parameters: six for the $(x, y)$ coordinates of its three vertices and four for its RGBA (Red, Green, Blue, Alpha/transparency) color.
To optimize these parameters, they use:
- PGPE (Policy Gradients with Parameter-Based Exploration): A modern ES algorithm that estimates gradients in a black-box fashion.
- ClipUp: A specialized optimizer tailored for PGPE to improve stability and speed.
- Fitness Functions:
- For Concrete Images: They use a standard pixel-wise L2 loss between the rendered canvas and a target image (e.g., the Mona Lisa).
- For Abstract Concepts: They use the CLIP (Contrastive Language-Image Pre-training) model. The fitness is defined as the cosine similarity between the embedding of the rendered canvas and the embedding of a text prompt (e.g., "A drawing of a cat").
Because ES is a black-box optimizer, the renderer itself does not need to be differentiable, providing more flexibility in how images are constructed.
Datasets
The paper does not use a new training dataset, as it leverages the pre-trained CLIP model. For evaluation and demonstration, they use:
- Target Images: Iconic images like the Mona Lisa, Darwin, and various landscapes.
- Text Prompts: A range of prompts from single words ("Self", "Human") to complex descriptions of corporate headquarters or geographical locations.
Key Insights and Ideas
- Sharpness vs. Smearing: Unlike gradient-based methods that often produce fuzzy edges, ES treats the placement of triangles as a discrete search. This results in "clearer abstraction and clear boundaries between shapes," resembling Abstract Expressionism.
- Renderer Agnosticism: Because ES doesn't require backpropagation through the renderer, it is "agnostic to the domain." You could theoretically swap triangles for any other primitive (circles, brushstrokes, etc.) without changing the underlying optimization logic.
- The "Computational Budget" of Abstraction: The authors show that the number of triangles ($N$) acts as a direct control for the level of abstraction. 10 triangles produce a minimalist "vibe," while 200 triangles allow for much finer detail.
- Evolutionary Diversity: Because the process starts with random initialization and involves stochastic mutations, running the same text prompt multiple times yields drastically different but equally valid artistic interpretations.
Key Results
- Efficiency: Modern ES (PGPE) achieved significantly higher fitness (99.62%) on the Mona Lisa task in 10,000 iterations compared to a basic GA (97.23%). Even giving the basic GA 56 times more iterations did not close the gap.
- Comparison to Gradients: In a head-to-head with a state-of-the-art differentiable renderer (
nvdiffrast), the ES method achieved slightly higher fitness (99.80% vs 99.68%) and produced a more distinct, "bolder" geometric style. - Text-to-Image Robustness: The system successfully generated recognizable (though abstract) imagery for complex prompts, such as the "Tokyo Tower" or the "Acropolis of Athens," purely by arranging triangles to satisfy the CLIP model.
Limitations and Future Work
- The "Shadowing" Problem: When using a high number of triangles (e.g., 200), the optimization becomes difficult because triangles in the "front" can completely hide those in the "back," leading to vanishing information for the optimizer.
- Primitive Constraints: The current work is limited to triangles. The authors suggest that future work could explore a broader spectrum of art forms and more complex procedural primitives.
- Optimization Time: While faster than traditional GAs, ES can still be computationally expensive compared to direct gradient descent on certain hardware.
Summary updated