Auditable Video Fingerprints: Leakage You Can Compute

Platforms that detect re-uploaded videos turn every clip into a compact fingerprint designed to survive cropping, re-encoding, overlays and camcording. When that matching moves onto users' phones, which end-to-end encryption pushes toward, the fingerprint and the match decision become the only things that leave the device. Their design then decides what a platform, or anyone who controls the reference database, can learn about videos that are not copies of anything. Work on image hashing has shown that this is a real threat. Robust hashes can be steered into collisions (Squint Hard Enough), and poisoned reference databases can turn a scanner into a tool for surveilling physical places (Re-purposing Perceptual Hashing based Client Side Scanning for Physical Surveillance). Nobody has a way to audit how much a video fingerprinting pipeline leaks. Results on verification complexity explain why. Even for loop-free randomized Boolean circuits, checking differential privacy is coNP^#P-complete (The Complexity of Verifying Loop-Free Programs as Differentially Private), and a modern copy detector adds a continuous neural encoder and an iterative temporal alignment step on top of that.

This proposal does not try to verify the whole pipeline. It restructures the part that is released so that verification becomes easy. The released part of a video matcher is restricted to a deterministic function over a finite code alphabet. A frozen neural descriptor is quantized into cells, cells are merged into released tokens, and a deterministic temporal vote runs over those tokens. For a mechanism of this shape, the leakage of a named secret, such as which place a video was filmed in, can be computed exactly in time polynomial in the alphabet size, relative to an estimated code distribution. Following the observation in Statistic Maximal Leakage that deterministic mechanisms admit polynomial-time design through min-cost flow, the same structure also lets us choose the cell-to-token merge so that it trades copy-detection accuracy against that leakage.

Core Claim

Video fingerprints can be designed so that their leakage audit lands in polynomial time. A fingerprint designed this way can reach copy-detection accuracy close to an unconstrained quantizer of the same bit budget while leaking measurably less about scene identity. It can also make reference-database poisoning for scene surveillance detectable by a polynomial-time audit. The second half of the claim tests, at video scale, the "robustness paradox" reported for image hashes by Hooda et al.: invariance to environmental change is exactly what lets a few poisoned entries cover a whole physical scene. If the paradox is fundamental, no merge of cells into tokens will break the coupling between invariance and scene leakage. If it is an artifact of how existing quantizers are built, a leakage-aware merge will break it. Either outcome is informative.

The Mechanism and Why Its Audit Is Tractable

The pipeline has three stages. In the first, a frozen frame descriptor $f(x)\in\mathbb{R}^d$ (SSCD or DINO features, as used by the strongest systems in The 2023 video similarity dataset and challenge and A Large-scale Comprehensive Dataset and Copy-overlap Aware Evaluation Protocol for Segment-level Video Copy Detection) is mapped to one of $K$ fine cells. Each cell is a coarse centroid plus a short binary code, in the style of the Hamming Embedding from INRIA LEAR-TEXMEX: Video Copy Detection Task. In the second, a deterministic merge $m$ maps the $K$ fine cells onto $M<K$ released tokens. In the third, a deterministic temporal vote over released tokens produces the match decision, in the spirit of the geometric and temporal voting of INRIA-LEAR'S Video Copy Detection System.

Let $G$ be the secret (scene label) and $Y$ the released output: the token sequence, or only the match bit. Maximal leakage is

$$L(G\to Y)=\log\sum_{y}\max_{g}P(y\mid g).$$

Here $P(y\mid g)$ is the probability that a video of scene $g$ produces output $y$. We estimate it by pushing many transformed clips of each scene through the frozen descriptor, using AugLy-style edits as in DVSC23. Because every stage after $f$ is deterministic over a finite alphabet, $P(y\mid g)$ for the match bit follows exactly from the per-scene distribution over fine cells. The sum above then costs time linear in the number of outputs times the number of scenes. The same counting audits a reference database. For each reference entry, we compute the probability mass its match region places on a held-out corpus of non-copy, scene-labeled video. An entry whose region covers a scene rather than a piece of content is flagged.

We claim tractability only for this audit. The leakage is relative to an empirical code distribution, not a worst case over all inputs. All of the hardness Gaboardi et al. describe is still present inside the continuous encoder $f$, and we deliberately leave $f$ unaudited and fixed. We will also prove a short contrast result. Adding randomness on the query side, for example noisy tokens, puts the match decision back into the randomized-circuit setting where Gaboardi et al.'s hardness applies. A deterministic temporal vote over a finite alphabet does not hit the open question of whether loops push verification to PSPACE, because the vote's output depends only on token counts within bounded windows.

Research Program

The work has three parts. The first is the audit tool. It estimates per-scene fine-cell distributions with confidence intervals obtained by bootstrap over clips, computes match-bit and token-sequence leakage, and scores reference entries for scene coverage.

The second is the design step. Following SML's reduction for deterministic mechanisms, we build a flow graph from fine cells to released tokens. Edge costs encode the copy-matching utility lost when cells are merged: the rate at which a clip's original and transformed frames land in different tokens, plus the rate at which unrelated videos collide. A constraint caps scene leakage. A known risk is that the copy objective is not exactly separable per cell, which is what the flow reduction needs. If the per-cell surrogate correlates poorly with micro-average precision on DVSC23, we will report that and fall back to a greedy merge guided by the exact leakage computation. Both the audit and the comparison remain valid in that case.

The third is the paradox study. We sweep invariance by training the frozen descriptor's augmentation strength at several levels and by varying the number of Hamming bits. At each setting we measure copy accuracy, scene leakage and poisoning success, to see whether the coupling Hooda et al. observed for images also holds for temporal video matching.

Statistic Maximal Leakage supplies the method. It defines a secret-aware leakage measure and proves that quantization beats randomized response for statistical secrets, but it tests only on tabular Adult data. We move it to a high-dimensional, transformation-heavy regime where the secret is a scene, not an aggregate statistic. Prokos et al. and Hooda et al. motivate the work: they show the threat for static image hashes with attacks, while we give a computable audit and extend the setting to temporal video matching. VIREO at TRECVID 2010 constrains the design. It shows that hard quantization boundaries break matching under camcording and compression, so merges that sharpen boundaries are expected to lose recall. Our utility cost must measure exactly that cross-boundary rate.

Baselines

The naive reference point is the unquantized frozen SSCD descriptor with standard temporal alignment on DVSC23. For this setting the challenge paper reports VCD µAP 60.5% and VCL 44.1% (The 2023 video similarity dataset and challenge). It shows the accuracy ceiling for our descriptor and its leakage when continuous features are released. We audit that leakage empirically with a trained scene classifier, because the exact count does not apply to continuous outputs.

The strongest existing copy detector is the winning WeChat CV system, with VCD 87.2% and VCL 91.5% on the Phase 2 test set in the same paper. We cannot match its ensemble backbones, and beating its accuracy is not our goal. We report the gap honestly, as the cost of auditability for a single-descriptor pipeline.

The baseline that matters most is a standard coarse-quantizer-plus-Hamming-Embedding index with the same descriptor, the same total bit budget, the same temporal vote and the same tuning budget for the threshold and bit count, chosen on DVSC23 validation. We audit it with exactly the same leakage computation. The proposal beats it if, at VCD µAP within two points, scene leakage is at least halved and the database audit catches poisoned entries the standard index lets through.

The key ablation replaces the leakage-aware merge with a merge of the same size that optimizes only the utility surrogate. This isolates whether the leakage constraint, rather than the coarser alphabet, causes any privacy gain. A second baseline adds anisotropic noise to continuous embeddings calibrated by PAC Privacy's Monte Carlo procedure (PAC Privacy), at matched estimated mutual information.

Why not just…?

Why not just lower the scanner's sensitivity? Hooda et al. report that cutting surveillance risk to 2% also cut detection of true illegal content to 2%, which is a single-knob trade-off with no good operating point. Our experiment plots the full threshold sweep of the standard index against the merge-designed index on the same axes. The proposal fails if the sweep's frontier dominates ours.

Why not just use a standard product quantizer and audit it with a trained attacker? This is the real threat. If an off-the-shelf Hamming Embedding index already leaks little about scenes at video scale, design adds nothing. The matched-budget baseline above settles this directly. The exact audit still adds value over attacker-based estimates, because a trained classifier gives only a lower bound on leakage. We will report both numbers to show how loose that bound is.

Why not just add differential-privacy noise to embeddings? Xiao and Devadas report that worst-case isotropic noise wastes far more utility than geometry-aware noise, and SML reports that DP-based attribute privacy reached trivial utility before matching targeted protection. Noise also brings back randomness, which puts the match decision back into the coNP^#P-hard verification regime. We include the PAC Privacy noise baseline so that this argument is measured rather than assumed.

Proposed Experiments

Copy accuracy is measured on DVSC23 (VCD and VCL µAP) and on VCSL with its copy-overlap F-score. For VCSL, the comparison point is DMI's reported F-score of 61.69% (Video Infringement Detection via Feature Disentanglement and Mutual Information Maximization), which we give as context rather than as a matched baseline.

Scene leakage requires scene-labeled video, and none of the benchmarks in the file provide it. We will therefore record a controlled indoor-scene video set that follows Hooda et al.'s image protocol, varying lighting and furniture layout, and add landmark clips. Hooda et al. report surveillance above 40% at 5% poisoning for images. We found no reported result on Lacuna for poisoning-based surveillance against video copy detectors, so we establish that baseline ourselves. Poisoning follows Hooda et al.'s k-modes selection, adapted to token sequences and injected into the DVSC23 reference set.

The decisive checks are three. First, at matched bit budget and VCD µAP within two points of the standard index, does the leakage-aware merge at least halve exactly computed scene leakage? Second, does the polynomial-time database audit flag poisoned entries at a high rate while flagging a low rate of genuine DVSC23 references? Third, across the invariance sweep, does scene leakage of the standard index rise with invariance while the designed index stays flat? A flat curve would mean the robustness paradox can be designed away. A rising curve for both would be evidence that it is fundamental.