cs.CVMar 29, 2026

Look, Compare and Draw: Differential Query Transformer for Automatic Oil Painting

Authors: Lingyu Liu, Yaxiong Wang, Li Zhu, Lizi Liao, Zhedong Zheng

Organizations: School of Software, Xi’an Jiao-tong University, Xi’an, 710049, China. · School of Computer and Information Science, Hefei University of Technology, Jianghuai Advance Technology Center, Anhui Provincial Key Laboratory of Humanoid Robots. Anhui Provincial Industry Innovation Center of Humanoid Robots, Hefei, 230000, China. · Singapore Management University, 188065, Singapore · Faculty of Science and Technology, and Institute of Collaborative Innovation, University of Macau, Macau, 999078, China.

Abstract

This work introduces a new approach to automatic oil painting that emphasizes the creation of dynamic and expressive brushstrokes. A pivotal challenge lies in mitigating the duplicate and common-place strokes, which often lead to less aesthetic outcomes. Inspired by the human painting process, \ie, observing, comparing, and drawing, we incorporate differential image analysis into a neural oil painting model, allowing the model to effectively concentrate on the incremental impact of successive brushstrokes. To operationalize this concept, we propose the Differential Query Transformer (DQ-Transformer), a new architecture that leverages differentially derived image representations enriched with positional encoding to guide the stroke prediction process. This integration enables the model to maintain heightened sensitivity to local details, resulting in more refined and nuanced stroke generation. Furthermore, we incorporate adversarial training into our framework, enhancing the accuracy of stroke prediction and thereby improving the overall realism and fidelity of the synthesized paintings. Extensive qualitative evaluations, complemented by a controlled user study, validate that our DQ-Transformer surpasses existing methods in both visual realism and artistic authenticity, typically achieving these results with fewer strokes. The stroke-by-stroke painting animations are available on our project website.

Figures & tables

Explore similar work

CardsList
  1. Data-Efficient Brushstroke Generation with Diffusion Models for Oil Painting

    Mar 1, 2026Dantong Qin, Alessandro Bozzon, Xian Yang +3Generative ModelingImage Generation

  2. PaintCopilot: Modeling Painting as Autonomous Artistic Continuation

    May 20, 2026Yunge Wen, Yuancheng Shen, Paul Pu LiangAutoregressive Image GenerationHuman-AI Co-Creation