Reproduce “Paint Transformer: Feed Forward Neural Painting with Stroke Prediction” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Songhua Liu, Tianwei Lin, Dongliang He, Fu Li, Ruifeng Deng, Xin Li, Errui Ding, Hao Wang
Baidu Inc. and collaborators developed Paint Transformer, a feed-forward model leveraging Transformers and a self-training pipeline for neural painting. The approach generates high-quality, abstract images with distinct brushstrokes in near real-time, achieving inference speeds of 0.304 seconds for 512x512 images and training in under four hours.
Key insights
- Reinterpreting neural painting as a feed-forward stroke set prediction problem, leveraging Transformer architectures, significantly improves efficiency and stability.
- A self-training pipeline using synthetically generated stroke data can effectively address the lack of real-world annotated datasets for learning stroke parameters.
- Combining pixel-level loss with stroke-level losses (including L1, Wasserstein distance, and binary cross-entropy) is essential for learning both visual quality and accurate stroke properties.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.