HyperAIHyperAI

Command Palette

Search for a command to run...

Forçage sémantique : déplier l'évolution sémantique pour la génération vidéo interactive en continu

Résumé

La génération vidéo interactive en continu permet aux utilisateurs de guider dynamiquement des récits vidéo évolutifs au moyen d'instructions textuelles successives. Cependant, les modèles de diffusion vidéo causaux existants peinent souvent à produire des transitions inter-événements plausibles et des comportements intra-événement répétitifs, faute de raisonnement sémantique explicite et de planification à long horizon. Nous introduisons le forçage sémantique, un cadre de génération en continu qui intègre la modélisation de l'évolution sémantique de haut niveau dans la synthèse vidéo causale. Un planificateur de modèle de langage autorégressif prédit en continu des jetons sémantiques visuels alignés spatio-temporellement, avec un raisonnement en chaîne de pensée sensible au contexte pour relier les instructions entrantes au contexte visuel en évolution. En parallèle, un transformeur de diffusion causal synthétise des segments vidéo à partir de la sémantique en continu, en s'appuyant sur une récupération en mémoire guidée par la sémantique pour assurer une cohérence à longue portée. Pour soutenir l'entraînement, nous construisons EventVid, un jeu de données centré sur les événements comprenant 2,5 millions de vidéos à événement unique et 245 000 vidéos multi-événements avec des annotations fines. Les expériences démontrent une cohérence sémantique, un suivi des instructions et une qualité visuelle supérieurs à ceux des approches existantes en génération en continu.

One-sentence Summary

Researchers from Tsinghua University, KlingAI Research, Nanjing University, The Chinese University of Hong Kong, and ICT, CAS propose Semantic Forcing, a streaming interactive video generation framework that integrates semantic evolution modeling via an autoregressive language model planner with chain-of-thought reasoning and a causal diffusion transformer renderer with semantic-guided memory retrieval, trained on the EventVid dataset to improve semantic coherence and instruction following.

Key Contributions

  • The paper introduces Semantic Forcing, a streaming interactive video generation framework that couples an autoregressive language model planner with a causal diffusion transformer renderer to support coherent narrative evolution and high-fidelity synthesis from successive text instructions.
  • The method uses context-aware chain-of-thought reasoning to explicitly plan cross-event transitions and semantic-guided memory retrieval to preserve long-range visual consistency across streaming video chunks.
  • The paper constructs EventVid, a large-scale event-centric dataset with 2.5M single-event and 245K multi-event videos and fine-grained event-level annotations, and reports experiments showing improved semantic coherence, instruction following, and visual quality over existing streaming approaches.

Introduction

Diffusion transformers have made interactive long-form video generation increasingly practical, where streaming text prompts guide multi-event narratives and causal video models synthesize chunks conditioned on prior content. However, existing autoregressive approaches such as KV-recache and memory mechanisms mostly preserve local visual continuity and long-range appearance consistency, while neglecting high-level semantic coherence across evolving events. This can lead to abrupt cross-event transitions or within-event actions that repeat or stall instead of progressing naturally. The authors introduce Semantic Forcing, a streaming framework that couples an autoregressive language-model planner with a causal video DiT renderer: the planner performs context-aware chain-of-thought reasoning and sequential semantic planning over visual tokens, while the renderer uses semantic-guided memory retrieval to synthesize visually consistent chunks. They also construct EventVid, a large-scale event-centric dataset with fine-grained event segmentation and annotations for supervision.

Dataset

EventVid is an event-centric video dataset built to provide event-level temporal boundaries and annotations for continuous interactive video generation. It contains single-event and continuous multi-event videos with fine-grained event-wise annotations.

Sources and composition

  • Approximately 2.5M single-event videos and 245K continuous multi-event videos.
  • Source videos range from 5s to 60s and are collected from public datasets and internet sources.
  • Each event is annotated with a concise user instruction, a self-contained structured caption, and a context-dependent event-change description.

Filtering and classification

  • Initial filtering uses aesthetic and video quality scores.
  • TransNet V2 removes videos containing shot cuts.
  • A vision-language model combined with object detection removes samples with unclear, overly small, or more than five primary subjects.
  • 10K manually labeled videos are used to fine-tune Qwen3.6-27B for single-event versus multi-event classification.

Multi-event segmentation

  • For multi-event videos, Gemini 3.1 Pro locates event boundaries at 0.5s temporal resolution.
  • Videos are split into contiguous, non-overlapping event segments, each with a concise natural-language instruction.
  • Samples containing event segments shorter than 2s are discarded to reduce boundary ambiguity and over-segmentation.

Annotation and metadata construction

  • Single-event videos and the first segment of multi-event videos receive an independent self-contained structured caption from Qwen3.6-27B.
  • Structured fields cover subject, environment, and camera.
  • For later segments, the model uses the preceding and current video segments plus the previous caption to jointly output a self-contained caption and an event-change description.
  • This chained annotation process maintains consistent subject identities and persistent visual attributes across consecutive events.
  • Gemini 3.1 Pro performs global quality verification for subject identity consistency and factual accuracy. Severe conflicts are discarded, flagged annotations undergo human correction, and randomly sampled accepted annotations are manually audited.

Use in training

  • The dataset is designed to support training of semantic reasoning, planning, and video rendering.
  • The provided section does not describe a separate spatial cropping strategy or exact training split and mixture ratios.

Method

The authors propose Semantic Forcing, a framework for streaming interactive video generation that decouples high-level semantic planning from pixel-level visual synthesis. As shown in the figure below:

The system coordinates an autoregressive LM planner and a causal DiT renderer in a streaming pipeline. The LM planner continuously predicts spatiotemporal visual semantic tokens aligned with subsequent video chunks, while the causal DiT renderer synthesizes successive video chunks from these streaming semantic tokens, leveraging semantically relevant historical visual context as memory to preserve long-range visual consistency.

Autoregressive Semantic Planning Leveraging the contextual reasoning capabilities of LMs, the authors develop an autoregressive semantic planner that models streaming user instructions and evolving visual semantics within a unified context. They adopt a text-aligned visual tokenizer to encode the representative keyframe of each video chunk into spatially structured discrete semantic tokens. These tokens are seamlessly interleaved with textual tokens in a unified autoregressive sequence. To explicitly bridge newly arriving instructions with the existing visual semantic context, the planner introduces a context-aware chain-of-thought mechanism. Upon receiving a new instruction T(m)T^{(m)}T(m), the planner first predicts structured event-change descriptions R(m)R^{(m)}R(m), specifying how subjects, actions, and scene states should evolve, before continuing semantic prediction. The planner is trained using a unified next-token cross-entropy loss applied jointly to the reasoning tokens and semantic tokens.

Semantic-Guided Streaming Video Rendering To synthesize videos with fine-grained visual details, the authors employ a semantic-guided causal DiT renderer. Within each DiT block, the spatially structured semantic tokens are projected and injected through cross-attention to provide temporally aligned guidance. Since raw user instructions are often concise, a lightweight prompt rewriter aggregates historical instructions to rewrite the current prompt into a self-contained description of subjects and scenes, providing complete visual appearance descriptions tailored to the renderer.

Beyond high-level semantic guidance, the renderer maintains a historical visual context Ci=[Csink,Cimem,Cilocal]C_i = [C^{\text{sink}}, C_i^{\text{mem}}, C_i^{\text{local}}]Ci​=[Csink,Cimem​,Cilocal​] to ensure continuity. Here, CsinkC^{\text{sink}}Csink serves as an attention sink, CilocalC_i^{\text{local}}Cilocal​ maintains recent context within a sliding window, and CimemC_i^{\text{mem}}Cimem​ preserves relevant historical chunks. The authors introduce semantic-guided memory retrieval to select CimemC_i^{\text{mem}}Cimem​. They spatially average the semantic embeddings of each chunk to obtain a compact chunk-level representation and retrieve the most relevant historical chunk outside the local window based on cosine similarity. The KV cache of the retrieved chunk then serves as the memory context.

Training Process The renderer is trained in three stages to equip it with semantic controllability and long-horizon streaming generation capability. First, during bidirectional semantic adaptation, the DiT backbone is trained with semantic conditioning using a standard flow matching objective. Second, in the causal distillation stage, bidirectional attention is replaced with chunk-wise causal attention, and the model undergoes ODE initialization followed by distribution matching distillation to obtain a few-step causal video generator. Finally, during memory-augmented streaming long tuning, the causal generator sequentially samples video chunks conditioned on visual context to perform rolling extension into long multi-event sequences, while the bidirectional teacher applies segment-wise distribution matching distillation supervision throughout the entire rollout.

Experiment

The experiments evaluate Semantic Forcing in interactive multi-prompt streaming on NarraStream-Bench, single-prompt generation on VBench, and ablations using the 1.3B renderer, with a Qwen2.5-7B-Instruct planner and Wan-based renderers. Interactive results show that explicit semantic planning and memory retrieval improve instruction compliance, event transitions, and behavioral progression over streaming baselines, and user studies confirm stronger narrative quality. Single-prompt evaluation indicates benefits for semantic alignment and throughput even in short clips. Ablations validate the importance of autoregressive visual semantic planning, context-aware chain-of-thought, chunk-level semantic memory retrieval, and prompt rewriting for semantic coherence, visual consistency, and appearance preservation.

This comparison evaluates interactive video generation under a 45-second multi-prompt setting. Semantic Forcing is reported to outperform all baselines on most metrics, with the largest gains in VLM alignment, cross-event transition, and within-event progression. Among the baselines, LongLive and MemFlow are strongest overall, while Self-Forcing trails most clearly in temporal stability and semantic coherence. Semantic Forcing shows the strongest reported advantages in VLM Alignment and event-level semantic coherence metrics, indicating better adherence to evolving instructions and more coherent transitions. LongLive and MemFlow lead the baseline methods in visual quality and temporal consistency, whereas Self-Forcing has the lowest temporal stability and semantic progression scores.

Semantic Forcing reports stronger overall VBench performance than streaming autoregressive baselines and its corresponding Wan backbones on 5s single-prompt generation. It achieves better semantic alignment than the offline Bernini framework while maintaining comparable visual quality, and asynchronous pipeline overlap yields throughput over 50x higher than Bernini and competitive with real-time autoregressive baselines. These results highlight the benefit of explicit semantic planning even for short clips. Semantic Forcing outperforms streaming baselines and corresponding Wan backbones on overall VBench score. It achieves better semantic alignment than Bernini with comparable visual quality and over 50x higher throughput.

Ablations with the 1.3B variant show that explicit semantic planning and reasoning are crucial for instruction compliance and event progression, while external textual reasoning adds little. Retrieved visual memory mainly preserves visual quality and temporal consistency, and context-aware chain-of-thought plus rewritten prompts support smoother cross-event transitions and appearance and motion consistency. Removing the planner severely degrades instruction compliance and cross-event transition, even with multi-event training and text-based memory retrieval. External 7B VLM reasoning provides only marginal gains, with incoherent transitions and progression persisting. Removing context-aware chain-of-thought primarily hurts cross-event transitions. Removing retrieved visual memory mainly lowers visual quality and temporal consistency, while instruction compliance and semantic coherence stay largely intact. Random memory retrieval only partially recovers performance, and self-contained rewritten prompts better preserve appearance and motion details.

The evaluation covers a 45-second multi-prompt interactive generation setting, a 5-second single-prompt VBench comparison, and 1.3B-model ablations. In the long multi-prompt setting, Semantic Forcing outperforms all baselines, with the clearest gains in semantic alignment, cross-event transitions, and event progression, while LongLive and MemFlow are the strongest baselines and Self-Forcing is weakest in temporal stability and semantic coherence. Semantic Forcing also surpasses streaming autoregressive baselines and Wan backbones on VBench, achieving better semantic alignment than Bernini with comparable visual quality and much higher throughput. Ablations confirm that explicit semantic planning mainly supports instruction compliance and event progression, retrieved visual memory preserves visual and temporal quality, and external VLM reasoning contributes only marginally.


Créer de l'IA avec l'IA

De l'idée au lancement — accélérez votre développement IA avec le co-codage IA gratuit, un environnement prêt à l'emploi et le meilleur prix pour les GPU.

Codage assisté par IA
GPU prêts à l’emploi
Tarifs les plus avantageux

HyperAI Newsletters

Abonnez-vous à nos dernières mises à jour
Nous vous enverrons les dernières mises à jour de la semaine dans votre boîte de réception à neuf heures chaque lundi matin
Propulsé par MailChimp