Lune

AAAI2021Top-tier venue

Content Masked Loss: Human-Like Brush Stroke Planning in a Reinforcement Learning Painting Agent

Peter Schaldenbrand, Jean Oh

Abstract

The objective of most Reinforcement Learning painting agents is to minimize the loss between a target image and the paint canvas. Human painter artistry emphasizes important features of the target image rather than simply reproducing it (DiPaola 2007). Using adversarial or L2 losses in the RL painting models, although its final output is generally a work of finesse, produces a stroke sequence that is vastly different from that which a human would produce since the model does not have knowledge about the abstract features in the target image. In order to increase the human-like planning of the model without the use of expensive human data, we introduce a new loss function for use with the model's reward function: Content Masked Loss. In the context of robot painting, Content Masked Loss employs an object detection model to extract features which are used to assign higher weight to regions of the canvas that a human would find important for recognizing content. The results, based on 332 human evaluators, show that the digital paintings produced by our Content Masked model show detectable subject matter earlier in the stroke sequence than existing methods without compromising on the quality of the final painting. Our code is available at https://github.com/pschaldenbrand/ContentMaskedLoss .

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.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DiffBMP: Differentiable Rendering with Bitmap Primitives cites Learning to Paint With Model-Based Deep Reinforcement Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. DiffBMP: Differentiable Rendering with Bitmap PrimitivesSeongmin Hong, Junghun James Kim, Daehyeop Kim, Insoo Chung et al.CVPR 2026

Builds on1

  1. Learning to Paint With Model-Based Deep Reinforcement LearningZhewei Huang, Shuchang Zhou, Wen HengICCV 2019 · 180 citations

Related papers

  1. Reinforcement Learning-based Adversarial Attacks on Object Detectors using Reward ShapingZhenbo Shi, Wei Yang, Zhenbo Xu, Zhidong Yu et al.ACM MM 2023 · 3 citations
  2. Combining Semantic Guidance and Deep Reinforcement Learning for Generating Human Level PaintingsJaskirat Singh, Liang ZhengCVPR 2021
  3. Neural Collage Transfer: Artistic Reconstruction via Material ManipulationGanghun Lee, Minji Kim, Yunsu Lee, Minsu Lee et al.ICCV 2023 · 2 citations
  4. Towards Artist-Like Painting Agents with Multi-Granularity Semantic AlignmentZhangli Hu, Ye Chen, Zhongyin Zhao, Jinfan Liu et al.ACM MM 2024 · 6 citations
  5. 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
Dusk over the sea between two cliffs drawn in fine vertical lines