SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.11135 · 2024

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

arXiv · PDF · Open in the Atlas

Code that ran

10 of 19 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 9 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2405.11135.json · badge: /api/ran/2405.11135.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
georgefwt/aqualora canonical (classifier label)
classifier basis: census
10 ran · 9 no recorded run
FunctionStatusWhere it lives
CustomLoRAConv2dLayerforward Ran
ran; our contract draft was wrong, not the code
georgefwt/aqualora/utils/lora_modules.py
pointer only (licence: NONE) · get_code("45d76a4dde60b0d6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

CustomLoRALinearLayerforward Ran
ran; our contract draft was wrong, not the code
georgefwt/aqualora/utils/lora_modules.py
pointer only (licence: NONE) · get_code("fa6db3d9ab12b658")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

PRVL_loss Ran
ran; our contract draft was wrong, not the code
georgefwt/aqualora/train/latent_wm_pretrain.py
pointer only (licence: NONE) · get_code("9a0d3068d37b2b8d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

base_augment Ran
ran; our contract draft was wrong, not the code
georgefwt/aqualora/train/latent_wm_pretrain.py
pointer only (licence: NONE) · get_code("d8cb1d4dee4cd54c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_fpr Ran
ran, honoured the contract we drafted
georgefwt/aqualora/evaluation/utils_eval.py
pointer only (licence: NONE) · get_code("460b19e7ab3c2766")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_threshold Ran
ran, honoured the contract we drafted
georgefwt/aqualora/evaluation/utils_eval.py
pointer only (licence: NONE) · get_code("12c4ff1381fbf7fd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize_embedding Ran
ran; our contract draft was wrong, not the code
georgefwt/aqualora/evaluation/dreamsim/model.py
pointer only (licence: NONE) · get_code("ae00b36c8caf5bde")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

text_encoder_all_modules Ran
ran; our contract draft was wrong, not the code
georgefwt/aqualora/train/rob_enhance_finetune.py
pointer only (licence: NONE) · get_code("a4d3e242707c8aa8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

text_encoder_lora_state_dict Ran
ran; our contract draft was wrong, not the code
georgefwt/aqualora/train/rob_enhance_finetune.py
pointer only (licence: NONE) · get_code("8feb85aa601111fa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

zero_module Ran
ran; our contract draft was wrong, not the code
georgefwt/aqualora/utils/models.py
pointer only (licence: NONE) · get_code("129b804760b3115f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

CustomLoRACompatibleConvforward Not yet run
unverified (harvested, no recorded run)
georgefwt/aqualora/utils/lora_modules.py
pointer only (licence: NONE) · get_code("8fcd7ebd984cf883")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

calculate_activation_statistics Not yet run
unverified (harvested, no recorded run)
georgefwt/aqualora/evaluation/pytorch_fid/fid_score.py
pointer only (licence: NONE) · get_code("97702e2398569092")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

calculate_frechet_distance Not yet run
unverified (harvested, no recorded run)
georgefwt/aqualora/evaluation/pytorch_fid/fid_score.py
pointer only (licence: NONE) · get_code("0def50a351111624")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

conv_nd Not yet run
unverified (harvested, no recorded run)
georgefwt/aqualora/utils/models.py
pointer only (licence: NONE) · get_code("fe4eb545bbb728e0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

download_weights Not yet run
unverified (harvested, no recorded run)
georgefwt/aqualora/evaluation/dreamsim/model.py
pointer only (licence: NONE) · get_code("d8ae59700c63ed69")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

dreamsim Not yet run
unverified (harvested, no recorded run)
georgefwt/aqualora/evaluation/dreamsim/model.py
pointer only (licence: NONE) · get_code("42e6b81c4d75c819")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

ds Not yet run
unverified (harvested, no recorded run)
georgefwt/aqualora/evaluation/run_dreamsim.py
pointer only (licence: NONE) · get_code("3df5c01e06c4ce6e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_activations Not yet run
unverified (harvested, no recorded run)
georgefwt/aqualora/evaluation/pytorch_fid/fid_score.py
pointer only (licence: NONE) · get_code("e82666b86e1ca879")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

import_model_class_from_model_name_or_path Not yet run
unverified (harvested, no recorded run)
georgefwt/aqualora/train/rob_enhance_finetune.py
pointer only (licence: NONE); the stored copy get_code serves, from KU-VGI/APDM, is pointer only (licence: NONE) · get_code("0eb3e94e8635150e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, georgefwt/aqualora when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 3 the same month, 5 later) and 14 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
zero_module 196 other papers
123 dated earlier, 9 the same month, 63 later, 1 same year, order not determinable · 49 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
and 193 more not named here
conv_nd 121 other papers
81 dated earlier, 5 the same month, 32 later, 3 same year, order not determinable · 32 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 118 more not named here
calculate_frechet_distance 74 other papers
58 dated earlier, 2 the same month, 13 later, 1 same year, order not determinable
1610.09585 (2016-10)
Conditional Image Synthesis With Auxiliary Classifier GANs
1706.08500 (2017-06)
GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium
1807.11458 (2018-07)
To learn image super-resolution, use a GAN to learn how to do image degradation first
and 71 more not named here
import_model_class_from_model_name_or_path 13 other papers
7 dated earlier, 6 later
2305.19327 (2023-05)
Cones 2: Customizable Image Synthesis with Multiple Subjects
2307.06949 (2023-07)
HyperDreamBooth: HyperNetworks for Fast Personalization of Text-to-Image Models
2311.18815 (2023-11)
IMMA: Immunizing text-to-image Models against Malicious Adaptation
and 10 more not named here
calculate_activation_statistics 10 other papers
5 dated earlier, 5 later
Chou_How_to_Backdoor_Diffusion_Models_CVPR_2023_paper (2023 (year only))
How to Backdoor Diffusion Models?
2305.08192 (2023-05)
Diffusion Models for Imperceptible and Transferable Adversarial Attack
2306.06874 (2023-06)
VillanDiffusion: A Unified Backdoor Attack Framework for Diffusion Models
and 7 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2405.11135")
get_code_for_paper("2405.11135")
have("2405.11135")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2405.11135.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2405.11135.svg)](https://syntology.ai/paper/2405.11135)

Connect an agent — have() is free.