Generative Video Anonymization: Whole-Body Identity Suppression with Scene and Action Preservation

Zeyu Chen, Enkeleda Thaqi, Zhuojiang Cai, Enkelejda KasneciarXiv 2026

TL;DR

Blurring a face in a video doesn’t actually hide who you are—modern AI can still recognize you by your clothes, hair, body shape, and the way you walk. This paper introduces MOSAIC, a training-free pipeline that replaces entire human bodies in videos with completely different, synthetic "stunt doubles" who perform the exact same actions in the exact same scene. It lets researchers share valuable human-behavior footage without leaking biometric identities—or accidentally "anonymizing" the paintings on the wall.

What Problem Does This Paper Address?

Human-centric video is essential for behavioral science and robotics, yet privacy laws keep vast amounts of footage locked away. Currently, we face a frustrating trade-off:

  • Face-swapping or face-blurring leaves clothing, posture, and gait intact, which modern Re-Identification (Re-ID) systems easily exploit to track people across cameras.
  • Full-body blurring or masking protects privacy, but destroys the body language and object interactions that make the video useful in the first place.
  • General AI video editors fail at this task, which the authors formalize as Generative Video Anonymization (GVA). Text-guided editors bleed changes into the background, miss bystanders, fail to actively push biometric features away from the original person, and flicker across frames.
Figure 2. Why existing edits fall short. Masking and blurring remove the action. DeepPrivacy2 (full body) is temporally incon- sistent. General video editing neither localizes the person precisely nor avoids semantic errors. MOSAIC suppresses identity and leaves the scene in place.

Methods

Rather than training a massive new model from scratch, the authors assemble MOSAIC (Mask-Oriented Synthesis via Identity Counterfactuals), a clever three-stage pipeline built entirely from frozen, off-the-shelf models:

  1. Stage I: Grounding. A video tracker (SAM3) finds everything that looks vaguely human. Because trackers easily confuse statues, paintings, and shadows for real people, a Large Multimodal Model (LMM, from the Qwen family) inspects each candidate to filter out non-living lookalikes. Missing frames caused by motion blur are patched up using optical flow and signed distance field interpolation.
  2. Stage II: Counterfactual Identity Planning. If you just ask a video generator to fill in a blank silhouette, it uses subtle scene cues to recreate someone suspiciously similar to the original person. Instead, an LMM extracts the original person's attributes (age, gender, build, skin tone, outfit), and MOSAIC deliberately resamples them into a counterfactual target identity (e.g., turning a young woman in a red jacket into an elderly man in dark clothing).
  3. Stage III: Mask-Constrained Generation. Every real person's silhouette is painted solid mid-gray so zero appearance pixels leak through. Then, an off-the-shelf video diffusion transformer (Wan2.1-VACE) inpaints the entire clip at once. Guided by the counterfactual prompt and bounded by the moving silhouettes, it generates a temporally stable new person executing the exact original motion.
Figure 3. Overview of MOSAIC. Stage I grounds every person in the clip (SAM3 candidates verified by an LMM, then temporally completed). Stage II plans a counterfactual identity for the clip, and Stage III regenerates the masked people with a mask-conditioned video diffusion transformer. All components are pretrained and used without fine-tuning.

The authors also upgrade how privacy is measured. Instead of testing whether an attacker can match a person at the exact same frame, they enforce cross-time retrieval (matching the first 40% of a clip against the last 40%) across five distinct attack vectors: appearance, clothes-changing Re-ID, facial recognition, gait, and soft-biometrics.

Datasets

Because MOSAIC is training-free, datasets are used strictly for evaluation:

  • OpenHumanVid (OHV): An existing benchmark of third-person, human-centric video clips.
  • Belvedere Museum (New): Introduced by the authors, this egocentric dataset was recorded via eye-tracking glasses during real museum visits in Vienna. It features fast head motion, tricky lighting, and a fascinating semantic trap: real visitors standing right next to painted portraits and lifelike sculptures.

Key Insights and Ideas

  • Pixel fidelity is the enemy inside the mask: Standard video-editing metrics reward outputs that look like the input. In GVA, you want maximum biometric distance inside the person mask, and maximum pixel fidelity outside of it.
  • Context leaks identity: In ablations, feeding the raw video into the generator (instead of graying out the person first) roughly doubled identity leakage, proving that diffusion models will lazily copy source appearances unless blinded to them.
  • Neutral prompts aren't enough: Asking the generator for a generic "person" still leaked more identity than actively specifying a counterfactual persona that opposes the original subject's attributes.
  • Motion carries an inescapable fingerprint: Because GVA deliberately preserves how a person moves via mask silhouettes, gait remains the hardest biometric cue to suppress—it is the fundamental price of keeping the action intact.

Key Results

On OpenHumanVid, where attackers re-identify people in the raw, unedited footage at 95.0% Rank-1 accuracy (and face-only anonymization leaves body Re-ID completely exposed at 97.5%):

  • Strongest privacy among coherent methods: MOSAIC slashes attacker accuracy down to 24.5% (appearance), 19.5% (clothes-changing), 4.9% (face), and 42.6% (gait)—outperforming recent generative baselines like ReGenHuman (63.8% appearance, 70.2% gait) and UniVideo (50.2% appearance).
  • High scene preservation & stability: MOSAIC achieves a 0.951 Scene Preservation Score (SSIM outside the mask) on OHV and 0.927 on Belvedere, with minimal temporal flicker ($\Delta E_{\text{warp}}$ of 0.0011 vs. 0.0088 for frame-by-frame DeepPrivacy2).
  • Artwork stays intact: Qualitatively, competing methods swap the faces of Renaissance portraits or overwrite historical paintings; MOSAIC’s LMM filter leaves the art untouched while cleanly replacing the tourists admiring it.

Limitations and Future Work

  • Inherited model constraints: Because MOSAIC relies on a pretrained video generator, it is capped at 480p resolution and 81-frame chunks, requiring longer videos to be processed in segments.
  • Residual leakage: Perfect anonymization isn't possible when preserving human behavior. Identity cues still linger in the preserved silhouette motion (gait), and the unconstrained scene caption occasionally echoes a source clothing detail.
  • Smarter attackers: The evaluation uses standard, off-the-shelf Re-ID models. Testing against adaptive attackers—models specifically trained to reverse-engineer or pierce generative anonymization—is the natural next frontier.

Summary updated

BibTeX
@misc{chen2026generative,
  author = {Zeyu Chen and Enkeleda Thaqi and Zhuojiang Cai and Enkelejda Kasneci},
  title = {{Generative Video Anonymization: Whole-Body Identity Suppression with Scene and Action Preservation}},
  year = {2026},
  eprint = {2611.37582},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.37582},
}
Figure