Skip to content

BrushOff: Stroke-based repainting as a watermark removal attack against paintingsBrushOff: Stroke-Based Re-rendering as a Watermark Removal Attack on Painting

arXiv· arXiv:2610.26682· Hao Chen, Junnan Xu·Indexed by this site · 2 days ago· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors propose the BrushOff repainting attack using a pretrained Paint Transformer: RP-2048/L6 reduces the VINE detection rate to 1.8%, with MUSIQ at 58.2.

Threat modelThe attacker holds a watermarked painting, and the goal is to remove the provenance mark; the attacker does not know the watermarking method, key, or payload, cannot query the detector, and does not train any model. Success requires that the detector no longer find the watermark at a fixed false positive rate, and that the output still looks like a hand-made copy of the same painting.

Questions
Existing invisible watermark evaluations mainly cover common distortions and generative regeneration; the authors examine whether a provenance watermark can still be detected after a painting is re-rendered with strokes, and whether the image preserves the original content.
Methods
BrushOff directly uses a pretrained Paint Transformer to repaint watermarked paintings from coarse to fine, without training or querying the detector; it adjusts strength by stroke count and analyzes surviving signals with absolute and relative luminance probes.
Experiments and results
On 500 WikiArt paintings, RP-2048/L6 reduces the VINE detection rate to 1.8%, with MUSIQ at 58.2; at the same detection rate, Regen-0.8 has a DreamSim of 0.559, and repainting is 0.265.
Limitations and future work
The authors test only Paint Transformer and study only paintings; repainting leaves brushstrokes and dark spots at edges. The three weaker watermarks use only 100 images at canvas 2048, and fidelity is computed only on VINE images.
Experimental setupVINE、TrustMark et al. · WikiArt · detection rate、bit accuracy et al.
Evaluated models
VINETrustMarkRivaGANDwtDctSvdDwtDctQIM (absolute brightness)Pair (relative brightness)
Benchmarks
WikiArt
Metrics
detection ratebit accuracyDISTSDreamSimMUSIQPSNR
AI summaryFor invisible watermarks used to mark the attribution of paintings, researchers propose a removal attack called BrushOff, which repaints watermarked paintings with a pretrained brushstroke renderer, reducing the detection rate of the edit-resistant watermark VINE from at least 97.8% to 1.8%, requiring no training, no knowledge of the watermark, and no generative model. The authors tested four watermarks on 500 paintings in five styles; VINE withstood all 14 conventional distortions tested, and after repainting the output's no-reference image quality score was close to that of clean paintings. Diffusion regeneration can also remove VINE, but at the same level of removal the image's shift in DreamSim distance is twice that of stroke-based repainting, and it changes the image content; because the renderer's stroke count is countable, attack strength can be controlled incrementally. The authors also tested signal survival: a probe encoding bits in the relative luminance of adjacent regions withstood repainting, while a probe using absolute luminance did not, and on this basis they point out that robustness to these two attacks is of a different nature, and watermark benchmarks should test both.

For invisible watermarks used to mark the attribution of paintings, researchers propose a removal attack called BrushOff, which repaints watermarked paintings with a pretrained brushstroke renderer, reducing the detection rate of the edit-resistant watermark VINE from at least 97.8% to 1.8%, requiring no training, no knowledge of the watermark, and no generative model. The authors tested four watermarks on 500 paintings in five styles; VINE withstood all 14 conventional distortions tested, and after repainting the output's no-reference image quality score was close to that of clean paintings. Diffusion regeneration can also remove VINE, but at the same level of removal the image's shift in DreamSim distance is twice that of stroke-based repainting, and it changes the image content; because the renderer's stroke count is countable, attack strength can be controlled incrementally. The authors also tested signal survival: a probe encoding bits in the relative luminance of adjacent regions withstood repainting, while a probe using absolute luminance did not, and on this basis they point out that robustness to these two attacks is of a different nature, and watermark benchmarks should test both.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Examines whether non-generative stroke repainting can remove painting watermarks, and simultaneously tests the removal rate and image fidelity.

    The core question is: after a painting is repainted with automatic strokes, can the invisible watermark used to record ownership still be detected, and does the image still look like the original work?

    • Application scenario: The authors state that artists, museums and platforms can embed an owner ID before sharing a painting; the watermark needs to withstand copying and modification, whereas manual copying does not copy pixels but only reproduces composition, colors and main shapes.
    • Gaps in existing evaluations: WAVES, W-Bench and others cover distortions, regeneration and image editing, and Zhao et al.'s diffusion regeneration relies on a learned generative prior. The authors argue that testing only these attacks would miss non-generative re-rendering.
    • Core observation: Paint Transformer describes strokes with parameters such as position, size, angle and color; colors are sampled from the input and content is not fabricated from a generative prior; signals not captured by strokes are lost, and the number of strokes also forms a countable capacity bottleneck.
    • Proposed work: The authors propose BrushOff, which directly repaints watermarked images without training or watermark knowledge; it compares four post-hoc watermarks, 14 common distortions and diffusion regeneration, and uses two low-frequency probes to examine what signals survive.
    • Threat model:
      • Goal: Remove the provenance mark of a shared painting, then pass off the repainted result as one's own work.
      • Knowledge: The attacker has only a watermarked image and does not know the method, key or payload.
      • Capability: Cannot query the detector, does not train any model, and uses a publicly available pretrained renderer.
      • Success criterion: No longer detected at a fixed false positive rate, while the output still looks like a hand-made copy of the same painting; therefore detection rate is always reported together with fidelity.
  2. What related research exists?

    Related work is divided into watermarking, removal attacks, artwork protection, and stroke rendering; this paper is positioned as non-generative repainting removal.

    Image watermarking

    • Classical and learned methods: Classical methods embed bits in transform domains such as DWT and DCT; HiDDeN, StegaStamp, RivaGAN and others jointly train an encoder and decoder, and often add distortions during training.
    • TrustMark and VINE: TrustMark adds error correction and supports arbitrary resolutions; VINE uses a generative prior, and its training objective includes resistance to diffusion-based image editing.
    • Embedding during generation: Stable Signature, Tree-Ring and Gaussian Shading embed watermarks during image generation. This paper focuses on post-hoc watermarks because paintings already exist before being marked.

    Watermark removal and evaluation

    • Zhao et al. (2024): Encodes an image into a generative model and then decodes it, removing pixel-level watermarks; diffusion editing has also been used for removal or laundering. The authors note that these attacks all rely on a learned generative prior, whereas BrushOff does not.
    • WAVES and W-Bench: Test watermark robustness against distortions, regeneration and image editing. The authors suggest adding stroke-based repainting to such benchmarks.

    Artwork protection and stroke rendering

    • Artwork protection: StyleMark, IRWArt, AuthenLoRA and others protect artworks or styles; Glaze is adversarial protection, and the paper cites Hönig et al. as saying it can be removed by simple steps such as noisy upscaling. This paper studies invisible marks that record ownership.
    • Rendering and steganography: Learning to Paint uses reinforcement learning, and Paint Transformer predicts strokes in one pass with a transformer and paints from coarse to fine; later work progressively predicts painting regions. StegoNPR hides data through non-photorealistic stroke arrangements, whereas this paper uses strokes to remove data.

    Experimental controls and data

    • Baselines and benchmarks: The removal controls are 14 common distortions and diffusion regeneration based on Stable Diffusion 2.1-base; the tested watermarks are VINE, TrustMark, RivaGAN and DwtDctSvd, with DwtDct reported only for embedding quality. The data are 500 paintings from WikiArt.

    The authors state that, to their knowledge, stroke-based rendering has not been studied as a watermark removal attack; its distinction is that re-rendering without a generative prior separates the two removal mechanisms of "repainting" and "replacing content with a learned prior."

  3. How does the paper address this problem?

    BrushOff repaints hierarchically with Paint Transformer, and analyzes watermark survival conditions using detection rate, fidelity, and luminance probes.

    The overall idea is to convert a watermarked painting into a set of explicit strokes and then render it back into an image. BrushOff does not optimize a watermark objective and does not train a model; attack strength is controlled by the number of rendering levels, canvas size and actual number of strokes.

    Problem setting and detection criterion

    • Attack targets: Four post-hoc watermarks, including 100-bit VINE-R, TrustMark Q with a 61-bit payload plus default BCH, 32-bit RivaGAN and 32-bit DwtDctSvd; the same fixed payload is used for each image.
    • Detection threshold: The fixed false positive rate is 10^-3. Assuming the decoded bits of an unwatermarked image are independent and uniform, the smallest threshold is chosen such that the probability of accidentally reaching that bit accuracy does not exceed 10^-3.
    • Specific criteria: The threshold for RivaGAN and DwtDctSvd is 26/32, and for VINE it is 66/100; TrustMark is judged detected only when error correction succeeds and the payload is recovered exactly.
    • Handling embedding failures: False positives are first checked on 500 clean paintings, and none of the detectors triggered; images not detected before the attack are not counted in the attack evaluation for that watermark and are reported separately.

    Stroke repainting and attack strength

    • Rendering process: At layer k, Paint Transformer scales the target to 32·2k pixels per side and divides it into 32×32 patches; each patch predicts 8 strokes based on the target and the current canvas.
    • Stroke representation: Each stroke has five shape parameters—center x, y, width, height, angle—and one RGB color; the color is sampled from the target image at the stroke center; a binary decision controls whether the stroke is drawn.
    • Hierarchical output: Canvas size S corresponds to K+1 levels, where K=⌈log2(S/32)⌉; the official code finally adds a border pass with a half-patch offset to cover seams.
    • stroke levels: The canvas is saved after each level; Lℓ (ℓ≤K+1) is the result after level ℓ−1, and L(K+2) adds the border pass; a single painting pass yields all levels.

    Canvas, distortions and regeneration controls

    • Canvas settings: For 512×512 input, when S∈{1024,2048}, bicubic upsampling is applied first, and after painting it is downsampled back to 512×512 with anti-aliasing; 512, 1024 and 2048 produce 6, 7 and 8 levels respectively.
    • Attack grid: Canvas 512, 1024 and 2048 are actually run, for 21 settings in total, from RP-512/L1 to RP-2048/L8; the border pass does not binarize stroke decisions, so the final level draws all predicted strokes.
    • Common distortions: JPEG quality 90, 70, 50, 30, 10, 5; Gaussian blur radius 1, 2, 4, 6, 8; scaling factors 0.5, 0.25, 0.125 followed by bicubic upscaling, with all outputs saved as PNG.
    • Diffusion regeneration: Stable Diffusion 2.1-base image-to-image, empty prompt, no classifier-free guidance, 50 denoising steps, fixed seed; the four watermarks are tested at strength 0 to 0.5, and VINE is additionally tested at 0.6, 0.7, 0.8.

    Fidelity and statistics

    • Comparison targets: DISTS, DreamSim, MUSIQ and PSNR are all computed relative to clean paintings, not watermarked images; lower DISTS and DreamSim mean closer, and higher MUSIQ means higher no-reference quality.
    • Joint interpretation: MUSIQ does not check whether content is consistent, and a coarse repainting with few strokes may also score high, so the authors always read it together with DreamSim.
    • Unified fidelity: In the pilot study, fidelity hardly varies with watermark type, so fidelity is computed only on VINE images and used for all methods.
    • Interval estimation: Detection rates are reported with 95% confidence intervals, using image bootstrap with 2,000 resamples and the percentile method.

    Two types of low-frequency probes

    • Common design: The image is divided into G×G blocks, and only the average brightness is changed through a Hann window within each block, with R, G and B changing synchronously; both probes carry the same 32-bit payload, repeated in a keyed permutation.
    • QIM probe: Quantization index modulation encodes one bit in the absolute average brightness of a single block, testing G∈{8,16}, ∆∈{8,16}.
    • pair probe: Bits are encoded in the relative brightness of adjacent block pairs; when G=16 there are 128 pairs and each bit is repeated 4 times, testing T∈{4,8}, with truncated voting used for decoding.
    • Purpose of analysis: The probes are only textbook schemes and are not proposed as new watermarks; they are used to test whether relative brightness between regions can pass through stroke repainting better than absolute brightness.
  4. What experiments did the paper conduct?

    On 500 WikiArt paintings, repainting removes VINE with a lower DreamSim; the probes show that the robustness of the two types of re-rendering does not coincide.

    Experimental Setup

    • Data: 500 WikiArt paintings in total, 100 each of Baroque, Impressionism, Pointillism, Ukiyo-e, and Color Field Painting; randomly sampled with a fixed seed, short side at least 512 pixels, center-cropped and resized to 512×512.
    • Watermarks under test: VINE-R, TrustMark Q, RivaGAN, DwtDctSvd; DwtDct had 151/500 undetected after embedding, so it is only listed in Table I and not included in the attack evaluation.
    • Embedding quality: VINE, TrustMark, and DwtDctSvd were all detected after embedding on 500 paintings, RivaGAN on 485; the average PSNR of the four methods is 36.9, 42.4, 40.5, and 37.8 dB, respectively (Table I).
    • Attack samples: all 21 repainting settings of VINE are run on 500 paintings; the other three watermarks, because canvas 2048 is slower, are only run on a 100-image subset consisting of the first 20 of each style.
    • Baselines and metrics: 14 conventional distortions, diffusion regeneration; metrics are detection rate, DISTS, DreamSim, MUSIQ, PSNR, detection at fixed FPR=10^-3, fidelity relative to clean paintings.
    • Probe experiments: QIM and pair are each embedded in 100 images consisting of the first 20 of each style; embedding failures count as misses, the denominator remains 100, and the detection threshold is the same as the other 32-bit methods.

    Main Results

    According to Table II; detection rates are copied as decimals, † denotes the 100-image subset, and fidelity is computed on VINE images.

    Swipe horizontally to read the table

    AttackStrokesDreamSim↓MUSIQ↑PSNR↑VINETrustMarkRivaGANDwtDctSvd
    JPEG q5–0.23032.323.10.9920.0000.0020.000
    Blur r8–0.35515.121.51.0000.0500.0000.058
    Regen-0.5–0.25659.118.30.4740.0000.0000.000
    Regen-0.8–0.55963.214.40.018not reportednot reportednot reported
    RP-512/L64,2490.28059.520.10.5320.0000.1260.262
    RP-1024/L66,0450.26757.919.90.0300.0000.1960.158
    RP-2048/L66,0420.26558.219.90.0180.000†0.226†0.180†
    RP-2048/L850,1920.11657.123.61.0000.030†0.849†0.470†
    • The exceptionality of VINE: the authors report that VINE has a detection rate of at least 97.8% under all 14 conventional distortions, but after RP-2048/L6 it drops to 1.8% (95% CI: 0.8–3.2%); the average MUSIQ of clean paintings is 59.2.
    • Equal-removal comparison: only Regen-0.8 reaches the same 1.8% detection rate as RP-2048/L6; the authors state that at this point diffusion regeneration makes the image about twice as far from the original on DreamSim, and in the Figure 1 example the composition and subject also change.
    • Similar-distance comparison: Regen-0.5 and RP-2048/L6 are close in DreamSim and MUSIQ, but the VINE detection rates are 47.4% (95% CI: 42.8–51.8%) and 1.8%, respectively; the authors explain that VINE's training objective is close to generative editing, rather than this prior-free repainting.

    Stroke Count, Canvas, and Style

    • VINE's transition interval: in Figure 3, at about 1,900 strokes or fewer the detection rate is at most 0.2%, at about 16,000 strokes (RP-2048/L7) it is 62%, and at about 50,000 strokes (RP-2048/L8) it is 100%; based on this, the authors choose RP-2048/L6, the finest level that can still remove the watermark.
    • Not just count: RP-512/L6 has about 4,200 strokes and a detection rate of 53%, while RP-2048/L6 has about 6,000 strokes and a detection rate of 1.8%; RP-1024/L7 and RP-2048/L7 have about 14,800 and 16,400 strokes, with detection rates of 96% and 62%. The authors state that stroke size and position also have an effect.
    • Style differences: under RP-2048/L6, the VINE detection rate for all five styles is at most 7%; under RP-2048/L7, Color Field is 40% and Pointillism is 87%, with the other three between 55% and 65%.

    Other Watermarks and Attack Cost

    • Robustness ranking changes: TrustMark is 95.4% and 82.6% under Blur r4 and Resize 0.125, respectively (Table II), which the main text rounds to 95% and 83%, but all repainting settings remove it, and even the finest RP-2048/L8 is only 3%.
    • Opposite case: RivaGAN is 0% under Blur r8, yet retains 84.9% under RP-2048/L8 (Table II; the main text says 85%); based on this, the authors argue that conventional distortion robustness cannot predict repainting robustness.
    • Repainting is not always the cheapest: JPEG q10 removes three weaker watermarks at DreamSim 0.111, and Regen-0.1 reduces the three to at most 9% at DreamSim 0.061; the authors state that repainting's advantage is specific to VINE.
    • Runtime cost: the authors report that canvas 2048 takes about 27 s/image on one consumer GPU, with no training required; the paper does not report the corresponding time for diffusion regeneration.

    Surviving-Signal Probes

    • Relative-luminance survival: pair T=8 has a detection rate of 83% after RP-2048/L6 (95% CI: 76–89%, n=100), still 77% after RP-512/L5 at about 1,900 strokes, and at least 91% under all conventional distortions.
    • Absolute-luminance failure: the four QIM configurations have a detection rate of at most 5% after L6 and finer levels; but they still have detection rates of 66–98% (Blur r8) and 71–97% (JPEG q5) under conventional distortions.
    • Visibility cost and cross results: pair T=8 has an embedding PSNR of 30.6 dB, versus 36.9 dB for VINE; pair T=4 has a PSNR of about 37.5 dB and a detection rate of 29% after repainting (95% CI: 22–36%). The same surviving pair probe is only 6% after Regen-0.5, versus 47.4% for VINE (Table II; the main text here writes 47%).

    Other Ablations and Analyses

    • Embedding failures: RivaGAN has 15/500 undetected before the attack, 14 of which are Color Field; these images do not correspond to the attack evaluation for that watermark.
    • pair writability: at T=4, 60/100 are detected immediately after embedding, and at T=8, 96/100; the latter has lower embedding PSNR.
    • Decoder change: the initial pair decoder detected only 36/100 after embedding at T=8; changing to clipped vote resolved this issue, and the authors state that the false positive rate is unchanged.
    • Coarse-level results: in L1–L5, no watermark under any canvas has a detection proportion exceeding 6%, but DreamSim is above 0.35 for all, with considerable detail loss.
    • MUSIQ counterexample: diffusion regeneration's MUSIQ rises from 58.2 at strength 0 to 63.2 at strength 0.8; the authors state that the model adds sharp details that the original painting does not have, so it must be combined with DreamSim.
  5. What are some points that can be further explored?

    The authors list limitations such as the renderer, copy exactness, and sample scope, and suggest that benchmarks include non-generative repainting.

    Limitations and Future Directions Noted by the Authors

    • Renderer scope: only Paint Transformer is tested; the authors note that other renderers such as Learning to Paint may perform differently (Sec. VII-c).
    • Not an exact copy: repainting changes texture and leaves visible brushstrokes; the output is a convincing copy rather than an exact reproduction; the attack is less useful for purposes requiring exact reproduction (Sec. VII-c).
    • Edge spots: there are small dark spots on the right and bottom edges from the black initial canvas of the official code; the authors state that this does not affect the conclusions, but a stronger attacker could easily remove them (Sec. VII-c).
    • Samples and fidelity computation: canvas 2048 for the three weaker watermarks uses only 100 images, and fidelity is computed only on VINE images (Sec. VII-c).
    • Decoder adjustment: the pair decoder was modified once after seeing the first batch of results (Sec. VII-c; see Sec. VI-A for the specific process).
    • Object scope and future combinations: watermarks embedded at generation time such as Tree-Ring and Gaussian Shading are not tested, and only paintings are studied; the authors leave "combining relative-luminance signals with learned watermarks to cover both types of attack" as future work, and suggest that benchmarks include non-generative re-rendering (Sec. VII-a, b, c).

    Scope of the Experiments

    • Data and models: the experiments use 500 paintings in five painting styles from WikiArt; the only attack renderer is Paint Transformer, and the diffusion comparison is Stable Diffusion 2.1-base (Sec. IV-A, IV-D).
    • Watermark scope: the attack evaluation covers four post-hoc methods: VINE, TrustMark, RivaGAN, and DwtDctSvd; DwtDct only reports embedding quality (Sec. IV-B).
    • Sample allocation: all repainting settings for VINE use 500 paintings; the other three watermarks use a 100-image subset at canvas 2048, and the probe experiments also use 100 images (Sec. IV-D, VI-B).
    • Statistics and human evaluation: detection rate intervals are obtained from 2,000 image bootstraps; the paper does not report human content-consistency evaluation or human ratings (Sec. IV-E).
    • Applicability to photographs: the authors explicitly state that only paintings are studied; on photographs the repainting result would look like a painting, so their threat model does not apply (Sec. VII-c).
  6. Summarize the main content of the paper

    BrushOff uses stroke repainting without generative priors to remove VINE, and shows that repainting and regeneration robustness need to be evaluated separately.

    BrushOff is a removal attack against post-hoc invisible watermarks on paintings: the attacker has only a watermarked image, does not know the method, key, or payload, cannot query the detector, and does not train a model.

    • Method: the public pretrained Paint Transformer paints the image into strokes from coarse to fine, with colors sampled directly from the input; different canvases and levels form a countable attack strength, without a diffusion model or generative priors.
    • Main results: on 500 paintings of five styles from WikiArt, VINE has a detection rate of at least 97.8% under all 14 conventional distortions; after RP-2048/L6 it drops to 1.8% (95% CI: 0.8–3.2%), with MUSIQ at 58.2, versus 59.2 for clean paintings (Table II).
    • Comparison with regeneration: only Regen-0.8 reaches the same 1.8% detection rate, with a DreamSim of 0.559, versus 0.265 for RP-2048/L6; under Regen-0.5, which has a similar DreamSim, VINE is still detected 47.4% of the time.
    • More strokes is not always better: the VINE detection rate rises back to 61.8% for RP-2048/L7 and is 100% for RP-2048/L8; the authors state that the best setting is the finest level that can still remove the watermark, here RP-2048/L6.
    • Signal analysis: on 100 images, the pair T=8 relative-luminance probe detects 83% after RP-2048/L6, but only 6% after Regen-0.5; the QIM absolute-luminance probe detects at most 5% after L6 and finer levels.

    Based on this, the authors argue that robustness to diffusion regeneration and to stroke repainting are different in nature, and that conventional distortion robustness cannot predict either; no tested method resists both types of attack simultaneously. The authors suggest that watermark benchmarks include non-generative re-rendering, and leave combining relative-luminance signals with learned watermarks as future work.

Read originalarxiv.org