Could This AI Be a Copy? Model Watermarks

← Back to Research Lab

ML security · Model provenance

Your AI model leaks, and its weights are changed. Could you still recognise a copy? This film uses a statistical teaching model to show how a faint signed pattern accumulates, how a threshold controls chance matches, and how noise aligned with that pattern can invalidate the original calibration. The test assumes access to weights, a clean reference and a secret key.

Research context: The Gaussian matched-filter test is an illustrative model authored for this explainer. It is not the detector, formula or empirical benchmark in Ural and Yoshigoe’s IEEE Access 2024 paper. That paper studies combining an embedded watermark with verification of the training record. The film explores the broader question of how to interpret statistical evidence of model provenance.

Part of the model-ownership series. Start with SecurePoL, the research it comes from.

Prefer the technical version? Watch the original animation: the same idea step by step, with its diagrams and formulas.

🧠 What did you just learn?

Tiny secrets in many places can be less conspicuous than one big secret. A model has many internal numbers. Stamping one large value into a single weight is easy to target and may dent accuracy. Instead, the owner shifts the weights along a secret unit pattern w across k coordinates, each by a tiny ε that is small relative to the assumed noise floor.

Detection is a matched filter, a one-sided Z-test. The verifier correlates the leaked weights against the secret pattern, S = ⟨w, θ̂ − θref⟩. The aligned marks add coherently to amplitude √k·ε, while the fine-tuning noise projects to a flat σ (because ‖w‖ = 1). Normalised, the statistic is N(0,1) for an innocent model and N(d,1) for a watermarked one, with effect size d = √k·ε/σ. Detection power is Φ(d − zα) at false-positive rate α.

The √k can improve detection power without making each mark loud. Per weight, ε/σ can remain small. In the stated model, the aggregate d = √k·ε/σ can cross a chosen threshold as k grows, and the ROC curve approaches high power (AUC = Φ(d/√2)) when the assumptions hold. This keeps the per-coordinate change fixed, so the total perturbation norm grows with breadth. It is not a free gain at fixed total perturbation budget, or a guarantee in every deployment.

The scrubbing trade-off. To erase a spread mark, an attacker must change the coordinates that contribute to the secret pattern. For any unit-norm pattern w, the Cauchy–Schwarz bound ‖δ‖ ≤ ρ ⇒ |ΔS| = |⟨w, δ⟩| ≤ ρ describes how much the score can move for a bounded perturbation. The utility cost of a real scrubbing attack depends on its access, retraining procedure, and calibration; this is not a universal un-removability result.

Scientific Context: The film’s Gaussian Z-test is a separate teaching model. The related IEEE Access 2024 paper studies joint watermark and Proof-of-Learning verification; it does not supply this test or its illustrative curves. A detection score supports an investigation under the stated assumptions, rather than establishing a legal ownership verdict.

📐 The math, precisely

Rendered on load. If equations appear as raw text, reload the page.