NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

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 RenNeurIPS 2026

TL;DR

Generating natural 3D body gestures from speech is notoriously hard to sustain over long conversations: models either forget the speaker's style and drift away, or drown in compute trying to remember every past frame. By recognizing that "past" motion is mostly slow-changing style while "present" motion is fast-changing dynamics, the authors propose PASPA—a model that compresses history into a compact recurrent state while focusing full attention only on the current moment. The result is crisp, style-consistent digital avatars that can gesture coherently for minutes on end at a fraction of the memory cost.

What Problem Does This Paper Address?

When we talk, our hands and bodies move in sync with our words. Teaching AI to generate these "co-speech" 3D motions from audio is vital for virtual assistants, games, and digital humans. While diffusion and flow-matching models can generate great short clips (a few seconds), stitching segments together for long speeches creates a painful dilemma:

  1. Short-Seed Truncation: Conditioning each new motion block on just the last few frames of the previous block. It’s cheap, but the model quickly forgets how the speaker started—for instance, someone who talks with their hands raised near their chest will gradually let their arms droop to their sides (style drift).
  2. Long-Context Token Attention: Feeding the entire history of past frames into a Transformer's attention mechanism. Not only does compute and memory balloon quadratically over time, but motion datasets are relatively small—models struggle to learn which distant frames actually matter amidst noisy, frame-by-frame fluctuations.
Comparison of long-horizon motion generation over 52 seconds, showing PASPA preserving the raised-hands style while baselines drift or fluctuate.

Methods

The authors trace this dilemma to a fundamental asymmetry: the past and the present do different jobs. Empirical autocorrelation tests show that local pose velocities decay almost instantly, whereas stylistic traits (like gesture amplitude or resting posture) persist over hundreds of frames. Therefore, you shouldn't use the same mechanism for both.

Guided by a Past-as-State, Present-as-Attention (PASPA) principle, they build a hybrid architecture inside a Blockwise Flow Matching framework (generating motion chunk by chunk, denoising within each chunk):

  • Blockwise Gated DeltaNet (BGDN) for the Past (Novel): Instead of standard token attention over history, PASPA adapts Gated DeltaNet—a linear recurrent architecture with gating and delta-rule updates that naturally decays transient noise while accumulating persistent trends. To prevent future-leakage inside a block being denoised, they introduce a custom block-causal kernel where all tokens in block $n$ read from a frozen, fixed-size state summarizing blocks $1 \dots n-1$.
  • Blockwise Multi-Head Self-Attention (BMHSA) for the Present (Standard, adapted): Within the current noisy block, tokens interact densely and bidirectionally via standard self-attention (efficiently batched per block) to capture crisp, micro-level articulations.
  • Multi-Block Supervision & Prefill-Decode Caching: During training, all blocks in a sequence get different, weakly monotonic noise levels ($t^1 \le t^2 \dots \le t^N$) alongside an MLP-learned adaptive loss weight to prevent optimization clashes. At inference, a prefill-decode loop updates the fixed-size state once per finished block, keeping step complexity $\mathcal{O}(1)$ regardless of rollout length.
  • Hybrid Classifier-Free Guidance (CFG): Standard CFG only boosts speech alignment. PASPA introduces a multilinear guidance equation combining audio conditioning, a learnable null-history state, and a second-order joint interaction term to simultaneously steer speech sync and historical style consistency.

Datasets

No new datasets are introduced; the authors evaluate on two standard public 3D co-speech benchmarks:

  • BEAT2: Evaluates full-body SMPL-X joint rotations, global translation, and FLAME facial expressions on both a single-speaker subset ("Scott") and multi-speaker ("All Speakers") splits.
  • SHOW: Used as a secondary benchmark (tested zero-shot regarding hyperparameter tuning, reusing the BEAT2 recipe) to verify generalization.

Key Insights and Ideas

  • More raw history isn't enough—inductive bias wins: Attending to all past tokens (Attn_all) beats an 8-frame seed, yet still loses to PASPA's compressed state. In data-limited regimes like 3D mocap, forcing history through a gated recurrent bottleneck acts as a helpful filter that strips out distracting pose jitter.
  • Recurrence alone ruins local sharpness: When the authors tried using recurrent states for both past and present (State+State), quality collapsed—performing even worse than having no history at all! Local motion genuinely needs bidirectional attention to resolve fast kinematics.
  • Naive parallel block training backfires: Denoising multiple blocks in parallel actually hurt performance compared to single-block training until the authors enforced monotonic noise schedules (cleaner past, noisier future, mirroring inference) and adaptive per-timestep loss weighting.
  • Interaction matters in guidance: Dropping history during training and adding simple additive history guidance slightly degraded quality; the breakthrough came specifically from the multiplicative joint term coupling speech and history in Hybrid CFG.

Key Results

  • State-of-the-Art Quality (FGD): Fréchet Gesture Distance (FGD, lower is better—measures distribution similarity to real human motion) drops to 3.71 (1 Speaker) and 2.33 (All Speakers) on BEAT2, beating strong diffusion/flow baselines like GestureLSM (4.09) and GlobalDiff (4.78 / 2.63). On SHOW, PASPA slashes GlobalDiff's FGD by 43.9% (from 0.00198 down to 0.00111).
  • Human Preference: In a blind user study of 20-second clips across 18 participants, PASPA achieved the highest top-1 win rate (39.8% overall, vs. 25% chance) across all four criteria: realism, speech semantics, sync, and diversity.
  • Ultra-Long Efficiency & Stability: Over 60-second rollouts, PASPA exhibits the lowest FGD degradation while maintaining the highest motion diversity. On synthetic 600-second (10-minute / 18,000-frame) rollouts, prefill-decode caching makes PASPA the fastest method (~56s latency without CFG; ~61s with Hybrid CFG) while capping peak GPU memory at 0.48 GB—matching short-seed truncation and avoiding token attention's linear memory blowup.

Limitations and Future Work

Not discussed in the paper. (Note: The provided document contains the main 10-page paper and references; any broader impact or limitations discussion located in the appendix was not included in the excerpt.)

Summary updated

BibTeX
@inproceedings{liu2026past,
  author = {Yi Liu and Xiangyue Zhang and Jianfang Li and Jia Ma and Yisheng He and Jianqiang Ren},
  title = {{Past as State, Present as Attention: Persistent-State Blockwise Flow Matching for Long-Horizon Co-Speech Motion Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=dGHAQR4OKs},
}
Figure