SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.21620 · 2025

VideoMarkBench: Benchmarking Robustness of Video Watermarking

arXiv · PDF · Open in the Atlas

Code that ran

4 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 0 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2505.21620.json · badge: /api/ran/2505.21620.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
zhengyuan-jiang/videomarkbench canonical (classifier label)
classifier basis: classifier_2025
4 ran · 0 no recorded run
FunctionStatusWhere it lives
bit_majority Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhengyuan-jiang/videomarkbench/aggregation.py
code served (permissive licence) · get_code("a1b7bb0950864b5d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function bit_majority expects:
# - decode: a 2D array where it will:
#   1. Compare with 0 (decode >= 0)
#   2. Sum along axis 0
#   3. Compare with len(decode) / 2
#   4. Compare result with watermark_gt (which has length 96)
#
# So decode should be shape (n_samples, 96) where n_samples > 1

# Create a decode array with shape (2, 96)
# Values should be a mix of positive and negative to test the >= 0 comparison
decode = np.array([
    np.random.randn(96),
    np.random.randn(96)
])

# Ensure some values are positive and some negative for a realistic test
decode[0, :48] = np.abs(decode[0, :48])  # First half positive
decode[0, 48:] = -np.abs(decode[0, 48:])  # Second half negative
decode[1, :48] = np.abs(decode[1, :48])  # First half positive
decode[1, 48:] = -np.abs(decode[1, 48:])  # Second half negative

ARGS = {
    "decode": decode
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
framenorm Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhengyuan-jiang/videomarkbench/blackbox_perturbations/square_attack/adaptations/REVMark.py
code served (permissive licence) · get_code("f14d3c940f9e040e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 5, dtype family float, shape (2, 4, 3, 5, 6) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function expects a batch tensor
# Looking at the operations:
# - torch.mean(batch) and torch.std(batch) work on the whole tensor
# - batch.clamp() works element-wise
# - torch.sum(batch ** 2, dim=[1, 3, 4], keepdim=True) sums over dimensions 1, 3, 4
# This suggests batch has at least 5 dimensions (0, 1, 2, 3, 4)
# Typical shape for frame normalization: (batch_size, channels, frames, height, width)

batch = torch.randn(2, 4, 3, 5, 6)

ARGS = {
    "batch": batch
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 5, dtype family float, shape (2, 4, 3, 5, 6) — shape (2, 4, 3, 5, 6) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
logit_g_median Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhengyuan-jiang/videomarkbench/aggregation.py
code served (permissive licence) · get_code("d104660de15a7eda")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from scipy.optimize import minimize

# Set random seed for reproducibility
np.random.seed(0)

# Create a small decode array
# The function expects decode to be a 2D array where:
# - It computes norms along axis=1 (rows)
# - It compares decoded.x (which has same shape as initial_guess) with watermark_gt
# watermark_gt has length 96, so decode should have 96 rows
# Each row should be compared element-wise with watermark_gt values (0 or 1)
# So decode should have shape (96, 1) or similar

decode = np.random.randn(96, 1)

ARGS = {
    "decode": decode
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
logit_mean Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhengyuan-jiang/videomarkbench/aggregation.py
code served (permissive licence) · get_code("51ab74fed57299b6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function logit_mean takes a 'decode' parameter which should be a numpy array
# Looking at the function body:
# - decode is used with np.mean(decode, axis=0), so it needs to be 2D
# - The result of np.mean should have length 96 (since watermark_gt has length 96)
# - watermark_gt = np.array([0, 1] * 48) creates an array of length 96

# Create a decode array with shape (batch_size, 96) containing logit-like values
# We'll use a small batch size of 2
decode = np.random.randn(2, 96)

ARGS = {
    "decode": decode
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The rapid development of video generative models has led to a surge in highly realistic synthetic videos, raising ethical concerns related to disinformation and copyright infringement. Recently, video watermarking has been proposed as a mitigation strategy by embedding invisible marks into AI-generated videos to enable subsequent detection. However, the robustness of existing video watermarking methods against both common and adversarial perturbations remains underexplored. In this work, we introduce VideoMarkBench, the first systematic benchmark designed to evaluate the robustness of video watermarks under watermark removal and watermark forgery attacks. Our study encompasses a unified dataset generated by three state-of-the-art video generative models, across three video styles, incorporating four watermarking methods and seven aggregation strategies used during detection. We comprehensively evaluate 12 types of perturbations under white-box, black-box, and no-box threat models. Our findings reveal significant vulnerabilities in current watermarking approaches and highlight the urgent need for more robust solutions. Our code is available at https://github.com/zhengyuan-jiang/VideoMarkBench.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2505.21620")
get_code_for_paper("2505.21620")
have("2505.21620")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2505.21620.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2505.21620.svg)](https://syntology.ai/paper/2505.21620)

Connect an agent — have() is free.