---
title: 'X-Streamer: Unified Multimodal Digital Human Framework'
url: https://www.emergentmind.com/topics/x-streamer
type: topic
---

# X-Streamer: Unified Multimodal Digital Human Framework

X-Streamer is an end-to-end multimodal human world modeling framework for building digital human agents capable of infinite interactions across text, speech, and video within a single unified architecture. Starting from a single portrait, it enables real-time, open-ended video calls driven by streaming multimodal inputs. The system is organized around a Thinker–Actor dual-transformer architecture in which a pretrained language–speech model performs streaming perception and reasoning, while a trainable multimodal generator converts the resulting hidden states into synchronized text, speech, and video outputs in real time [2509.21574].

## 1. System definition and architectural scope

The framework is defined by the unified modeling relation
$$(T_o, A_o, V_o) = \mathcal{M}( T_i, A_i, I_s ),$$
where the outputs are text, audio, and video conditioned on streaming text input $T_i$, streaming audio input $A_i$, and a reference portrait $I_s$ [2509.21574]. In operational terms, X-Streamer turns a static portrait into persistent and intelligent audiovisual interactions by coupling multimodal understanding and multimodal generation inside one architecture.

Its central architectural distinction is the Thinker–Actor split. The Thinker is a frozen pretrained language–speech transformer, specifically GLM-4-Voice, that ingests streaming text and speech queries and produces hidden embeddings $h^c$ for chunk $c$. The Actor is a trainable multimodal generator transformer, initialized from GLM-4-Voice weights, that consumes $h^c$ and autoregressively produces an interleaved sequence of discrete text tokens $t_o^c$, discrete audio tokens $a_o^c$, and continuous video latent tokens $v_o^c$ [2509.21574].

This division of labor makes the system “unified” in the sense of coordinated multimodal reasoning and generation rather than modality homogenization. A plausible implication is that X-Streamer preserves strong pretrained dialog competence in the Thinker while allowing the Actor to specialize for synchronized audiovisual rendering.

## 2. Input representation and training formulation

X-Streamer processes text, speech, portrait identity, and video output through distinct but coordinated representations. Text is tokenized into discrete semantic tokens $t_i$ by a pretrained text tokenizer. Speech is encoded at 12.5 Hz into discrete audio tokens $a_i$ via the GLM-4-Voice speech tokenizer. The reference portrait is embedded via a visual encoder into a fixed latent $i_s$. Video output is generated as continuous VAE latents $v_o^c$ at 8 × spatiotemporal compression using LTX-Video [2509.21574].

The autoregressive training objective is given as
$$L = - \log P( t_o^c, a_o^c, v_o^c \mid i_s, t_i^{<c}, a_i^{<c}, t_o^{<c}, a_o^{<c}, v_o^{<c} ).$$
This objective makes explicit that each chunk is conditioned not only on the input portrait and prior user queries, but also on prior Actor outputs across all three modalities [2509.21574]. The formulation therefore treats conversation, speech realization, and video evolution as a coupled history-dependent process.

A useful consequence of this design is that temporal continuity is not delegated solely to the video pathway. Instead, the conditioning context includes prior text and audio outputs as well, which suggests that discourse state, prosody, and facial motion are intended to co-evolve under one autoregressive factorization.

## 3. Thinker module: streaming reasoning and multimodal context formation

The Thinker module uses GLM-4-Voice as a pretrained language–speech backbone. It is frozen at inference to preserve conversational intelligence. Its streaming paradigm alternates between blocks of 13 text tokens and 26 speech tokens, corresponding to approximately 2 s of audio for low-latency streaming. It maintains a rolling cache of up to 8 K tokens, approximately 10 min of combined text/audio context [2509.21574].

The hidden-state formulation is defined over a concatenated multimodal sequence $x_{1:N}$, where
$$x_n \in \{\text{text token, audio token, global identity token } i_s\}.$$
At chunk $c$, the Thinker produces
$$h^c = \mathrm{Transformer}_T( x_{1:\ell(c)} ),$$
where $\ell(c)$ is the total token count from the reference image, user queries, and prior Actor outputs up to chunk $c$ [2509.21574]. These hidden states capture long-range, time-aligned multimodal context and are used as keys and values by the Actor.

This arrangement gives the Thinker a role that is broader than automatic speech recognition or text-only dialogue management. It reasons over interleaved linguistic, acoustic, and identity-conditioned context. The inclusion of prior Actor outputs in $\ell(c)$ indicates that the system’s internal state depends on its own generated conversational history rather than only on external inputs.

## 4. Actor module: interleaved generation and chunk-wise video diffusion

The Actor performs multimodal generation chunk by chunk. For each approximately 2 s chunk $c$, the interleaving schedule is 13 text tokens, followed by 26 audio tokens, followed by 6 video chunks, each containing 8 frames, for a total of 384 video tokens [2509.21574]. Text and audio are trained with standard cross-entropy under teacher forcing, and audio is converted to waveform through a HiFi-GAN vocoder.

Video generation is handled as continuous latent prediction with velocity-parameterized diffusion on latent chunk $v^c$. The diffusion training loss is
$$\mathcal{L}_v = E[ \| \hat{vel}^c - vel_k^c \|^2 ].$$
The paper describes this as chunk-wise autoregressive diffusion for video and states that the Actor employs cross-attention to $h^c$ for tight semantic and temporal alignment across modalities [2509.21574].

A key training device is chunk-wise diffusion forcing. Each chunk $c$ is noised independently with timestep $k^c \in [1 \ldots N]$, and during training all chunks and their histories are jointly denoised under varied noise levels. The stated purpose is robustness to imperfect self-generated histories. At inference, a “pyramid” scheduler $\mathcal{K}^{chunk}$ organizes denoising so that only $|C| + N - 1$ forward passes are needed instead of $|C| \times N$ [2509.21574].

The paper attributes long-horizon stability to this forcing scheme, stating that it guarantees coherent motion across chunk boundaries and prevents drift over long horizons. Within the system’s own terminology, this is a mechanism for maintaining temporal coherence in a streaming diffusion process rather than a post hoc temporal smoothing stage.

## 5. Temporal alignment, context retention, and identity persistence

Temporal and cross-modal alignment are implemented through inter- and intra-chunk attention combined with time-aligned multimodal positional embeddings. The positional encoding for token $n$ of modality $m$ at time $t$ is $\mathbf{p}_{t,m}$. X-Streamer applies 1D RoPE on text and audio tokens along the temporal axis and 3D RoPE on video tokens across time, height, and width for spatiotemporal localization [2509.21574].

Within each video chunk, the model uses bidirectional self-attention among the 8-frame spatial tokens, giving full spatiotemporal context inside the chunk. It also applies cross-attention to aligned text/audio hidden states $h^c$ through $\mathbf{p}_{t,m}$ alignment. Across chunks, it uses causal autoregressive attention on preceding video tokens $v^{<c}$ to enforce temporal causality [2509.21574]. The resulting attention pattern is therefore mixed: bidirectional locally within a chunk, causal globally across chunks.

Cross-modality attention in each Actor block is written as
$$A(Q,K,V) = \mathrm{Softmax}( QK^T / \sqrt{d_k} )\,V,$$
with $Q$ given by video-token queries and $K,V$ given by Thinker hidden states $h^c$, including global identity tokens [2509.21574]. The identity mechanism embeds $i_s$ as a constant prefix token sequence at the very start of the context, allowing every cross-attention layer to attend to the source portrait.

The paper states that this global identity reference empirically stabilizes facial identity even over hours of interaction. A plausible implication is that identity consistency is treated as a persistent conditioning signal accessible throughout the entire generation stack, rather than as a one-time initialization of the visual pathway.

## 6. Real-time deployment, context limits, and interpretive boundaries

The reported model size is 18 B parameters, with peak VRAM of approximately 53 GB on one GPU. On a single GPU, runtime is described as approximately 51.2 s for the Thinker plus 58.2 s for the Actor per 1 min of output, which is not real time. The paper reports that a two-GPU deployment, with the Thinker on GPU 0 and the Actor on GPU 1, together with KV caching and the chunk-wise pyramid scheduler, achieves 25 fps end-to-end multimodal streaming [2509.21574].

The deployed context windows are heterogeneous by modality. Video self-attention is limited to up to 2 K video tokens, approximately 10 s, while the Thinker retains 8 K tokens, approximately 10 min, for text and audio context [2509.21574]. The latency optimizations named in the paper are interleaved chunk generation, which avoids buffering full speech before video; Key–Value cache, which eliminates recomputation of previous context; and chunk-wise denoising, which reduces diffusion passes to $|C|+N-1$.

The phrase “infinite interactions” should therefore be interpreted carefully. The paper explicitly claims infinite-horizon, synchronized audiovisual conversations with a persistent digital human, but it also reports finite rolling context limits for text/audio and finite self-attention horizons for video [2509.21574]. This suggests that “infinite” refers to open-ended streaming operation with mechanisms for long-horizon stability, not to unbounded full-history retention in all modalities.

Within the paper’s framing, the principal significance of X-Streamer is the integration of streaming reasoning, interleaved multimodal generation, chunk-wise video diffusion, and persistent identity conditioning into a single Thinker–Actor framework. The system is presented as a step toward unified world modeling of interactive digital humans [2509.21574].

Source: https://www.emergentmind.com/topics/x-streamer