NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CrossID: Cross-Supervised Spatio-Temporal Gated Fusion for Personalized Portrait Generation

Dongxu Yue, Qixin Yan, Shiao Yang, Xiaoqiang Zhou, Hao Liu, Zhihai He, Chun YuanNeurIPS 2026

TL;DR

Ask an AI to generate a photo of you in a new pose, and you usually get an awkward "copy-paste" sticker of your original expression—or a completely different person. CrossID breaks this classic trade-off between identity fidelity and text editability by realizing that current models are inadvertently trained to cheat. By combining synthetic video frames during training with a smart spatio-temporal gating adapter, CrossID generates photorealistic portraits that look remarkably like the reference—moles, skin texture, and all—while actually listening to your prompt.

Figure 1: We illustrate (a) the challenges faced by existing methods, and (b) showcases of CrossID, including single and multi-person generation across diverse prompts. Best viewed zoomed in.

What Problem Does This Paper Address?

Personalized portrait generation takes a single reference photo of a person and synthesizes new images guided by text prompts (e.g., "wearing wire glasses, reading at dusk"). Modern zero-shot Diffusion Transformers (DiTs) do this without slow per-person fine-tuning, yet they struggle with two frustrating flaws:

  1. The Fidelity vs. Controllability Trade-off: Models either abandon the person's likeness to follow the text prompt, or rigidly transplant the exact reference face onto a new body—creating jarring "copy-paste" artifacts. Why? Almost all prior methods use self-supervised training: they crop a face out of an image and ask the network to reconstruct that exact same image. The network learns a lazy shortcut—just copy the pixels!—rather than understanding facial identity independent of pose or lighting.
  2. Plastic Skin and Lost Details: Humans are hyper-sensitive to faces. Compressing a face into a single global vector (via encoders like CLIP or ArcFace) washes out high-frequency details like skin texture or iconic moles. Conversely, feeding raw spatial image tokens (via a VAE—Variational Autoencoder) preserves detail, but makes the copy-paste problem much worse.

Methods

Built on top of a Flow-Matching Diffusion Transformer, CrossID tackles both problems—detail preservation and shortcut-breaking—through a new adapter and a two-stage training recipe.

Figure 3: Architecture of CrossID. Left: The DiT Block takes four types of tokens as input and discards the condition tokens at the output. Right: The GatedFaceAdapter takes an ArcFace embedding, a VAE-encoded token, and a timestep as input, producing gated face condition tokens.
  • GatedFaceAdapter (Dual-Branch Fusion): Instead of choosing between abstract identity vectors and raw pixel details, CrossID fuses both via bidirectional cross-attention:
  • A semantic branch maps standard ArcFace identity embeddings through Perceiver-style learnable queries.
  • A spatial branch extracts fine-grained latent tokens from the reference face using a frozen VAE.
  • Spatio-Temporal Gating: Because diffusion models sketch global structure early in denoising and refine textures later, a time gate dynamically adjusts the weight of each branch based on the diffusion timestep. Meanwhile, a spatial gate applies a position-wise mask to the VAE tokens, filtering out background clutter or stray limbs.
  • Two-Stage Cross-Supervised Training:
  • Stage 1 (Reconstruction Pre-Training): Uses standard self-cropped faces (300K steps total, warming up the adapter then adding LoRA weights to the DiT) so the network learns to capture crisp, fine-grained facial textures.
  • Stage 2 (Cross-Supervision): Freezes the adapter and trains the LoRA layers for 50K steps using different frames of the same person (sampled from synthetic video clips). Because the reference frame has a different pose and expression than the target image, trivial spatial copying fails, forcing true disentanglement.

Datasets

Because most high-end portrait datasets are proprietary or lack multi-view pairs, the authors built and open-sourced a massive ecosystem:

Figure 2: Overview of the CrossID-11M construction pipeline. Left: A filtering pipeline extracts 11M high-quality single-person portraits from billions of raw images. Right: A two-stage pipeline performs basic annotation and constructs cross-pair data. Specifically, it generates ID-preserving video clips, retaining 0.9M valid clips after per-frame identity filtering.
  • CrossID-11M (Training): Curated from billions of web images using RetinaFace and Qwen3-VL-235B quality filters, yielding 11 million single-person portraits with segmentation masks, ArcFace embeddings, and rich captions. Crucially, for 0.9 million samples, the authors used an Image-to-Video model (Wan2.2-I2V) to animate the reference face into new poses and expressions—creating clean "cross-pairs" verified by per-frame identity thresholds.
  • CrossID-Bench (Evaluation): 100 diverse identities (ordinary people and celebrities—avoiding the trap where base models have already memorized famous faces like in CelebA) paired with 20 challenging editing prompts. Alongside Unsplash-50, it introduces Vision-Language Model (Gemini-3.1-Pro) metrics on a 1–5 scale for Natural Integration (NI), Semantic Correctness (SC), and Image Quality (IQ).

Key Insights and Ideas

  • Image-to-Video models are secret disentanglement engines: Gathering real-world multi-photo datasets of millions of individuals is a clustering and privacy nightmare. Generating short synthetic videos from static faces—and skipping the first 10% of frames so the face actually moves—cleverly manufactures cross-paired supervision at scale.
  • Standard metrics are blind to copy-pasting: If a model literally pastes a smiling, front-facing reference photo onto a prompt asking for a calm 3/4 profile, standard ArcFace similarity rewards it with a massive score! Pairing similarity with VLM-judged Natural Integration exposes this illusion.
  • Ablations prove you need both halves: Without the adapter, face similarity tanks. Without cross-supervision, Face Sim actually spikes (from 0.6291 to 0.6886 on CrossID-Bench), while Natural Integration plummets (4.733 down to 3.106)—textbook proof of the copy-paste shortcut in action.

Key Results

Tested against nine state-of-the-art baselines (including PuLID-FLUX, InstantID, InfiniteYou, DreamO, and WithAnyone), CrossID breaks the Pareto frontier trade-off:

  • On CrossID-Bench, CrossID achieves the highest Face Similarity (0.6291) and CLIP-T text alignment (0.2508) simultaneously, alongside top Semantic Correctness (4.362) and Image Quality (4.316), and near-top Natural Integration (4.733).
  • On Unsplash-50, the lead holds: 0.5706 Face Sim, 0.2486 CLIP-T, 4.360 SC, and 4.401 IQ.
  • Qualitatively, CrossID handles complex lighting, dramatic style shifts (e.g., bold-outlined GTA style), subtle gaze shifts, and even multi-person compositions without losing distinctive facial features.

Limitations and Future Work

Not discussed in the paper. (Note: The provided 10-page main manuscript concludes without an explicit limitations section, likely deferring broader impacts or failure modes to the supplementary appendices.)

Summary updated

BibTeX
@inproceedings{yue2026crossid,
  author = {Dongxu Yue and Qixin Yan and Shiao Yang and Xiaoqiang Zhou and Hao Liu and Zhihai He and Chun Yuan},
  title = {{CrossID: Cross-Supervised Spatio-Temporal Gated Fusion for Personalized Portrait Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=fYVQT7T0IU},
}
Figure