TL;DR
Low-Rank Adaptation (LoRA) adapters are widely shared as independent assets, yet protecting them as intellectual property remains difficult because standard white-box watermarking methods rely on normalization layers that LoRA modules lack. SEAL solves this by inserting non-trainable "passport" matrices between LoRA's low-rank factor matrices during training and co-entangling them across mini-batches. After training, the passport is factored and absorbed into the released weights, leaving an adapter indistinguishable from standard LoRA that can be verified publicly with strict false-positive controls.
What Problem Does This Paper Address?
LoRA fine-tuning has become the default mechanism for tailoring Large Language Models (LLMs), Vision-Language Models (VLMs), and diffusion models. In real-world workflows, practitioners rarely distribute full models; instead, they share lightweight adapter weights (.pt files).
Despite their commercial value, ownership verification for adapters remains an open challenge:
- Black-box watermarking (e.g., backdoor triggers) targets input-output behaviors rather than the weight artifact itself.
- Traditional white-box watermarking relies on modifying backbone weights or tampering with normalization layers (like BatchNorm or GroupNorm) to embed "passports" (secret key matrices). Standard LoRA modules consist entirely of linear matrix multiplications and lack normalization layers, causing prior white-box methods to fail out of the box.
Methods
SEAL introduces an adapter-level white-box watermarking pipeline based on entangled dual passports:
- Dual-Passport Training: Instead of computing updates as $\Delta W = BA$, SEAL inserts a fixed, non-trainable passport $C \in \mathbb{R}^{r \times r}$ such that $\Delta W = B C A$. During adaptation, training alternates mini-batches between two fixed passport matrices—a public-to-be passport $C$ and a private passport $C_p$—without any auxiliary regularization loss. This swap mechanism forces the trainable low-rank factors $(B, A)$ to entangle functionally with both keys.
-
Stealthy Post-Training Folding: The owner computes an SVD-like factorization $C = C_1 C_2$ and folds them directly into the learned weights: $$B' = B C_1, \quad A' = C_2 A$$ The resulting weights $(B', A')$ are published. The released artifact has the exact structure and parameter shape of standard LoRA, requiring zero inference overhead or architectural changes.
-
Public Verification Protocol: A claimant submits $(B, A, C_a, C_b)$ to a public verifier that checks three criteria:
- (R0) Structural Validity: Confirms passports are non-trivial ($C_a \not\approx C_b$) and well-conditioned via a lower bound $\kappa_0$.
- (R1) Reconstruction: Ensures the parameters reconstruct the public adapter ($\|B C_i A - B'A'\|_F \le \rho_T$).
- (R2) Dual-Passport Gap: Evaluates task metric differences ($\Delta_T \le \tau_T$) to confirm that swapping the passports preserves downstream task performance.
Datasets
The authors evaluate SEAL across standard NLP, vision-language, and image generation benchmarks:
- Commonsense Reasoning (LLMs): Micro-average over 8 benchmarks—BoolQ, PIQA, SIQA, HellaSwag, Winogrande, ARC-easy, ARC-challenge, and OpenBookQA (evaluated across Gemma-2B, Mistral-7B, LLaMA-2-7B/13B, and LLaMA-3-8B).
- Textual Instruction Tuning: Stanford Alpaca dataset, evaluated on MT-Bench using LLaMA-2-7B.
- Visual Instruction Tuning (VLMs): LLaVA-1.5-7B evaluated across 7 multimodal benchmarks (VQAv2, GQA, VizWiz, SQA, VQAT, POPE, and MMBench).
- Text-to-Image Generation: DreamBooth evaluation suite (30 subjects, 25 prompts each, generating 3,000 images) fine-tuning Stable Diffusion 1.5.
No new datasets were introduced; standard publicly available benchmarks were utilized.
Key Insights and Ideas
- Auxiliary-Free Entanglement: Rather than adding an auxiliary loss term that could degrade task accuracy, mini-batch swapping serves as an implicit regularizer, making the weights naturally dependent on both passports.
- Structural Tension Defeats Ambiguity Attacks: In an ambiguity attack, an adversary tries to forge valid passports post-hoc. The authors prove via Lemma 1 that a structural passport difference implies an induced weight difference: $\|\Delta W(C_1) - \Delta W(C_2)\|_F \ge \kappa_0 \|C_1 - C_2\|_F$. Because (R0) enforces passport separation and the adversary's weights were never co-trained, minimizing the performance gap (R2) becomes an intractable optimization problem requiring full validation inference passes without gradients.
- Spectral Energy Concentration: SEAL inherently concentrates adapter spectral energy in early modes (lower effective rank $r_{\text{eff}}$), providing built-in resilience against low-rank SVD truncation and pruning attacks.
Key Results
- Preserved Fidelity: SEAL matches standard LoRA task accuracy across all domains:
- LLM Commonsense: E.g., LLaMA-2-7B achieves 82.73% (SEAL) vs. 81.67% (LoRA); Mistral-7B achieves 84.84% vs. 87.07%.
- Instruction Following: MT-Bench score is 5.81 (SEAL) vs. 5.83 (LoRA).
- Diffusion Models: Image subject fidelity (CLIP-I: 0.80, DINO: 0.67) and text fidelity (CLIP-T: 0.20) are identical to standard LoRA.
- Pruning Resistance: On L1 unstructured pruning, the public adapter must be pruned past 99.9% before the watermark signal falls below detection significance ($-\log_{10} p < 3.3$), well after model accuracy completely collapses.
- Fine-Tuning Resilience: When subjected to further fine-tuning on either the same or different datasets, watermark detectability persists ($-\log_{10} p \gg 3.3$).
- Efficiency: SEAL adds roughly 63% training time overhead (comparable to DoRA's 54%) and a negligible ~2% peak memory overhead.
Limitations and Future Work
- Statistical and Task-Dependent Bounds: The formal Hoeffding false-positive guarantee assumes independent and identically distributed (i.i.d.) test samples. On heterogeneous benchmarks (e.g., Mistral-7B on Commonsense), observed gaps can exceed theoretical thresholds, requiring empirical fallbacks.
- Full Retraining vs. Artifact Protection: SEAL protects the compute provenance of a specific trained artifact (
.ptfile), not the training data itself; an attacker with access to the original data can still train an unwatermarked adapter from scratch. - Future Directions: Expanding SEAL from static passports to dynamic multi-passports mapped to specific sub-tasks or dataset splits for modular feature licensing, and extending passport entanglement to general linear operators in transformer blocks.
Summary updated