Research
SPDMark: Selective Parameter Displacement for Robust Video Watermarking
Overview Research area: Computer vision / generative AI — specifically video watermarking for AI-generated video (provenance tracking, tamper detection). Technical level: Intermediate to Advanced. The
- arXiv
- 2512.12090
- Published
- 2025-12-12
- Authors
- Samar Fares, Nurbek Tastan, Karthik Nandakumar
AI summary
Overview
- Research area: Computer vision / generative AI — specifically video watermarking for AI-generated video (provenance tracking, tamper detection).
- Technical level: Intermediate to Advanced. The paper assumes familiarity with latent diffusion models, LoRA, DDIM inversion, the Hungarian algorithm, and binary hypothesis testing.
- Scope: The paper introduces and evaluates SPDMark, an in-generation watermaking scheme that embeds per-frame watermarks into videos by selectively displacing a subset of parameters in a video diffusion model's latent decoder.
What This Paper Is About
High-quality video generators make it hard to tell whether a video is AI-generated, so watermarking is proposed as a way to trace provenance. Existing video watermarking methods struggle to satisfy three requirements at once: invisibility to viewers, survivability under editing and compression, and low computational cost. SPDMark aims to hit all three by modifying the generative model itself during generation — activating a small learned set of low-rank parameter shifts chosen by a secret key — rather than editing pixels, noise, or output video after the fact.
Key Contributions
- Selective Parameter Displacement (SPD) framework. A formulation for multi-key, in-generation video watermarking in which the displacement applied to the generative model's parameters is an additive composition of layer-wise basis shifts, with the composition indexed by the watermarking key.
- Practical low-rank realization with joint training. Each basis shift is instantiated as a low-rank (LoRA-style) update, and the dictionary of basis shifts is learned jointly with the watermark extractor by minimizing a combination of message-recovery, perceptual-similarity, and temporal-consistency losses.
- Per-frame watermark messages plus a matching-based verification procedure. A cryptographic hash function (e.g., HMAC-SHA256) derives frame-specific messages from a base key, and verification uses maximum bipartite matching (Hungarian algorithm) plus statistical hypothesis testing so the scheme can also localize temporal modifications.
- Empirical validation across two diffusion backbones. Experiments on an image-to-video model (SVD-XT) and a text-to-video model (ModelScope), covering 16 attack scenarios, showing competitive bit accuracy and video quality.
Main Findings
- Extraction accuracy is competitive. On SVD-XT, SPDMark reaches 0.995 bit accuracy at a payload of 28 × 25 (28 bits per frame across 25 frames), versus 0.999 for VideoSeal (payload 256), 0.979 for VideoShield (512), and 0.958 for VidSig (48). On ModelScope, SPDMark reaches 0.988 at 28 × 16, versus 1.000 for VideoShield, 0.999 for VideoSeal, and 1.000 for VidSig.
- Video quality holds up. SPDMark attains the highest subject consistency and motion smoothness on both models — SVD-XT: SC 0.966, MS 0.975, BC 0.958, IQ 0.690; ModelScope: SC 0.948, MS 0.972, BC 0.968, IQ 0.623.
- Best average robustness across 16 attacks. SPDMark averages 0.935 bit accuracy on SVD-XT and 0.939 on ModelScope, compared with VideoShield (0.833 / 0.886), VideoSeal (0.912 / 0.906), and VidSig (0.685 / 0.812).
- Strong on geometric and temporal distortions. On SVD-XT, SPDMark scores 0.989 under cropping (VideoShield 0.521, VidSig 0.438) and 0.930 under rotation (VideoShield 0.507, VideoSeal 0.687). On temporal manipulations it reports 0.988 (drop) and 0.994 (swap) on SVD-XT, and 0.969 / 0.986 on ModelScope.
- Weaknesses under heavy degradation. Blur, rescaling, and denoising are harder: SPDMark scores 0.847 (blur) and 0.910 (rescale) on SVD-XT, and 0.839 (blur) and 0.882 (rescale) on ModelScope. VideoSeal is stronger on some compression settings.
- Accurate temporal forensics. Frame drop detection gives precision/recall/F1 of 0.999/0.999/0.999 on SVD-XT and 0.998/0.999/0.999 on ModelScope; frame insertion gives 0.996/0.994/0.995 and 0.998/0.999/0.999; order accuracy for random swaps and adjacent swaps is 1.000 on both models.
- Capacity trades off against accuracy. In the reported ablation, increasing per-frame capacity from 28 bits (G1, L = 14) to 56 bits (G3, L = 28) reduced bit and robustness accuracy under a fixed training budget, while quality metrics varied minimally. The 34-bit G2 configuration adds the three attention projections (L = 17).
- Temporal entries for baselines are incomplete. In the robustness table as provided, VideoShield's frame drop/insert/trim entries are shown as not reported, as are several entries for other columns.
Methodology in Plain English
SPDMark does not edit the video and does not edit the random noise used for generation. Instead, it learns a small library of "shifts" attached to the frozen model's decoder. Think of the decoder's 14 spatial ResNet blocks as 14 slots, each holding 4 interchangeable low-rank adapters. A secret key is chopped into 14 chunks of 2 bits each; each chunk selects one of the 4 adapters in its slot. Because 2 bits are needed to pick among 4 options, the key length equals 14 × 2 = 28 bits per frame. The selected adapters are added to the layer outputs, scaled by a fixed factor, and this slightly nudged decoder produces a watermarked video.
Two things are trained together: the adapters themselves and a detector. The detector is an ImageNet-pretrained ResNet-50 whose final fully connected layer is replaced with a linear head emitting 28 logits per frame, so each frame is judged independently. Training minimizes binary cross-entropy between predicted and true message bits, plus LPIPS-based perceptual similarity and a luminance-difference temporal consistency term that discourages flicker. Optimization is done in expectation over random keys, prompts, and noise, so one trained dictionary works for arbitrary keys without retraining.
To make each frame carry a different message, frame indices are hashed together with a base secret key (HMAC-SHA256) and truncated to 28 bits. At verification time, the verifier regenerates the expected per-frame messages and lines them up against the extracted ones using maximum-weight bipartite matching (Hungarian algorithm), which tolerates dropped, inserted, shuffled, or trimmed frames. Each matched pair is then tested: matched-bit counts are compared against a threshold derived from a Binomial distribution, first per frame and then per video, giving controllable false-positive rates. Surviving matches also reveal which frames were altered.
Why This Matters
- Impact on research. The paper reframes video watermarking as a parameter-selection problem rather than a pixel, noise, or full-fine-tuning problem. Its key claim is that one trained dictionary of basis shifts can serve arbitrary keys with no per-key retraining and no DDIM inversion, avoiding the computational and fragility costs that the paper attributes to noise-space methods.
- Real-world applications:
- Platform-side provenance checks that verify whether an uploaded video came from a specific generative model.
- Tamper localization for media forensics, e.g., flagging where frames were dropped, inserted, or reordered.
- Compliance tooling aligned with the EU AI Act and the U.S. Executive Order on AI, both of which the paper cites as recommending watermarking of AI-generated content.
- Multi-tenant generation services that need to issue distinct per-user keys from one shared, pretrained model.
- Industry relevance. Because SPDMark modifies only the decoder and adds negligible inference overhead, the paper positions it as cheap to deploy on top of existing latent video diffusion pipelines, including both UNet-based (ModelScope, SVD-XT) and Transformer-style (DiT) variants — the decoder is the component shared across these designs.
Future Directions
- Close the payload/robustness gap. The reported ablation shows 28 bits per frame outperforming 34 and 56 bits under fixed compute. Whether the 56-bit configuration recovers accuracy with a larger training budget is raised by the paper but the provided content is truncated mid-sentence at that point, so the answer is not available here.
- Improve performance under heavy degradation. Blur, rescaling, and denoising remain the weakest attack categories, particularly on ModelScope (0.839 blur, 0.882 rescale).
- Extend beyond the two evaluated backbones. SPDMark was tested on an image-to-video model (SVD-XT) and a text-to-video model (ModelScope); behavior on other architectures, resolutions, or longer videos is not reported.
- Scale frames and resolutions. The extractor operates frame by frame with test-time batch normalization used to handle length/resolution mismatch, leaving open how the scheme behaves as video length grows well beyond 25 frames.
Target Audience
Researchers and engineers working on generative model safety, media provenance, and digital watermarking, particularly those already comfortable with latent diffusion models and LoRA-style adaptation. It is also relevant to practitioners building content-credentialing or forensics pipelines who need robustness numbers under compression, cropping, and temporal editing, and to policy-adjacent readers tracking watermarking methods intended to satisfy AI-transparency regulations.
Authors’ abstract
The advent of high-quality video generation models has amplified the need for robust watermarking schemes that can be used to reliably detect and track the provenance of generated videos. Existing video watermarking methods based on both post-hoc and in-generation approaches fail to simultaneously achieve imperceptibility, robustness, and computational efficiency. This work introduces a novel framework for in-generation video watermarking called SPDMark (pronounced `SpeedMark') based on selective parameter displacement of a video diffusion model. Watermarks are embedded into the generated videos by modifying a subset of parameters in the generative model. To make the problem tractable, the displacement is modeled as an additive composition of layer-wise basis shifts, where the final composition is indexed by the watermarking key. For parameter efficiency, this work specifically leverages low-rank adaptation (LoRA) to implement the basis shifts. During the training phase, the basis shifts and the watermark extractor are jointly learned by minimizing a combination of message recovery, perceptual similarity, and temporal consistency losses. To detect and localize temporal modifications in the watermarked videos, we use a cryptographic hashing function to derive frame-specific watermark messages from the given base watermarking key. During watermark extraction, maximum bipartite matching is applied to recover the correct frame order, even from temporally tampered videos. Evaluations on both text-to-video and image-to-video generation models demonstrate the ability of SPDMark to generate imperceptible watermarks that can be recovered with high accuracy and also establish its robustness against a variety of common video modifications.