TL;DR
The paper introduces PoCo (Position Embedding as a Context Controller), a novel framework that solves "reference confusion" in multi-character, multi-shot video generation. By embedding metadata tags directly into a modified Rotary Position Embedding (SideInfo-RoPE), PoCo enables precise character tracking across shots without sacrificing background consistency or adding computational overhead.
What Problem Does This Paper Address?
Creating a cohesive multi-shot video featuring multiple characters is a massive challenge for open-source AI models. Current state-of-the-art systems face a frustrating trade-off:
- Independent generation: If you generate each shot in isolation using separate prompts, the character identities stay intact, but the background, lighting, and style clash wildly from shot to shot.
- Joint generation: If you feed all character references and shot prompts into a single Diffusion Transformer (DiT) simultaneously, the model gains global context but suffers from reference confusion. When characters look even remotely similar, the attention mechanism gets confused, leading to identity swaps or blended, ambiguous characters.
The authors identify that relying solely on semantic similarity in native attention is insufficient for complex context retrieval. They propose using position embeddings not just to track where a token is in space and time, but as an explicit controller to dictate which reference context a video token should attend to.
Methods
PoCo splits the attention mechanism into two functional components: a learnable, semantics-driven retrieval component and a manually designed positional embedding space that acts as a context organizer.
The core technical innovations are:
1. SideInfo-RoPE
Standard video DiTs use 3D Rotary Position Embeddings (3D-RoPE) to encode temporal and spatial dimensions $(t, h, w)$. PoCo extends this by adding a new axis: Side Information ($s$).
When a user provides a prompt with character tags (e.g., @character1), these tags are treated as metadata coordinates. In the RoPE phase space, tokens that share the same side information remain phase-aligned, allowing them to interact normally. Tokens that disagree on entity presence are rotated by a predefined phase offset ($\phi_i$), which naturally attenuates their cross-attention score. This acts as a soft, mathematically elegant routing mechanism directly inside the native attention computation.
2. Hierarchical Cross-Attention
To prevent text prompts from interfering across shots, PoCo structures cross-attention globally and locally. Reference image tokens act as global anchors and attend to all text captions to capture overall style. Meanwhile, video tokens from a specific shot are masked so they only attend to the text segment describing their current shot.
Datasets
Because no off-the-shelf dataset perfectly fits multi-reference, multi-shot video generation, the authors built a robust data curation pipeline:
- Source: Long-form videos filtered via Visual Quality Assessment (VQA) models for aesthetics, sharpness, and stability.
- Segmentation: Divided into single shots using AutoShot and PySceneDetect.
- Annotation: Captions generated via a multimodal LLM. Faces were detected, clustered by identity across shots, and enhanced using face-refinement techniques (SeeDream) to create clean reference portraits mapped to explicit character tags.
- Evaluation Set: A curated out-of-distribution test set consisting of 54 shots from 18 multi-shot videos, specifically utilizing 9 pairs of look-alike characters to rigorously test reference confusion.
Key Insights and Ideas
- Position Embedding as a Traffic Controller: Instead of adding heavy external retrieval modules or cross-attention layers to handle identity gating, modifying the position embedding space achieves the same routing effect for free.
- Discretizing Metadata into Phase Space: The authors map discrete character tags into uniform partitions of a $2\pi$ phase circle. This geometric separation prevents look-alike characters from bleeding into each other's shots.
- Low-Frequency Channels Matter Most: Through ablation, the authors discovered that reallocating low-frequency temporal channels for side information yields much better results than high-frequency channels. High-frequency channels are critical for rapid motion modeling; disrupting them introduces severe motion artifacts.
Key Results
PoCo was evaluated against strong baselines like Phantom and EchoShot on a 14B parameter backbone (VACE-14B).
- Quantitative Superiority: PoCo achieved the highest overall benchmark score (83.46). Crucially, it blew baselines away in background consistency (CrossShot-DINO of 92.66 vs. Phantom-14B's 73.24) and character fidelity (CrossShot-FaceSim of 89.35).
- Qualitative Impact: As shown in look-alike testing, models without SideInfo-RoPE frequently swapped identities or generated mixed faces. PoCo consistently grounded the correct character to the correct shot while maintaining a flawless, unchanging background across the entire sequence.
Limitations and Future Work
While PoCo excels at cross-shot reference control, it is currently less suited for complex intra-shot scenarios. For instance, if two highly similar twin characters appear in the same frame and need to perform distinct actions, PoCo's current shot-level side information cannot differentiate them. The authors note that extending PoCo to handle denser, instance-level spatiotemporal control within a single frame is the next major frontier.
Summary updated