DyStream: Streaming Dyadic Talking Heads Generation via Flow Matching-based Autoregressive Model
Bohong Chen, Haiyang Liu
TL;DR
DyStream tackles the challenge of real-time, dyadic talking-head generation by introducing a flow-matching autoregressive model that processes dual-track audio with a causal encoder and a short lookahead, achieving frame latency around 34 ms and overall system latency under 100 ms. The approach couples a Motion-aware Autoencoder with a Flow-matching AR generator and uses a sliding-window, CFG-guided inference to produce frame-by-frame motion conditioned on both speaker and listener audio. It further optimizes real-time performance with a customized Wav2Vec2 encoder that supports a 60 ms lookahead while maintaining causality, and demonstrates state-of-the-art lip-sync on HDTF offline and online metrics (8.13 and 7.61, respectively). The method enables interactive, visually embodied agents capable of both speaking and listening in streaming environments, with broad implications for education, sales, and virtual companionship.
Abstract
Generating realistic, dyadic talking head video requires ultra-low latency. Existing chunk-based methods require full non-causal context windows, introducing significant delays. This high latency critically prevents the immediate, non-verbal feedback required for a realistic listener. To address this, we present DyStream, a flow matching-based autoregressive model that could generate video in real-time from both speaker and listener audio. Our method contains two key designs: (1) we adopt a stream-friendly autoregressive framework with flow-matching heads for probabilistic modeling, and (2) We propose a causal encoder enhanced by a lookahead module to incorporate short future context (e.g., 60 ms) to improve quality while maintaining low latency. Our analysis shows this simple-and-effective method significantly surpass alternative causal strategies, including distillation and generative encoder. Extensive experiments show that DyStream could generate video within 34 ms per frame, guaranteeing the entire system latency remains under 100 ms. Besides, it achieves state-of-the-art lip-sync quality, with offline and online LipSync Confidence scores of 8.13 and 7.61 on HDTF, respectively. The model, weights and codes are available.
