UniSwap:用于说话视频的流式音视频身份交换

·

观点分析 · 2026/08/14

UniSwap 是首个用于流式联合音视频身份替换的框架。给定源视频、参考图像和参考语音片段,UniSwap 在单个音视频扩散 Transformer 中转移参考外观和音色,同时保留源内容与动态。为解决跨身份训练数据稀缺问题,引入交换-重建流程,从真实片段中去除视觉和语音身份,并以原始片段作为重建目标。模型从双向骨干开始,通过上下文预训练、条件流式适配和高效自强制 DMD 逐步优化,实现块级因果 KV 缓存生成,并将采样步数从 30 降至 3。高效多 LoRA 切换使三种 DMD 角色共享冻结骨干,特征 RoPE 分解保持缓存位置在训练范围内,支持稳定长序列推理。实验表明,该方法在音视频同步、身份保持、流式效率和长序列生成方面表现优异。

该论文提出了一种新颖的流式音视频联合身份替换框架,解决了现有方法中音视频一致性难以保证的问题,并通过多项技术创新实现了高效且稳定的长序列生成,对数字人、视频编辑等领域具有重要应用价值。

Talking-video character replacement requires coordinated transfer of appearance and voice while preserving the source motion, scene, linguistic content, and audio-video timing. Existing methods use separately optimized models for the two modalities, making audio-visual consistency difficult to enforce. We present UniSwap, the first framework for streaming joint audio-visual identity replacement in talking videos. Given a source video, a reference image, and a reference voice clip, UniSwap transfers the reference appearance and vocal timbre within a single audio-visual diffusion transformer while preserving the source content and dynamics. To address the scarcity of aligned cross-identity training pairs, we introduce a swap-and-reconstruct pipeline that removes visual and vocal identity from real clips and uses the original clips as reconstruction targets. Starting from a bidirectional backbone, we progressively adapt the model through In-context Pretraining for joint replacement, Conditional Streaming Adaptation for block-causal KV-cached generation, and Efficient Self-forcing DMD for mitigating exposure bias and reducing sampling from 30 to 3 denoising steps per block. Efficient Multi-LoRA Switching enables the three DMD roles to share a single frozen backbone. Feature-RoPE Decomposition keeps cached positions within the training range, supporting stable long-form inference. Experiments demonstrate strong audio-visual synchronization, competitive identity preservation, efficient streaming, and stable long-form generation.

阅读原文

参与讨论