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

Weitao Feng, Wenbo Zhou, Jiyan He, Jie Zhang, Tianyi Wei +4 more
2/12/2026

No official code found. Best implementation: Georgefwt/AquaLoRA (61 stars, last commit 2024-09-02).

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.

View on arXivView PDF

Code Implementations(1)

Georgefwt/AquaLoRACommunity68%

This repository contains the implementation for the paper "AquaLoRA: Toward White-box Protection for Customized Stable Diffusion Models via Watermark LoRA", accepted by ICML 2024.

615PythonMay 14, 20242 years ago
diffusiongenerative-modelsafetywatermarking

Similar Papers

Cite this paper

@article{feng2026aqualora,
  title  = {AquaLoRA: Toward White-box Protection for Customized Stable Diffusion Models via Watermark LoRA},
  author = {Weitao Feng and Wenbo Zhou and Jiyan He and Jie Zhang and Tianyi Wei and Guanlin Li and Tianwei Zhang and Weiming Zhang and Neng H. Yu},
  year   = {2026},
  eprint = {2405.11135},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2405.11135},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.11135.svg)](https://codeofpaper.com/paper/2405.11135)

Discussion