Skip to main content
QUICK REVIEW

[Paper Review] Unsupervised Doodling and Painting with Improved SPIRAL

John F. J. Mellor, Eunbyung Park|arXiv (Cornell University)|Oct 2, 2019
Aesthetic Perception and AnalysisNeuroscience43 references24 citations
TL;DR

This paper proposes SPIRAL++, an improved reinforcement learning framework that trains agents to generate images through unsupervised, brush-based painting in a simulated environment. By jointly training a policy network and a discriminator, the agents learn to produce visually abstract and realistic images—such as faces with minimal strokes—without supervision, demonstrating emergent visual abstraction through embodied simulation.

ABSTRACT

We investigate using reinforcement learning agents as generative models of images (extending arXiv:1804.01118). A generative agent controls a simulated painting environment, and is trained with rewards provided by a discriminator network simultaneously trained to assess the realism of the agent's samples, either unconditional or reconstructions. Compared to prior work, we make a number of improvements to the architectures of the agents and discriminators that lead to intriguing and at times surprising results. We find that when sufficiently constrained, generative agents can learn to produce images with a degree of visual abstraction, despite having only ever seen real photographs (no human brush strokes). And given enough time with the painting environment, they can produce images with considerable realism. These results show that, under the right circumstances, some aspects of human drawing can emerge from simulated embodiment, without the need for external supervision, imitation or social cues. Finally, we note the framework's potential for use in creative applications.

Motivation & Objective

  • To investigate whether reinforcement learning agents can learn to generate realistic and abstract images through unsupervised, brush-based painting in a simulated environment.
  • To explore whether visual abstraction—resembling human doodling or sketching—can emerge from embodied agents without explicit supervision or imitation.
  • To improve upon the original SPIRAL framework by scaling and tuning architectures to enhance image fidelity and realism.
  • To assess the role of environmental structure (e.g., brush physics, finite episode length) in enabling abstraction and realism in generative agents.
  • To evaluate the potential of the framework for creative applications, such as novel aesthetic style generation and reconstruction tasks.

Proposed method

  • The framework uses a policy network (agent) that selects brush stroke parameters (color, size, pressure) at each step based on the current canvas state.
  • A differentiable renderer simulates the canvas update in response to each stroke command, enforcing physical realism in the painting process.
  • A discriminator network is trained adversarially to distinguish real images from generated ones, providing the reward signal for policy training.
  • The policy and discriminator are trained jointly via reinforcement learning, with the agent optimizing for realism as judged by the discriminator.
  • Architectural improvements include better normalization, residual connections, and training regularization to enhance stability and performance.
  • The training process operates under a finite horizon, constraining the number of strokes per image, which encourages abstraction and efficiency.

Experimental results

Research questions

  • RQ1Can unsupervised reinforcement learning agents generate realistic and abstract images through simulated painting without access to human drawings?
  • RQ2To what extent can visual abstraction—such as representing a face with just a few strokes—emerge from embodied agents with no explicit supervision?
  • RQ3How does the structure of the environment (e.g., brush physics, finite episode length) influence the emergence of abstraction and realism?
  • RQ4Can the discriminator learn to prioritize semantic similarity over pixel-level similarity, indicating the development of high-level visual understanding?
  • RQ5Does scaling and architectural refinement of the SPIRAL framework significantly improve image quality and diversity compared to prior work?

Key findings

  • Generative agents trained with SPIRAL++ produce images with a high degree of visual abstraction, such as drawing recognizable faces using only three to four strokes—each representing an eye, nose, or mouth.
  • Despite never being shown human drawings, agents learn to produce diverse artistic styles, including unexpected and aesthetically novel compositions.
  • The framework achieves significant improvements in image realism and fidelity over the original SPIRAL, as validated through qualitative analysis and ablation studies.
  • The discriminator learns to assess realism based on semantic structure rather than pixel-level similarity, indicating the emergence of higher-level visual reasoning.
  • With sufficient training time and episode length, agents generate complex, realistic images that approach photo-realistic quality.
  • The results demonstrate that visual abstraction and realism can emerge from embodied simulation without supervision, imitation, or social cues, relying only on environmental constraints and adversarial training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.