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

Modern Evolution Strategies for Creativity: Fitting Concrete Images and Abstract Concepts

Yingtao Tian, David Ha

Abstract

Evolutionary algorithms have been used in the digital art scene since the 1970s. A popular application of genetic algorithms is to optimize the procedural placement of vector graphic primitives to resemble a given painting. In recent years, deep learning-based approaches have also been proposed to generate procedural drawings, which can be optimized using gradient descent. In this work, we revisit the use of evolutionary algorithms for computational creativity. We find that modern evolution strategies (ES) algorithms, when tasked with the placement of shapes, offer large improvements in both quality and efficiency compared to traditional genetic algorithms, and even comparable to gradient-based methods. We demonstrate that ES is also well suited at optimizing the placement of shapes to fit the CLIP model, and can produce diverse, distinct geometric abstractions that are aligned with human interpretation of language.

Introduction

Computational creativity has traditionally relied on two main paradigms: Genetic Algorithms (GA) and Gradient-Based Methods. While GAs have a long history in digital art, they are often criticized for slow convergence and lower-quality outputs. Conversely, gradient-based methods using differentiable rendering have become the modern standard, though they often produce "blurry" results due to the nature of the optimization smearing colors to minimize loss.

This paper explores Modern Evolution Strategies (ES) as a robust alternative. Unlike traditional GAs, modern ES algorithms like PGPE provide a black-box optimization framework that can produce high-quality geometric abstractions with sharp boundaries, reminiscent of 20th-century movements like Cubism and Minimalism.

Methodology

The authors represent images as a collection of $N$ semi-transparent triangles. Each triangle is defined by 10 parameters: six for vertex coordinates and four for RGBA color. The optimization is handled by PGPE (Policy Gradients with Parameter-Based Exploration) combined with the ClipUp optimizer for enhanced stability.

The framework supports two distinct fitness functions:

  1. Fitting Concrete Images: Uses a standard pixel-wise L2 loss between the rendered canvas and a target image.
  2. Fitting Abstract Concepts: Leverages the CLIP (Contrastive Language-Image Pre-training) model to calculate the cosine similarity between the rendered canvas and a text prompt (e.g., "A drawing of a cat").
The ES-CLIP optimization pipeline showing the dual branches for fitting abstract concepts via CLIP and concrete images via L2 loss.

Because ES is a black-box optimizer, the renderer does not need to be differentiable, allowing for greater flexibility in the choice of primitives and providing a "renderer-agnostic" approach to image generation.

Key Results and Insights

The research highlights several advantages of the ES approach over traditional and gradient-based methods:

  • Sharpness and Style: ES treats shape placement as a discrete search, avoiding the "fuzziness" of gradient-based methods and achieving a style similar to Abstract Expressionism.
  • Efficiency: PGPE achieved a fitness of 99.62% on the Mona Lisa task within 10,000 iterations, significantly outperforming traditional GAs which failed to reach this level even with significantly more computational time.
  • Scalable Abstraction: The number of triangles ($N$) serves as a direct control for the level of abstraction. As shown in the results, 10 triangles provide a minimalist representation, while 200 triangles allow for recognizable detail across various subjects.
Reconstruction quality and fitness scores across various subjects as the number of triangles increases from 10 to 200.

Furthermore, the system demonstrates robustness in text-to-image tasks, generating recognizable geometric abstractions for complex prompts like "Tokyo Tower" or "Acropolis of Athens" purely by arranging triangles to satisfy the CLIP model.

Conclusion and Future Work

Modern Evolution Strategies offer a powerful, renderer-agnostic tool for artistic generation. While the current implementation faces challenges like the "shadowing" problem—where front-most triangles hide those behind them, hindering optimization—the results prove that ES can rival gradient-based methods in quality while offering a unique aesthetic. Future work may explore more complex procedural primitives beyond simple triangles to broaden the artistic spectrum.

Summary updated

BibTeX
@inproceedings{tian2022modern,
  author = {Yingtao Tian and David Ha},
  title = {{Modern Evolution Strategies for Creativity: Fitting Concrete Images and Abstract Concepts}},
  booktitle = {EvoMUSART},
  year = {2022},
  url = {https://openreview.net/forum?id=QRkEswYPzmB},
}
Figure