WorksComputer Science
Refrain: Learning Multi-Shot Consistency from Inconsistent References for AO Video Generation
Abstract
A comic-book character, a photorealistic cityscape, an oil-painted coffee cup – such stylistically diverse references provide visual guidance across shots and frames, yet generating a coherent multi-shot video that unifies their visual styles while preserving subject identities and scene content remains challenging. Existing methods maintain cross-shot continuity through additional attention control or memory processing. However, they struggle to resolve disparate per-shot styles or handle reference-target duration mismatches within a single framework. We introduce Refrain, a unified model that learns cross-shot consistency through a self-supervised reconstruction task. Reference clips from the same original video are deliberately perturbed with distinct visual edits, and the model recovers the unedited source footage under a shared style prompt. The resulting pipeline yields DurMix-300K, which pairs independently edited references of varying durations with their original videos. Operating on the AO principle (Any Reference, Any Duration, One Timeline), Refrain maps image and video references onto a shared temporal canvas without auxiliary conditioning modules. For evaluation, experiments show that standard CLIP or DINO metrics frequently overlook stylistic clashes or misinterpret intended narrative cuts as inconsistency. We propose Shot-Debiased Consistency (SDC), which uses an extensive real-video bank to establish a baseline for style variation associated with content changes within shots. By discounting this baseline divergence, SDC evaluates cross-shot style shifts against real-world distributions, where smaller residual differences indicate higher stylistic continuity. Extensive experiments demonstrate that Refrain achieves state-of-the-art performance in cross-shot consistency, while excelling at shot timing, reference adherence, and text alignment.
Code available at: https://github.com/Tencent-Hunyuan/Refrain
Introduction
Generating coherent multi-shot videos from heterogeneous references (e.g., combining a photorealistic live-action clip with an animated reference) requires maintaining a unified visual style across shots while preserving underlying content and strict temporal boundaries (Figure 1). Existing frameworks use cross-reference attention, shot-specific masks, or visual memory to maintain continuity ([19, 21, 39]). Other methods support flexible condition placement or temporal control of reference subjects ([3, 8]). We study the joint problem of resolving per-shot style conflicts and accommodating reference–target duration mismatches while preserving reference content and motion. References set the content of their shot intervals, and a shared style prompt sets the style (§ 3, Table 1).

Figure 1. Unified multi-shot generation with Refrain. Each row shows a separate request with text, video, image, or joint conditioning. References vary in appearance and duration , which can be shorter or longer than target duration .
| Setting | Refs | Duration | Conflicting styles | Shared style | Cut timing |
| Multi-shot | none/images | – | ✗ | ✓ | ✓ |
| Subject-to-video | images | ✗ | ✗ | ✗ | ✗ |
| Memory multi-shot | images | ✗ | ✗ | ✓ | ✗ |
| Temporal placement | img.+video | ✓ | ✗ | ✗ | ✗ |
| Ours | img.+video | ✓ | ✓ | ✓ | ✓ |
Table 1. Comparison of task settings. Multi-shot generation ([21, 33]), subject-to-video ([19, 32]), memory ([39]), and temporal placement ([14, 3]). ✓: required; ✗: not addressed.
We propose Refrain, which learns cross-shot style consistency through a self-supervised reconstruction task built from ordinary videos (Figure 2). The name Refrain evokes a recurring musical phrase, reflecting visual continuity across shot transitions, while its “Ref” prefix highlights reference-conditioned generation. Refrain deliberately perturbs reference clips sampled from distinct shots of the same video with independent visual edits (e.g., style transfer, lighting variations, or weather shifts), introducing synthetic per-shot style conflicts. The model is then tasked with reconstructing the original target video under a shared style prompt. The generator receives the original shot descriptions and shared style prompt, without the edit instructions. Reconstructing the coherent target from independently edited references provides supervision for cross-shot style consistency. To support this supervision, we construct DurMix-300K, a large-scale dataset featuring over 300,000 reference conditions that pairs independently edited reference clips of arbitrary lengths with coherent target videos.
Figure 2. Self-supervised reconstruction and unified conditioning. (A) Reconstructing coherent source videos from independently edited references. (B) Joint multi-shot generation with sparse references on one timeline. Black indicates occupied mask positions ().
Refrain jointly synthesizes the entire multi-shot sequence in a single diffusion trajectory, using shot-aware temporal position offsets to maintain sharp cut transitions. To accommodate heterogeneous multimodal references on this unified timeline, Refrain operates on the principle: Any Reference, Any Duration, One Timeline. Specifically, reference images and variable-length video clips are mapped directly onto a shared temporal canvas, sparsely occupying their designated shot intervals via an occupancy mask without interpolation. By consolidating diverse inputs into a single sequence, a single backbone unifies text-to-video (T2V), video-to-video (V2V), text-image-to-video (TI2V), and composite (TI2V2V) generation without auxiliary conditioning modules.
When evaluating cross-shot consistency of multi-shot videos, existing metrics like CLIP or DINO conflate legitimate narrative transitions with stylistic drift. They can overlook style conflicts and mistake content-feature changes caused by switching subjects or scenes for style inconsistency. We address this through a central question: how much style variation is naturally expected when content changes across shots? To answer this, we propose Shot-Debiased Consistency (SDC), a metric that calibrates the natural coupling between content shifts and style fluctuations using a real-video (~2 million video clips) bank. SDC estimates the style variation associated with cross-shot content changes, subtracts this baseline, and compares the residual against real-video samples with comparable content changes.
Experiments show that independent-edit training improves consistency under per-shot inconsistent test references while retaining reference adherence. Refrain achieves state-of-the-art overall cross-shot consistency, shot timing, text alignment, and reference adherence on the combined four-task benchmark. Our contributions:
Self-Supervised Data Construction and DurMix-300K. References from different shots are edited independently and cropped or extended to new durations, and the model learns to reconstruct the original video. Because the edited references conflict across shots while the target remains coherent, reconstruction supervises cross-shot style consistency without manual labels. From ordinary videos, this pipeline builds DurMix-300K with over 300,000 reference conditions under 61 edit instructions in eight categories.
Unified Generation. One backbone supports T2V, V2V, TI2V, and TI2V2V without added modules by mapping variable-duration references onto a shared timeline. Sparse placement keeps the reference latents without temporal interpolation, and shot-aware temporal coordinates mark the requested cuts. All shots are generated jointly in a single pass.
Shot-Debiased Consistency and Extensive Validation. SDC measures cross-shot style consistency under intended content changes. It compares the style shift between shots with the shift observed in real
videos at the same level of content change, which separates style drift from intended changes of subject or scene. Method rankings are identical across calibration banks of up to 86.9M real videos, and the scores agree with professional raters.
Related Work
Multi-Shot and Reference-Conditioned Video Generation. Existing multi-shot and reference-guided generation frameworks typically maintain cross-shot continuity using auxiliary attention control, memory banks, or shot-specific masks [6, 8, 21, 39]. Other methods support flexible visual conditioning and reference placement [3, 4, 10, 14]. Several works also build references from the target itself. Paint by Example and Video Alchemist augment the extracted reference before reconstruction [36, 5], Aura edits the background, lighting, clothing, or pose of subject references from single-shot clips (Zhou et al., 2026), and MuSS takes subject references from other shots to avoid copying pose and viewpoint [38]. Refrain gives references of different shots independent, mutually conflicting appearance edits, supervises them with the coherent multi-shot source, and places image and video references of any duration on one timeline under the principle, without auxiliary conditioning networks.
Evaluating Cross-Shot Consistency. Standard video benchmarks evaluate visual quality using general perceptual metrics or local feature similarities across cuts [12] (Zheng et al. 2024). While Content-Debiased FVD addresses semantic bias in overall video distributions [7] and CSD targets visual style representations [27], existing metrics conflate legitimate content transitions (such as changes in subjects, scenes, or viewpoints) with genuine stylistic inconsistency. They fail to establish how much style variation is naturally expected across narrative cuts. Shot-Debiased Consistency (SDC) instead decouples style drift from semantic progression by benchmarking cross-shot style separation against within-shot dynamics calibrated on an extensive real-video bank.
Method
Refrain learns cross-shot consistency through a self-supervised reconstruction task (§ 3.1). Independently edited references and their coherent source targets provide supervision for resolving per-shot style conflicts. The canvas (§ 3.2) represents image and video references of varying durations on the same target timeline, allowing one backbone to use this supervision across all four conditioning tasks (Figure 2).
To measure cross-shot visual style consistency without confounding content transitions or within-shot dynamics, we introduce Shot-Debiased Consistency (SDC) (§ 3.3).
Task Definition. A request specifies shots, a shared style prompt , and image or video references. Shot has a description and spans . Reference is placed at on the same timeline, and its length can be shorter or longer than . Reference appearances may conflict with the style specified by or with one another. The output should (i) render every shot in the style , (ii) keep the content of each , namely its subjects, layout, and motion, within , and (iii) cut at the shot boundaries . Table 1 compares this task with existing settings.
Learning Cross-Shot Consistency through Self-Supervised Reconstruction
Reconstruction Target and Reference Edits. Let be a coherent source video, its original shot descriptions and shared style prompt, and the selected references. An editing pipeline transforms each reference using an instruction from a distribution over the instruction library. Before quality filtering, shared and independent editing differ in how these instructions are assigned:
Independent draws can assign, for example, a style change to one reference and a lighting change to another. Both strategies pair the edited references with the unchanged target . Reconstructing that target encourages the model to use useful reference content while following the requested output style. The generator receives and without the edit instructions.
Data Construction Pipeline. For each selected reference shot, FLUX.1 Kontext (Black Forest Labs et al., [2]) edits the first frame under one of 61 instructions in eight categories, drawn per Equation (1). Depth-conditioned Wan-2.1 (Team Wan et al., [31]), guided by Depth Anything v2 (Yang et al., [37]), then propagates the edit through the clip while keeping its motion. Shorter references are cropped in latent space. For references requiring extension, SkyReels-V3 (Li et al., [16]) first completes the RGB control, and depth is then re-estimated before Wan propagation. Finally, Qwen3-VL-235B (Bai et al., [1]) and TransNetV2 (Souček & Lokoč, [28]) remove clips with structural degradation or unintended cuts. Some edits also alter subject attributes, layout, or motion. For these edits, the unedited target still defines the content, and the model learns to recover it from partially altered references. At inference, a reference carries the intended content and is kept as given (Appendix § 6).
Training objective. We encode the original video as and form the standard flow-matching path from the clean latent to Gaussian noise (Lipman et al., [17]):
Here is sampled from the training noise-level distribution . Let contain the retained independent-edit training pairs, and let be their canvas representation from § 3.2. The model learns to predict the target velocity in Equation (2):
Equation (3) supervises all target locations, including those conditioned on edited references. Shared-edit training replaces with and retains the same loss. Both strategies use the reconstruction objective without an auxiliary consistency loss. § 4.3 tests the two strategies empirically.
Any Reference, Any Duration, One Timeline (A2O)
We use a shared reference canvas to support Text-to-Video (T2V), Video-to-Video (V2V), Text-Image-to-Video (TI2V), and Text-Image-Video-to-Video (TIV2V) in one backbone without task-specific adapter modules or auxiliary networks. Given a target latent space , a zero-initialized canvas latent and a binary conditioning mask track occupied temporal coordinates. We concatenate the canvas and mask with the noisy target latents along channels to keep the token sequence length fixed. We compare this choice with sequence concatenation in § 4.3 (Table 3(c)).
| (a) Reference editing | ||||
| Train edits | Test edits | SDC ↑ | ||
| Independent | Independent | 0.315 | ||
| Independent | Shared | 0.299 | ||
| Shared | Independent | 0.301 | ||
| Shared | Shared | 0.304 | ||
| (b) Coordinates, placement | ||||
| Coordinates | Placement | MAE ↓ | SDC ↑ | |
| Shot-aware | Sparse | 0.199 | 0.315 | |
| Shot-aware | Resample | 0.233 | 0.310 | |
| None | Sparse | 0.281 | 0.304 | |
| None | Resample | 0.293 | 0.289 | |
| (c) Injection | ||||
| Variant | SDC ↑ | Ref-S ↑ | MAE ↓ | Tok. |
| Channel | 0.315 | 0.671 | 0.199 | 1.00× |
| Seq. | 0.315 | 0.666 | 0.209 | 1.64× |
Table 3. Ablation studies. (a) Reference editing. (b) Shot coordinates and placement. (c) Channel vs. sequence injection; Tok.: token count relative to the target.
Sparse Mapping. We use sparse assignment to accommodate reference–target duration mismatches. In latent-frame coordinates, let be the reference length and its assigned interval. We map its latents to destination indices via exact assignment:
For , reference latents are assigned without temporal interpolation, leaving unoccupied positions at . For , source latents are subsampled with both endpoints retained. If or , only is placed at , with .
Shot-Aware Coordinates. We adopt the shot-aware temporal offsets of MultiShotMaster (Wang et al., [33]) in Rotary Position Embeddings (RoPE) (Su et al., [29]) to mark shot boundaries while retaining temporal self-attention across shots. For a frame at temporal index belonging to shot , its adjusted coordinate is:
Shot-Debiased Consistency
Cross-Shot Energy Distance. Evaluating raw frame features conflates cross-shot style drift with within-shot camera or object motion. We account for within-shot variation using an empirical energy contrast equivalent to squared maximum mean discrepancy (MMD) with a linear kernel (Székely & Rizzo, [30]; Gretton et al., [9]; Sejdinovic et al., [25]). Let be the normalized feature of frame in shot . We extract style features (CSD (Somepalli et al., [27]) and VGG AdaIN (Huang & Belongie, [11]), ) and content features (DINOv2 CLS (Oquab et al., 2024), ). Defining frame distance and shot mean , the empirical cross-shot energy contrast between shot and shot is (Figure 3(A)):
Figure 3. SDC construction and motivation. (A) Within- and cross-shot energies. (B) Content–style calibration. (C) Source-dependent and sample-size stability.
Content-Style Baseline Calibration. Frames within the same shot provide samples of natural variation without a shot transition. SDC uses these samples to establish a baseline for the style variation associated with content changes, then measures cross-shot style differences relative to this baseline. We construct a calibration bank from 2,144,201 real videos containing 6,462,692 individual shots. Each shot is split into balanced frame sub-groups and , yielding paired content and style split energies and . We fit the expected content-to-style scaling slope via a through-origin Huber regression (Figure 3(B.1)):
where weights balance video, shot, and split frequencies, and is updated via the weighted median absolute deviation of residuals. The fitted slope provides an empirical content–style calibration for the chosen real-video bank and feature representations, with stable estimates across sample sizes (Figure 3(C.2), Appendix § 9.§ 1).
Conditional Residual Ranking. A video is scored by how much its style drifts beyond the expected baseline, compared against real videos with comparable content changes. For a query pair with energies and , we subtract the expected content-induced shift to obtain the style residual:
Real-video residuals are partitioned into 256 equal-mass content energy bins. The linear correction reduces content-related variation within each bin. For a query pair whose content energy falls into bin , its style rank is computed via the weighted upper-tail survival percentile (Figure 3(B.2)):
Linear interpolation between bin centers in content-percentile space gives the conditional survival estimate . The query rank is:
Finally, for a video comprising shots, we fuse the ranks from the CSD and VGG style heads in a fixed 2:1 ratio, and average over all shot pairs:
At comparable content changes, smaller residual style differences receive higher real-bank ranks, yielding higher SDC scores and indicating greater cross-shot consistency.
Experiments
Experimental Setup
Dataset and Task Allocation. We collect 2,150,758 web videos and annotate their shots and visual styles with Gemini-3 [23] (example in Appendix § 6). We allocate 1,846,156 videos (85.84%) to T2V training, 297,192 (13.82%) to reference editing, and 7,410 (0.34%) to testing, and no source video is shared between training and test. We construct 300 evaluation requests from the test split across T2V, V2V, TI2V, and TIV2V. We construct DurMix-300K containing over 300,000 paired conditions with variable durations using the pipeline of § 3.1. DurMix combines style edits with attribute perturbations. Style edits create per-shot appearance conflicts for learning cross-shot consistency, while changes to subject appearance, spatial relations, and motion provide additional perturbations for reconstruction. References are both shorter (200,265) and longer (109,087) than their targets.
Two independently collected sets with no overlap with our data serve only for evaluation: IP (17.2M clips of films, series, anime, and games) and Stock (67.6M everyday web videos such as tutorials and cooking). They extend the SDC calibration bank to 86.9M videos and supply cross-source footage for the human study.
Implementation Details. Refrain uses an 8.49B parameter HunyuanVideo-1.5 DiT architecture [35] as its underlying backbone. The model is first pre-trained for 19,000 steps on pure T2V tasks using 256 NVIDIA H800 GPUs (around 5 days), followed by 26,000 reference fine-tuning steps using 16 H800 GPUs (around 2 days): 17,000 steps with references matched to target durations, then 9,000 steps with variable-duration references. Text-only tasks and examples without selected references maintain T2V training. Condition dropout (rate 0.2) retains at least one active reference.
Baselines and Evaluation Metrics. We compare Refrain with representative multi-shot and reference-conditioned generation methods, including StoryMem [39], Phantom [19], RefAlign [32], and VACE [14]. Cross-shot style consistency is evaluated using our proposed SDC. Transition timing accuracy is measured via Transition Mean Absolute Error (MAE). Text alignment is scored using CLIP-T and VideoAlign TA [18]. Inter-shot consistency is assessed across semantics, subjects, and scenes. Reference fidelity is measured by semantic, subject, and background consistency.
Results
Refrain leads the baselines in visual consistency, reference adherence, and temporal precision (Table 2).
| Method | #Params (B) | FLOPs (P) ↓ | MAE ↓ | CLIP-T ↑ | TA ↑ | SDC ↑ | Inter-Shot Semantic ↑ | Inter-Shot Subject ↑ | Inter-Shot Scene ↑ | Reference Semantic ↑ | Reference Subject ↑ | Reference Background ↑ |
| HunyuanVideo1.5 | 8.49 | 324.4 | <u>0.802</u> | 0.212 | −0.386 | 0.090 | 0.566 | 0.439 | 0.478 | ✗ | ✗ | ✗ |
| Phantom | 14.29 | 648.7 | ✗ | 0.203 | −0.675 | 0.130 | 0.491 | 0.345 | 0.385 | 0.556 | 0.450 | 0.376 |
| RefAlign | 14.29 | 807.7 | ✗ | 0.204 | −0.530 | 0.125 | 0.493 | 0.341 | 0.361 | 0.614 | 0.469 | 0.448 |
| StoryMem | 29.80 | <u>493.2</u> | ✗ | 0.197 | −0.679 | <u>0.175</u> | <u>0.708</u> | <u>0.489</u> | 0.531 | 0.478 | 0.412 | 0.388 |
| VACE | 17.34 | 608.9 | ✗ | <u>0.217</u> | <u>−0.336</u> | 0.108 | 0.492 | 0.362 | 0.361 | ✗ | ✗ | ✗ |
| Refrain (ours) | 8.49 | 324.4 | 0.199 | 0.222 | −0.221 | 0.315 | 0.710 | 0.494 | <u>0.491</u> | 0.737 | 0.671 | 0.674 |
Table 2. Unified multi-shot generation. Bold/underlined: best/second-best; ✗: unreported or inapplicable. Parameters include all experts and unmerged adapters. FLOPs are analytical denoising estimates for a 480×832, 241-frame, three-shot video with three 49-frame references under each method’s sampling schedule and reference adapter, excluding encoders and VAE decoding. SDC uses a fixed real-video bank. Metric definitions: Appendix § 8.
Style Consistency and Reference Fidelity. Under test references with deliberate style conflicts, Refrain achieves the highest style consistency among the compared methods (SDC 0.315). Reference Semantic reaches 0.737, alongside leading reference subject (0.671) and background (0.674) scores (Figure 5).
Figure 5. Multi-shot generation from per-shot inconsistent references. Refrain follows the reference content and shot descriptions while generating a shared visual style across shots.
Transition Accuracy and Text Alignment. Refrain jointly generates all shots in a single diffusion trajectory and achieves a transition MAE of 0.199s. Refrain also has the highest VideoAlign TA (-0.221) and CLIP-T (0.222).
Ablation Studies
Impact of Inconsistent Reference Supervision. We compare independent and shared reference-edit instructions under the same training budget (Equation (1)). On independently edited test references, independent-edit training raises SDC from 0.301 to 0.315. With shared-edit test references, independent-edit training reduces SDC from 0.304 to 0.299 (Table 3(a)). The gain occurs when the test references contain per-shot inconsistency.
We also evaluate the same text-only requests before and after independent-edit fine-tuning, without visual references at inference. SDC increases from 0.253 after T2V pretraining to 0.303 after fine-tuning (Table 4), showing a consistency gain beyond reference-conditioned generation.
| Training | SDC ↑ |
| T2V pretraining | 0.253 |
| Independent edits | 0.303 |
Table 4. Pure T2V generation.
Shot Coordinates and Reference Placement. Table 3(b) verifies the core components of the A2O canvas. Shot-aware RoPE offsets matter for boundary precision. Removing them increases transition error from 0.199s to 0.281s. Replacing our sparse latent placement with temporal frame resampling worsens transition error to 0.233s while reducing SDC from 0.315 to 0.310. Sparse placement avoids latent interpolation. Appendix § 16.§ 1 shows how Refrain adapts reference actions to the requested shot duration while preserving natural motion pacing and a shared visual style.
Channel vs. Sequence Injection. Sequence concatenation reaches the same SDC (0.315) with lower TA (−0.250 vs. −0.221) and higher MAE (0.209 vs. 0.199 s) at 1.8× the step time (Table 3(c), Appendix § 13).
Validating SDC
Style and Content Changes. Table 5 extends Figure 4 to large-scale controls. At 5% false positives, SDC detects 78.0% of single-shot style edits, versus 48.6% for CLIP and 38.6% for ViCLIP. It also better distinguishes independent from shared reference edits when both groups are edited. Among 2.14M real videos, the low-DINO subset (< 0.25) retains mean SDC 0.339 versus 0.337 overall, and large content changes do not lower SDC. Appendix § 9 compares SDC with CSD/VGG similarity and tests (Table 11–Table 12).

Figure 4. Qualitative validation of SDC. (A) SDC detects style edits missed by CLIP/ViCLIP. (B) SDC remains high across coherent scene cuts that lower DINO similarity.
| (a) Single-shot style edits | ||
| Metric | Score | Detect. ↑ |
| CLIP | 0.836→0.711 | 48.6% |
| ViCLIP | 0.609→0.426 | 38.6% |
| DINO | 0.385→0.297 | 10.0% |
| SDC | 0.346→0.047 | 78.0% |
| (b) Independent reference edits | ||
| Metric | Score | Detect. ↑ |
| CLIP | 0.771→0.704 | 15.2% |
| ViCLIP | 0.560→0.420 | 18.9% |
| DINO | 0.408→0.312 | 10.8% |
| SDC | 0.302→0.078 | 50.9% |
| (c) Real-video content changes | ||
| Subset | DINO | SDC |
| All (2.14M) | 0.383 | 0.337 |
| DINO < 0.25 | 0.170 | 0.339 |
| Lowest DINO 10% | 0.117 | 0.322 |
| DINO < 0.10 | 0.059 | 0.287 |
Table 5. Style and content controls. (a) Single-shot style edits (108,909 videos). (b) Shared/independent edits (72,570 videos). Means and detection at 5% control false positives. (c) Real videos.
| Metric | Single-shot style edits Detection ↑ | Independent vs. shared edits Detection ↑ | Real videos, DINO < 0.25 Low-score rate |
| CSD cosine | 78.6% | 58.5% | 18.8% |
| VGG cosine | 34.9% | 39.5% | 13.7% |
| SDC | 78.0% | 50.9% | 4.4% |
Table 11. Style-feature similarity and SDC. Edit detection uses a 5% control false-positive rate. Low-score rates use each metric’s fifth percentile over all real videos as the threshold.
| Setting | Single-shot style edits Detection ↑ | Independent vs. shared edits Detection ↑ | Real videos, DINO < 0.25 Low-score rate |
| 76.79% | 50.29% | 6.01% | |
| Full SDC | 77.98% | 50.85% | 4.38% |
Table 12. Effect of linear correction with fixed conditional ranking. Edit detection uses a 5% control false-positive rate. The last column gives the low-score fraction among 458,920 real videos with DINO < 0.25, using each variant’s fifth percentile over all real videos as its threshold.
Calibration Stability and Source Variation. The real-video content–style slope remains close to 0.399 across calibration sizes from 100 to 2,144,201 videos (Figure 3(C.2)). Generated-source slopes range from 0.382 to 0.488 and overlap the real-video estimate (Figure 3(C.1), Appendix § 9.§ 1). With IP and Stock added, the 86.9M-video bank gives a slope of 0.411 and a mean real-video SDC of 0.326, close to 0.337 on the paper bank. The method ranking is unchanged (Table 13 and Table 14).
| Videos | Repeats | Mean | sd | Minimum | Maximum | SDC Mean | SDC sd |
| 100 | 5 | 0.39100 | 0.01533 | 0.36996 | 0.41107 | 0.33636 | 0.02372 |
| 1,000 | 5 | 0.40168 | 0.00284 | 0.39684 | 0.40415 | 0.34414 | 0.00484 |
| 10,000 | 5 | 0.39920 | 0.00065 | 0.39813 | 0.39984 | 0.33795 | 0.00227 |
| 100,000 | 5 | 0.39890 | 0.00066 | 0.39793 | 0.39982 | 0.33711 | 0.00071 |
| 1,000,000 | 2 | 0.39872 | 0.00014 | 0.39858 | 0.39886 | 0.33733 | 0.00002 |
| 2,144,201 | 1 | 0.39874 | — | 0.39874 | 0.39874 | 0.33731 | — |
| 86,908,057 | 1 | 0.41092 | — | 0.41092 | 0.41092 | 0.32644 | — |
Table 13. Real-video and SDC across six sample sizes. Repeated subsets are disjoint within each size. We refit on each subset and average SDC over the same videos using the fixed full real-video bank. Standard deviations and ranges summarize repetitions, and the 2,144,201 row uses all videos. The last row is the pooled bank with IP and Stock, where is fitted and SDC is scored on that bank.
| Calibration bank | Videos | Refrain | StoryMem | Phantom | RefAlign | VACE | HY1.5 | |
| DurMix original | 0.22M | 0.388 | 0.291 | 0.160 | 0.114 | 0.110 | 0.094 | 0.080 |
| DurMix shared edits | 0.22M | 0.393 | 0.306 | 0.167 | 0.127 | 0.123 | 0.105 | 0.087 |
| DurMix indep. edits | 0.22M | 0.393 | 0.305 | 0.167 | 0.126 | 0.122 | 0.104 | 0.086 |
| Paper bank | 2.14M | 0.399 | 0.315 | 0.175 | 0.130 | 0.125 | 0.108 | 0.090 |
| Pooled real | 86.9M | 0.411 | 0.277 | 0.158 | 0.102 | 0.099 | 0.084 | 0.076 |
Table 14. SDC under five calibration banks. Mean SDC on the benchmark, with each bank used for both slope fitting and conditional ranking under source-fold exclusion. The pooled bank combines the paper bank with IP and Stock (86.9M videos, about 1.0B within-shot splits). Kendall compares each method ranking with the paper bank.
Human Agreement. Six professional raters rated 150 clips: real two-shot splices from our sources and from the two external collections, natural multi-shot clips, and generated clips. Over the 140 scorable clips, SDC agrees with the mean rating at and separates consensus-consistent from consensus-inconsistent clips with AUC 0.90. On real footage it reaches AUC 0.97 (Table 6, Appendix § 10).
| Clips | Scored | Consistent / inconsistent | / AUC |
| All | 140 | 73 / 48 | 0.68 / 0.90 |
| Real footage | 90 | 40 / 36 | 0.77 / 0.97 |
| Real, external collections | 54 | 25 / 22 | 0.79 / 0.98 |
Table 6. SDC and human style ratings. Consensus labels require at least four of six votes. : Spearman correlation with the mean rating.
Conclusion
Refrain learns cross-shot consistency through the self-supervised reconstruction task on DurMix-300K. Its shared timeline unifies text, image, and video conditioning without added modules. SDC evaluates the resulting consistency against natural content–style variation in real videos. Experiments show improved consistency and reference adherence under per-shot inconsistent inputs, with consistency gains extending to pure T2V generation.
AI use statement
Large language models assisted with writing and code development, including analysis scripts. The authors are responsible for the manuscript and reported results. Gemini-3 provides video annotations, and Qwen3-VL provides data-quality filtering (§ 3.1 and Appendix § 6).
Data Construction
Source videos and annotations. We collect 2,150,758 web videos and use Gemini-3 to annotate shot boundaries, shot descriptions, entities, and visual style. The split assigns 1,846,156 videos (85.84%) to T2V training, 297,192 (13.82%) to reference-editing construction, and 7,410 (0.34%) to testing. The 300 evaluation requests are drawn from the test allocation. Original-video annotations provide the shot descriptions and shared style prompt. Table 7 presents an example annotation.
| Field | Annotation |
| Style | Realistic, cinematic thriller style. |
| Environment | A dimly lit urban street at night, lined with parked cars and trees. The setting suggests a residential or commercial area after hours. |
| Shot 1, 0.0–2.7 s | A woman (<ID:1>) holding a handgun (<ID:2>) looks over her shoulder and speaks. |
| Shot 2, 2.7–4.2 s | A man walks away from the camera towards a motorcycle on a dark street. |
Table 7. Example Gemini-3 annotation.
DurMix-300K pairs per-shot inconsistent references with coherent original videos to supervise reconstruction with a shared output style. Its construction plan contains 508,041 reference conditions, with 495,634 assigned to training and 12,407 to testing. The validated inventory contains 309,352 conditions: 200,265 shorter and 109,087 longer than their target intervals. These conditions belong to 223,850 source videos. The dataset’s 300K designation refers to the reference-condition count. Among 76,532 videos with multiple video references, 80.03% use different edit categories and 98.49% use different instructions.
Editing and quality filtering. To vary reference appearance and scene attributes, we sample from 61 instructions in eight categories (Table 8). Each selected frame is edited and propagated through its reference clip as described in § 3.1. Qwen3-VL-235B evaluates preservation of the reference, edit quality, and temporal validity. TransNetV2 rejects transitions inside intended single-shot controls. For motion and spatial-relation edits, filtering evaluates reconstruction suitability while accommodating the intended attribute changes.
| Category | Instructions | Conditions |
| Style transfer | 20 | 125,457 |
| Subject appearance | 8 | 31,655 |
| Object material or colour | 7 | 24,544 |
| Lighting and weather | 6 | 31,175 |
| Background retexturing | 6 | 28,718 |
| Spatial relation | 6 | 21,266 |
| Camera or lens filtering | 4 | 22,672 |
| Motion change | 4 | 23,865 |
| Total | 61 | 309,352 |
Table 8. Editing categories in DurMix-300K. Counts refer to validated reference conditions.
Roles of reference edits. All edits modify the reference inputs while leaving the reconstruction target unchanged. Style transfer, camera filtering, and lighting edits primarily introduce appearance differences across shots. Subject-appearance, spatial-relation, and motion edits additionally perturb attributes of the source content. Attribute perturbations train reconstruction from partially altered references. Recovery of an edited attribute depends on the information available in the remaining references and text. Reference preservation concerns the source information retained after editing, not every attribute introduced by an edit. For example, a clothing or action change in a training reference does not change the clothing or action required by the target. During training, the original video and its annotations define the desired output, and edited references provide additional visual information. At inference, a reference carries the content the user intends, and the content requirement of § 3 applies to it as given.
Duration construction. Reference duration varies while the selected reference frame, control start, and generation target remain fixed. To avoid including a nearby transition, we remove exactly one latent step, or four pixel frames, from the retained real-control endpoint. Existing short conditions are cropped directly in latent space and keep only frames driven by real control. Their endpoint is pixel frames. Here is the assigned reference length and is the available real-control length, both in pixel frames. For RGB extension, SkyReels-V3 fills the gap between the tail-trimmed real control and the assigned reference duration. The completed sequence preserves the exact real prefix. We re-estimate depth over that sequence before Wan Control propagation and latent encoding, retaining the completed sequence length. Extension supplies footage needed to construct a reference while preserving the requested output duration. The resulting reference can remain shorter or longer than its generation target.
Construction resources. Generation of DurMix-300K consumed an estimated 126 hours on 864 H20 GPUs. TransNetV2 filtering used 128 H20 GPUs for approximately 44 minutes. Qwen3-VL-235B, deployed on 128 H20 GPUs, performed screening and rechecking in approximately 16.4 hours. It screens edit quality, content preservation, and temporal validity on three source and three edited frames, with six of each for rechecking rejected clips. Among videos with several video references, 80.03% receive different edit categories.
Training and Inference Settings
The backbone has 24 double-stream blocks, hidden width 3,072, 24 attention heads, 48 latent channels, and approximately 8.49B parameters. The temporal and spatial RoPE dimensions are . The conditioning projection expands 48 channels to 97, adding weights. Reference slots retain unit loss weight. Full bidirectional attention uses text-padding masking. Reference conditioning uses channel concatenation, and training uses the reconstruction objective. Table 9 summarizes the training and inference settings.
| Setting | Value |
| Pure T2V, steps 0–19k | 19,000 updates, 256 H800 GPUs, LR |
| Reference fine-tuning, steps 19k–36k | 17,000 updates, 16 H800 GPUs, LR |
| Reference fine-tuning, steps 36k–45k | 9,000 updates, 16 H800 GPUs, LR |
| Global batch size, steps 0–19k | 128 videos per optimizer update |
| Global batch size, steps 19k–36k | 8 videos per optimizer update |
| Global batch size, steps 36k–45k | 8 videos per optimizer update |
| Training clip length | 241 frames |
| Spatial preset | 480p, aspect-ratio dependent |
| Optimizer | AdamW |
| Warmup, continuation | 200 updates |
| Configuration seed | 42 |
| Per-segment condition probability | 0.6 |
| Image-anchor probability | 0.8 |
| Condition dropout probability | 0.2 |
| Conditioning path | Sparse reference placement, channel concatenation |
| Shot-coordinate offset | |
| Sequence-parallel size, final fine-tuning | 8 |
| Inference steps / CFG / flow shift | 50 / 6.0 / 7.0 |
Table 9. Main fine-tuning and inference configuration. Conditioning probabilities act at the segment/anchor level, and the resulting task frequencies depend on reference availability and selection.
Training data and task sampling. The first reference-training stage fits references to their target lengths for 17,000 steps. Its base task sampler assigns probabilities 0.3 to text-only generation and 0.7 to reference conditioning. Dataset references are sampled separately, with probability 0.6 per available video reference and 0.8 for an image anchor. Selected dataset references activate conditioning regardless of the base task draw. Condition dropout removes individual references with probability 0.2 while retaining at least one when references are active.
The final 9,000 updates use all 297,192 source-video records with the filtered DurMix-300K conditions and retain 117,868 records from the earlier reference data, a 71.60:28.40 ratio by record count. References retain their native lengths and are placed sparsely on the target timeline. Dataset reference sampling remains active, while examples without selected references use text-only training. Both the main results and the complete coordinate-by-placement comparison use 45,000 training steps.
Evaluation Sets and Metrics
The main benchmark evaluates unified generation on 300 requests: 30 T2V, 30 TI2V, 120 V2V, and 120 TIV2V.
In each of V2V and TIV2V, 40 requests (one third) replace the original descriptions of video-referenced shots with reference-control instructions. The remaining 80 requests retain those descriptions and append the control instructions. The shared style prompt and descriptions of shots without video references are retained, including image-anchor shots. The instructions are:
Video reference: “Use the provided reference video segment for this time range and preserve its subject identity, motion, camera movement, and temporal dynamics.”
Image reference: “Use the provided reference image anchor at latent frame and preserve the subject identity and appearance around that moment.”
Here specifies the image-anchor position. Image instructions are appended to the corresponding shot descriptions. During evaluation, image anchors are processed before video references. A reference whose destination interval overlaps an already accepted reference is skipped with a warning.
Transition timing. We match TransNetV2-detected cuts to the requested boundaries using order-preserving dynamic programming. Matched cuts contribute absolute timing error, and each missing or extra cut adds a one-second penalty. The total timing error in seconds is normalized by the larger cut count. Transition MAE averages the normalized timing error over videos.
Text alignment. CLIP-T averages CLIP (Radford et al., [24]) similarity between generated frames and their corresponding shot descriptions. TA scores each requested shot with the pretrained VideoAlign model and its published normalization (Liu et al., [18]), yielding a signed reward. TA uses the original shot description and shared style prompt, including for shots whose inference descriptions were replaced by reference-control instructions. Scores are averaged across shots and then across videos.
Content consistency. We adapt the consistency categories of MultiShotMaster (Wang et al., [33]) to requests that explicitly change subjects and scenes. For each request, a fixed annotation of the original shot descriptions identifies recurring entities, shared scenes, and semantically comparable shot pairs. These annotations are shared by all methods. Inter-Shot Semantic averages ViCLIP (Wang et al., [34]) cosine similarity over the annotated pairs, using eight uniformly sampled frames per requested shot. Inter-Shot Subject compares only the same entity across shots, and Inter-Shot Scene compares visible backgrounds only for shots annotated as sharing a scene.
GroundingDINO (Liu et al., [20]) and SAM (Kirillov et al., [15]) locate and segment subjects. We compute DINOv2-small cosine similarities on subject crops with non-subject pixels masked, or on full frames with foreground regions masked for background comparisons. First, middle, and last frames are sampled independently from each interval, and similarities average all available keyframe pairs. Reference Subject and Reference Background use the corresponding reference and destination shot. Images use their exact anchor frames. Deliberate subject-appearance or material edits are excluded from reference-subject comparisons, and background, layout, or material edits are excluded from reference-background comparisons. Reference Background excludes 82 references with background, spatial-layout, or material/color edits.
Reference Semantic measures ViCLIP cosine similarity between each video reference and its corresponding generated shot. Eight frames are uniformly sampled from the full native reference and, independently, from its requested destination interval. Each eight-frame sequence is resized to , normalized, and encoded by ViCLIP. Cosine similarities are averaged over references within each video and then across videos. The evaluation covers all 489 video references of the V2V and TIV2V requests, including all edit categories. Image anchors are excluded from this video-level metric. Destination intervals follow the fixed benchmark timeline used for the other content metrics, without adjustment to detected cuts or output length. Each reported method has valid scores for all 489 pairs.
Each metric compares methods on the same shot or reference pairs and weights videos equally. These feature similarities measure cross-shot content correspondence. SDC uses detected shots as defined in § 3.3.
Baseline Configurations
Generation protocol. Phantom, RefAlign, StoryMem, and VACE generate individual shots and concatenate them at the requested boundaries. Each shot receives the shared style description and its own conditioning text, and all shots within a request use the same random seed. Concatenation uses hard cuts without overlapping frames or transition blending. For models requiring a frame count, the extra terminal frame of each non-final shot is removed before concatenation. Since this procedure sets the shot boundaries externally, Transition MAE is unreported for these four methods. HunyuanVideo1.5 and Refrain generate the complete sequence jointly and are evaluated for transition timing.
HunyuanVideo1.5. We evaluate the pretrained backbone before our multi-shot and reference-conditioned training. Shot-aware temporal offsets are disabled. Image and video references are sparsely placed in the existing conditioning channels, together with the occupancy mask. The output latents remain generated throughout denoising, including at reference locations. Sampling uses 50 steps, guidance scale 6.0, flow shift 7.0, and sequence-parallel size 8.
Phantom. We use the released Phantom-14B subject-conditioned model for shots with references. Each video reference is represented by its first native frame, and image references are assigned to their corresponding shots. This adaptation supplies appearance information through the model’s image-reference interface. Reference-conditioned shots use 40 UniPC steps with text guidance 7.5, image guidance 5.0, and flow shift 5.0. Text-only shot generation uses 50 steps with guidance 5.0 and flow shift 5.0.
RefAlign. We use the released RefAlign-14B checkpoint with a DINOv3 reference encoder. Each video reference contributes its first native frame, while image references are supplied directly. References are routed to the corresponding shot through the subject-image interface. Image anchors condition their owning shots through this interface. Each shot is generated with 50 steps, text guidance 5.0, reference guidance 7.5, and flow shift 5.0.
StoryMem. We use the released memory-conditioned model and its visual-memory mechanism. Each video reference contributes its first, middle, and last native frames, with duplicate positions removed for short clips. Image references are added directly to the initial memory. These images form global visual memory available across shots. After each shot, generated keyframes are added to the memory, retaining the initial references and the most recent generated frames within a ten-image limit. Memory-conditioned generation uses 40 UniPC steps, guidance 3.5, and flow shift 4.0. For text-only requests, Wan2.2-T2V-A14B generates the first shot, and subsequent shots use generated memory. Native 16-fps outputs are mapped to the requested 24-fps timeline by nearest-frame selection before concatenation.
VACE. We evaluate Wan2.1-VACE-14B on the image- and video-conditioned requests using sparse reference placement. Native reference frames are placed at selected positions in each shot’s input canvas without temporal interpolation. Image anchors occupy their assigned positions. Occupied pixels are marked as known regions, and the remaining positions are marked for generation. Sampling uses 50 UniPC steps, guidance 5.0, and flow shift 16.0. The internal canvas respects the implementation’s 480p area and sequence-length limits, and generated shots are spatially fitted to the requested output geometry before concatenation. Reference Semantic, Subject, and Background are left unreported for this completion-based adaptation, in which supplied reference regions are reconstruction conditions.
Metric reporting and computational cost. Crosses in Table 2 indicate unreported or inapplicable measurements. Transition MAE is omitted for methods whose boundaries are fixed by shot concatenation. Reference Semantic, Subject, and Background are unreported for VACE and the pretrained HunyuanVideo1.5 baseline. All reported SDC scores use the same real-video calibration bank. The real target videos of the benchmark reach SDC 0.332.
FLOPs are analytical denoising estimates for a , 241-frame video with three shots and three 49-frame references. The estimates include each method’s sampling schedule, guidance branches, reference processing within the denoiser, and active adapters. Text and visual encoders, VAE processing, data transfer, and distributed communication are excluded consistently. Sequence parallelism partitions the computation without reducing its total FLOPs.
SDC Details and Validation
Sampling and representations. Both generated and real videos use TransNetV2 shot boundaries. We remove three frames at each boundary and sample two to four distinct, uniformly spaced interior frames per shot. SDC requires at least two usable shots. Content uses DINOv2-small CLS embeddings, and style uses the CSD ViT-L/14 style head and VGG16 (Simonyan & Zisserman, [26]) channel means and standard deviations from relu1_2, relu2_2, relu3_3, and relu4_3. For VGG, each layer’s concatenated moments are normalized before concatenation across layers. All final frame embeddings are -normalized.
Energy contrast and closed form. For frame features , define and the shot mean . Distance averages include every entry, including the zero within-shot diagonals. Thus,
Subtracting the within-shot distance terms gives a comparison of sample means, equivalent to empirical squared MMD with a linear kernel ([30, 9, 25]). Floating-point round-off is handled by setting energy values in to zero, where denotes float32 machine precision. Values below are rejected as invalid.
Within-shot calibration. To measure natural variation without introducing a shot transition, we partition each shot’s sampled frames into balanced, disjoint groups and compute their content and style energies. Each unordered split is used once: two, three, and four frames yield one, three, and three splits, respectively. The bank contains 2,144,201 real videos, 6,462,692 shots, and 19,388,074 splits, with all three representations available on the same frames. All but six shots have four sampled frames.
For four sampled frames, define , which satisfies . The three partitions pair frame 1 with , giving
Here is the sample covariance with divisor three. The average split energy measures within-shot feature dispersion. For frames split into groups of sizes and , the average is , with covariance divisor . The same factor applies to content and style features.
Calibration groups and source exclusion. The real-video bank is partitioned by source video into three disjoint calibration subsets, indexed by . Each subset provides a separately fitted content–style slope and conditional residual distribution. Averaging their ranks combines the three calibration estimates into a style-head rank (§ 3.3).
Source exclusion uses a separate five-fold partition to prevent a query’s source video from contributing to its calibration. After shuffling unique source videos with seed 20260908, zero-based index determines group and fold . The query source’s fold is excluded from both slope fitting and residual ranking in every group. Outputs from all methods and edited variants of the same source use the same excluded fold. Sources absent from the bank receive a fixed fold based on their identifier. The two style heads, three groups, and five excluded-fold configurations require 30 calibration fits, all using real videos.
Robust content correction. For each group and style head , we fit style energy against content energy using Huber regression ([13]). A bank split has weight , where counts the videos remaining in group after source-fold exclusion, counts usable shots in video , and counts splits in shot . These weights assign equal mass to each video, distributed equally among its shots and then their splits. Suppressing group, head, and excluded-fold indices, we initialize with the weighted median of for and iterate
The weighted median centers residuals for the scale estimate . The through-origin fit uses uncentred residuals in its influence weights. Here is float64 machine precision. Iteration stops at , after 100 iterations, or when . Query residuals retain their sign. The residual correction subtracts the fitted linear content–style trend. At fixed content energy, subtracting the same linear term preserves style ordering. Queries outside the range of bin centers in content-percentile space use the nearest bin.
Responses by edit type. In the single-shot style-edit comparison in Table 5(a), one shot receives a style-transfer edit and the other remains unedited, with the corresponding original shot pair serving as the control. The shared-versus-independent comparison in Table 5(b) uses the same two reference-shot positions in both conditions, with both shots edited. Comparisons retain matched shot pairs with valid scores for all compared metrics. Scores are averaged over eligible pairs within each video and then equally across videos. For each metric, the fifth percentile of the original-video scores in (a) or the shared-edit scores in (b) defines the detection threshold. The reported detection rate is the fraction of edited videos scoring below this threshold.
Table 10 separates the responses by edit type. SDC decreases more for style, filter, and lighting edits than for motion or spatial changes.
| Edit type | Videos | SDC | CLIP | ViCLIP | DINO |
| Camera / lens filter | 21,699 | 96.2% | 13.4% | 33.9% | 22.0% |
| Style transfer | 108,909 | 86.5% | 14.9% | 30.1% | 22.8% |
| Lighting / weather | 29,516 | 75.0% | 10.4% | 22.5% | 17.1% |
| Background retexture | 27,253 | 64.2% | 10.2% | 24.4% | 21.0% |
| Object material / color | 23,405 | 51.0% | 7.8% | 16.6% | 10.1% |
| Subject appearance | 29,873 | 32.4% | 9.5% | 18.0% | 13.5% |
| Motion change | 22,559 | 19.2% | 4.6% | 7.1% | 3.8% |
| Spatial relation change | 20,424 | 18.6% | 4.0% | 6.3% | 3.2% |
Table 10. Sensitivity to reference edit types. Relative decrease in mean similarity or consistency from original shot pairs to pairs with one edited shot. Larger decreases indicate stronger responses within each metric’s scale. A source video can appear in multiple edit categories.
Comparison with style-feature similarity. Table 11 compares SDC with CSD and VGG cosine similarity using the same frame features and video-level averaging. Each cosine score averages all cross-shot frame pairs of normalized style features. The edit comparisons follow the control thresholds defined above. For the real-video comparison, each metric’s fifth percentile over all 2,144,201 real videos defines a low-score threshold. The last column reports the fraction of the 458,920 videos with DINO similarity below 0.25 falling below that threshold. CSD achieves the highest detection rates in both edit comparisons. SDC retains sensitivity to style conflicts while reducing score dependence on content changes, with a low-score rate of 4.4% on the low-DINO subset compared with 18.8% for CSD and 13.7% for VGG.
Effect of linear correction. We set for both bank and query energies in both style heads, keeping the features, calibration videos, source-fold exclusion, bin boundaries, sample weights, interpolation, and fusion fixed. Within each bin, bank samples are reordered by uncorrected style energy. The comparison reuses the 108,909 single-shot style-edit videos, 72,570 shared/independent-edit videos, and 2,144,201 real videos above. Thresholds follow the preceding comparison and are recalculated for each variant.
Linear correction increases the two edit-detection rates by 1.19 and 0.56 percentage points (Table 12). Their 95% intervals are [0.95, 1.42] and [0.23, 0.82] percentage points, respectively. The low-DINO real-video low-score rate decreases by 1.63 points, with a 95% interval of [1.60, 1.67]. Intervals use 2,000 paired source-video bootstrap draws, re-estimating each variant’s threshold in every draw while holding the calibration bank fixed.
For real-video shot pairs, the mean absolute score change is 0.0060 when ranks interpolate between bin centers and 0.0728 when a query uses an endpoint bin in at least one calibration group or style head. Across all real videos, Spearman correlation with DINO is −0.0879 with correction and +0.0184 at . Linear correction gives modest detection gains, while has a global content correlation closer to zero. The largest score changes occur for queries using endpoint bins.
Calibration Stability
Table 13 evaluates six sample sizes from 100 to all 2,144,201 usable real videos. We refit the CSD/DINOv2 slope on each subset using Equation (14) and the bank’s video–shot–split weights. Each size has five disjoint subsets up to 100,000 videos, two at one million, and one at the full size. Subsets at different sizes can overlap. SDC is averaged over these same query subsets using the fixed full real-video bank with source-fold exclusion.
Mean ranges from 0.39100 to 0.40168, reaching 0.39874 on the full pool. Its standard deviation across repeated fits decreases from 0.01533 at 100 videos to 0.00014 at one million. Mean SDC ranges from 0.33636 to 0.34414 and is 0.33731 on the full pool. The two columns measure slope-estimation stability and the sampling stability of mean SDC under a fixed bank, respectively. With IP and Stock added, the pooled 86.9M-video bank gives and a mean real-video SDC of 0.32644 (last row).
With the source population, encoders, and sampling protocol fixed, larger samples estimate the same content–style relationship more precisely. The real-video bank is a stable reference for comparison. All generators use this shared bank for both slope correction and conditional ranking. To test whether this conclusion depends on on the choice of bank, we rebuild the calibration from five banks that differ in source and size (Table 14). Three banks contain the 0.22M DurMix source videos in their original, shared-edit, and independent-edit versions. The paper bank contains the 2.14M web videos collected for this work. The pooled bank adds two separately collected real-video collections to the paper bank, giving 86.9M videos and about 1.0B within-shot splits. IP contains 17.2M clips from films, TV series, anime, and game cinematics. Stock contains 67.6M everyday web videos such as tutorials, cooking, travel, and aerial footage. Across a 400-fold increase in bank size, the content–style slope remains within 0.388–0.411 and the ordering of all six methods is identical under every bank (Kendall ).
Kendall for every bank.
Human Study
Design. The protocol, sample, and analysis plan were frozen before any rating was collected. Six professional raters, unaffiliated with this project, rated 150 single clips in an order randomized per rater, with method identities and SDC scores hidden. The set contains 60 real two-shot splices joining shots from different source videos, drawn from our sources and from the IP and Stock collections, which exclude every training and test video by file hash. It also contains 30 natural real multi-shot clips, 40 generated clips from four video generators, 12 further clips (six Refrain-generated clips, five splices of two independently edited shots from the same source video, and one real clip), and 8 test–retest repeats. Splices combine the Stock and IP collections in all pairings, and pairs are either matched by shot-text similarity or random. Content relatedness and style compatibility therefore vary independently. Text-matched shots can still clash in style, and shots from different sources can still be compatible. Raters judged colour grading, lighting, contrast, and texture across the cut on a five-level scale, from 1 (clearly inconsistent style) through 3 (borderline) to 5 (clearly consistent style), and were instructed to ignore changes of subject, place, or framing (Figure 6).

Figure 6. Rating interface. Raters judge whether the visual treatment is coherent across the cut (colour grading, lighting, contrast, texture) on five levels, and ignore changes of subject, place, or framing. They also rate the amount of content change and within-shot flicker, and may mark “cannot judge”.
Consistency labels and scoring. Ratings of 1–2 indicate inconsistency, 4–5 consistency, and 3 is undecided. A clip receives a class label when at least four of six raters agree. All clips are scored with the same real-video bank and CSD/VGG fusion as the main evaluation, with source-fold exclusion, and spliced clips are scored on the videos shown to raters at their recorded splice boundaries. AUC measures the probability that a consensus-consistent clip receives a higher SDC than a consensus-inconsistent clip, with half credit for ties.
Excluding the 8 repeats and 2 clips in which TransNetV2 detects no cut, 140 clips are scored: 73 consistent, 48 inconsistent, and 19 undecided.
Agreement and SDC. Krippendorff’s ordinal is 0.68. Fleiss’ is 0.35 on the five-level scale and 0.50 after grouping ratings into three classes. Over all 140 clips, SDC agrees with the mean rating at (95% interval [0.59, 0.76]) and reaches AUC 0.90 ([0.84, 0.95]), with intervals from 20,000 clip-level bootstrap draws. Mean SDC is 0.327 for consistent clips and 0.057 for inconsistent clips. On the 90 real clips (40 consistent, 36 inconsistent), SDC agrees with the raters at and AUC 0.97, on independently collected footage as well as on training-source footage. On the 54 real clips from the two external collections alone, SDC agrees at and AUC 0.98 (Table 15). Some splices of different sources are also judged consistent. Figure 7 shows rated examples, including style-conflicting splices with low SDC and low ratings and natural multi-shot clips rated as consistent.
| All | Real | Real, ext. | Ext. splices | Real, train | Generated | |
| 140 (73/48) | 90 (40/36) | 54 (25/22) | 36 (8/21) | 36 (15/14) | 38 (25/8) | |
| 0.68 | 0.77 | 0.79 | 0.59 | 0.75 | 0.30 | |
| AUC | 0.90 | 0.97 | 0.98 | 0.95 | 0.97 | 0.57 |
Table 15.
Figure 7. SDC and human ratings on real footage. Each row is one rated clip: two-shot splices from different sources (Stock + Stock, Stock + IP, IP + IP, Train + Train) and natural multi-shot clips (Real Uncut), with the shot descriptions, SDC, and the mean score of six raters (1–5)24.
Table 15 SDC and human ratings by subset. : clips (consistent/inconsistent, rest undecided). : Spearman. Ext.: the two external collections. Train: our source videos.
Cascade Baseline
A cascade can first restyle every reference toward the shared style prompt and then generate from the restyled references. Every video reference is restyled with FLUX.1 Kontext on the first frame and depth-conditioned Wan-2.1 propagation, image anchors are edited directly, and the edited references pass the same filters as DurMix-300K. They are then given to Refrain with unchanged prompts. Table 16 reports the requests with video references. The cascade leaves SDC nearly unchanged (0.324 vs. 0.323) while lowering reference subject and background fidelity, TA, and transition timing. Measured against the restyled references that it received, the cascade’s subject fidelity rises to 0.627 and remains below that of Refrain on the original references (0.645). Restyling the 639 image and video references took about 73 GPU-hours including regeneration, about 7 GPU-minutes per reference, most of it in Wan-2.1 propagation (median 3.8 GPU-minutes per video reference). Of these references, 100 failed the filters and were regenerated, 67 of them twice. The filtering time is not included. Refrain reaches the same consistency in one pass without this preprocessing and keeps more of the reference content.
| Method | SDC↑ | vs. original refs Ref-Subj↑ | vs. original refs Ref-Bg↑ | vs. restyled refs Ref-Subj↑ | vs. restyled refs Ref-Bg↑ | TA↑ | MAE (s)↓ |
| Refrain | 0.323 | 0.645 | 0.653 | – | – | −0.204 | 0.197 |
| Cascade + Refrain | 0.324 | 0.569 | 0.574 | 0.627 | 0.638 | −0.296 | 0.227 |
Table 16.
Table 16 Cascade baseline (requests with video references). References are restyled with the DurMix-300K editors before generation. Fidelity is measured against the original references and, for the cascade rows, also against the restyled references the generator received. Real videos of the same requests: SDC 0.339.
Generalization of the Training Edits
Hybrid training. Hybrid training draws shared or independent edits with probability 0.5 per video, and all other training settings are identical (Table 17). It matches shared-edit training on both test sets and trails independent-edit training on independent edits. Independent-edit training exceeds shared-edit training by 0.014 SDC on independent edits and is close to it on shared edits (0.299 vs. 0.304). The gain comes from the independent supervision, in which references of one video carry different edits and the model learns to reconcile them. In the mixture, half of the videos carry one shared edit and provide no such conflict, and the results fall to those of shared-edit training.
| Training edits | Independent-edit test | Shared-edit test |
| Independent | 0.315 | 0.299 |
| Shared | 0.301 | 0.304 |
| Hybrid 1:1 | 0.300 | 0.303 |
Table 17. Hybrid edit training (SDC).
Performance curves. We vary the test references and evaluate all three training settings on the requests with video references (Figure 8, Table 18). Clean: the original, unedited references. Blend: per-frame RGB interpolation between original and edited references, re-encoded, where controls edit intensity. Unseen instructions: 20 newly written instructions absent from all training data (e.g., gouache painting, colored-pencil illustration, 1980s camcorder look, misty blue-hour dawn, faded instant film, emerald-green recolouring), passed through the same filters. Independent-edit training gives the highest SDC at every intensity and under unseen instructions. The three settings have similar SDC on clean references, and the gap opens once the references conflict. On the blended references, hybrid training lies between the other two. Figure 9 shows one request under all six conditions. The references change from clean to strongly stylized, and Refrain’s outputs keep one consistent look.
Figure 8. Performance curves vs. edit intensity. Top: SDC, Ref-Subject, Ref-Background, and TA of the independent-edit (Refrain), shared-edit, and hybrid training, from clean references () to the benchmark edits (), plus unseen edit instructions (shaded). Bottom: Shared minus Independent and Hybrid minus Independent, averaged over the requests scored in both settings. The top row and Table 18 average each setting over all of its scored requests, and the two averages can differ slightly.
| Test references | SDC↑ Independent | SDC↑ Shared | SDC↑ Hybrid | Ref-Subj↑ Independent |
| Clean () | 0.350 | 0.347 | 0.336 | 0.737 |
| 0.334 | 0.319 | 0.325 | 0.699 | |
| 0.324 | 0.306 | 0.310 | 0.675 | |
| 0.324 | 0.305 | 0.315 | 0.660 | |
| Benchmark () | 0.323 | 0.301 | 0.306 | 0.645 |
| Unseen instructions | 0.318 | 0.314 | 0.312 | 0.660 |
Table 18. Performance under varying test references (requests with video references). : blend weight between original and edited references ( clean, benchmark edits). Fidelity is measured against the references each run received.

Figure 9. One request under six reference conditions. Left: the references given to the model (clean, blends –1, unseen instructions). Right: Refrain’s output frames for each condition.
Channel vs. Sequence Injection
Both variants are trained on the same data with identical settings, and only the injection differs. In the sequence variant, reference latents are appended as extra tokens with shot-aware temporal coordinates at their target intervals. Both are evaluated under the protocol of Table 2 (Table 19). The two variants are close on every metric. SDC is 0.315 for both, and the largest gaps are in TA (−0.250 vs. −0.221) and inter-shot subject consistency (0.476 vs. 0.494).
| Injection | MAE↓ | CLIP-T↑ | TA↑ | SDC↑ | Semantic | Subject | Scene | Subject | Background |
| Channel (Refrain) | 0.199 | 0.222 | −0.221 | 0.315 | 0.710 | 0.494 | 0.491 | 0.671 | 0.674 |
| Sequence | 0.209 | 0.222 | −0.250 | 0.315 | 0.709 | 0.476 | 0.493 | 0.666 | 0.670 |
Table 19. Channel vs. sequence injection (metrics of Table 2).
Cost. Channel concatenation keeps the token count of the target for any number and length of references. A 241-frame target has 61 latent frames, and three 49-frame references add , and the sequence variant processes as many tokens. Self-attention cost grows with the square of this count (about ), and the analytical denoising cost under the configuration of Table 2 rises from 324 to 811 PFLOPs per request (). With identical settings, a denoising step takes 24.7 s for the sequence variant against 13.8 s for the channel variant (), and the median training update takes 28.4 s against 14.2 s (). This overhead grows with every added reference.
Limitations
Refrain is primarily evaluated on short multi-shot sequences, and maintaining recurring identities and a coherent style across substantially longer narratives requires further evaluation. The current task uses a shared style prompt to specify the desired visual appearance across shots, while deliberate shot-specific style changes require a more detailed description of the intended output. Explicit control over which reference attributes to preserve or revise remains a direction for future work. DurMix-300K pairs edited references with their original videos, and its coverage is bounded by the source footage and editing transformations used in construction. SDC measures cross-shot style consistency relative to a fixed feature space and calibration bank, and its scores should be interpreted alongside reference fidelity, motion quality, and human judgments.
Future Work
A central direction is consistency-guided post-training, using SDC together with human preferences to improve cross-shot style consistency while preserving reference content and motion. Comparing candidate videos generated from the same prompts and references could provide preference supervision, with reference fidelity and motion quality included in candidate selection. We plan to examine whether this supervision improves consistency across all four conditioning tasks and how well these gains agree with human judgments. We also aim to extend Refrain to longer narratives and references collected from independent videos, testing recurring subjects and locations across longer shot sequences and a broader range of visual domains. Finally, we plan to explore localized revision, allowing users to replace a reference or revise an individual shot while preserving the timing, content, and style of the remaining sequence.
Additional Qualitative Results
Reference Duration and Motion Pacing
Variable-duration reference control is a core capability of Refrain. The requested shot can be longer or shorter than its reference, while the selected reference start and target interval remain unchanged. Uniformly stretching or compressing the reference changes motion speed, while truncating it can discard important actions. The examples below examine both directions, showing how reference actions are adapted while preserving natural pacing and a shared style across shots.
Results by reference duration. Table 20 groups the requests with video references by the duration of their video references relative to the assigned intervals. Refrain obtains the highest SDC, reference fidelity, and text alignment in all four groups, and the lowest transition error among the methods that generate the full sequence. Its SDC stays between 0.307 and 0.334 and its transition MAE between 0.166 and 0.208 s across groups. For every method, requests that mix shorter and longer references give the lowest reference-subject similarity and text alignment.
| Method | Shorter () | Equal () | Longer () | Mixed () |
| SDC | ||||
| Phantom | 0.130 | 0.123 | 0.113 | 0.111 |
| RefAlign | 0.110 | 0.086 | 0.103 | 0.088 |
| StoryMem | 0.200 | 0.150 | 0.163 | 0.181 |
| VACE | 0.116 | 0.095 | 0.097 | 0.092 |
| Refrain | 0.334 | 0.329 | 0.329 | 0.307 |
| Ref-Subject | ||||
| Phantom | 0.496 | 0.431 | 0.429 | 0.413 |
| RefAlign | 0.485 | 0.469 | 0.470 | 0.453 |
| StoryMem | 0.419 | 0.410 | 0.426 | 0.353 |
| Refrain | 0.678 | 0.649 | 0.685 | 0.608 |
| Ref-Background | ||||
| Phantom | 0.377 | 0.363 | 0.348 | 0.379 |
| RefAlign | 0.474 | 0.405 | 0.477 | 0.469 |
| StoryMem | 0.359 | 0.398 | 0.422 | 0.372 |
| Refrain | 0.668 | 0.651 | 0.662 | 0.642 |
| Transition MAE (s) | ||||
| Refrain | 0.166 | 0.208 | 0.206 | 0.204 |
| TA | ||||
| Phantom | ||||
| RefAlign | ||||
| StoryMem | ||||
| VACE | ||||
| Refrain |
Table 20. Results by reference duration (requests with video references). Requests are grouped by the duration of their video references relative to the assigned intervals: all shorter, all equal, all longer, or a mix of shorter and longer references. : requests per group. Bold: best per group. Transition MAE applies only to methods that generate all shots jointly.
A shorter reference. Figure 10 (case12_v2v in the supplementary videos) uses a 3.7-second reference for a 6.5-second target shot. Refrain preserves the pace of the camera gesture while bringing the referenced shot into the surrounding shots’ visual style.
Figure 10. Short reference, longer target: 3.7s → 6.5s. Refrain preserves plausible action pacing and a shared style across shots. Dashed arrows link reference and generated action states.
A longer reference. Figure 11 (case13_v2v in the supplementary videos) uses a 3.9-second reference for a 2.8-second target shot. Refrain condenses the action sequence while retaining the woman’s reaction, hand gesture, and subsequent head turn at a natural pace.
Figure 11. Long reference, shorter target: 3.9s → 2.8s. Refrain condenses the reference action while retaining its key gestures and natural pacing.
Further Generation Examples
Style: Photorealistic documentary footage, unfinished construction interior, natural lighting, subtle handheld camera movement.
Shot 1 [0.0s-1.0s]: Low-angle close-up reveals an old electrical junction surrounded by tangled wires.
Shot 2 [1.0s-2.3s]: The camera slowly pushes closer, revealing screws, connectors, and tangled wiring.
Shot 3 [2.3s-3.6s]: A man's hands twist exposed copper wires beneath unfinished ceiling beams.
Shot 4 [3.6s-5.0s]: His finger points inside the junction, inspects it, then withdraws.
Style: Japanese action anime, bold linework, exaggerated movement, dramatic shadows, glowing blue energy illuminating a barren canyon.
Shot 1 [0.0s-0.3s]: Close-up: a wounded, black-haired man screams furiously, his brows tightly furrowed.
Shot 2 [0.3s-0.9s]: He braces against a green robot's blue beam; yellow rings expand.
Shot 3 [0.9s-2.4s]: Side close-up reveals clenched teeth, strained muscles, and a scratched arm.
Shot 4 [2.4s-3.4s]: The man continues to block the green robot's blue energy beam with his body.
Shot 5 [3.4s-3.8s]: Extreme close-up: the green robot's enormous eye stares coldly forward.
Shot 6 [3.8s-5.0s]: Through a targeting interface, his strained face remains painfully determined.
Style: Realistic cinematic drama with bright natural sunlight, an urban sidewalk setting, shallow depth of field, and tense, emotionally charged performances.
Shot 1 [0.0s-2.2s]: Focus shifts from the driver's mirror reflection to two people exiting.
Shot 2 [2.2s-4.2s]: Close-up: the driver stares at his smartphone, speaking in disbelief.
Shot 3 [4.2s-5.0s]: An older man holds the woman's waist, then kisses her cheek.
Style: Japanese battle anime, grounded action choreography, a ruined traditional wooden corridor at night, intense orange-red fire effects.
Shot 1 [0.0s-1.5s]: Amid wreckage, a young swordsman's red haori becomes green-and-black checkered.
Shot 2 [1.5s-2.1s]: Side close-up: the sweating swordsman clenches his teeth, glaring determinedly.
Shot 3 [2.1s-3.1s]: The camera rushes toward his furious face as flames emerge.
Shot 4 [3.1s-3.9s]: He unleashes a blazing sword arc toward his bracing opponent.
Shot 5 [3.9s-5.0s]: Extreme close-up: flames strike the enemy's shoulder, violently twisting his body.
Style: Photorealistic contemporary urban drama, modern interiors, bright diffused lighting, minimal shadows, clean and slightly cool visuals.
Shot 1 [0.0s-1.5s]: A ponytailed woman enters in a white T-shirt, visibly astonished.
Shot 2 [1.5s-2.2s]: Prepared dishes cover a black-and-gold marble table; nobody is present.
Shot 3 [2.2s-3.1s]: Close-up: her shock fades into resolve, lips pressed, brows furrowed.
Shot 4 [3.1s-5.0s]: She stands determined, turns left, and exits beside the staircase.
Figure 12. Text-only multi-shot generation. Examples span documentary, animation, and drama. Each request specifies a shared style and per-shot events.
Additional Qualitative Results
Figure 14. Reference-conditioned generation (2/2). Further examples under the protocol of Figure 13.
Image Anchor: 3.5s Reference Target: Shot 2
Style: Realistic film noir with nostalgic city scenery, low-key neon lighting, deep shadows, warm wet-street reflections, and a mysterious, tense atmosphere. Shot 1 [0.0s-2.8s]: A high-angle view reveals a wet cobblestone street crowded with pedestrians and vintage cars beneath neon signs. Shot 2 [2.8s-4.0s]: A black vintage sedan drives through the bustling nighttime street, passing men dressed in suits. Shot 3 [4.0s-5.8s]: The camera tracks the moving car, then settles on a pensive woman in the back seat. Shot 4 [5.8s-7.2s]: Passing city lights illuminate her serious, watchful face as she gazes out the car window.
Reference Length: 3.7s (short) Reference Target: Shot 1 Editing Type: Style Transfer
Style: Observational documentary realism with bright overhead sunlight, crisp shadows, clear detail, and a neutral, candid portrayal of bustling market life. Shot 1 [0.0s-3.8s]: A bustling outdoor market unfolds under bright sunlight, observing everyday activity with a candid documentary perspective. Shot 2 [3.8s-6.7s]: Two men sit at a patterned table, examining documents together in the brightly sunlit market. Shot 3 [6.7s-9.8s]: A woman in a red hijab and a grey-robed man pass a building with Arabic signs.
Reference Length: 3.0s (long) Reference Target: Shot 2 Editing Type: Style Transfer
Style: Realistic with strong horror and supernatural elements. The visual style is cinematic and dramatic, using high-contrast lighting and unsettling imagery. Dramatic, high-contrast chiaroscuro lighting. Shot 1 [0.0s-2.8s]: In a dark, shadowy room, a woman with a cut on her forehead expresses extreme terror. Shot 2 [2.8s-4.0s]: Her face, illuminated by a harsh side light, contorts in fear as she looks at something offscreen. Shot 3 [4.0s-5.0s]: The scene cuts to a grotesque, horned figure engulfed in flames, its face twisting in agony. Shot 4 [5.0s-8.5s]: The woman's expression shifts to one of pure shock, her eyes wide and mouth agape.
Reference Length: 3.9s (long) Reference Target: Shot 1 Editing Type: Style Transfer
Image Anchor: 3.2s Reference Target: Shot 2
Reference Length: 3.4s (short) Reference Target: Shot 3 Editing Type: Spatial Change
Style: Soft-focus cinematic realism with warm desk-lamp illumination, gentle background bokeh, and a quiet, intimate atmosphere of contemplation and slight melancholy. Shot 1 [0.0s-2.3s]: In a warmly lit bedroom, a young woman with pinned-up hair concentrates on her work. Shot 2 [2.3s-3.8s]: A close-up shows her hands handling a pen above an open notebook. Shot 3 [3.8s-9.3s]: Returning to her face, she looks up and gazes offscreen, her expression shifting into deep thought.
Figure 14 Reference-conditioned generation (2/2). Further examples under the protocol of Figure 13.
Figure 13. Reference-conditioned generation (1/2). Each example shows independently edited references, the requested shared style, and generated shots.
References
- [1]Shuai Bai, Yuxuan Cai, Ruizhe Chen, Keqin Chen, Xionghui Chen, Zesen Cheng, Lianghao Deng, Wei Ding, Chang Gao, Chunjiang Ge, Wenbin Ge, Zhifang Guo, Qidong Huang, Jie Huang, Fei Huang, Binyuan Hui, Shutong Jiang, Zhaohai Li, Mingsheng Li, Mei Li, Kaixin Li, Zicheng Lin, Junyang Lin, Xuejing Liu, Jiawei Liu, Chenglong Liu, Yang Liu, Dayiheng Liu, Shixuan Liu, Dunjie Lu, Ruilin Luo, Chenxu Lv, Rui Men, Lingchen Meng, Xuancheng Ren, Xingzhang Ren, Sibo Song, Yuchong Sun, Jun Tang, Jianhong Tu, Jianqiang Wan, Peng Wang, Pengfei Wang, Qiuyue Wang, Yuxuan Wang, Tianbao Xie, Yiheng Xu, Haiyang Xu, Jin Xu, Zhibo Yang, Mingkun Yang, Jianxin Yang, An Yang, Bowen Yu, Fei Zhang, Hang Zhang, Xi Zhang, Bo Zheng, Humen Zhong, Jingren Zhou, Fan Zhou, Jing Zhou, Yuanzhi Zhu, and Ke Zhu. Qwen3-VL technical report. arXiv preprint arXiv:2511.21631, 2025.arxiv.org/abs/2511.21631
- [2]Black Forest Labs, Stephen Batifol, Andreas Blattmann, Frederic Boesel, Saksham Consul, Cyril Dignac, Tim Dockhorn, Jack English, Zion English, Patrick Esser, Sumith Kulal, Kyle Lacey, Yam Levi, Cheng Li, Dominik Lorenz, Jonas Müller, Dustin Podell, Robin Rombach, Harry Saini, Axel Sauer, and Luke Smith. FLUX.1 Kontext: Flow matching for in-context image generation and editing in latent space. arXiv preprint arXiv:2506.15742, 2025.arxiv.org/abs/2506.15742
- [3]Minghong Cai, Qiulin Wang, Zongli Ye, Wenze Liu, Quande Liu, Weicai Ye, Xintao Wang, Pengfei Wan, Kun Gai, and Xiangyu Yue. VideoCanvas: Unified video completion from arbitrary spatiotemporal patches via in-context conditioning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Findings, pp. 4475–4485, 2026.arxiv.org/abs/2510.08555
- [4]Junyi Chen, Tong He, Zhourjie Fu, Pengfei Wan, Kun Gai, and Weicai Ye. VINO: A unified visual generator with interleaved OmniModal context. arXiv preprint arXiv:2601.02358, 2026.arxiv.org/abs/2601.02358
- [5]Tsai-Shien Chen, Aliaksandr Siarohin, Willi Menapace, Yuwei Fang, Kwot Sin Lee, Ivan Skorokhodov, Kfir Aberman, Jun-Yan Zhu, Ming-Hsuan Yang, and Sergey Tulyakov. Multi-subject open-set personalization in video generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 6099–6110, 2025.arxiv.org/abs/2501.06187
- [6]Yufan Deng, Yuanyang Yin, Xun Guo, Yizhi Wang, Zhiyuan Fang, Shenghai Yuan, Yiding Yang, Angtian Wang, Bo Liu, Haibin Huang, and Chongyang Ma. MAGREF: Masked guidance for any-reference video generation with subject disentanglement. In International Conference on Learning Representations (ICLR), 2026.arxiv.org/abs/2505.23742
- [7]Songwei Ge, Aniruddha Mahapatra, Gaurav Parmar, Jun-Yan Zhu, and Jia-Bin Huang. On the content bias in Fréchet video distance. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 7277–7288, 2024.arxiv.org/abs/2404.12391
- [8]Sharath Girish, Viacheslav Ivanov, Tsai-Shien Chen, Hao Chen, Aliaksandr Siarohin, and Sergey Tyulyakov. AlcheMinT: Fine-grained temporal control for multi-reference consistent video generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 23227–23237, 2026.
- [9]Arthur Gretton, Karsten M. Borgwardt, Malte J. Rasch, Bernhard Schölkopf, and Alexander Smola. A kernel two-sample test. Journal of Machine Learning Research, 13(25):723–773, 2012. URL https://www.jmlr.org/papers/v13/gretton12a.html.DOI
- [10]Yuwei Guo, Ceyuan Yang, Anyi Rao, Maneesh Agrawala, Dahua Lin, and Bo Dai. SparseCtrl: Adding sparse controls to text-to-video diffusion models. In European Conference on Computer Vision (ECCV), pp. 330–348, 2024.
- [11]Xun Huang and Serge Belongie. Arbitrary style transfer in real-time with adaptive instance normalization. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), pp. 1501–1510, 2017.
- [12]Ziqi Huang, Yinan He, Jiashuo Yu, Fan Zhang, Chenyang Si, Yuming Jiang, Yuanhan Zhang, Tianxing Wu, Qingyang Jin, Nattapol Chanpaisit, Yaohui Wang, Xinyuan Chen, Limin Wang, Dahua Lin, Yu Qiao, and Ziwei Liu. VBench: Comprehensive benchmark suite for video generative models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 21807–21818, 2024.
- [13]Peter J. Huber. Robust regression: Asymptotics, conjectures and Monte Carlo. The Annals of Statistics, 1(5):799–821, 1973. doi: 10.1214/aos/1176342503.
- [14]Zeyinzi Jiang, Zhen Han, Chaojie Mao, Jingfeng Zhang, Yulin Pan, and Yu Liu. VACE: All-in-one video creation and editing. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 17191–17202, 2025.arxiv.org/abs/2503.07598
- [15]Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao, Chloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander C. Berg, Wan-Yen Lo, Piotr Dollar, and Ross Girshick. Segment anything. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 4015–4026, 2023.arxiv.org/abs/2304.02643
- [16]Debang Li, Zhengcong Fei, Tuanhui Li, Yikun Dou, Zheng Chen, Jiangping Yang, Mingyuan Fan, Jingtao Xu, Jiahua Wang, Baoxuan Gu, Mingshan Chang, Wenjing Cai, Yuqiang Xie, Binjie Mao, Youqiang Zhang, Nuo Pang, Hao Zhang, Yuzhe Jin, Zhiheng Xu, Dixuan Lin, Guibin Chen, and Yahui Zhou. SkyReels-V3 technique report. arXiv preprint arXiv:2601.17323, 2026.arxiv.org/abs/2601.17323
- [17]Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In International Conference on Learning Representations (ICLR), 2023.
- [18]Jie Liu, Gongye Liu, Jiajun Liang, Ziyang Yuan, Xiaokun Liu, Mingwu Zheng, Xiele Wu, Quilin Wang, Menghan Xia, Xintao Wang, Xiaohong Liu, Fei Yang, Pengfei Wan, Di Zhang, Kun Gai, Yujiu Yang, and Wanli Ouyang. Improving video generation with human feedback. In Advances in Neural Information Processing Systems, volume 38, pp. 82155–82192. Curran Associates, Inc., 2025a.arxiv.org/abs/2501.13918
- [19]Lijie Liu, Tianxiang Ma, Bingchuan Li, Zhuowei Chen, Jiawei Liu, Gen Li, Siyu Zhou, Qian He, and Xinglong Wu. Phantom: Subject-consistent video generation via cross-modal alignment. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 14951–14961, 2025b.
- [20]Shilong Liu, Zhaoyang Zeng, Tianhe Ren, Feng Li, Hao Zhang, Jie Yang, Qing Jiang, Chun yuan Li, Jianwei Yang, Hang Su, Jun Zhu, and Lei Zhang. Grounding DINO: Marrying DINO with grounded pre-training for open-set object detection. In European Conference on Computer Vision (ECCV), pp. 38–55, 2024.
- [21]Yihao Meng, Hao Ouyang, Yue Yu, Qiuyu Wang, Wen Wang, Ka Leong Cheng, Hanlin Wang, Shuai lei Ma, Yixuan Li, Cheng Chen, Yanhong Zeng, Xing Zhu, Yujun Shen, and Huamin Qu. HoloCine: Holistic generation of cinematic multi-shot long video narratives. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 461–471, 2026.
- [23]Sundar Pichai, Demis Hassabis, and Koray Kavukcuoglu. A new era of intelligence with Gemini 3. Google, official model announcement, 2025. URL https://blog.google/products-and-platforms/products/gemini/gemini-3/. Accessed September 25, 2026.
- [24]Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In Proceedings of the 38th International Conference on Machine Learning (ICML), volume 139 of Proceedings of Machine Learning Research, pp. 8748–8763. PMLR, 2021.arxiv.org/abs/2103.00020
- [25]Dino Sejdinovic, Bharath Sriperumbudur, Arthur Gretton, and Kenji Fukumizu. Equivalence of distance-based and RKHS-based statistics in hypothesis testing. The Annals of Statistics, 41(5):2263–2291, 2013. doi: 10.1214/13-AOS1140.DOI
- [26]Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations (ICLR), 2015.
- [27]Gowthami Somepalli, Anubhav Gupta, Kamal Gupta, Shramay Palta, Micah Goldblum, Jonas Geiping, Abhinav Shrivastava, and Tom Goldstein. Investigating style similarity in diffusion models. In European Conference on Computer Vision (ECCV), pp. 143–160, 2024.DOI
- [28]Tomáš Souček and Jakub Lokoč. TransNet V2: An effective deep network architecture for fast shot transition detection. In Proceedings of the 32nd ACM International Conference on Multimedia, pp. 11218–11221. ACM, 2024.arxiv.org/abs/2008.04838
- [29]Jianlin Su, Murtadha Ahmed, Yu Lu, Shengfeng Pan, Wen Bo, and Yunfeng Liu. RoFormer: Enhanced transformer with rotary position embedding. Neurocomputing, 568:127063, 2024. doi: 10.1016/j.neucom.2023.127063.DOI
- [30]Gábor J. Székely and Maria L. Rizzo. Energy statistics: A class of statistics based on distances. Journal of Statistical Planning and Inference, 143(8):1249–1272, 2013. doi: 10.1016/j.jspi.2013.03.018.DOI
- [31]Team Wan, Ang Wang, Baole Ai, Bin Wen, Chaojie Mao, Chen-Wei Xie, Di Chen, Feiwu Yu, Haiming Zhao, Jianxiao Yang, Jianyuan Zeng, Jiayu Wang, Jingfeng Zhang, Jingren Zhou, Jinkai Wang, Jixuan Chen, Kai Zhu, Kang Zhao, Keyu Yan, Lianghua Huang, Mengyang Feng, Ningyi Zhang, Pandeng Li, Pingyu Wu, Ruihang Chu, Ruii Feng, Shiwei Zhang, Siyang Sun, Tao Fang, Tianxiang Wang, Tianyi Gui, Tingyu Weng, Tong Shen, Wei Lin, Wei Wang, Wei Wang, Wenmeng Zhou, Wente Wang, Wenting Shen, Wenyuan Yu, Xianzhong Shi, Xiaoming Huang, Xin Xu, Yan Kou, Yangyu Lv, Yifei Li, Yijing Liu, Yiming Wang, Yingya Zhang, Yitong Huang, Yong Li, You Wu, Yu Liu, Yulin Pan, Yun Zheng, Yuntao Hong, Yupeng Shi, Yutong Feng, Zeyin Ziang, Zhen Huang, Zhi-Fan Wu, and Ziyu Liu. Wan: Open and advanced large-scale video generative models. arXiv preprint arXiv:2503.20314, 2025.arxiv.org/abs/2503.20314
- [32]Lei Wang, Yuxin Song, Ge Wu, Haocheng Feng, Hang Zhou, Jingdong Wang, Yaxing Wang, and Jian Yang. RefAlign: Representation alignment for reference-to-video generation. In European Conference on Computer Vision (ECCV), pp. 647–664, 2026a.arxiv.org/abs/2603.25743
- [33]Qinghe Wang, Xiaoyu Shi, Baolu Li, Weikang Bian, Quande Liu, Huchuan Lu, Xintao Wang, Pengfei Wan, Kun Gai, and Xu Jia. MultiShotMaster: A controllable multi-shot video generation framework. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 16268–16278, 2026b.arxiv.org/abs/2512.03041
- [34]Yi Wang, Yinan He, Yizhuo Li, Kunchang Li, Jiashuo Yu, Xin Ma, Xinhao Li, Guo Chen, Xinyuan Chen, Yaohui Wang, Ping Luo, Ziwei Liu, Yali Wang, Limin Wang, and Yu Qiao. InternVid: A large-scale video-text dataset for multimodal understanding and generation. In International Conference on Learning Representations (ICLR), 2024.arxiv.org/abs/2307.06942
- [35]Bing Wu, Chang Zou, Changlin Li, Duojun Huang, Fang Yang, Hao Tan, Jack Peng, Jianbing Wu, Jiangfeng Xiong, Jie Jiang, Linus, Patrol, Peizhen Zhang, Peng Chen, Penghao Zhao, Qi Tian, Songtao Liu, Weijie Kong, Weiyan Wang, Xiao He, Xin Li, Xinchi Deng, Xuefei Zhe, Yang Li, Yanxin Long, Yuanbo Peng, Yue Wu, Yuhong Liu, Zhenyu Wang, Zuozhou Dai, Bo Peng, Coopers Li, Gu Gong, Guojian Xiao, Jiahe Tian, Jiaxin Lin, Jie Liu, Jihong Zhang, Jiesong Lian, Kaihang Pan, Lei Wang, Lin Niu, Mingtao Chen, Mingyang Chen, Mingzhe Zheng, Miles Yang, Qiangqiang Hu, Qi Yang, Qiuyong Xiao, Runzhou Wu, Ryan Xu, Rui Yuan, Shanshan Sang, Shisheng Huang, Sirius Gong, Shuo Huang, Weiting Guo, Xiang Yuan, Xiaojia Chen, Xiawei Hu, Wenzhi Sun, Xiele Wu, Xianshun Ren, Xiaoyan Yuan, Xiaoyue Mi, Yepeng Zhang, Yifu Sun, Yiting Lu, Yitong Li, You Huang, Yu Tang, Yixuan Li, Yuhang Deng, Yuan Zhou, Zhichao Hu, Zhiguang Liu, Zhihe Yang, Zilin Yang, Zhenzhi Lu, Zixiang Zhou, and Zhao Zhong. HunyuanVideo 1.5 technical report. arXiv preprint arXiv:2511.18870, 2025.arxiv.org/abs/2511.18870
- [36]Binxin Yang, Shuyang Gu, Bo Zhang, Ting Zhang, Xuejin Chen, Xiaoyan Sun, Dong Chen, and Fang Wen. Paint by example: Exemplar-based image editing with diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 18381–18391, 2023.arxiv.org/abs/2211.13227
- [37]Lihe Yang, Bingyi Kang, Zilong Huang, Zhen Zhao, Xiaogang Xu, Jiashi Feng, and Hengshuang Zhao. Depth Anything V2. In Advances in Neural Information Processing Systems, volume 37, pp. 21875–21911. Curran Associates, Inc., 2024.arxiv.org/abs/2406.09414
- [38]Haojie Zhang, Di Wu, Bingyan Liu, Linjie Zhong, Yuancheng Wei, Xingsong Ye, Nanqing Liu, and Yaling Liang. MuSS: A large-scale dataset and cinematic narrative benchmark for multi-shot subject-to-video generation. arXiv preprint arXiv:2604.23789, 2026.arxiv.org/abs/2604.23789
- [39]Kaiwen Zhang, Liming Jiang, Angtian Wang, Jacob Zhiyuan Fang, Tiancheng Zhi, Qing Yan, Hao Kang, Xin Lu, and Xingang Pan. StoryMem: Multi-shot long video storytelling with memory. arXiv preprint arXiv:2512.19539, 2025.arxiv.org/abs/2512.19539









