Skip to content

RAPID: Real-time Defense Against Unauthorized Distillation for Text-to-Image ServicesRAPID: A Real-Time Defense Against Unauthorized Model Distillation for Text-to-Image Services

arXiv· arXiv:2609.15799· Zihan Wang, Boheng Li, Rui Zhang, Wenshu Fan, Qingchuan Zhao, Tianwei Zhang, Hongwei Li, Guowen Xu·Indexed by this site · 2026-10-01· Originally publishedDefenses

Quick read

Defenses

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

The authors propose RAPID, which writes anti-distillation perturbations offline into the VAE decoder of T2I, making the online protection latency and memory increment 0, and degrading the surrogate model's generation quality in most settings.

Threat modelBlack-box output distillation: the attacker has only black-box query access, can choose arbitrary prompts, query unlimited times, and store returned images, using prompt-image pairs to train a surrogate diffusion model; the defender fully controls the deployed T2I, does not know the attacker's training strategy, and aims to faithfully serve outputs while reducing their utility as distillation supervision.

Questions
The generation capability of a commercial diffusion text-to-image service can be collected via black-box queries into prompt-image pairs and distilled into a surrogate model. Sample-wise perturbations can interfere with training, but online optimization incurs delays from seconds to about two minutes, making it unsuitable for low-latency services.
Methods
RAPID uses offline fine-tuning of a shared VAE decoder, and after deployment a single forward pass outputs the protected image. The authors use reachable set analysis to point out that external objectives and random diffusion losses are hard to achieve under shared updates; they instead switch to self-referential latent variable maximization, and use reconstruction-guided color regularization to block latent variable shortcuts, then use composite visual hinge constraints to preserve fidelity.
Experiments and results
In Table 1, RAPID's online additional latency and memory are 0, while comparison methods range from about 4.53 seconds to 120 seconds. Table 3 compares against five baselines across four source models and four datasets; the authors state that RAPID disrupts surrogate model quality most strongly in most configurations while maintaining server-side visual fidelity; in some cells, baseline FID or quality scores are higher or lower.
Limitations and future work
The authors explicitly state they do not claim to defend against soft distillation that bypasses pixel supervision, directly reads teacher logits, denoising predictions, latent trajectories, or intermediate features. Evaluation covers four T2I models: PixArt, SDXL, Shuttle3, and SSD, and datasets AFHQ, Pokemon, CelebA, Landscape; online overhead is measured on RTX A6000 at 1024×1024.
Experimental setupPixArt、SSD et al. · AFHQ、Pokemon et al. · FID、QAlign et al.
Evaluated models
PixArtSSDSDXLShuttle3
Benchmarks
AFHQPokemonCelebALandscape
Metrics
FIDQAlignPickScoreAESLPIPSPSNRSSIMCIEDE2000latencyCUDA memory
AI summaryRAPID is a real-time defense method for text-to-image services that prevents attackers from training unauthorized surrogate models by collecting prompt-image pairs through black-box queries. Existing perturbation-based methods require per-sample optimization, incurring substantial computation and latency that affect online service availability; the authors attempt to integrate the defense perturbation into the VAE decoder but find that per-sample objectives are difficult to transfer to a shared decoder setting, because the latent shift caused by a shared decoder is noticeably smaller. RAPID adopts a self-referential latent-space maximization framework that removes external dependencies, allowing the same model update to produce consistent disruption effects across different training samples, and uses reconstruction-guided color regularization to block latent-space shortcuts. Across four text-to-image models and four datasets, compared with five representative baselines, RAPID consistently degrades the surrogate model's generation quality while maintaining service visual fidelity.

RAPID is a real-time defense method for text-to-image services that prevents attackers from training unauthorized surrogate models by collecting prompt-image pairs through black-box queries. Existing perturbation-based methods require per-sample optimization, incurring substantial computation and latency that affect online service availability; the authors attempt to integrate the defense perturbation into the VAE decoder but find that per-sample objectives are difficult to transfer to a shared decoder setting, because the latent shift caused by a shared decoder is noticeably smaller. RAPID adopts a self-referential latent-space maximization framework that removes external dependencies, allowing the same model update to produce consistent disruption effects across different training samples, and uses reconstruction-guided color regularization to block latent-space shortcuts. Across four text-to-image models and four datasets, compared with five representative baselines, RAPID consistently degrades the surrogate model's generation quality while maintaining service visual fidelity.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Black-box query distillation can replicate text-to-image service capabilities, while per-sample protection cannot meet online low-latency requirements.

    How can commercial diffusion-based text-to-image services reduce the training utility of public outputs for unauthorized model distillation without adding online latency.

    • Scenario and importance: The authors state that the generation capabilities of services such as Stable Diffusion, DALL-E, Imagen, Midjourney, and Adobe Firefly are intellectual property formed through high investment. An attacker only needs black-box queries to collect prompt-image pairs and can train a surrogate diffusion model that imitates prompt alignment, style, output distribution, and specialized generation behavior; providers have reported treating API distillation as an operational risk, and distillation behavior is difficult to distinguish from normal users. OpenAI, Google Gemini, Midjourney, Stability AI, and others have policies prohibiting it, but the authors argue that policies cannot technically prevent distillation.
    • Existing method limitations: Post-hoc verification (watermarks, fingerprints) requires first observing a suspicious model or output; anomalous query detection relies on behavioral assumptions that adaptive attackers can manipulate, and false positives can harm normal users. Perturbation defenses are mainly oriented toward offline, per-image optimization, and the authors state their computation and latency are large, mismatched with the low-latency, high-throughput requirements of online services. When directly transferring sample-level objectives to a shared VAE decoder, the authors report limited disruption effectiveness.
    • Core observation: Under a shared decoder, the bottleneck shifts from "how strong the disruption is" to whether the objective is reachable; larger latent shifts do not necessarily bring stronger visible disruption, which the authors attribute to latent shortcuts.
    • This paper proposes: RAPID, a forward-pass protection. Offline, defense perturbations are learned into the deployed VAE decoder, using self-referential latent maximization to improve reachability, and reconstruction-guided color regularization with composite visual constraints to disrupt downstream distillation while maintaining service visual fidelity.
    • Threat model:
      • Victim system and scenario: black-box model distillation on a public text-to-image service. The defender is the service owner or operator, with weights, training data, internal latents, and defense parameters kept private.
      • Attacker knowledge and capabilities: only black-box access; can choose arbitrary prompts, query repeatedly, store returned images, and train a surrogate model on the collected pairs. The authors consider the strict case of no query budget, because the payoff of stealing closed-source advanced T2I models is large.
      • Defender capabilities: full control of the deployed model, can modify parameters, train the full model or selected modules, and perform server-side output processing before returning; does not know the downstream attacker's training strategy.
      • Defense objectives: quality-preserving for benign users, avoiding obvious color shifts, high-frequency noise, local artifacts, or semantic drift; disrupting effectiveness for unauthorized training, so that surrogate models trained on protected outputs generate lower quality than models trained on clean outputs.
  2. What related research exists?

    Related work is divided into latent-space diffusion, query distillation, and three categories of defenses: post-hoc verification, anomaly detection, and preventive perturbation.

    The paper organizes related work in Section 2 by system structure, attacks, and three categories of defenses.

    Latent space diffusion models

    • Latent diffusion models (Rombach et al. and subsequent T2I systems): perform diffusion in the compressed latent space of a variational autoencoder, where the encoder E gives z=E(x), the decoder D reconstructs the image, and the denoising network predicts clean latents from noisy latents conditioned on text. At inference, denoising yields latents aligned with the prompt, which are then turned into the returned image by the VAE decoder. The authors therefore view the decoder as the last component controllable by the provider before crossing the black-box boundary.

    Query-based model distillation

    • Model stealing / distillation (Tramèr et al., related API stealing work): an adversary queries a prediction API and trains a local model on observed input-output pairs to approximate the victim's functionality. In T2I, the victim service Gv returns yi=Gv(pi) for prompt pi, and the attacker constructs Dsteal={(pi, yi)}, often starting from an open-source diffusion backbone or a distilled architecture to train a surrogate model Ga. The goal is not limited to copying a single returned image, but to transfer prompt alignment, style, output distribution, and specialized generation behavior.

    Three categories of defenses against unauthorized training

    • Post-hoc verification (watermarking and fingerprinting): embed detectable signals into parameters, behavior, protected data, or generated outputs, for later inspection of whether a suspicious model or output originates from protected assets. The authors consider these mainly retrospective, unable to prevent collection at the source; ordinary output watermarks may not reliably survive fine-tuning or retraining, and whether traces remain detectable after distillation is uncertain.
    • Server-side anomalous query detection: score accounts or sessions by query volume, timing, prompt diversity, near-duplicate requests, and deviation from relatively benign distributions, then rate-limit, challenge, or reject high-throughput access. The paper cites Anthropic's detection for Claude Fable 5: distillation-related requests fall back to Claude Opus 4.8. The authors argue that detection relies on behavioral assumptions that adaptive attackers can manipulate (multiple accounts, blending with normal traffic, slowing down, active learning), and does not prevent distillation at the source, making it more suitable as auxiliary monitoring.
    • Preventive image perturbation: use adversarial optimization to modify published images so that downstream generative training, personalization, or editing receives harmful or unstable signals. The latent-space branch includes Glaze (pushing works toward misleading styles) and PhotoGuard (encoder-side protection, pushing editing models toward wrong representations); the diffusion-learning branch includes AdvDM, Anti-DreamBooth, and MetaCloak, where Anti-DreamBooth uses bilevel optimization to alternately update adversarial images and surrogate personalization training. The authors consider these methods effective in their original settings, but mainly as offline per-sample protection for fixed images, subjects, styles, or editing targets, with computational and memory overhead that makes them unsuitable for online services that cannot afford per-output optimization.

    Baseline methods are AdvDM, Anti-DreamBooth, Glaze, Nightshade, PhotoGuard, plus the efficiency comparison FGSM. Benchmarks/datasets are CelebA for motivation experiments, and AFHQ, Pokemon, CelebA, Landscape for main experiments. Online overhead is also compared on 1024×1024 images for FGSM, PhotoGuard, Nightshade, Glaze, and RAPID.

    The authors position this work as an endogenous defense that is learned offline and embedded in the deployment generation path: each public output is protected in a single forward pass, avoiding per-sample optimization at query time; and they use reachable set analysis to explain why sample-level objectives perform worse when transferred to a shared decoder.

  3. How does the paper address this problem?

    RAPID fine-tunes a shared decoder offline, using self-referential latent maximization with color regularization and composite visual constraints.

    RAPID moves adversarial optimization offline into VAE decoder training: at deployment, the original decoder is replaced with a protected decoder, and a single forward pass directly produces protected images, with no per-sample optimization online. The design addresses three challenges: latency, insufficient disruption under a shared decoder, and insufficient fidelity from a single visual constraint.

    Problem setup and reachable set

    • Forward protection: θ0 is the parameter of the frozen reference decoder D0, θ is the trainable protected decoder, and θ⋆ is deployed after training. The service latent z is produced by the denoiser; the clean reference is xr=Dθ0(z), and the public output is xp=Dθ⋆(z). Online cost no longer grows with the number of protection optimization steps.
    • Two constraints: parameter sharing requires all outputs to come from the same update Δθ=θ−θ0; visual preservation requires the update to lie in Cϵ={Δθ: Lvis(Δθ)≤ϵ}. The authors write the image change within the first-order range of small updates as Δx(z)≈Jz[Δθ].
    • Reachable set: for a minimization objective L, ΩL(τ)={Δθ∈Cϵ: L(Δθ)≤τ}, i.e., shared decoder updates that are visually feasible and have loss no greater than threshold τ. The authors use it to compare the reachability of different objectives under the same response mapping A and the same Cϵ.

    Two failure modes and the self-referential objective

    • Objective dependence: per-sample perturbations of an external objective can each approach ti; a shared update, however, must fit all residuals d with a single Δθ. The local objective matching loss is Ltgt(Δθ)=(1/N)∥AΔθ−d∥²₂. If d has components outside Col(A), there is an irreducible residual. Figure 3 draws the reachable set as the intersection of the feasible circle Cϵ and the low-loss region; the objective-type region is smaller.
    • Stochasticity dependence: the diffusion learning loss Ldiff takes an expectation over time step t and noise seed η. The authors state that schedules such as DDPM have about 1000 time steps, and each step is sampled independently, so the reachable set becomes the intersection of sets corresponding to multiple loss curves, and a shared update may concentrate error on a few samples or time step–noise pairs.
    • Self-referential maximization: Lself(Δθ)=−(1/N)∥AΔθ∥²₂ only requires the response energy to be large enough, and Ωself is wider than chasing external residuals. The authors state that independent reparameterization sampling of the surrogate VAE encoder gives a slight latent difference even when xp=xr, thereby providing a nonzero training signal at initialization.

    Blocking the latent shortcut and composite visual constraints

    • Color regularization: when only maximizing latent MSE, the authors believe the autoencoder's manifold projection may smooth out the perturbation, leaving the reconstructed image close to the clean reference. They therefore add Lcolor=ΔE00(Ds(hp), xr) after the surrogate decoder, still comparing against its own clean reference without introducing an external objective direction. The delivered image xp is close to xr, while the downstream reconstruction x̂p is inconsistent with the clean reference.
    • Disruption term: Lobj=−λz Llatent−λc Lcolor, where Llatent=MSE(hp, hr). The negative sign indicates maximizing downstream divergence under global minimization.
    • Composite hinge: Lcie, Llpips, Ltv, Lpatch constrain CIEDE2000 color, LPIPS perceptual structure, total variation relative to the clean reference, and patch-wise CIEDE2000, respectively. They are counted only when exceeding the corresponding threshold τ. Lvis is the weighted sum of the four terms. The single-constraint thresholds in Figure 2 follow prior work: LPIPS=0.05, DSSIM=0.007, ϵ=32/255.

    Training procedure and success criteria

    • Total loss: Ltotal=λv Lvis−λz Llatent−λc Lcolor, with λv≫λz, λc, making visual fidelity the dominant constraint under the given threshold.
    • Algorithm 1: generate training images X with a source T2I model, obtain latents Z aligned with the service distribution via the frozen encoder E; for each mini-batch, use D0 and Dθ to obtain xr and xp, compute the thresholded visual terms, sample hp and hr from the surrogate encoder, obtain x̂p with the surrogate decoder, then descend ∇θ Ltotal. Only Dθ is updated; E, D0, Es, Ds are frozen.
    • Success criteria: on the benign side, the visual fidelity of the protected output relative to the clean output; on the attack side, the protected prompt-image pairs are used as supervision to train a surrogate model, and FID, QAlign, PickScore, Aesthetic, etc., are used to compare whether its generation quality is worse than a model trained on clean outputs. The motivation experiments additionally compare surrogate VAE reconstruction against the clean reference using latent MSE as well as L2, LPIPS, CIEDE2000, SSIM, PSNR.
  4. What experiments did the paper conduct?

    Four T2I models and four datasets compared against five baselines; RAPID has zero online overhead, and the surrogate model quality is worse in most cells.

    Experimental setup

    • Source models under test: the main results in Table 3 are organized into four blocks: SSD, PixArt, SDXL, Shuttle3. The motivation experiments use PixArt as the protected source model and SSD as the downstream distillation surrogate. The text refers to four T2I models; detailed settings are in Appendix A, and the transcribed text does not give model versions or sampler parameters.
    • Datasets: the main experiments use AFHQ, Pokemon, CelebA, and Landscape. The motivation experiments use CelebA. The paper does not give sample sizes for each set in the seen text.
    • Baselines: AdvDM, Anti-DreamBooth, Glaze, Nightshade, PhotoGuard; online cost also includes one-step FGSM. Table 3 also reports Clean (undefended distillation) and Ref. (reference quality score; Ref. is empty for FID).
    • Metrics: surrogate model generation uses FID↑, QA↓ (QAlign), PK↓ (PickScore), AES↓ (Aesthetic). Motivation experiments use latent MSE interval LG↑, as well as L2, LPIPS, CIEDE2000, SSIM, PSNR. Online cost is optimization steps, latency (seconds), and CUDA memory (MB).
    • Hardware and budget: Table 1 measures cost on an RTX A6000 at 1024×1024. FGSM is 1 step, PhotoGuard, Nightshade, and Glaze are 200 steps, RAPID is 0 steps. The motivation experiments state that each objective is optimized under the same visual budget, with settings aligned with the main experiments. The evaluation model and number of repetitions are not reported in the seen text.
    • Defense training ablation: Appendix B.4 uses SSD for downstream evaluation on AFHQ, varying decoder training epochs and comparing combinations of visual loss terms.

    Main results

    Table 3 has many numbers and columns may be misaligned in the transcription. Below, only cells where column headers and numbers align and that the authors use as representative comparisons are kept; Ours is RAPID. Higher FID means stronger disruption as defined by the authors; lower QA, PK, AES means stronger.

    Swipe horizontally to read the table

    Source modelDatasetClean FIDRAPID FIDRAPID QANotes
    SSDAFHQ40.1448.671.84Table 3; AdvDM FID 86.72 is higher
    PixArtAFHQ60.13132.621.59Table 3
    SDXLAFHQ50.4575.091.64Table 3
    Shuttle3AFHQ62.59120.371.50Table 3
    PixArtCelebA67.61102.421.91Table 3
    SDXLLandscape98.30120.482.59Table 3
    Shuttle3Pokemon73.88102.171.77Table 3
    SSDLandscape93.07113.661.76Table 3; Anti FID 91.60 is lower than Clean
    • Authors' interpretation: the authors state that RAPID disrupts most strongly in most evaluation configurations while maintaining benign service visual fidelity. In Table 3, RAPID's QA is lower than Clean in the above cells, and FID is higher than Clean.
    • Exceptions: not every cell has RAPID's FID as the highest. For example, on SSD–AFHQ, AdvDM's FID is 86.72, higher than RAPID's 48.67; on SSD–AFHQ, Anti's FID of 40.50 is lower than RAPID's, and on AES, RAPID is not lower than all baselines in several cells. The authors' "strongest" statement appears together with the qualifier "most configurations" and should not be read as optimal in every cell and every metric.
    • Online cost: in Table 1, RAPID's additional online latency is 0s and CUDA memory is 0MB; FGSM is 4.53s and 33097.27MB; PhotoGuard, Nightshade, and Glaze are about 118.94s–120.27s with 33587.55MB memory. The authors state that this cost scales proportionally with service volume, so per-sample optimization is unsuitable for online T2I.

    Motivation experiments: disruption under a shared decoder

    • What was measured: on CelebA with PixArt as source and SSD as downstream surrogate, under the same visual budget, comparing Clean, AdvDM, Anti-DreamBooth, PhotoGuard, Glaze, Nightshade, Latent max, and RAPID on latent interval and reconstruction-visible differences (Table 2).
    • Results: latent MSE interval ranges from Clean's 1.93 to Nightshade's 63.01, Latent max's 115.24, and RAPID's 103.55. RAPID's L2 is 0.0410, LPIPS 0.2086, CIEDE2000 7.17, SSIM 0.830, PSNR 27.89; Latent max's corresponding visual metrics are 0.0256, 0.1365, 2.80, 0.829, 31.94.
    • Authors' interpretation: the authors argue that reachability is more critical than nominal disruptiveness, because sample-level objectives moved to a shared decoder yield limited latent intervals (e.g., PhotoGuard only 37.63, Latent max 115.24). The authors also argue that a large latent interval does not necessarily equal large visible disruption: Latent max has the largest interval, but its reconstruction-visible metrics are weaker than RAPID's, which they interpret as a latent shortcut.

    Visual constraints and training duration

    • Single constraint: Figure 2 shows optimized images on CelebA under Reference and LPIPS, DSSIM, and l∞ constraints. The authors state that images can satisfy the chosen single constraint while still showing visible color shifts, local artifacts, and high-frequency noise, and they speculate that overfitting to a single metric occurs under shared decoder optimization. Appendix B.4 reports that using only Lcie gives a color difference of 1.94, but LPIPS is still 0.376; the authors state that visual quality stays within the required range only when all four visual losses are used together.
    • Training epochs: Figure 15, on AFHQ with SSD downstream evaluation, QAlign is lowest at epoch 7, at 1.45; FID is highest at epoch 8, at 151.10; PickScore is lowest at epoch 9, at 19.62; Aesthetic is lowest at epoch 0, at 5.19. The authors state that the best epoch varies by metric; epoch 0 samples have relatively better visual quality but are still clearly worse than Clean.
    • Ensemble surrogate VAE: Appendix B states that ensembling over a representative set of surrogate VAEs can cover a wider range of possible surrogate models without assuming knowledge of the attacker's exact model. The transcribed text does not give a quantitative table for this ensemble.

    Other ablations and analyses

    • Table 2: under the same visual budget, AdvDM / Anti-DB / PhotoGuard / Glaze have LG of 30.50, 28.88, 37.63, and 41.50, respectively, all lower than Latent max's 115.24 and RAPID's 103.55.
    • Table 2: Nightshade's LG of 63.01 is lower than Latent max's, but its LPIPS of 0.1335 and CIEDE2000 of 3.47 are still higher than Latent max's 0.1365 and 2.80; in this comparison, LPIPS is close and color difference is lower; the authors state that its visual difference can be comparable to or even more pronounced than a larger latent interval.
    • Figure 15: epoch 7's QAlign is 1.45, epoch 8's FID is 151.10, epoch 9's PickScore is 19.62, epoch 0's Aesthetic is 5.19; the best epoch is inconsistent.
    • Appendix B.4: with only Lcie, ΔE is 1.94 and LPIPS is 0.376.
    • Table 1: protection steps range from 1 (FGSM) to 200 (Glaze / Nightshade / PhotoGuard), with latency rising from about 4.53s to the 120s scale; RAPID has 0 steps.
    • AES in Table 3: in several cells, RAPID is close to or higher than Clean, e.g., on SSD–AFHQ, Clean is 5.88 and RAPID is 5.27, while on PixArt–AFHQ, Clean is 5.97 and RAPID is 5.25; the decrease in AES does not appear in every cell alongside the increase in FID.
  5. What are some points that can be further explored?

    The authors state that soft distillation beyond pixel-level supervision may render the defense ineffective; experiments cover four models and four datasets.

    Limitations and future directions noted by the authors

    • Soft distillation: Appendix C states that the authors do not claim the defense can withstand soft distillation. If an attacker bypasses pixel-level training and directly obtains teacher-side logits, denoising predictions, latent trajectories, or intermediate features, the defense may fail (Appendix C).
    • Boundary for open-source scenarios: The same section states that RAPID can also be used for open-source T2I: the protective signal is intrinsic to each published image and exists before collection begins, which is broader on the surface than post-processing that can be skipped or replaced. The authors also exclude the above internal signal interfaces from the claimed protection scope (Appendix C).
    • No separate Limitations entry in the paper: The Conclusion transcription seen so far ends at the truncation point of the main text; apart from the above notes in Appendix C, there is no separate list of limitations. Whether the watermark remains detectable after fine-tuning is the authors' judgment about related work, not a statement that "watermark failure" is a limitation of RAPID.

    Experimental coverage

    • Models and data: Main results in Table 3 cover SSD, PixArt, SDXL, Shuttle3 and AFHQ, Pokemon, CelebA, Landscape; the motivation experiment uses PixArt as the source model, SSD as the downstream surrogate, and CelebA (Section 4.2, Table 2).
    • Baselines and overhead: Disruption effectiveness is compared against AdvDM, Anti-DreamBooth, Glaze, Nightshade, PhotoGuard; online overhead on an RTX A6000 at 1024×1024 also includes a one-step FGSM (Table 1).
    • Defense implementation location: The protection is placed in offline fine-tuning of the server-side VAE decoder, with zero additional online optimization steps after deployment (Section 5, Algorithm 1, Table 1).
    • Ablations: Appendix B.4 and Figure 15 report training epochs for the SSD downstream model on AFHQ and whether the visual loss term is used jointly; Appendix B discusses ensembling over multiple surrogate VAEs, and the transcribed text does not give corresponding numerical tables.
    • Not reported in the paper: The transcribed main text and appendices seen so far do not report the number of repetitions for the main experiments, the number of prompts, distillation training steps, query counts, or the reviewer models and human agreement for QAlign, PickScore, and Aesthetic. The threat model states that the defender does not know the attacker's training strategy, and the experiments use SSD and others as downstream surrogates.
  6. Summarize the main content of the paper

    RAPID uses offline decoder fine-tuning for real-time anti-distillation, has zero online overhead, and lowers surrogate model quality in most settings.

    RAPID is a real-time anti-distillation defense for deployed text-to-image services: it shifts protection from per-image online optimization to an offline-learned shared VAE decoder, so that images received by users carry defense perturbations in a single forward pass.

    • Problem: black-box users can query the service without budget, collect prompt-image pairs, and train surrogate diffusion models. Watermarking and query detection cannot remove training utility at the source; perturbation methods such as Glaze, Nightshade, PhotoGuard, AdvDM, and Anti-DreamBooth can interfere with training in sample-level settings, but their effectiveness degrades when moved to a shared decoder, and 200-step online optimization takes about 119–120 seconds on an RTX A6000 at 1024×1024.
    • Method: the authors use the reachable set to show that external objective residuals and stochastic diffusion losses are hard to make effective for all samples simultaneously under a single small, visually feasible parameter update. RAPID instead maximizes the latent difference of the protected output relative to its own clean reference, and maximizes CIEDE2000 on the surrogate decoder reconstruction, to avoid the shortcut where only the latent changes while the reconstruction remains close to the original image. On the visual side, it uses four hinge terms: LPIPS, CIEDE2000, total variation, and patch-wise color, with the visual term weighted more heavily than the disruption terms. Only the decoder is updated.
    • Results: in Table 1, RAPID's additional online latency and CUDA memory are 0s and 0MB, while one-step FGSM still takes 4.53 seconds and about 33097MB. In Table 3, with PixArt as source and on AFHQ, RAPID's FID is 132.62 and QAlign is 1.59, compared with Clean's 60.13 and 3.10; SDXL–AFHQ FID goes from 50.45 to 75.09, and Shuttle3–AFHQ from 62.59 to 120.37. On SSD–AFHQ, AdvDM's FID of 86.72 is higher than RAPID's 48.67, so in "most configurations" there are cells where a baseline is stronger on a single metric. In Table 2, Latent max's latent interval of 115.24 is larger than RAPID's 103.55, but RAPID's CIEDE2000 is 7.17 and LPIPS is 0.2086, higher than Latent max's 2.80 and 0.1365.
    • Authors' conclusion: the authors argue that in shared decoder optimization, reachability matters more than nominal disruptiveness, and that a self-referential objective plus reconstruction color regularization can expand the effective reachable region under fidelity constraints, forming a service-level, real-time paradigm against unauthorized distillation. Appendix C adds: if the attacker instead uses the teacher's internal logits, denoising predictions, or latent trajectories, this defense may be ineffective.

Related papers

Show 3 more papers
Read originalarxiv.org