Papers
Topics
Authors
Recent
Search
2000 character limit reached

OneStory: Coherent Multi-Shot Video Framework

Updated 10 December 2025
  • OneStory is a framework for coherent multi-shot video generation that integrates compact memory encoding and adaptive visual conditioning to enhance narrative consistency.
  • It employs a Frame Selection module to extract salient global context and an Adaptive Conditioner to efficiently inject contextual tokens into a diffusion transformer.
  • Experimental evaluations reveal improved inter-shot coherence and semantic alignment, outperforming previous multi-shot video generation methods.

OneStory is a framework for coherent multi-shot video generation that enables stronger narrative consistency across discontinuous but semantically linked video shots. It addresses the limitations of prior multi-shot video generation (MSV) methods, which suffer from weak long-range context modeling due to small temporal windows or single keyframe conditioning. OneStory achieves compact, global cross-shot context modeling, supports scalable narrative synthesis, and leverages pretrained image-to-video (I2V) models for robust visual conditioning. The design introduces two core modules—Frame Selection and Adaptive Conditioner—to efficiently encode and inject salient global memory into a diffusion transformer architecture, supporting both text- and image-conditioned controllable storytelling (An et al., 8 Dec 2025).

1. Problem Definition and Autoregressive Formulation

Let a multi-shot video be defined as V={S1,S2,,SN}V = \{S_1, S_2, \dots, S_N\}, where each shot SiS_i comprises KK RGB frames, Si={fi,1,,fi,K}S_i = \{f_{i,1}, \dots, f_{i,K}\}, fi,jRH×W×3f_{i,j} \in \mathbb{R}^{H \times W \times 3}. Each shot is paired with a referential caption CiC_i; (optional) global prompt or conditioning input is denoted T\mathcal{T}.

OneStory casts MSV as a sequence of next-shot generation problems. At time tt, the model conditions on a compact memory representation Mt1\mathbf{M}_{t-1} encoding all previous shots, global conditioning T\mathcal{T}, and current caption SiS_i0, modeling the conditional distribution: SiS_i1 Generation proceeds in an autoregressive manner: SiS_i2 This design enables accumulation and exploitation of global narrative state for shot-level synthesis.

2. Frame Selection Module: Compact Memory Construction

The Frame Selection module builds SiS_i3 by encoding all prior frames. Each frame SiS_i4 (from shots SiS_i5 through SiS_i6, subsampled at interval SiS_i7) is mapped to a latent code via a 3D–VAE encoder SiS_i8: SiS_i9 All such codes are concatenated into a memory tensor KK0 of shape KK1 where KK2.

To enable context selection, KK3 learnable query tokens KK4 attend first to the current caption tokens, then to projected visual memory. A lightweight projector transforms frames, and attention with these query tokens gives an KK5 relevance score matrix. Averaging over KK6 queries yields a vector of frame scores KK7, and the top- KK8 scored frames are selected: KK9 This compact subset forms the global memory Si={fi,1,,fi,K}S_i = \{f_{i,1}, \dots, f_{i,K}\}0 used for subsequent conditioning.

3. Adaptive Conditioner: Importance-Guided Patchification

Even after selection, Si={fi,1,,fi,K}S_i = \{f_{i,1}, \dots, f_{i,K}\}1 may be too large for direct transformer input. The Adaptive Conditioner partitions selected frames—using their ranking in Si={fi,1,,fi,K}S_i = \{f_{i,1}, \dots, f_{i,K}\}2—among Si={fi,1,,fi,K}S_i = \{f_{i,1}, \dots, f_{i,K}\}3 patchifiers Si={fi,1,,fi,K}S_i = \{f_{i,1}, \dots, f_{i,K}\}4 with varying kernel sizes/strides, assigning high-score frames to fine-granularity patchifiers.

Each group is patchified, projected, and flattened: Si={fi,1,,fi,K}S_i = \{f_{i,1}, \dots, f_{i,K}\}5 Context tokens from all groups are concatenated: Si={fi,1,,fi,K}S_i = \{f_{i,1}, \dots, f_{i,K}\}6 In the diffusion transformer (DiT) pipeline, these are concatenated with noisy target-shot latents Si={fi,1,,fi,K}S_i = \{f_{i,1}, \dots, f_{i,K}\}7, forming

Si={fi,1,,fi,K}S_i = \{f_{i,1}, \dots, f_{i,K}\}8

Transformer blocks then jointly process shot noise and historical context, fostering global–local temporal consistency.

4. Model Architecture and Training Paradigm

OneStory is architected atop a pretrained I2V backbone (e.g., Wan2.1), with two principal extensions:

  • Frame Selection module operates post-encoding of all past shots
  • Adaptive Conditioner inserts its output before each transformer's spatial–temporal attention layers

Fine-tuning is conducted end-to-end, initializing all other weights from the I2V base. Three main training objectives are adopted:

  • Diffusion reconstruction loss:

Si={fi,1,,fi,K}S_i = \{f_{i,1}, \dots, f_{i,K}\}9

  • Memory-selector regularization:

fi,jRH×W×3f_{i,j} \in \mathbb{R}^{H \times W \times 3}0

with fi,jRH×W×3f_{i,j} \in \mathbb{R}^{H \times W \times 3}1 denoting pseudo-labels.

  • (Optional) Semantic contrastive loss, e.g., with CLIP-based alignment.

The joint objective is: fi,jRH×W×3f_{i,j} \in \mathbb{R}^{H \times W \times 3}2 Training incorporates a decoupled conditioning curriculum (uniform sampling then selector-driven), and "shot inflation," wherein all samples are converted to synthetic three-shot sequences to regularize next-shot generation (An et al., 8 Dec 2025).

5. Dataset Design and Curation Pipeline

Training leverages a curated dataset of approximately 60,000 human-centric, multi-shot videos. Curation involves:

  • Shot boundary detection using TransNetV2
  • Two-stage referential captioning: initial independent captioning followed by rewriting to induce referential language (e.g., "the same man," "then she moves")
  • Multi-stage filtering: keyword-based safety, CLIP/SigLIP semantic alignment, and DINOv2-based duplicate removal

The final corpus contains 50K two-shot and 10K three-shot sequences, each shot paired with a progressive caption, but no global script.

6. Experimental Results and Ablation Analyses

Quantitative evaluation was performed on 64 six-shot test cases from T2MSV and I2MSV benchmarks, using metrics including inter-shot coherence (character/environment consistency via DINOv2 and YOLO segmentation), semantic alignment (ViCLIP frame-caption scores), and intra-shot quality (subject/background consistency, aesthetic quality, dynamic degree).

Key comparative results (text-conditioned setting):

  • Inter-shot coherence: OneStory 0.5813, outperforms Mask²DiT, StoryDiff+Wan2.1, and Flux+Wan2.1 (next-best 0.5657)
  • Semantic alignment: 0.2389 (best), next-best 0.2253
  • Top performance on all intra-shot metrics

Ablations demonstrate that:

  • Removing Frame Selection reduces character coherence from 0.5813 to 0.5526
  • Removing Adaptive Conditioner further drops it to 0.5465
  • Absence of shot inflation or decoupled conditioning decreases coherence by ≈0.02
  • Even a minimal context (one latent-frame’s worth of tokens) suffices for sizable improvements; increasing context brings diminishing returns

7. Limitations and Prospects

OneStory is validated on sequences up to ~10 shots. Scalability to hundreds of shots may require hierarchical memory or more aggressive compression beyond top-K frame selection. The trade-off between computational cost and context length prompts exploration of dynamic token budgets or retrieval-augmented selectors.

Cross-modal extensions—including audio-visual alignment or LLM-guided multi-agent shot planning—are identified as natural continuations. Advances in memory supervision, such as richer contrastive or graph-based regularizers, are considered promising for enhancing narrative coherence across long temporal horizons (An et al., 8 Dec 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to OneStory.