arXiv:2610.32373cs.CVOct 2026

Manuscript Offprint

arXiv:2610.32373

Past as State, Present as Attention: Persistent-State Blockwise Flow Matching for Long-Horizon Co-Speech Motion Generation

Yi Liu, Xiangyue Zhang, Jianfang Li, Jia Ma, Yisheng He, Jianqiang Ren

Yi Liu1,3^{1,3} Xiangyue Zhang2^{2} Jianfang Li3∗^{3*} Jia Ma1^{1} Yisheng He3^{3} Jianqiang Ren3^{3}

1^{1} Tongji University 2^{2} The University of Tokyo 3^{3} Alibaba Group

{liuyi61,2432018}@tongji.edu.cn x-zhang@mi.t.u-tokyo.ac.jp

{wuhui.ljf,heyisheng.hys,jianqiang.rjq}@alibaba-inc.com

Project website: https://ly403.github.io/PASPA/

0-2s

10-12s

31-33s

51-52s

(a) Short-Seed Truncation: gradual shift

Style Drift

Figure

(b) Long-Context Token Attention: style underutilized

Distant Style Weakly Exploited

(c) Past as State, Present as Attention (PASPA): style-preserved

Consistent Style

Figure

Figure 1: Long-horizon co-speech motion generation (52 s) from the same speech and speaker, with the GT style keeping both hands raised near the chest. (a) Short-Seed Truncation matches the style initially but monotonically drifts: hands gradually drop. (b) Long-Context Token Attention retains full history but struggles to maintain a consistent style, matching or deviating regardless of temporal distance. (c) PASPA (ours) preserves the raised-hands style throughout, closely matching the GT.

Abstract

Co-speech motion generation remains challenging over long horizons due to the need for temporal coherence and consistent style. Existing methods typically generate long motions segment by segment, either conditioning on a short seed of recent frames, which gradually drifts, or retaining ever-longer explicit histories, which are costly to maintain and hard to learn from limited data. We trace these limitations to a key asymmetry between past and present: past motion carries slowly varying style that should be compactly summarized, whereas the current segment exhibits fast-changing local dynamics that require fine-grained modeling. This asymmetry motivates a simple Past-As-State, Present-as-Attention principle for long-horizon

∗^{*}Corresponding author.

Preprint.

co-speech motion generation. Following this principle, we propose PASPA, which summarizes past history with an inter-block persistent state and models the current segment with intra-block bidirectional self-attention. We instantiate PASPA within a blockwise flow matching framework, with multi-block supervision for effective training over variable histories, prefill-decode state caching for efficient rollout, and hybrid classifier-free guidance for enhanced history and speech conditioning. Extensive public-benchmark experiments show that PASPA achieves state-of-the-art FGD performance and preserves motion style across long-sequence generation.

1 Introduction

Humans naturally accompany speech with expressive body movements that convey emphasis, emotion, and communicative intent beyond words alone [53]. Co-speech motion generation aims to synthesize realistic full-body motions that are temporally aligned and semantically consistent with speech [56]. It is crucial to applications like digital humans [99], virtual assistants [87], and animated characters [24].

Early co-speech motion generation often relies on direct speech-to-motion mapping [86], but the inherent one-to-many nature of speech-to-motion correspondence has made generative modeling increasingly important [38]. Accordingly, diffusion models [27] and flow matching [42, 50], the prevailing generative paradigms, have been widely adopted in this field. 2^{2} While they improve short-horizon realism and controllability [48, 92], long-horizon co-speech motion generation remains challenging, as it requires preserving temporal coherence [75] and speaker style [1] (see Fig. 1).

For long-horizon generation, most methods proceed segment by segment, making inter-block history propagation the central challenge. A common strategy is to use only a seed (i.e., the previous segment's last few frames; Fig. 2a) [45, 89, 92] as condition. With such limited history, temporal coherence and style gradually drift over time (see Fig. 1a) [75]. Recent streaming methods exploit longer histories [8, 75, 77], but retain contexts like frames or tokens (see Fig. 2b). Maintaining such explicit histories incurs growing memory and compute costs as horizons extend, especially with attention-based backbones [74]. More critically, learning to exploit ever longer explicit histories is difficult given the limited data in co-speech motion generation [45], often leading to unstable style preservation (see Fig. 1b). These observations raise a fundamental question: is there a more effective way to represent and propagate the past than explicitly attending to raw historical sequences?

We answer this affirmatively: the past and present play distinct roles in motion generation and should be represented accordingly. Past history primarily carries slowly varying stylistic traits (e.g., gesture amplitude and spatial preference) [1, 3], which should be compactly summarized rather than stored verbatim. By contrast, local motion dynamics are fast-changing, making full-resolution modeling of the current block more suitable for capturing fine-grained motion details. This asymmetry motivates a simple Past-As-State, Present-as-Attention principle: the past should be compressed as a persistent state that is carried across segments, while the present should be modeled with full attention for expressive generation (see Fig. 2c). Guided by this principle, we propose PASPA, which achieves temporally coherent and style-consistent long-horizon co-speech motion generation (see Fig. 1c).

In PASPA, past history and the current block are handled by two complementary mechanisms. For past history, we design a block-level recurrent state mechanism built upon Gated DeltaNet [83, 84], which progressively summarizes preceding blocks into a persistent state and provides a selective-retention, temporal-decay inductive bias for slowly evolving motion style. For the current block, we use blockwise self-attention [60, 74] to enable full bidirectional interaction for fine-grained modeling. We integrate them into a hybrid PASPA module, which forms the core component of our model.

We build PASPA on a semi-autoregressive blockwise flow matching (BFM) framework inspired by recent block diffusion paradigms [6, 95], and develop tailored training and inference protocols. For training, we apply distinct noise levels to multiple blocks and supervise their denoising in parallel, yielding dense multi-block supervision and exposing each block to states summarizing variable-length histories. For inference, PASPA separates state prefilling from iterative decoding and reuses cached historical states for efficient rollout. To improve generation quality, we introduce a hybrid classifier-free guidance [26] that augments audio-conditioned guidance with history-drop guidance [66], enabling explicit control over historical dependence while preserving speech alignment.

2^{2}We use diffusion and flow matching interchangeably in this paper due to their mathematical equivalence [4, 43].

Figure

Figure 2: History propagation in co-speech motion generation. (a) Short-Seed Truncation keeps only recent frames. (b) Long-Context Token Attention retains history as tokens for global attention. (c) PASPA compresses history into a persistent state and applies full attention within the current block.

Our main technical contributions are: (1) We identify a key asymmetry in the roles of past and present in co-speech motion generation, and formulate a simple past-as-state, present-as-attention principle for long-horizon modeling. (2) Following this principle, we propose PASPA, a persistent-state method built on blockwise flow matching, whose core module couples inter-block persistent state modeling with intra-block attention. (3) We develop tailored training and inference schemes, including multi-block supervision, prefill-decode decoupling with state caching, and hybrid classifier-free guidance.

References (92)