Papers › AquaLoRA: Toward White-box Protection for Customized Stable Diffusion Models via Watermark LoRA

AquaLoRA: Toward White-box Protection for Customized Stable Diffusion Models via Watermark LoRA

18 May 2024arXiv:2405.11135links table onlyarchive 2025-07-28

Weitao Feng, Wenbo Zhou, Jiyan He, Jie Zhang, Tianyi Wei, Guanlin Li, Tianwei Zhang, Weiming Zhang, Nenghai Yu

The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.

Diffusion models have achieved remarkable success in generating high-quality images. Recently, the open-source models represented by Stable Diffusion (SD) are thriving and are accessible for customization, giving rise to a vibrant community of creators and enthusiasts. However, the widespread availability of customized SD models has led to copyright concerns, like unauthorized model distribution and unconsented commercial use. To address it, recent works aim to let SD models output watermarked content for post-hoc forensics. Unfortunately, none of them can achieve the challenging white-box protection, wherein the malicious user can easily remove or replace the watermarking module to fail the subsequent verification. For this, we propose \texttt{\method} as the first implementation under this scenario. Briefly, we merge watermark information into the U-Net of Stable Diffusion Models via a watermark Low-Rank Adaptation (LoRA) module in a two-stage manner. For watermark LoRA module, we devise a scaling matrix to achieve flexible message updates without retraining. To guarantee fidelity, we design Prior Preserving Fine-Tuning (PPFT) to ensure watermark learning with minimal impacts on model distribution, validated by proofs. Finally, we conduct extensive experiments and ablation studies to verify our design.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2405.11135")

Code

Syntology Ran 10 of 19 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 9 ran with no contract checked.

By repository: official repository: 19 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

georgefwt/aqualora officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 10 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
9ran
9unverified

Licence: 19 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from georgefwt/aqualora. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

CustomLoRAConv2dLayerforward georgefwt/aqualora/utils/lora_modules.py official repository ran no licence file found · pointer only · 45d76a4dde60b0d6 · report
CustomLoRALinearLayerforward georgefwt/aqualora/utils/lora_modules.py official repository ran no licence file found · pointer only · fa6db3d9ab12b658 · report
PRVL_loss georgefwt/aqualora/train/latent_wm_pretrain.py official repository ran fingerprinted no licence file found · pointer only · 9a0d3068d37b2b8d · report
base_augment georgefwt/aqualora/train/latent_wm_pretrain.py official repository ran fingerprinted no licence file found · pointer only · d8cb1d4dee4cd54c · report
calculate_fpr georgefwt/aqualora/evaluation/utils_eval.py official repository ran fingerprinted no licence file found · pointer only · 460b19e7ab3c2766 · report
get_threshold georgefwt/aqualora/evaluation/utils_eval.py official repository ran fingerprinted no licence file found · pointer only · 12c4ff1381fbf7fd · report
normalize_embedding georgefwt/aqualora/evaluation/dreamsim/model.py official repository ran fingerprinted no licence file found · pointer only · ae00b36c8caf5bde · report
text_encoder_all_modules georgefwt/aqualora/train/rob_enhance_finetune.py official repository ran no licence file found · pointer only · a4d3e242707c8aa8 · report
text_encoder_lora_state_dict georgefwt/aqualora/train/rob_enhance_finetune.py official repository ran no licence file found · pointer only · 8feb85aa601111fa · report
zero_module georgefwt/aqualora/utils/models.py official repository ran · our draft was wrong no licence file found · pointer only · 129b804760b3115f · report
CustomLoRACompatibleConvforward georgefwt/aqualora/utils/lora_modules.py official repository unverified no licence file found · pointer only · 8fcd7ebd984cf883 · report
calculate_activation_statistics georgefwt/aqualora/evaluation/pytorch_fid/fid_score.py official repository unverified no licence file found · pointer only · 97702e2398569092 · report
calculate_frechet_distance georgefwt/aqualora/evaluation/pytorch_fid/fid_score.py official repository unverified no licence file found · pointer only · 0def50a351111624 · report
conv_nd georgefwt/aqualora/utils/models.py official repository unverified no licence file found · pointer only · fe4eb545bbb728e0 · report
download_weights georgefwt/aqualora/evaluation/dreamsim/model.py official repository unverified no licence file found · pointer only · d8ae59700c63ed69 · report
dreamsim georgefwt/aqualora/evaluation/dreamsim/model.py official repository unverified no licence file found · pointer only · 42e6b81c4d75c819 · report
ds georgefwt/aqualora/evaluation/run_dreamsim.py official repository unverified no licence file found · pointer only · 3df5c01e06c4ce6e · report
get_activations georgefwt/aqualora/evaluation/pytorch_fid/fid_score.py official repository unverified no licence file found · pointer only · e82666b86e1ca879 · report
import_model_class_from_model_name_or_path georgefwt/aqualora/train/rob_enhance_finetune.py official repository unverified no licence file found · pointer only · 0eb3e94e8635150e · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections