Paint Transformer: Feed Forward Neural Painting with Stroke Prediction
Songhua Liu, Tianwei Lin, Dongliang He, Fu Li, Ruifeng Deng, Xin Li, Errui Ding, Hao Wang
Abstract
Neural painting refers to the procedure of producing a series of strokes for a given image and non-photo-realistically recreating it using neural networks. While reinforcement learning (RL) based agents can generate a stroke sequence step by step for this task, it is not easy to train a stable RL agent. On the other hand, stroke optimization methods search for a set of stroke parameters iteratively in a large search space; such low efficiency significantly limits their prevalence and practicality. Different from previous methods, in this paper, we formulate the task as a set prediction problem and propose a novel Transformer-based framework, dubbed Paint Transformer, to predict the parameters of a stroke set with a feed forward network. This way, our model can generate a set of strokes in parallel and obtain the final painting of size 512 × 512 in near real time. More importantly, since there is no dataset available for training the Paint Transformer, we devise a self-training pipeline such that it can be trained without any off-the-shelf dataset while still achieving excellent generalization capability. Experiments demonstrate that our method achieves better painting performance than previous ones with cheaper training and inference costs. Codes and models are available on https://github.com/wzmsltw/PaintTransformer.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
21 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Stroke-based Neural Painting and Stylization with Dynamically Predicted Painting Region cites AdaAttN: Revisit Attention Mechanism in Arbitrary Neural Style Transfer
- Stroke-based Neural Painting and Stylization with Dynamically Predicted Painting Region cites Learning to Paint With Model-Based Deep Reinforcement Learning
- Optimize & Reduce: A Top-Down Approach for Image Vectorization cites Towards Layer-wise Image Vectorization
- Optimize & Reduce: A Top-Down Approach for Image Vectorization cites Learning to generate line drawings that convey geometry and semantics
- Learning to generate line drawings that convey geometry and semantics cites Learning to Paint With Model-Based Deep Reinforcement Learning
Cited by top-tier papers21
- Learning to generate line drawings that convey geometry and semanticsCaroline Chan, Frédo Durand, Phillip IsolaCVPR 2022 · 86 citations
- Towards Layer-wise Image VectorizationXu Ma, Yuqian Zhou, Xingqian Xu, Bin Sun et al.CVPR 2022 · 56 citations
- Stroke-based Neural Painting and Stylization with Dynamically Predicted Painting RegionTeng Hu, Ran Yi, Haokun Zhu, Liang Liu et al.ACM MM 2023 · 23 citations
- Collaborative Transformers for Grounded Situation RecognitionJunhyeong Cho, Youngseok Yoon, Suha KwakCVPR 2022 · 23 citations
- Optimize & Reduce: A Top-Down Approach for Image VectorizationOr Hirschorn, Amir Jevnisek, Shai AvidanAAAI 2024 · 20 citations
Builds on8
- FCOS: Fully Convolutional One-Stage Object DetectionZhi Tian, Chunhua Shen, Hao Chen, Tong HeICCV 2019 · 6,042 citations
- Rethinking Rotated Object Detection with Gaussian Wasserstein Distance LossXue Yang, Junchi Yan, Qi Ming, Wentao Wang et al.ICML 2021 · 572 citations
- AdaAttN: Revisit Attention Mechanism in Arbitrary Neural Style TransferSonghua Liu, Tianwei Lin, Dongliang He, Fu Li et al.ICCV 2021 · 421 citations
- Learning to Paint With Model-Based Deep Reinforcement LearningZhewei Huang, Shuchang Zhou, Wen HengICCV 2019 · 180 citations
- Drafting and Revision: Laplacian Pyramid Network for Fast High-Quality Artistic Style TransferTianwei Lin, Zhuoqi Ma, Fu Li, Dongliang He et al.CVPR 2021
Related papers
- Stylized Neural PaintingZhengxia Zou, Tianyang Shi, Shuang Qiu, Yi Yuan et al.CVPR 2021
- Combining Semantic Guidance and Deep Reinforcement Learning for Generating Human Level PaintingsJaskirat Singh, Liang ZhengCVPR 2021
- RenderFormer: Transformer-based Neural Rendering of Triangle Meshes with Global IlluminationChong Zeng, Yue Dong, Pieter Peers, Hongzhi Wu et al.SIGGRAPH 2025 · 5 citations
- Rethinking Style Transfer: From Pixels to Parameterized BrushstrokesDmytro Kotovenko, Matthias Wright, Arthur Heimbrecht, Björn OmmerCVPR 2021
- Painting Many Pasts: Synthesizing Time Lapse Videos of PaintingsAmy Zhao, Guha Balakrishnan, Kathleen M. Lewis, Frédo Durand et al.CVPR 2020
