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

Audio-guided Album Cover Art Generation with Genetic Algorithms

James Marien, Sam Leroux, Bart Dhoedt, Cedric De BoomarXiv 2022 · DOI

TL;DR

Researchers have developed a framework that generates custom album cover art by "listening" to a song’s audio features. By swapping traditional gradient-descent optimization for Genetic Algorithms (GA), the system navigates the complex latent space of a GAN to produce visual art that aligns with musical characteristics like danceability and energy without requiring expensive model retraining.

The Challenge: Steering the Latent Space

For independent musicians, professional cover art is often a prohibitive expense. While Generative Adversarial Networks (GANs) can synthesize high-quality images, "steering" them to match a specific audio track is difficult.

Standard approaches usually involve input conditioning (training a model from scratch to associate sounds with images), which is computationally expensive and inflexible. Alternatively, researchers have tried post-hoc optimization, using gradient descent to find the right image in a pre-trained model's latent space. However, the loss landscape of these models is often jagged and full of local minima, leading gradient-based optimizers like Adam to get stuck or produce "adversarial examples"—incoherent blobs of color that satisfy the math but lack visual meaning.

Proposed Framework

The authors propose a modular framework consisting of three distinct parts:

  1. The Generator: A pre-trained StyleGAN2 model producing 128x128 images. They tested both unconditional and genre-conditioned versions.
  2. The Fitness Function: A ResNet50-based regression model trained to predict audio features (like tempo or loudness) from an image. An adversarial regularization term ensures the predicted features are realistic rather than clustering around a statistical mean.
  3. The Optimizer (Genetic Algorithm): Instead of using gradient descent, the authors used a GA. It treats a population of latent vectors ($z$) as "individuals," evolving them through crossover, mutation, and selection to find the visual representation that best fits the target audio.
The optimization loop: The Genetic Algorithm evolves the latent vector z to minimize the L2 distance between predicted audio features (â) and target features (a).

Key Insights and Results

  • GA Superiority: Genetic Algorithms proved far more robust than Adam or RMSprop. In terms of Mean Squared Error (MSE) between target and predicted audio features, the GA outperformed Adam by a factor of nearly 4x (2.31 vs 9.66).
  • Visual Metaphors: The model successfully learned visual associations. For example, increasing "danceability" led to more colorful and saturated covers, while low danceability resulted in darker, muted imagery.
  • Genre Retention: A separate classifier identified the intended genre of GA-generated covers with 40% accuracy (well above the 20% chance rate), indicating the optimization successfully retained genre-specific visual cues.
  • Qualitative Quality: Visually, GA-generated images maintained global structure and recognizable shapes, whereas gradient-descent methods often collapsed into noisy patterns.
Comparison of generated album covers across different musical profiles and genres, demonstrating the diversity and structural integrity of the GA-based approach.

Limitations and Future Work

At 128x128 resolution, the images currently lack the fine-grained detail required for professional use. While the images are "vibe-aligned," they remain largely abstract. Future work aims to scale the resolution and explore multi-modal conditioning, incorporating album titles and artist names alongside audio features to create a more cohesive brand identity.

Summary updated

BibTeX
@misc{marien2022audio,
  author = {James Marien and Sam Leroux and Bart Dhoedt and Cedric De Boom},
  title = {{Audio-guided Album Cover Art Generation with Genetic Algorithms}},
  year = {2022},
  eprint = {2207.07162},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.07162},
}
Figure