AnyID: Ultra-Fidelity Universal Identity-Preserving Video Generation from Any Visual References

Jiahao Wang, Hualian Sheng, Sijia Cai, Yuxiao Yang, Weizhan Zhang, Caixia Yan, Bing Deng, Jieping Ye

TL;DR

AnyID is a novel identity-preserving video generation framework that breaks free from the constraints of single-image references by seamlessly unifying multiple, free-form inputs (images, portraits, and videos). By introducing a primary-referenced paradigm with "differential prompts" and human-centric reinforcement learning, it achieves ultra-high identity fidelity and precise, attribute-level control across diverse contexts.

What Problem Does This Paper Address?

Customizing videos featuring specific characters—known as identity-preserving video generation—is highly desirable for creative storytelling, virtual avatars, and filmmaking. However, existing state-of-the-art models typically rely on a single reference image.

The authors argue that this single-reference paradigm is fundamentally flawed and represents an "ill-posed" problem. A single 2D snapshot cannot capture a person's complete 3D facial structure or their characteristic expression dynamics. As a result, when a model attempts to generate a video from a new angle or with a different expression, the character's identity frequently drifts or distorts. Furthermore, single-image models fail to accommodate the diverse mix of photos and video clips that users naturally possess.

Methods

AnyID introduces a scalable, multi-reference approach designed to handle heterogeneous inputs and provide fine-grained control over video generation:

  1. Omni-Referenced Architecture: Instead of using specialized external vision encoders (like CLIP or face experts) which can create architectural bottlenecks, AnyID standardizes all visual references (padding/resizing images, portraits, and video frames) and processes them using a single pretrained VAE encoder. These latent codes are then concatenated along the temporal dimension.
  2. Timestep Manipulation Strategy: To help the Diffusion Transformer (DiT) backbone distinguish between reference inputs and the target video, reference latents are assigned a static timestep of $t=0$ (indicating they are noise-free), while the target latent is assigned its standard sampled timestep $t > 0$.
  3. Primary-Referenced Paradigm & Differential Prompting: To resolve contextual inconsistencies across multiple references (e.g., conflicting clothing or lighting), AnyID designates a single source as the "primary reference" to act as a canonical anchor for static attributes. It introduces differential prompts—textual descriptions that specify only the changes relative to the primary reference (e.g., changing only the background or hairstyle), while unmentioned aspects are expected to remain consistent.
  4. Human-Centric Reinforcement Learning: To better align the model with human perception, the authors fine-tune the model using Direct Preference Optimization (DPO) on a meticulously curated win-lose dataset evaluated on identity fidelity and prompt controllability.
AnyID Framework Overview

Datasets

  • Meta-Data Pool: The authors curated a large-scale human identity dataset from the PortraitGala dataset. After applying a rigorous filtering pipeline (including face detection to isolate single subjects and removing blurry or extreme poses), they produced a meta-set of 100k ID-groups and 300k video clips.
  • Evaluation Benchmark: To evaluate universal identity-preserving video generation, they built a benchmark featuring 50 free-form reference sets of 50 celebrities. They utilized an LLM to generate 50 Identity-Preserving Text-to-Video (IPT2V) prompts and 50 Identity-Element-Preserving (IEPT2V) prompts.

Key Insights and Ideas

  • Resolving Ill-Posedness with Multi-View Priors: Multiple free-form references provide crucial holistic priors (such as unique facial markers like moles, or specific muscle movements) that make it mathematically and texturally possible for the model to maintain identity invariance across extreme angles.
  • The Power of the Native VAE: Leveraging the native VAE encoder for identity injection provides broader compatibility and avoids the bottleneck of specialized visual expert models.
  • Differential over Absolute Prompting: Absolute descriptions of a target scene introduce descriptive noise and often lead to hallucinations or omissions. Specifying only the delta (the change) relative to a primary anchor drastically improves attribute-level controllability.

Key Results

AnyID significantly outperforms existing academic and industrial baselines (including ConsisID, Phantom, and SkyReels-A2) across multiple dimensions:

  • Identity Fidelity: AnyID achieved the highest scores on holistic face similarity metrics, reaching 73.22% on Holi-Arc and 67.52% on Holi-Cur, demonstrating ultra-high dynamic identity preservation.
  • Prompt Controllability & Visual Quality: The model topped the leaderboard in prompt alignment (86.56% for appearance, 60.31% for motion) and overall visual quality (91.12% dynamic score).
  • User Study: In a study involving 20 participants across 40 matchups, AnyID won more than 70% of matchups in identity fidelity and prompt controllability against competing models.
Qualitative Comparison with Baselines

Limitations and Future Work

  • Complex Prompt Extraction: Generating differential prompts currently requires a two-stage pipeline (a VLM to describe elements and an LLM to perform comparative pruning) because single VLMs are currently too unstable and prone to hallucinations. The authors note that a sufficiently advanced VLM could streamline this into a single step in the future.
  • Societal Risks: High-fidelity identity preservation carries substantial risks regarding deepfakes and non-consensual impersonation. To mitigate this, AnyID incorporates safeguards inherited from the Wan foundation model suite, including built-in content moderation filters and output watermarking for provenance tracking.

Summary updated

BibTeX
@inproceedings{wang2026anyid,
  author = {Jiahao Wang and Hualian Sheng and Sijia Cai and Yuxiao Yang and Weizhan Zhang and Caixia Yan and Bing Deng and Jieping Ye},
  title = {{AnyID: Ultra-Fidelity Universal Identity-Preserving Video Generation from Any Visual References}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=OupoKbyucF},
}
Figure