StreamAvatar: Streaming Diffusion Models for Real-Time Interactive Human Avatars

Zhiyao Sun, Ziqiao Peng, Yifeng Ma, Yi Chen, Zhengguang Zhou, Zixiang Zhou, Guozhen Zhang, Youliang Zhang, Yuan Zhou, Qinglin Lu, Yong-Jin Liu

TL;DR

StreamAvatar introduces a two-stage framework that adapts high-fidelity, non-causal video diffusion models into real-time, streaming causal generators. By combining autoregressive distillation with novel long-context attention mechanisms and a consistency-aware discriminator, it delivers full-body digital avatars capable of seamlessly alternating between talking and listening behaviors with natural gestures and zero identity drift.

What Problem Does This Paper Address?

While diffusion-based models have set a new standard for generating highly realistic digital humans from a single reference image, they suffer from three major limitations that prevent them from being used in live, interactive applications (like virtual assistants or real-time avatars):

  1. Computational and Structural Latency: Standard video diffusion models rely on iterative denoising (taking many steps) and non-causal, bidirectional attention mechanisms. This means the model needs to "see" the entire audio/video sequence at once, making real-time streaming mathematically impossible.
  2. Long-Duration Instability: When forced to generate long, continuous video streams autoregressively, these models suffer from error accumulation and "identity drift," where the avatar's appearance gradually warps or degrades over time.
  3. One-Way Interaction: Most existing methods only model the talking state. In a real conversation, humans spend a lot of time listening. Without realistic listening behaviors (nodding, shifting posture, reacting to the speaker), digital avatars look stiff and unnatural. Furthermore, most interactive methods restrict movement to just the head and shoulders, omitting expressive hand gestures.

StreamAvatar tackles these challenges to enable real-time, full-body, bidirectional human avatar streaming.

Figure 1. We propose StreamAvatar, which adapts human video diffusion models for real-time, streaming, and interactive video generation through a two-stage framework. Given a reference image and user/agent audio streams as input, StreamAvatar generates high-resolution streaming human video in real-time, producing vivid talking/listening expressions and gestures.

Methods

The authors propose a two-stage adaptation and acceleration framework to transform a slow, bidirectional "teacher" Diffusion Transformer (DiT) into a fast, causal "student" generator:

Stage 1: Autoregressive Distillation

  • Block-Causal DiT: The authors modify the original bidirectional attention mechanism into a block-causal structure. Attention is bidirectional within small temporal chunks (e.g., 3 frames) but strictly causal between chunks, utilizing a rolling KV cache to maintain context efficiently.
  • Few-Step Distillation: Using Score Identity Distillation (SiD) and a student-forcing scheme, the iterative denoising process is compressed down to just a 3-step generator, reducing the DiT runtime to 1/40th of its original cost.
  • Reference Sink: To prevent identity drift, the KV pairs of the initial reference frame are permanently pinned in the KV cache so the model never "forgets" the original subject's appearance.
  • Reference-Anchored Positional Re-encoding (RAPR): Standard Rotary Positional Embeddings (RoPE) cause attention to decay as the video grows longer, and they suffer from train-test length mismatches. RAPR solves this by capping the maximum positional distance relative to the reference frame, allowing the model to simulate infinite-length generation using only short training clips.
Figure 2. Overview of the two-stage autoregressive adaptation and acceleration framework. The original bidirectional DiT is first transformed into a block-causal DiT with block size C = 3. Then, in stage 1, we apply Score Identity Distillation to distill from the bidirectional teacher into a block-causal student. A Reference Sink and Reference-Anchored Positional Re-encoding is introduced to improve long-term stability and consistency. In stage 2, we apply an adversarial refinement process guided by a Consistency-Aware Discriminator, to further improve generation quality, consistency, and stability.

Stage 2: Adversarial Refinement

Aggressive distillation often introduces blurriness and visual artifacts. To fix this, the authors fine-tune the student model using a Consistency-Aware Discriminator. This discriminator features a dual-branch design: a Local Realism Branch to evaluate individual frame quality, and a Global Consistency Branch that uses cross-attention against the reference frame to explicitly penalize any deviation from the target identity.

Interactive Audio Masking

To handle both talking and listening states, StreamAvatar uses an audio-visual classifier (TalkNet) to generate a binary mask directly modulating the extracted Wav2Vec audio features. These features are then routed into dedicated Talk Audio Attention and Listen Audio Attention modules within the DiT blocks, allowing the avatar to dynamically shift its behavior based on who is speaking.

Datasets

The model was trained on a combined dataset consisting of SpeakerVid-5M and self-collected videos, totaling roughly 200 hours of 720p video.

For evaluation, the authors constructed two distinct benchmarks:

  • Short Dataset: 50 real avatar images paired with 5-second audio clips and ground-truth videos.
  • Long Dataset: 25 synthesized avatar images paired with 20-second audio clips to test long-term stability.
  • Interactive Evaluation: 50 videos sampled from SpeakerVid-5M specifically to evaluate talking-to-listening transitions.

Key Insights and Ideas

  • RoPE is a Hidden Bottleneck for Long Videos: The authors discovered that long-term identity drift isn't just caused by error accumulation; it's heavily exacerbated by RoPE's inherent long-term decay property. By capping the positional distance via RAPR, they prevented the model from losing track of the reference frame.
  • Omitting KV-Cache Updates Works: In standard student-forcing architectures, updating the KV cache with fully denoised frames requires an extra forward pass. The authors found that conditioning the next chunk on noisy previous chunks works just as well, eliminating a major computational bottleneck.
  • Audio Masking Over Audio Separation: Instead of using audio separation algorithms (which distort waveforms and degrade downstream Wav2Vec feature extraction), using a binary mask to modulate features preserves high-fidelity audio cues for cleaner motion synthesis.

Key Results

  • Massive Speedups: StreamAvatar generates a 5-second, 720p video in just 20 seconds on a single H20 GPU (requiring only 3 denoising steps), compared to 7 to 74 minutes for non-causal baselines like StableAvatar or HY-Avatar.
  • Real-Time Streaming Ready: When pipelined across two H800 GPUs, the system achieves real-time generation with an interactive latency of just 1.2 seconds.
  • Superior Quality and Stability: Quantitative metrics show that StreamAvatar achieves state-of-the-art or highly competitive performance in visual quality (FID/FVD) and lip-sync accuracy (Sync-C), while demonstrating significantly higher gesture dynamics (HKV) and lower body distortion rates (HA) over extended durations.

Limitations and Future Work

  • Temporal Occlusions: Due to the limited context window of the rolling KV cache, the model can occasionally generate inconsistent details in regions that remain occluded for long periods.
  • Motion Range Compression: The distillation process inherently bounds the diversity and extremity of full-body motions compared to the original teacher model.
  • The VAE Bottleneck: Currently, VAE decoding accounts for more than 50% of the total processing pipeline latency. The authors note that developing more efficient VAE architectures will be crucial for pushing streaming latencies even lower.

Summary updated

BibTeX
@inproceedings{sun2026streamavatar,
  author = {Zhiyao Sun and Ziqiao Peng and Yifeng Ma and Yi Chen and Zhengguang Zhou and Zixiang Zhou and Guozhen Zhang and Youliang Zhang and Yuan Zhou and Qinglin Lu and Yong-Jin Liu},
  title = {{StreamAvatar: Streaming Diffusion Models for Real-Time Interactive Human Avatars}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=gPbLvfuqoV},
}
Figure