TL;DR
AnyID is a novel framework that advances identity-preserving video generation by moving beyond the limitations of a single reference image to accept multiple, free-form references (such as mixed faces, portraits, and video clips). By combining an omni-referenced architecture with a primary-referenced paradigm and differential prompting, AnyID achieves ultra-high identity fidelity and fine-grained, attribute-level control over video generation.
What Problem Does This Paper Address?
Current identity-preserving video generation models typically rely on a single reference image to customize videos of a specific character. However, this single-reference paradigm is fundamentally ill-posed: a single 2D snapshot cannot fully capture a person's 3D facial structure or their unique expression dynamics. As a result, when the generated character rotates their head or changes expression, the model often suffers from "identity drift."
Furthermore, real-world users often have a diverse collection of photos and videos of a subject. Existing models struggle to ingest these heterogeneous formats simultaneously. Even when multiple images are used, they often introduce contextual contradictions—such as conflicting backgrounds, lighting, or clothing—making it difficult for the model to know which attributes to preserve and which to modify based on the text prompt.
Methods
To resolve these challenges, the authors introduce AnyID, which consists of several key architectural and algorithmic innovations:
- Omni-Referenced Architecture: Instead of using specialized external face or CLIP encoders that create architectural bottlenecks, AnyID standardizes all visual references (treating static images as single-frame videos) and encodes them using a single, pre-trained Variational Autoencoder (VAE). These latent representations are concatenated along the temporal dimension.
- Timestep Manipulation Strategy: To help the Diffusion Transformer (DiT) backbone distinguish between reference inputs and the target video being generated, the authors assign a static timestep of $t=0$ to all reference latents (signaling they are noise-free) while the target latent receives a standard sampled timestep $t>0$.
- Primary-Referenced Generation & Differential Prompting: To handle conflicting attributes across multiple references, the model designates a single "primary reference" as a canonical anchor for static attributes (like hairstyle or clothing). It then uses a differential prompt that explicitly describes only the changes relative to this primary reference, rather than describing the entire target scene from scratch. This prompt is extracted using a robust two-stage Vision-Language Model (VLM) and Large Language Model (LLM) pipeline.
- Human-Centric Reinforcement Learning: To align the model with human perception beyond pixel-level Mean Squared Error (MSE) losses, the authors apply Direct Preference Optimization (DPO). They construct a win-lose preference dataset based on human evaluations of identity fidelity and prompt controllability to fine-tune the model.
Datasets
- Meta-Data Pool: The authors curated and filtered the PortraitGala dataset, applying face detection and quality filtering to isolate single-subject clips. This resulted in a high-quality dataset containing 100k identity groups and 300k video clips.
- Data Augmentation: To simulate diverse real-world inputs, the training pipeline dynamically crops and transforms these video clips into three distinct reference forms: face images, portrait images, and short video segments.
- Evaluation Benchmark: The paper introduces a comprehensive benchmark for universal identity-preserving video generation, featuring 50 free-form reference sets of 50 celebrities. It evaluates two distinct tasks: Identity-Preserving Text-to-Video (IPT2V) and Identity-Element-Preserving Text-to-Video (IEPT2V).
Key Insights and Ideas
- The Power of the Native VAE: Leveraging the native VAE encoder for identity injection—rather than relying on specialized facial expert models—simplifies the architecture and naturally accommodates mixed modalities (images and videos) under a unified representation.
- Zero-Timestep Conditioning: Using $t=0$ for reference latents is an elegant, non-invasive way to inject clean conditional information directly into a DiT backbone without altering its underlying block structure.
- Deltas Over Absolutes: Shifting from absolute scene descriptions to differential prompting drastically reduces descriptive noise. It provides a clear modification direction for the model, successfully decoupling identity preservation from attribute editing.
Key Results
AnyID significantly outperforms state-of-the-art baselines (including ConsisID, FantasyID, Phantom, and SkyReels-A2) across both quantitative metrics and human preference studies:
- Identity Fidelity: AnyID achieved the highest scores on multi-angle facial consistency metrics, reaching 73.22% on Holi-Arc and 67.52% on Holi-Cur, proving its resilience against identity drift during head rotations.
- Controllability & Quality: It topped the leaderboard in prompt controllability (scoring 86.56% for human appearance alignment) and visual quality (91.12% for dynamic smoothness).
- User Study: In head-to-head matchups, human annotators preferred AnyID over baselines in more than 70% of cases for identity fidelity and prompt controllability.
Limitations and Future Work
The authors note that their current two-stage pipeline for generating differential prompts (VLM description followed by LLM comparative pruning) is a workaround for the instability and hallucination tendencies of current standalone VLMs. They anticipate that as Vision-Language Models become more advanced, a single VLM will be capable of performing end-to-end differential prompting directly, streamlining the inference pipeline.
Summary updated