Birth of a Painting: Differentiable Brushstroke Reconstruction

Ying Jiang, Jiayin Lu, Yunuo Chen, Yumeng He, Kui Wu, Yin Yang, Chenfanfu JiangarXiv 2025 · DOI

Introduction

While generative AI has mastered the creation of static images, replicating the human artistic process—the iterative layering of paint, the blending of colors, and the tactile application of texture—remains a significant challenge. This paper introduces a differentiable framework designed to reconstruct this process by unifying brushstroke geometry, stylized textures, and a novel "smudge" operator.

Reconstructed digital artworks across various styles using the proposed differentiable framework.

The Challenge of Stroke-Based Rendering

Existing stroke-based rendering (SBR) methods typically struggle with two primary issues. First, they often produce "hard edges," layering flat colors in a way that resembles vector art rather than physical painting. They lack the mechanism for smooth tonal transitions found in real-world blending. Second, they suffer from style inflexibility, often requiring separate training for different media like oil or watercolor.

Methodology: A Coarse-to-Fine Pipeline

The authors propose a three-phase optimization pipeline to bridge the gap between digital generation and physical artistry.

1. Parallel Paint Stroke Reconstruction

Strokes are represented as open Bézier curves. To overcome the slow, sequential nature of traditional renderers, the authors developed a parallel differentiable stamp-based renderer. By utilizing a Signed Distance Function (SDF) to assign pixel colors based on the nearest stamp center, the system achieves a 7x speedup on GPUs.

2. The Smudge Operator and Texture

The most significant contribution is the differentiable smudge operator. Traditional smudging is a recursive process that is difficult to differentiate. The authors formulated a "one-shot" initialization strategy that allows the system to optimize color blending across the canvas. Combined with a StyleGAN-based generator for texture, the model can move from flat geometry to realistic painterly effects.

Comparison of shading techniques: (a) hard edges typical of traditional SBR, (b) smooth gradients from the smudge operator, and (c) the final textured painterly effect.

Key Results and Insights

The "Paint-Smudge" loop proves that realism stems from the interaction between adding material and manipulating it. Quantitatively, the method consistently outperformed state-of-the-art baselines across PSNR, SSIM, and LPIPS metrics. Notably, at 512 strokes, it achieved a Fréchet Distance (FD) of 6.64, significantly lower than the next best baseline (Learning to Paint at 11.27).

Beyond technical metrics, a user study revealed that both novices and professional artists preferred the proposed method's results over 70% of the time, citing superior color alignment and texture quality. The efficiency of the parallel renderer also makes it a practical tool for high-resolution digital art reconstruction.

Conclusion

By turning a sequential physical simulation into a differentiable optimization problem, this framework provides a robust path for machines to not just generate images, but to "paint" them. Future work may explore more dynamic stroke geometries and non-linear painting strategies to further mimic the spontaneity of human artists.

Summary updated

BibTeX
@misc{jiang2025birth,
  author = {Ying Jiang and Jiayin Lu and Yunuo Chen and Yumeng He and Kui Wu and Yin Yang and Chenfanfu Jiang},
  title = {{Birth of a Painting: Differentiable Brushstroke Reconstruction}},
  year = {2025},
  eprint = {2511.13191},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.13191},
}
Figure