betaFeedback

WorksComputer Science

Temporal Specification Guidance for Text-to-Video Generation

Abstract

Text-to-video models often generate the visual concepts requested in natural language prompts but fail to satisfy their intended ordering, timing, and persistence requirements. We propose representing these requirements as specifications in a formal Temporal Logic, and introduce Temporal Specification Guidance (TSG), a training-free inference-time framework that turns temporal specifications into executable objectives for guiding video generation during sampling. TSG scores traces of visual concept evidence using differentiable quantitative semantics and uses the score's gradients to construct a specification-guided denoising direction. We instantiate this framework with video-text attention traces, efficient differentiable scores for Metric Temporal Logic, and gradient-derived attention biases. This instantiation requires neither an external concept classifier nor backpropagation through the video transformer. Its attention-steered forward pass yields a denoising direction that augments classifier-free guidance (CFG). On a benchmark of 220 prompts spanning 11 categories of temporal constraints, including ordered object entry and state transitions, this instantiation improves specification satisfaction accuracy over CFG by 9.5-20 percentage points across five models, with minimal memory overhead. These results demonstrate the potential of temporal specifications and differentiable satisfaction objectives as a flexible interface for controlling video generation.

Introduction

Text-to-Video generation has seen tremendous progress in recent years, with models such as Gemini Omni [8], Runway Gen [5, 21], Wan [27], and CogVideoX [30] producing videos with improved visual quality and semantic fidelity. Classifier-Free Guidance (Ho & Salimans, 2022) was introduced to improve adherence to natural language prompts in image generation and is now widely adopted by video generation models [14 a]. However, adherence to temporal constraints remains challenging [3, 22]. Figure 1 shows two examples of such failures with CogVideoX-5B. While the model broadly incorporates the semantic concepts described in the text prompts (e.g., the presence of a traffic light or a drone), it fails to follow the required ordering, persistence, and timing requirements. In these examples, the model misses the intended timed color progression and the eventual appearance of a hiker or a flare signal, respectively.

Comparison of CFG-only and TSG video generation across frames for traffic-light progression and rescue cues

Figure 1. TSG improves adherence to temporal requirements. Top: CFG produces an amber light for the first two-thirds while TSG follows the expected yellow–red–green progression. Bottom: CFG omits both requested rescue cues; TSG generates a flame signal while retaining the drone. Videos are generated with CogVideoX-5B.

In this work, we propose expressing temporal requirements as specifications in formal Temporal Logics. Formal temporal specifications can precisely express requirements that are implicitly described in natural language prompts. Frame-level visual concepts, such as the presence of a traffic light or the associated colors, can be represented as atomic propositions. Temporal Logics offer standard Boolean operators (negation, conjunction, and disjunction) and temporal operators such as Always (GG), Until (UU), and Eventually (FF) to express persistence and ordering requirements. In this work, we present a specification language adopted from Metric Temporal Logic [17] to express temporal requirements with different degrees of timing precision. Representations of temporal requirements from prior work, including timed binary masks [22] and untimed Temporal Logic formulae [3], can also be written as specifications in this language.

We propose Temporal Specification Guidance (TSG), a training-free inference-time framework for improving adherence to temporal specifications with transformer-based video generation models. Our key insight is that temporal specifications provide an executable objective for guiding video generation during sampling. TSG makes this practical through differentiable specification scores and attention interventions that avoid backpropagation through the video transformer. Concretely, TSG computes traces of visual concept evidence using video-text attention from the video transformer. For every attention head, TSG computes biases as gradients of a differentiable specification score, steers the attention scores with these biases, and computes the specification-guided direction from the steered forward pass through the video transformer. Our use of attention as a proxy for visual concept presence builds on prior work on attention-based semantic guidance in image and video generation [2, 22]. The use of video-text attention mitigates the need for an external concept classifier during generation. Because differentiation is restricted to the attention-derived traces and their specification scores, TSG avoids backpropagation through the video transformer, reducing the associated computational and memory demands.

We compute a differentiable specification score over attention traces using a quantitative semantics for Metric Temporal Logic. Inspired by efficient log-domain quantitative semantics for Linear Temporal Logic [16], our quantitative semantics aggregates support for the temporal witnesses and alternatives admitted by a specification. Its log-domain form provides differentiable guidance and can be efficiently evaluated in time linear in trace length for a fixed specification. We establish monotonicity in independent literal-support inputs and predictable concept-score gradient signs under consistent polarity.

We evaluate TSG on a benchmark of 220 prompts spanning temporal constraints from 11 categories, including timed state transitions, entity appearance and disappearance, persistence, and choice. Across five models from the CogVideoX [30] and Wan [27] families, TSG improves specification satisfaction accuracy by 9.5–20 percentage points over CFG-only sampling. We also evaluate TSG with Wan 2.1 1.3B on strictly-timed prompts from the TempoControl object appearance benchmark [22], where it outperforms CFG sampling by up to 22 percentage points in temporal accuracy and matches the state-of-the-art method on that benchmark with approximately 62% lower peak GPU memory. Together, these findings support specification-guided attention steering as an effective and memory efficient approach to temporal control in video generation.

Temporal constraints as formal specifications

Natural Language prompts to video generation models discuss the visual concepts that must be present in the video, along with the order and optionally the timing of their appearance. In this section, we discuss a formal specification language for these constraints.

Let M\mathcal{M} represent a Text-to-Video (T2V) generation model that takes a text prompt pp as input and outputs a video v=[v1,…,vT]v = [v_{1}, \ldots, v_{T}] with TT discrete frames. Let CC denote the set of all frame-level visual concepts of interest. Examples of such visual concepts include entity presence (e.g., traffic light), entity states (e.g., the color red), and settings with properties (e.g., sky at dusk). We use y(vi,c)∈{0,1}y(v_i, c) \in\{0,1\} to denote the presence or absence of the visual concept cc in frame viv_i.

Specification language for temporal constraints. We propose a fragment of Metric Temporal Logic over finite traces (MTLfMTL_f) as a suitable language for specifying temporal constraints over visual concepts Koymans [17]. A specification φ\varphi in MTLfMTL_f takes the following form:

φ:=⊤∣⊥∣c∣¬c∣φ1∧φ2∣φ1∨φ2∣XIφ∣φ1UIφ2∣GIφ\varphi:= \top\mid\bot\mid c \mid\neg c \mid\varphi_1 \land\varphi_2 \mid\varphi_1 \lor\varphi_2 \mid X_I\varphi\mid\varphi_1 U_I\varphi_2 \mid G_I\varphi

where ⊤\top and ⊥\bot represent True and False, respectively, and cc denotes an atomic proposition corresponding to a visual concept cc. The Boolean operators ¬\neg, ∧\land, and ∨\lor denote negation, conjunction, and disjunction, respectively. The temporal operators XIX_I, UIU_I and GIG_I denote Next, Until, and Always, in interval I⊆[0,1]I \subseteq[0,1], resp. The temporal operator Eventually FIF_I can be derived as FIφ=⊤UIφF_I\varphi= \top U_I\varphi.

This language can be used to specify several interesting constraints on persistence, order, and timing of visual concepts. Time intervals I=[t1,t2]I = [t_1,t_2] allow us to express specifications with varying timing precision: untimed (t1=0,t2=1t_1 = 0, t_2 = 1), interval-timed (t1≥0,t2≤1t_1 \ge0, t_2 \le1), and strictly-timed (0≤t1=t2≤10 \le t_1 = t_2 \le1). Note that the intervals I=[t1,t2]I = [t_1,t_2] are written over time normalized in [0,1][0,1] and the corresponding offsets can be computed as [⌈t1(T−1)⌉,⌊t2(T−1)⌋][\lceil t_1(T-1)\rceil,\lfloor t_2(T-1)\rfloor]. The constraint from Figure 1 that requires the drone to remain visible throughout the video and at least one of the two rescue cues to appear at some point in the second half can be written in this language as:

φrescue=G[0,1]drone∧F[0.5,1](flare_signal∨stranded_hiker)\varphi_{\mathrm{rescue}} = G_{[0,1]}\mathrm{drone} \land F_{[0.5,1]}(\mathrm{flare\_signal} \lor\mathrm{stranded\_hiker})

Representing temporal constraints from prior work. This specification language can be used to express temporal constraints from recent works, including untimed Temporal Logic (TL) specifications Choi et al. [3] and binary temporal masks that prescribe the presence or absence of a visual concept in each frame Schiber et al. [22]. Untimed TL specifications can be written with the trivial [0,1][0,1] intervals. A temporal mask can be encoded as a conjunction of Always constraints over intervals where the mask is constant, using cc for presence and ¬c\neg c for absence. Additionally, we can write specifications that correspond to a set of temporal masks, including the choice between visual concepts and the disappearance of an object within an interval. In other words, a temporal mask corresponds to a given valid trace while our specifications can admit several valid traces.

Deciding whether a video satisfies a specification. These specifications can be supplied directly with the text prompt, or can be extracted from the prompt using a Large Language Model (LLM). Given the frame-level labels y(vi,c)y(v_i,c) for visual concepts, the label y(v,φ,t)y(v,\varphi,t) for a video vv satisfying specification φ\varphi starting from frame 1≤t≤T1 \le t \le T can be computed deterministically using the standard Boolean semantics for MTLfMTL_f. We present this semantics, along with examples of other specifications, in Appendix § 12. The examples in Figure 1 thus score y(v,φ,1)=0y(v,\varphi,1)=0 with CFG-only sampling, which we discuss next, and y(v,φ,1)=1y(v,\varphi,1)=1 with TSG, discussed in § 4.

Video Generation and Classifier Free Guidance

We focus on latent text-to-video models that generate videos from text prompts through iterative sampling in a compressed latent space, using a transformer to predict a denoising direction at each step. This formulation encompasses model families such as CogVideoX Yang et al. [30] and Wan Wan et al. [27]. The sampling process takes place in a compressed spatio-temporal latent space. A video v∈RT×H×W×3v \in\mathbb{R}^{T \times H \times W \times3} corresponds to a latent z∈RTz×Hz×Wz×Czz \in\mathbb{R}^{T_z \times H_z \times W_z \times C_z}, where TzT_z and (Hz,Wz)(H_z,W_z) denote the latent temporal and spatial resolutions respectively, and CzC_z denotes the number of latent channels. A 3D Variational Autoencoder (VAE) is trained to decode the video v=D(z)v = D(z). Given a text prompt pp, a text encoder produces a sequence of tokens epe_p. Sampling begins with a Gaussian latent zN∼N(0,I)z_N \sim\mathcal{N}(0,I) and proceeds through NN steps. At step kk, the Transformer TθT_\theta predicts the update direction dkd_k as:

dk=Tθ(zk,ep,k),zk−1=Step⁡k(zk,dk).d_k = T_\theta(z_k,e_p,k), \qquad z_{k-1} = \operatorname{Step}_k(z_k,d_k).

We refer to dkd_k as the update direction or denoising direction interchangeably. Step⁡k\operatorname{Step}_k incorporates the sampling rule and update schedule, and can vary across models. The latent generated from the final step (z0z_0) is then de-compressed by the VAE decoder DD to the output video v=D(z0)v = D(z_0).

Classifier-free Guidance. Conditioning on the text prompt alone may not provide sufficient control over the content of the generated video. Classifier-free guidance (CFG) Ho and Salimans [12] was proposed to strengthen this conditioning during sampling, without requiring an external classifier. At each sampling step, CFG combines two update directions using the transformer:

dk,u=Tθ(zk,eref,k),dk,c=Tθ(zk,ep,k),dk,cfg=dk,u+λcfg(dk,c−dk,u).(1)d_{k,u} = T_\theta(z_k,e_{\mathrm{ref}},k), \qquad d_{k,c} = T_\theta(z_k,e_p,k), \qquad d_{k,\mathrm{cfg}} = d_{k,u} + \lambda_{\mathrm{cfg}}(d_{k,c} - d_{k,u}). \tag*{(1)}

Here, erefe_{\mathrm{ref}} represents the embedding of an empty prompt or a negative prompt. The update direction for step kk, dk,cfgd_{k,\mathrm{cfg}} is computed using the predictions from the unconditional or reference branch dk,ud_{k,\mathrm{u}} and the prompt conditional branch dk,cd_{k,\mathrm{c}}. The strength of the extrapolation is controlled by the CFG guidance scale λcfg∈R\lambda_{\mathrm{cfg}} \in\mathbb{R}, with different recommendations across models.

TSG: Specification Guidance for Text-to-Video Generation

We propose Temporal Specification Guidance (TSG), a training-free sampling-time framework that augments CFG with an update direction dk,tsgd_{k,\mathrm{tsg}} guided by the temporal specification φ\varphi. This framework has three components: temporal traces that provide evidence of visual concepts, a differentiable scoring function that evaluates these traces against the specification φ\varphi, and an update mechanism that uses gradients of this score to steer generation. In this work, we compute traces of visual concept evidence using video-text attention within the transformer TθT_\theta, score them against φ\varphi with a differentiable quantitative semantics for MTLfMTL_f, and use the gradients as attention logit biases. This attention-steered forward pass produces the specification-guided direction dk,φd_{k,\varphi}. We present the overall process in Figure 2 and discuss each step in detail now.

Temporal Specification Guidance workflow showing CFG and TSG passes, attention steering, and generated video frames

Figure 2. Temporal Specification Guidance (TSG). During an additional conditional pass, TSG scores each head’s attention traces against the specification and applies gradient-derived logit biases. The resulting prediction augments CFG. Transformer weights receive no gradients. The example presents videos generated with Wan2.2 5B.

Temporal Specification-guided sampling. Let dk,ud_{k,\mathrm{u}} and dk,cd_{k,\mathrm{c}} denote the reference and prompt-conditional direction predictions from Section 3. Similarly, let dk,cfgd_{k,\mathrm{cfg}} and λk,cfg\lambda_{k,\mathrm{cfg}} denote the CFG-predicted direction and the CFG guidance scale, respectively. At sampling step kk, TSG computes a specification-guided direction dk,φd_{k,\varphi} using φ\varphi and yields the update direction dk,tsgd_{k,\mathrm{tsg}} as:

dk,tsg=dk,cfg+λk,tsg(dk,φ−dk,c),zk−1=Step⁡k(zk,dk,tsg).d_{k,\mathrm{tsg}} = d_{k,\mathrm{cfg}} + \lambda_{k,\mathrm{tsg}}(d_{k,\varphi} - d_{k,\mathrm{c}}), \qquad z_{k-1} = \operatorname{Step}_k(z_k,d_{k,\mathrm{tsg}}).

As with CFG, the strength of TSG is controlled by the TSG guidance scale λk,tsg≥0\lambda_{k,\mathrm{tsg}} \ge0. As the CFG guidance scale λk,cfg\lambda_{k,\mathrm{cfg}} usually takes values recommended by model providers and can dynamically vary across sampling steps, we compute λtsg\lambda_{\mathrm{tsg}} using the ratio between the TSG contribution and the λcfg\lambda_{\mathrm{cfg}}-scaled CFG contribution as:

λk,tsg=ρk,tsg⋅∥λk,cfg(dk,c−dk,u)∥2∥dk,φ−dk,c∥2.(2)\lambda_{k,\mathrm{tsg}} = \rho_{k,\mathrm{tsg}} \cdot\frac{\left\lVert\lambda_{k,\mathrm{cfg}}(d_{k,\mathrm{c}} - d_{k,\mathrm{u}}) \right\rVert_2}{\left\lVert d_{k,\varphi} - d_{k,\mathrm{c}} \right\rVert_2}. \tag*{(2)}

The parameter ρk,tsg\rho_{k,\mathrm{tsg}} denotes the relative strength of TSG with respect to CFG. With ρk,tsg=1\rho_{k,\mathrm{tsg}} = 1, TSG’s contribution is scaled to match that of CFG. We apply TSG for the first NtsgN_{\mathrm{tsg}} update steps, with CFG applied during the remaining steps. We next describe how the direction dk,φd_{k,\varphi} is computed.

Attention-derived temporal traces for visual concepts. To mitigate the need for an external concept classifier and inspired by recent work (Scher et al., 2026), we use video-text attention to compute temporal traces of visual concepts. The text prompt pp and video latent zz provide tokens to serve as text keys and video queries, respectively, for every attention head hh in layer ℓ\ell of transformer TθT_\theta. We map every concept proposition cc in specification φ\varphi to the set of token indices PcP_c in prompt pp. Let QtQ_t be the set of spatial video queries for latent frame ztz_t and A[q,j]A[q,j] represent the post-softmax attention score for video token q∈Qtq \in Q_t and text token index jj. We define the raw attention trace for concept cc at layer ℓ\ell and head hh, at,ca_{t,c} and the corresponding concept score trace, y^(zt,c)\hat{y}(z_t,c) as:

at,c=1∣Qt∣∑q∈Qtmax⁡j∈PcA[q,j],y^(zt,c)=σ(at,c−μcτsc+ϵ).(3)a_{t,c} = \frac{1}{\lvert Q_t\rvert}\sum_{q\in Q_t}\max_{j\in P_c} A[q,j], \qquad\hat{y}(z_t,c) = \sigma\left(\frac{a_{t,c}-\mu_c}{\tau s_c+\epsilon}\right). \tag*{(3)}

The score at,ca_{t,c} corresponds to the maximum attention to any token corresponding to concept cc, averaged over all spatial positions for latent frame ztz_t. We compute concept presence scores y^(zt,c)\hat{y}(z_t,c) by scaling attention scores over latent frames using the sigmoid function with temporal mean μc\mu_c and population standard deviation scs_c. τ>0\tau> 0 is a temperature, and ϵ>0\epsilon> 0 stabilizes the denominator.

Note that the latent frame ztz_t does not correspond to video frame vtv_t because it is defined at the latent temporal resolution Tz<TT_z < T. We limit steering to this latent resolution and convert normalized specification intervals to offsets on this grid using the convention in Section 2, with TT replaced by TzT_z.

Differentiable Specification Scores with LogSTOP. Inspired by efficient quantitative semantics for Linear Temporal Logic specifications over videos [16], we define an efficient interval-aware sum–product quantitative semantics in log space for MTLfMTL_f specifications. Given an MTL specification φ\varphi and concept score traces y^(zt,c)\hat{y}(z_t,c) at attention layer ℓ\ell and head hh, we can compute the score y^(z,φ)\hat{y}(z,\varphi) recursively using Algorithm 1 in Appendix B. Intuitively, conjunction and Always multiply support for their requirements, while disjunction, Eventually, and Until sum support for admissible alternatives or temporal witnesses.

The score for any specification φ\varphi can be computed using O(∣φ∣Tz)O(|\varphi|T_z) arithmetic operations (Proposition B.2). The score is non-decreasing in independent literal-support inputs, as proved in Proposition B.3. This yields predictable gradient signs for concept–time inputs with consistent polarity (Corollary B.4). The direction is determined by the surrounding trace when a concept appears with both polarities. Appendix B provides further details on this monotonicity property, the algorithm’s complexity, and examples of the resulting gradients.

Online attention steering. For each layer ℓ\ell, head hh, and concept c∈φc \in\varphi, we differentiate y^(zt,φ)\hat{y}(z_t,\varphi) with respect to the raw trace at,ca_{t,c}:

g⋅,c=∇a⋅,cy^(zt,φ),b⋅,c=ηg⋅,c/∥g⋅,c∥∞,B[q,j]=∑c:j∈Pcbt(q),c.g_{\cdot,c} = \nabla_{a_{\cdot,c}}\hat{y}(z_t,\varphi), \qquad b_{\cdot,c} = \eta g_{\cdot,c}/\lVert g_{\cdot,c}\rVert_{\infty}, \qquad B[q,j] = \sum_{c:j\in P_c} b_{t(q),c}.

where bt,cb_{t,c} is the normalized attention bias for temporal position tt and concept cc. We set b⋅,c=0b_{\cdot,c}=0 for negligible gradients. The step size η\eta controls the bias magnitude. We broadcast temporal bias bt,cb_{t,c} to every spatial query q∈Qtq \in Q_t at position t(q)t(q) and every text token jj associated with the concept cc as B[q,j]B[q,j]. For spatial query qq, we further center the biases by the mean bias over all text keys and clip them in a given range [bmin⁡,bmax⁡][b_{\min}, b_{\max}].

We apply the resulting bias to the logits for layer ℓ\ell and head hh as:

L~z,pℓ,h=Lz,pℓ,h+Bℓ,h(4)\widetilde{L}^{\ell,h}_{z,p} = L^{\ell,h}_{z,p} + B^{\ell,h} \tag*{(4)}

The biased attention is used to compute the layer’s output, and the forward pass continues with the updated representations. Biases are computed anew at each selected layer and sampling step, separately for each head. The completed guided pass yields the specification-guided direction dk,φd_{k,\varphi}.

Experimental Evaluation

Setup and Benchmarks

The TSG Benchmark with interval-timed temporal constraints. Existing benchmarks primarily focus on untimed constraints, such as state transitions in TC-Bench [6] and NeuS-V [23], and strictly-timed constraints such as TempoControl [22]. To evaluate TSG on interval-timed constraints, we construct a benchmark with 220 text prompts from 11 categories of temporal constraints. These categories are presented in Figure 3 and include variations in the requested timing, ordering, persistence, and choice among visual concepts.

TSG benchmark with interval-timed temporal requirements

Figure 3. TSG benchmark with interval-timed temporal requirements from 11 categories. Shaded intervals indicate permitted event timing within the video duration; ∅ denotes absence, and “or” denotes mutually exclusive outcomes. Pictograms are illustrative.

We use GPT-5.6-Sol to propose 50 entities spanning objects from VBench Huang et al., [15] and background settings, with associated states (e.g., pose of an object, or time of day for a setting). We construct sets of 20 prompts for each temporal constraint category in Figure 3. We restrict the intervals to halves and thirds within 5–6-second videos, allowing transitions to occur at any point within each interval. Finally, we manually assign temporal specification templates for each category and instruct GPT-5.6-Sol to instantiate the specifications with atomic propositions mapped to respective visual concepts in each prompt. Appendix § 15 provides further details on examples of prompts for each category along with the list of temporal specification templates.

Baselines and Models. We evaluate text-to-video generation models with CFG sampling as our main baseline. We include video models from two model families: CogVideoX-2B and CogVideoX-5B Yang et al., [30], and Wan2.1 T2V-1.3B, Wan2.2 TI2V-5B, and Wan2.2 T2V A14B Wan et al., [27]. These models cover both joint video–text attention, used by CogVideoX, and dedicated video-to-text cross-attention, used by Wan. We use the CFG settings recommended by the model providers. On the strictly-timed prompts from the TempoControl benchmark, we also compare TSG against the TempoControl method. We use TSG during the first 15 sampling steps with pk,tsg=1p_{k,\mathrm{tsg}} = 1. Appendices § 16.§ 1 and § 16.§ 2 describe the model settings and TSG configuration; Appendices § 16.§ 3 and § 16.§ 5 detail the TempoControl comparison and compute measurements.

Metrics. We uniformly sample 21 decoded frames from each video, and evaluate the frame-level presence of a visual concept using Qwen2.5-VL-7B-Instruct. We use the ground-truth semantics of MTL described in Appendix § 12 to compute satisfaction accuracy (Sat. Acc.). We also evaluate visual quality of the generated videos using VBench’s MUSIQ-SPAQ imaging quality scorer Huang et al., [15], along with the time taken for generation (latency) and the peak GPU memory allocated to the process. Appendix § 16.§ 6 provides further details.

RQ1. Does TSG improve adherence to temporal specifications?

Result 1: TSG consistently outperforms CFG-only on interval-timed and strictly-timed temporal constraints. Table 1 presents the results comparing TSG against CFG-only sampling on the TSG benchmark. TSG improves satisfaction accuracy by 9.5–20 percentage points across models, with Wan 2.2 A14B reporting the highest satisfaction accuracy of 46.8% with TSG. Interestingly, Wan2.1 1.3B reports a 31.4% accuracy with TSG compared to Wan2.2 5B’s 25% with CFG-only sampling, despite having fewer parameters. We see this pattern more broadly: smaller models with TSG report higher or comparable satisfaction accuracies to larger models with CFG only. On the strictly-timed prompts from the TempoControl benchmark, TSG improves temporal accuracy over CFG-only by 17.6–22.0 percentage points across splits, and exceeds full TempoControl by 2.97 and 0.58 percentage points on the one-object and two-object splits, respectively (Table 2).

Table 2: TempoControl benchmark results with Wan2.1 1.3B. Parentheses show accuracy changes in percentage points and computational-cost ratios relative to CFG. Latency reports mean ±\pm standard deviation; memory reports peak allocation. We present setup details in Appendix § 16.§ 3.

MethodTemporal Acc ↑\uparrowLatency (min/video) ↓\downarrowPeak GPU mem (GiB) ↓\downarrow
One object (N=80)
Base69.40% (0.0%)1.29 ±\pm 0.01 (1.00×\times)30.48 (1.00×\times)
TempoControl (one round)72.44% (+3.0%)2.23 ±\pm 0.01 (1.72×\times)79.41 (2.61×\times)
TempoControl (full)84.05% (+14.6%)9.87 ±\pm 2.10 (7.63×\times)79.43 (2.61×\times)
TSG87.02% (+17.6%)2.02 ±\pm 0.01 (1.56×\times)30.52 (1.00×\times)
Two object (N=82)
Base36.12% (0.0%)1.30 ±\pm 0.01 (1.00×\times)30.48 (1.00×\times)
TempoControl (one round)45.53% (+9.4%)2.28 ±\pm 0.10 (1.75×\times)79.42 (2.61×\times)
TempoControl (full)57.49% (+21.4%)8.11 ±\pm 3.41 (6.24×\times)79.43 (2.61×\times)
TSG58.07% (+22.0%)2.27 ±\pm 0.01 (1.74×\times)30.52 (1.00×\times)

Table 2.

RQ2. What are the computational and quality costs of TSG?

Result 2: TSG incurs little to no memory overhead but increases time taken for generation. TSG matches the CFG-only sampling in terms of the peak GPU memory allocated to the model. This is expected as attention steering detaches the computational graph and hence does not need to store gradients with respect to model weights. TSG uses 30.52 GiB versus 79.43 GiB for full TempoControl, a reduction of approximately 62%, as TempoControl optimizes video latents requiring a gradient computation graph through the entire video transformer (Table 2).

The additional specification-guided forward pass through the transformer incurs a latency cost with TSG. This scales with the size of the model as expected, with TSG taking around 1 extra minute with Wan2.1 1.3B and 11 extra minutes with Wan2.2 A14B (Table 1). Full TempoControl takes approximately 4.9×\times and 3.6×\times as long as TSG on the one-object and two-object splits, respectively (Table 2). Limiting TempoControl to one optimization round brings its latency close to TSG’s but retains approximately 79.4 GiB peak memory; TSG improves temporal accuracy over this variant by 20.1% and 27.5% relative to its one-object and two-object scores.

ModelMethodSat Acc. (%)Img. qualityLatency (min)Peak GPU mem.
CogVideoX 2BBase10.5% (+0.0%)59.80 (+0.0)0.75 ± 0.03 (1.00×)26.30 GiB
TSG30.5% (+20.0%)56.85 (-3.0)2.62 ± 0.38 (3.49×)26.33 GiB
CogVideoX 5BBase8.6% (+0.0%)63.72 (+0.0)1.82 ± 0.08 (1.00×)31.28 GiB
TSG26.8% (+18.2%)62.18 (-1.5)6.06 ± 0.86 (3.33×)31.31 GiB
Wan 2.1 1.3BBase15.9% (+0.0%)69.25 (+0.0)1.39 ± 0.02 (1.00×)30.48 GiB
TSG31.4% (+15.5%)67.39 (-1.9)2.35 ± 0.17 (1.69×)30.52 GiB
Wan 2.2 5BBase25.0% (+0.0%)70.38 (+0.0)2.43 ± 0.03 (1.00×)46.83 GiB
TSG34.5% (+9.5%)69.16 (-1.2)4.56 ± 0.41 (1.87×)45.15 GiB
Wan 2.2 A14BBase35.9% (+0.0%)65.42 (+0.0)24.28 ± 0.21 (1.00×)109.33 GiB
TSG46.8% (+10.9%)68.63 (+3.2)35.18 ± 1.93 (1.45×)107.95 GiB

Table 1. TSG improves satisfaction accuracy on a benchmark of 220 prompts. Latency and Memory measurements are on B200 for all models, except for Wan2.2 A14B which was run on H200.

Result 3: TSG modestly impacts the visual quality of the generated videos. TSG lowers imaging quality by up to 3.0 points on four models and improves it by 3.2 points on Wan2.2 A14B (Table 1).

Analysis and Discussion

Category-wise results and qualitative examples. Figure 4 (left) shows category-wise satisfaction accuracies, averaged across five models, with whiskers indicating the minimum and maximum. TSG improves mean accuracy across all 11 categories by approximately 2–43 percentage points. The largest gains occur for alternative final states (23% to 66%), two-state transitions (35% to 71%), and reversible state returns (21% to 43%). Performance nevertheless varies substantially across models: with TSG, accuracy ranges from 20% to 75% for reversible state returns and from 10% to 80% for transitions with a persistent entity. Handover with overlap, triggered responses, and three ordered entries remain challenging, with mean accuracies of approximately 9%, 17%, and 12%, respectively, and gains of only about 2 percentage points. These results show that TSG is particularly effective for state-transition requirements, while coordinating multiple entity appearances, disappearances, and dependencies remains challenging.

Category-wise results and ablations and guidance-strength and CFG–TSG ablations

Figure 4. Category-wise results and ablations. Left: mean satisfaction accuracy across five models, with min–max whiskers. Right: guidance-strength (top) and CFG–TSG (bottom) ablations.

Figures 1, 2, and 5 illustrate how TSG improves adherence over CFG-only sampling across temporal requirements from various categories in Figure 3.

Varying the TSG Guidance strength. We vary the TSG strength ρ∈{0,1,2,3,4,5}\rho\in\{0, 1, 2, 3, 4, 5\} on a fixed 25-prompt subset per model (top-right in Figure 4), with ρ=0\rho= 0 corresponding to CFG-only sampling. Both models attain their highest satisfaction accuracy at ρ=1\rho= 1: 32% for Wan2.1 1.3B and 36% for Wan2.2 5B, improving over CFG-only by 16 and 12 percentage points, respectively. The accuracy is non-increasing beyond ρ=1\rho= 1, and at ρ=5\rho= 5 it matches or falls below the respective CFG-only baseline. These results support ρ=1\rho= 1 as the default among the tested strengths on this subset and show that increasing specification guidance beyond this level does not improve adherence. Appendix E.4 provides the sampling configurations and ablation protocol.

TSG-CFG interaction. To evaluate whether the gains from TSG are an artifact of a higher guidance strength alone, we compare it against CFG with twice the guidance strength (bottom-right in Figure 4). We further evaluate the need for the additional prompt-conditional pass by comparing our hybrid CFG + TSG setup against TSG only, and TSG only for the first 15 denoising steps followed by CFG. Combined CFG + TSG reports the highest specification satisfaction accuracies of 32% and 36% on Wan2.1 1.3B and Wan2.2 5B, respectively. Doubling the CFG strength yields 24% and 20%, respectively, falling short of combined guidance on both models. The effects of replacing CFG with TSG are mixed across models. These results support our design choice of combining CFG with TSG.

Related work

Test-time control for video generation. Methods for controllable video generation differ primarily in terms of the control surface and the time of control (during or post sampling). Control surfaces include spatiotemporal scene layouts (Lian et al., [18]; Qu et al., [20]), and motion transfer using reference videos (Ling et al., [19]), which are complementary to TSG’s focus on temporal constraints over frame-level visual concepts. Closest to our work, TempoControl (Schiber et al., [22]) aligns concept attention traces with prescribed binary temporal masks by repeatedly optimizing video latents during sampling. TSG offers control over more expressive temporal constraints and outperforms TempoControl on strict-timed traces with lower computational overhead (Table 2). Post-sampling temporal control methods include NeuS-E (Choi et al., [3]) that uses Vision Language Models (VLM) to detect visual concepts and feedback from a Temporal Logic Model Checker to edit faulty video frames. TSG and NeuS-E offer tradeoffs as TSG does not require access to a VLM or Image Editing model, while NeuS-E can be applied to black-box models. MinT (Wu et al., [29]) learns temporal control by fine-tuning a video diffusion transformer on temporally grounded data. TSG operates at test-time with frozen parameters and no additional training data.

Attention steering for text, image, and video generation. Attention provides both a signal of concept grounding and a mechanism for controlling generation of text (Zhang et al., [31]; Guardiola et al., 2025), and images (Hertz et al., [11]; Chefer et al., [2]). VideoTetris (Tian et al., [26]) composes attention maps across space and time to control spatial positions of concepts. TSG supports richer temporal compositions beyond transitions but does not directly support control of spatial positions.

Representative examples comparing CFG-only sampling and TSG on ordered entry, three-state transition, and overlapping handover

Figure 5. Representative examples comparing CFG-only sampling (top row of each panel) with TSG (bottom row) on ordered entry, three-state transition, and overlapping handover respectively. The first two examples are generated using Wan2.1 T2V-1.3B, and the third example is generated using Wan2.2 TI2V-5B in text-to-video mode.

Benchmarks for video generation. VBench [15] assesses visual quality, temporal consistency, and semantic alignment, while T2V-CompBench [25] evaluates compositional capabilities such as attribute binding, spatial relationships, actions, and motion. These broader evaluations remain complementary to specification satisfaction. TC-Bench [6] and NeuS-V [23] evaluate untimed state transitions and temporal relationships, while TempoControl [22] tests exact timing of object appearance. These temporal constraints complement the interval-timed constraints in our benchmark. Our benchmark additionally evaluates alternate outcomes through choice, not supported by any prior benchmark.

Conclusion and Future Work

We present Temporal Specification Guidance (TSG), a training-free framework that turns temporal specifications into executable objectives for guiding video generation during sampling. We instantiate TSG with attention-derived concept traces, differentiable Metric Temporal Logic scores, and attention interventions that avoid backpropagation through the video transformer. This instantiation improves specification adherence across five models on a 220-prompt benchmark spanning 11 categories and achieves comparable temporal accuracy to TempoControl at lower computational cost.

Future work should explore traces of concept evidence beyond video-text attention maps, along with other scoring functions. TSG is limited to the latent temporal resolution of models and extending it to finer-grained temporal constraints is an interesting direction, along with identifying richer specification languages to express temporal requirements.

AI use statement

In this work, we used generative AI tools to assist benchmark construction, including proposing entities and states and drafting prompts and specification instances (Appendix D), and to assist manuscript editing and LaTeX preparation. We have reviewed all AI-assisted work and take responsibility for the final content of this work, including text, claims, and artifacts produced with the aid of generative AI.

Reproducibility statement

We present details on benchmark construction, along with specification templates and example prompts, in Appendix D. We further document settings used with different video generation models, along with detailed evaluation protocol in Appendix E. Finally, we present pseudocode for the TSG algorithm in Appendix C and the quantitative semantics in Appendix B.

References

Boolean MTL semantics and examples

Given the frame-level labels y(vi,c)y(v_i,c) for visual concepts, the label y(v,φ,t)y(v,\varphi,t) for a video vv satisfying specification φ\varphi starting from frame 1≤t≤T1 \le t \le T can be computed deterministically using the standard Boolean semantics for MTLfMTL_f as follows:

  • y(v,⊤,t)=1y(v,\top,t)=1 and y(v,⊥,t)=0y(v,\bot,t)=0.

  • y(v,c,t)=y(vt,c)y(v,c,t)=y(v_t,c).

  • y(v,¬c,t)=1y(v,\neg c,t)=1 iff y(v,c,t)=0y(v,c,t)=0.

  • y(v,φ1∧φ2,t)=1y(v,\varphi_1\land\varphi_2,t)=1 iff y(v,φ1,t)=1y(v,\varphi_1,t)=1 and y(v,φ2,t)=1y(v,\varphi_2,t)=1.

  • y(v,φ1∨φ2,t)=1y(v,\varphi_1\lor\varphi_2,t)=1 iff y(v,φ1,t)=1y(v,\varphi_1,t)=1 or y(v,φ2,t)=1y(v,\varphi_2,t)=1.

  • y(v,XIφ,t)=1y(v,X_I\varphi,t)=1 iff t<Tt<T, aI≤1≤bIa_I\le1\le b_I, and y(v,φ,t+1)=1y(v,\varphi,t+1)=1.

  • y(v,GIφ,t)=1y(v,G_I\varphi,t)=1 iff y(v,φ,t′)=1y(v,\varphi,t')=1 for every integer t′t' satisfying t+aI≤t′≤min⁡{t+bI,T}t+a_I\le t'\le\min\{t+b_I,T\}.

  • y(v,φ1UIφ2,t)=1y(v,\varphi_1U_I\varphi_2,t)=1 iff there exists an integer t′t' satisfying t+aI≤t′≤min⁡{t+bI,T}t+a_I\le t'\le\min\{t+b_I,T\} such that y(v,φ2,t′)=1y(v,\varphi_2,t')=1 and y(v,φ1,t′′)=1y(v,\varphi_1,t'')=1 for every integer t′′t'' satisfying t≤t′′<t′t\le t''<t'.

where [aI,bI][a_I,b_I] is the integer-offset interval corresponding to I=[t1,t2]I=[t_1,t_2], with aI=⌈t1(T−1)⌉a_I=\lceil t_1(T-1)\rceil and bI=⌊t2(T−1)⌋b_I=\lfloor t_2(T-1)\rfloor.

Example: departure with different timing constraints. For instance, we can represent "a dog leaves the scene" in a 5-s long video, with decreasing flexibility in timing as:

dog U (G¬dog)dog\ U\ (G\neg dog)

Leaves at an unspecified time

dog U[0.5,1](G¬dog)dog\ U_{[0.5,1]}(G\neg dog)

Leaves at some point during the second half

dog U[0.6,0.6](G¬dog)dog\ U_{[0.6,0.6]}(G\neg dog)

Leaves at the 3s mark

Quantitative semantics for MTL

We define a differentiable sum–product score for the fragment of MTLfMTL_f in § 2. Inspired by the log-domain computation of LogSTOP [16], this construction aggregates support for the witnesses permitted by a specification. The score need not lie in [0,1][0,1] and is not interpreted as a probability. In particular, disjunction and existential temporal operators sum support for alternatives, rather than combining them through complements of composite scores.

Score definition and evaluation

Fix a sampling step, attention layer, and head, and write pt,c=y^(zt,c)∈[0,1]p_{t,c}=\hat{y}(z_t,c)\in[0,1] for the calibrated concept scores at latent frames t=1,…,Nt=1,\ldots,N, where N=TzN=T_z. Let Qψ[t]≥0Q_\psi[t]\ge0 denote the score of subformula ψ\psi starting at frame tt, and let Sψ[t]=log⁡Qψ[t]S_\psi[t]=\log Q_\psi[t], with log⁡0=−∞\log0=-\infty. The scalar objective for steering is y^(z,φ)=Sφ[1]\hat{y}(z,\varphi)=S_\varphi[1].

For a normalized interval I=[ℓI,uI]I=[\ell_I,u_I], define

aI=⌈ℓI(N−1)⌉,bI=⌊uI(N−1)⌋,JI(t)={j∈Z:t+aI≤j≤min⁡(t+bI,N)}.(5)\begin{aligned} a_I&=\lceil\ell_I(N-1)\rceil,\qquad b_I=\lfloor u_I(N-1)\rfloor,\\ J_I(t)&=\{j\in\mathbb{Z}:t+a_I\le j\le\min(t+b_I,N)\}. \tag*{(5)} \end{aligned}

An omitted interval denotes [0,1][0,1]. Every interval is relative to the evaluation frame of its operator; the conversion to offsets always uses the full trace length NN, including for nested operators. The set JI(t)J_I(t) can be empty.

The literal scores are Qc[t]=pt,cQ_c[t]=p_{t,c} and Q¬c[t]=1−pt,cQ_{\neg c}[t]=1-p_{t,c}, with Q⊤[t]=1Q_\top[t]=1 and Q⊥[t]=0Q_\bot[t]=0. Conjunction and Always multiply their operand scores, whereas disjunction and Eventually sum them. Next selects the score at t+1t+1 if this frame exists and 1∈[aI,bI]1\in[a_I,b_I], and is zero otherwise. Until is defined by

QαUIβ[t]=∑j∈JI(t)Qβ[j]∏r=tj−1Qα[r].(6)Q_{\alpha U_I\beta}[t]=\sum_{j\in J_I(t)}Q_\beta[j]\prod_{r=t}^{j-1}Q_\alpha[r]. \tag*{(6)}

Each summand represents a witness at jj: the left operand is supported at every preceding frame, and the right operand is supported at jj. There is no requirement that the right operand fail before jj. In particular, QFIβ[t]=∑j∈JI(t)Qβ[j]=Q⊤UIβ[t]Q_{F_I\beta}[t]=\sum_{j\in J_I(t)}Q_\beta[j]=Q_{\top U_I\beta}[t].

For integer offsets 0≤a≤b0 \le a \le b, write Ua,b(t)=QαU[a,b]β[t]U_{a,b}(t)=Q_{\alpha U_{[a,b]}\beta}[t]. Equation 5 also gives the recurrence

Ua,b(t)={Qα[t]Ua−1,b−1(t+1),a>0,Qβ[t]+Qα[t]U0,b−1(t+1),a=0,(7)U_{a,b}(t)= \begin{cases} Q_{\alpha}[t]U_{a-1,b-1}(t+1), & a>0,\\ Q_{\beta}[t]+Q_{\alpha}[t]U_{0,b-1}(t+1), & a=0, \end{cases} \tag*{(7)}

where a remainder with no valid witness has score zero. Thus the recurrence inside the permitted window is B+ARB+AR, where AA, BB, and RR are the left-operand, right-operand, and remaining Until scores, respectively.

Linear-time evaluation

Evaluating Equation 5 independently at every starting frame would repeat work across overlapping windows. Instead, we compute all windows using associative summaries. For fixed child-score arrays At=Qα[t]A_t=Q_{\alpha}[t] and Bt=Qβ[t]B_t=Q_{\beta}[t], summarize a consecutive block [i,j][i,j] by

Pi:j=∏r=ijAr,Ri:j=∑k=ijBk∏r=ik−1Ar.(8)P_{i:j}=\prod_{r=i}^{j} A_r,\qquad R_{i:j}=\sum_{k=i}^{j}B_k\prod_{r=i}^{k-1}A_r. \tag*{(8)}

The first component is the left-operand product, and the second is the weighted witness sum starting at the block’s first frame. An empty block has summary (1,0)(1,0).

Lemma B.1 (Composition of consecutive blocks) Summaries of consecutive blocks combine in temporal order under the associative operation

(P1,R1)∘(P2,R2)=(P1P2, R1+P1R2),(9)(P_1,R_1)\circ(P_2,R_2)=(P_1P_2,\ R_1+P_1R_2), \tag*{(9)}

with identity (1,0)(1,0).

Proof. The left-operand product over the concatenation is P1P2P_1P_2. A witness either lies in the first block, contributing R1R_1, or lies in the second and requires the left operand throughout the first, contributing P1R2P_1R_2. Both parenthesizations of three summaries give (P1P2P3,R1+P1R2+P1P2R3)(P_1P_2P_3,R_1+P_1R_2+P_1P_2R_3), establishing associativity. The identity follows by substitution. The argument allows zero scores and does not require division. □\square

For a nonempty witness window, the Until score factors as

QαUIβ[t]=(∏r=tt+aI−1Ar)Rt+aI:min⁡(t+bI,N).(10)Q_{\alpha U_I\beta}[t]=\left(\prod_{r=t}^{t+a_I-1}A_r\right)R_{t+a_I:\min(t+b_I,N)}. \tag*{(10)}

The prefix maintains the left operand before the window; the block summary handles all witnesses inside it. Both factors can be obtained for all starting frames by sliding windows. An empty witness window still has score zero.

We compute block summaries in log space. For (u,v)=(log⁡P,log⁡R)(u,v)=(\log P,\log R), Equation 8 becomes

(u,v)\star(u',v')=(u+u',\logaddexp(v,u+v')), \tag*{(11)}

with identity (0,−∞)(0,-\infty). A single frame has summary (Sα[t],Sβ[t])(S_{\alpha}[t],S_{\beta}[t]). This avoids direct products of scores and differences of potentially infinite prefix sums.

Sliding-window aggregation. Algorithm 2 computes all window aggregates for an associative operation with a constant-size summary. Its queue is implemented with a front stack and a back stack. Every stack entry stores its value and a cached aggregate. The front aggregate GFG_F runs from the top to the bottom of the front stack; the back aggregate GBG_B runs from the bottom to the top of the back stack. An empty stack has aggregate ee. The operations are:

  • PushBack(x)(x): push (x,GB∘x)(x,G_B\circ x) onto the back stack.

  • PopFront()(): if the front stack is empty, transfer all values from the back stack, popping each value xx and pushing (x,x∘GF)(x,x\circ G_F) onto the front stack. Then pop the front stack.

  • Aggregate()(): return GF∘GBG_F\circ G_B.

The order of combination is essential because the Until operation is not commutative. Each value enters the back stack once, transfers to the front stack at most once, and leaves the queue at most once. Push and aggregate operations have constant cost; removal has amortized constant cost. No inverse operation is needed, so zero child scores and empty windows are handled directly.

Algorithm 1 Linear-time interval-aware sum–product scoring in log space

Input: Concept scores pt,c=y^(zt,c)∈[0,1]p_{t,c} = \hat{y}(z_t, c) \in[0, 1], t=1,…,N=Tzt = 1, \ldots, N = T_z; specification φ\varphi

Output: Log score Sφ[1]=y^(z,φ)S_{\varphi}[1] = \hat{y}(z, \varphi) for a fixed sampling step, layer, and head

  1. Convert each normalized interval to (aI,bI)(a_I, b_I) as in Equation (5). WINDOWFOLD(x,a,b,∘,e)(x, a, b, \circ, e) returns all window aggregates (Algorithm 2). ⋆\star is the log-domain block operation in Equation (11).

  2. for each distinct subformula ψ\psi in postorder (children before parents) do

  3. if ψ=GIα\psi= \mathrm{G}_I\alpha then

  4. Sψ←WINDOWFOLD⁡(Sα,aI,bI,+,0)S_{\psi} \leftarrow\operatorname{WINDOWFOLD}(S_{\alpha}, a_I, b_I, +, 0)

  5. else if ψ=FIα\psi= \mathrm{F}_I\alpha then

  6. Sψ←WINDOWFOLD⁡(Sα,aI,bI,logaddexp⁡,−∞)S_{\psi} \leftarrow\operatorname{WINDOWFOLD}(S_{\alpha}, a_I, b_I, \operatorname{logaddexp}, -\infty)

  7. else if ψ=α UI β\psi= \alpha\ \mathrm{U}_I\ \beta then

  8. H←WINDOWFOLD⁡(Sα,0,aI−1,+,0)H \leftarrow\operatorname{WINDOWFOLD}(S_{\alpha}, 0, a_I - 1, +, 0) ▷ Left operand before the window

  9. xj←(Sα[j],Sβ[j])x_j \leftarrow(S_{\alpha}[j], S_{\beta}[j]) for j=1,…,Nj = 1, \ldots, N

  10. W←WINDOWFOLD⁡(x,aI,bI,⋆,(0,−∞))W \leftarrow\operatorname{WINDOWFOLD}(x, a_I, b_I, \star, (0, -\infty))

  11. Sψ[t]←H[t]+W[t]2S_{\psi}[t] \leftarrow H[t] + W[t]_2 for t=1,…,Nt = 1, \ldots, N

  12. else

  13. for t=1,…,Nt = 1, \ldots, N do

  14. Sψ[t]←S_{\psi}[t] \leftarrow {0ψ=⊤,−∞ψ=⊥,log⁡pt,cψ=c,log⁡(1−pt,c)ψ=¬c,Sα[t]+Sβ[t]ψ=α∧β,logaddexp⁡(Sα[t],Sβ[t])ψ=α∨β,Sα[t+1]ψ=XIα, t<N, aI≤1≤bI,−∞ψ=XIα otherwise.\begin{cases} 0 & \psi= \top,\\ -\infty& \psi= \bot,\\ \log p_{t,c} & \psi= c,\\ \log(1-p_{t,c}) & \psi= \neg c,\\ S_{\alpha}[t] + S_{\beta}[t] & \psi= \alpha\land\beta,\\ \operatorname{logaddexp}(S_{\alpha}[t], S_{\beta}[t]) & \psi= \alpha\lor\beta,\\ S_{\alpha}[t+1] & \psi= \mathrm{X}_I\alpha,\ t < N,\ a_I \le1 \le b_I,\\ -\infty& \psi= \mathrm{X}_I\alpha\ \text{otherwise}. \end{cases}

  15. end for

  16. end if

  17. Cache Sψ[1:N]S_{\psi}[1:N].

  18. end for

  19. return Sφ[1]S_{\varphi}[1]

W[t]2W[t]_2 denotes the second component; each SψS_{\psi}, HH, and WW is a length-NN array.

log⁡0=−∞\log0 = -\infty; empty windows return the supplied identity ee.

logaddexp⁡(x,y)=log⁡(ex+ey)\operatorname{logaddexp}(x,y) = \log(e^x + e^y), evaluated stably.

Algorithm 2 All sliding-window aggregates in linear time

Input: Sequence x1,…,xNx_1, \ldots, x_N; integer offsets a≥0a \ge0, bb; associative operation ∘\circ with identity ee

Output: W[t]=xt+a∘⋯∘xmin⁡(t+b,N)W[t] = x_{t+a} \circ\cdots\circ x_{\min(t+b,N)}, or ee for an empty window

  1. function WINDOWFOLD(x,a,b,∘,e)(x, a, b, \circ, e)

  2. if a>ba > b then

  3. return [e,…,e][e, \ldots, e] ▷ Includes the empty prefix when a=0a = 0, b=−1b = -1

  4. end if

  5. Initialize an empty aggregate queue DD with operation ∘\circ and identity ee.

  6. l←1l \leftarrow1; r←0r \leftarrow0

  7. for t=1,…,Nt = 1, \ldots, N do

  8. L←min⁡(t+a,N+1)L \leftarrow\min(t+a, N+1); R←min⁡(t+b,N)R \leftarrow\min(t+b, N)

  9. while r<Rr < R do

  10. r←r+1r \leftarrow r+1; D.PushBack⁡(xr)D.\operatorname{PushBack}(x_r)

  11. end while

  12. while l<Ll < L do

  13. D.PopFront⁡(); l←l+1D.\operatorname{PopFront}();\ l \leftarrow l+1

  14. end while

  15. W[t]←D.Aggregate⁡()W[t] \leftarrow D.\operatorname{Aggregate}()

  16. end for

  17. return WW

  18. end function

The queue uses two stacks with cached aggregates, as defined in Appendix § 13.§ 2.

Each element is inserted once and removed at most once; aggregation preserves sequence order.

Proposition B.2 (Correctness and complexity of evaluation). Algorithm 1 computes the stated sum–product log score using O(∣φ∣N)O(|\varphi|N) arithmetic operations and O(∣φ∣N)O(|\varphi|N) storage, including for nested temporal operators. These bounds count operations on scalar scores as constant-time operations.

Proof. For fixed offsets a≤ba \le b, both endpoints of the clipped window advance monotonically with tt. Algorithm 2 therefore inserts each sequence element once and removes it at most once. The cached stack aggregates preserve the sequence order by associativity, so each returned value is the requested window aggregate. Including transfers between stacks, the total work for all NN windows is O(N)O(N). If a>ba > b, the algorithm directly returns the identity at every frame in O(N)O(N) time.

Always uses addition of log scores with identity zero; Eventually uses log-add-exp with identity −∞-\infty. Until uses one window computation for the prefix log product and one for the log-domain block summaries. Lemma B.1 and Equation (10) show that their combination equals Equation (6), including empty windows. Constants, literals, Boolean operators, and Next take O(N)O(N) work by pointwise evaluation. Processing subformulas in postorder proves correctness by induction and evaluates each distinct subformula once, giving O(∣φ∣N)O(|\varphi|N) total work. Cached score arrays require O(∣φ∣N)O(|\varphi|N) storage, and the working arrays and aggregate queues require O(N)O(N) additional space per subformula. The argument depends only on the number of subformulas, not on their nesting depth. □

The computation also has O(∣φ∣N)O(|\varphi|N) scalar intermediate operations. At differentiable inputs, reverse-mode differentiation can therefore use the same asymptotic time and storage bounds, with structurally zero branches handled as constants. This is an arithmetic complexity statement; it does not establish a wall-clock speedup over a vectorized quadratic implementation on a GPU.

Numerical evaluation. The mathematical definition admits exact zeros and ones. For numerical gradients, literal inputs can be clipped to [ϵLS,1−ϵLS][\epsilon_{\mathrm{LS}},1-\epsilon_{\mathrm{LS}}], separately from the calibration in Equation (3). Composite scores are not clipped to one, and negation is applied only to atoms. Products are computed as sums of logarithms, and sums as log-sum-exp reductions. Empty products are one and empty sums are zero: Always on an empty window has log score zero, while Eventually and Until have log score −∞-\infty. On the domain where Qφ[1]>0Q_\varphi[1] > 0, the log score is differentiable for literal inputs strictly between zero and one. Structurally zero branches, including log-add-exp with two constant −∞-\infty inputs, should be handled explicitly when differentiating. If the entire score is identically zero, for example because a required witness window is empty, its logarithm provides no finite gradient; the specification must be checked for feasibility on the chosen grid, and that objective should not produce a steering update.

Monotonicity and its scope

To distinguish support for a literal from the underlying concept score, introduce independent nonnegative inputs xt,c+x^+_{t,c} and xt,c−x^-_{t,c} for cc and ¬c\neg c, respectively. Write Qφ(x)Q_\varphi(x) for the score obtained from the same rules with these literal inputs. The score on a concept trace is recovered by substituting xt,c+=pt,cx^+_{t,c}=p_{t,c} and xt,c−=1−pt,cx^-_{t,c}=1-p_{t,c}.

Proposition B.3 (Monotonicity in literal support). Fix a finite temporal grid and the intervals of a specification φ\varphi in the stated fragment. The function QφQ_\varphi is a polynomial with nonnegative coefficients in the independent literal-support inputs. Consequently, for any componentwise ordered inputs 0≤x≤x′0 \le x \le x',

Qφ(x)≤Qφ(x′).Q_\varphi(x) \le Q_\varphi(x').

The same inequality holds for their logarithms wherever both scores are positive. The claim allows arbitrary nesting of the supported operators and is non-strict.

Proof. We proceed by structural induction on the formula, simultaneously for every starting frame. Constants are nonnegative constant polynomials, and literal scores are individual input variables. Conjunction and Always take finite products of child scores; disjunction and Eventually take finite sums. These operations preserve polynomials with nonnegative coefficients, including their empty-product and empty-sum conventions. Next selects a child score or the constant zero. Finally, each Until score in Equation (6) is a finite sum of products of child scores, and therefore has the same property. This completes the induction. Every monomial with a nonnegative coefficient is nondecreasing in nonnegative inputs, so their sum is nondecreasing as well. The logarithm is increasing on the positive real numbers. □

Corollary B.4 (Monotonicity in a concept-time coordinate). Expand the score at a fixed starting frame into literal-support inputs. If a concept–time pair (t,c)(t,c) occurs only positively, the specification score is nondecreasing in pt,cp_{t,c}; if it occurs only negatively, the specification score is nonincreasing in pt,cp_{t,c}, with all other concept scores fixed. These directions also hold for its logarithm wherever the specification score is positive.

Proof. In the first case, increasing pt,cp_{t,c} increases the only relevant literal input xt,c+x^{+}_{t,c}. In the second, it decreases the only relevant input xt,c−=1−pt,cx^{-}_{t,c}=1-p_{t,c}. Apply Proposition B.3. □

Consistency of polarity is required only for the concept–time coordinate in this sufficient condition, not for an entire concept throughout the formula. For example, presence in an early interval and absence in a disjoint later interval have consistent directions at each frame. Both polarities are allowed at the same frame, but then

∂Qφ[1]∂pt,c=∂Qφ∂xt,c+−∂Qφ∂xt,c−,(12)\frac{\partial Q_{\varphi}[1]}{\partial p_{t,c}}=\frac{\partial Q_{\varphi}}{\partial x^{+}_{t,c}}-\frac{\partial Q_{\varphi}}{\partial x^{-}_{t,c}}, \tag*{(12)}

evaluated at the corresponding literal inputs. Each term on the right is nonnegative; their difference need not have a fixed sign. A formula with mixed polarity can nevertheless be monotone after simplification, as the untimed Until example below demonstrates. No probabilistic independence assumption is needed for these algebraic claims.

Agreement with Boolean satisfaction. For exact Boolean concept inputs, Qφ[t]>0Q_{\varphi}[t]>0 if and only if the trace satisfies φ\varphi at tt under § 2. This follows by structural induction: a product of nonnegative scores is positive exactly when all its factors are positive, and a sum is positive exactly when at least one summand is positive. Applied to Equation (6), these conditions are precisely an admissible right-operand witness and satisfaction of the left operand at all preceding frames. The constants, literals, Next, and empty-window cases follow their Boolean definitions. This statement concerns the unclipped score; it does not prescribe a satisfaction threshold for soft inputs.

Different satisfying traces can have different scores, and logically equivalent formulas need not have identical soft scores. Summing alternatives rewards multiple supported witnesses, and repeating a disjunct changes its weight. We therefore retain the input formula’s structure rather than treating Boolean rewrites as score-preserving transformations.

Examples and implications for gradients

For the following examples, let pt=y^(zt,dog)∈(0,1)p_t=\hat{y}(z_t,\mathrm{dog})\in(0,1), and let ut=logit⁡(pt)u_t=\operatorname{logit}(p_t) be its calibrated trace logit. This utu_t is distinct from a transformer attention logit. We write Q=Qφ[1]Q=Q_{\varphi}[1] and S=log⁡QS=\log Q, assuming Q>0Q>0.

Presence and absence in prescribed intervals. For φ=GI+dog⁡∧GI−¬dog⁡\varphi=G_{I_{+}}\operatorname{dog}\land G_{I_{-}}\neg\operatorname{dog}, let E=JI+(1)E=J_{I_{+}}(1) and A=JI−(1)A=J_{I_{-}}(1) be disjoint. Then

S=∑t∈Elog⁡pt+∑t∈Alog⁡(1−pt),∂S∂ut=1{t∈E}(1−pt)−1{t∈A}pt.(13)S=\sum_{t\in E}\log p_t+\sum_{t\in A}\log(1-p_t),\qquad\frac{\partial S}{\partial u_t}=\mathbf{1}_{\{t\in E\}}(1-p_t)-\mathbf{1}_{\{t\in A\}}p_t. \tag*{(13)}

Gradient ascent thus increases presence evidence in EE, decreases it in AA, and leaves unconstrained frames unaffected. A strictly timed witness is likewise obtained by restricting an existential operator to a singleton window, provided the requested time lies on the grid.

Untimed departure without persistence. For φ=dog⁡U¬dog⁡\varphi=\operatorname{dog}\mathbin{\mathrm{U}\neg\operatorname{dog}}, the witness sum telescopes:

Q=∑j=1N(1−pj)∏r<jpr=1−∏t=1Npt,∂Q∂pt=−∏r≠tpr≤0.(14)Q=\sum_{j=1}^{N}(1-p_j)\prod_{r<j}p_r=1-\prod_{t=1}^{N}p_t,\qquad\frac{\partial Q}{\partial p_t}=-\prod_{r\ne t}p_r\leq0. \tag*{(14)}

Increasing absence evidence at any frame cannot decrease this score, despite its mixed polarity. Under Boolean semantics, the formula is equivalent to F¬dog⁡F\neg\operatorname{dog}: choose the first absent frame as the Until witness, and all earlier frames necessarily contain the dog. An immediate witness is permitted, and no constraint is imposed after the witness. Nevertheless, our score for F¬dog⁡F\neg\operatorname{dog} is ∑t(1−pt)\sum_t(1-p_t), illustrating that Boolean equivalence does not imply equality of soft scores.

Departure followed by persistent absence. For φ=dog⁡UI(G¬dog⁡)\varphi=\operatorname{dog}\mathbin{\mathrm{U}_{I}(G\neg\operatorname{dog})}, define

wj=∏r<jpr∏r≥j(1−pr),Q=∑j∈JI(1)wj,πj=wjQ.(15)w_j=\prod_{r<j}p_r\prod_{r\geq j}(1-p_r),\qquad Q=\sum_{j\in J_{I}(1)}w_j,\qquad\pi_j=\frac{w_j}{Q}. \tag*{(15)}

Each term corresponds to one complete departure pattern. Differentiating log⁡Q\log Q gives a weighted combination of the gradients of these patterns:

∂S∂ut=∑j∈JI(1)πj∂log⁡wj∂ut=∑j∈JI(1)j>tπj−pt.(16)\frac{\partial S}{\partial u_t}=\sum_{j\in J_{I}(1)}\pi_j\frac{\partial\log w_j}{\partial u_t}=\sum_{\substack{j\in J_{I}(1)\\ j>t}}\pi_j-p_t. \tag*{(16)}

Before the earliest admissible departure this derivative is 1−pt1-p_t; at or after the latest admissible departure it is −pt-p_t. Within the window its sign depends on the relative support for departure times on either side of tt. Thus the objective encourages a coherent departure, rather than absence independently at every permitted frame.

An unconditional claim that more absence always helps would contradict the required persistence. For untimed Until, the Boolean trace [1,1,1,0][1,1,1,0] has score one, whereas changing its second frame to obtain [1,0,1,0][1,0,1,0] gives score zero: the dog now returns after an earlier disappearance. Also, the formula as written permits absence throughout. To require initial presence, one must explicitly conjoin dog.

Nested departure and return. For φ=dog⁡ UI1(¬dog⁡ UI2dog⁡)\varphi= \operatorname{dog}\ \mathrm{U}_{I_1}(\neg\operatorname{dog}\ \mathrm{U}_{I_2}\operatorname{dog}), recursive evaluation yields

Q=∑j∈JI1(1)∑k∈JI2(j)∏r<jpr∏r=jk−1(1−pr)pk(17)Q = \sum_{j \in J_{I_1}(1)} \sum_{k \in J_{I_2}(j)} \prod_{r<j} p_r \prod_{r=j}^{k-1}(1-p_r)p_k \tag*{(17)}

Each admissible pair (j,k)(j,k) contributes gradients that favor presence before jj, absence from jj through k−1k-1, and presence at kk; it imposes no condition after kk. The log-score gradient is their weighted combination, with weights proportional to the corresponding summands. Replacing the final dog by Gdog⁡\mathrm{G}\operatorname{dog} replaces pkp_k by ∏r=kNpr\prod_{r=k}^{N}p_r and requires persistence after return.

The second interval is measured from jj, not from the start of the video. A lower bound aI2≥1a_{I_2} \ge1 requires at least one absent frame between departure and return. In particular, for N≥2N \ge2 and I1=I2=[0.5,1]I_1=I_2=[0.5,1], departure must occur at the midpoint and return at the final frame. This pair exists only if the midpoint lies on the sampled grid: writing d=⌈(N−1)/2⌉d=\lceil(N-1)/2\rceil, two successive delays require 2d≤N−12d \le N-1. Otherwise the witness set is empty. Shorter lower bounds permit multiple departure–return pairs.

Alternative outcomes. For φ=α∨β\varphi=\alpha\lor\beta with positive operand scores,

∇S=QαQα+Qβ∇log⁡Qα+QβQα+Qβ∇log⁡Qβ.(18)\nabla S = \frac{Q_\alpha}{Q_\alpha+Q_\beta}\nabla\log Q_\alpha+\frac{Q_\beta}{Q_\alpha+Q_\beta}\nabla\log Q_\beta. \tag*{(18)}

The update combines the directions for both alternatives according to their current support. A disjunction alone does not impose exclusivity or select a single branch; when exclusivity is intended, it must be encoded in the specification. Similarly, summing temporal witnesses can favor support at several admissible times rather than only one.

Transferring gradients to attention biases. For any differentiable input representation and Q>0Q>0, ∇S=∇Q/Q\nabla S=\nabla Q/Q. Thus the nonzero gradients of SS and QQ have the same direction after the infinity-norm normalization used by TSG, before numerical thresholds and clipping. The score need not be bounded by one for this normalization to apply. If the calibration statistics are held fixed while differentiating (3), then ut,c=(at,c−μc)/(τS,c+ϵ)u_{t,c}=(a_{t,c}-\mu_c)/(\tau_{S,c}+\epsilon) gives

∂S∂at,c=1τS,c+ϵ∂S∂ut,c.\frac{\partial S}{\partial a_{t,c}}=\frac{1}{\tau_{S,c}+\epsilon}\frac{\partial S}{\partial u_{t,c}}.

The positive factor preserves the gradient signs described above.

The TSG algorithm

Algorithm 3 presents TSG with online attention steering. The guided steps are the first NtsgN_{\mathrm{tsg}} sampling updates, i.e., K={N−Ntsg+1,…,N}\mathcal{K}=\{N-N_{\mathrm{tsg}}+1,\ldots,N\}. The loop over selected attention layers takes place within a single additional forward pass: normal transformer operations proceed between interventions, and later layers use the representations produced by earlier steered layers. Differentiation is enabled only for the detached traces, their calibration, and the specification score.

The TSG benchmark

Visual concepts as states of entities. We first use GPT-5.6-Sol to propose 50 entities spanning object and setting classes, together with associated states or attributes, such as color and time of day. This collection includes object classes from VBench [15], augmented with states. One author manually reviews the collection to exclude unfamiliar entities and implausible entity–state combinations. Visual concepts represent entity presence or an entity assuming a particular state. The final inventory contains 50 entries: 36 objects and 14 scenes or settings. Examples of object entities with states are presented in Table 4 and of setting entities with states in Table 5.

EntityCandidate states or attributes
airplaneconfiguration: landed, in flight
applecondition: whole, sliced
ballooninflation: visibly deflated, visibly inflated
bicycleorientation: upright, lying on its side
birdconfiguration: perched, in flight
boatorientation: upright, capsized
bookposition: closed, open
butterflyconfiguration: perched, in flight
campfireflame visibility: no visible flame, visible flames
candleflame: lit, unlit
carorientation: upright, overturned; headlight appearance: headlights visibly on, headlights visibly off
catpose: standing, sitting, lying down
cupfill level: visibly empty, filled to the rim
dogpose: standing, sitting, lying down
doorposition: closed, open
eggshell: intact, cracked
faucetwater visibility: no visible water stream, visible water stream
flagposition: fully lowered, fully raised

Table 4. Examples of object entities with corresponding states.

EntityCandidate states or attributes
beachillumination: bright daylight, orange horizon, dark night
city streetillumination: bright daylight, dark night; precipitation: no visible precipitation, visible falling rain, visible falling snow
farm fieldground cover: green crops, bare soil, snow-covered; precipitation: no visible precipitation, visible falling rain, visible falling snow
forestdominant foliage: green foliage, autumn-colored foliage, completely bare branches, snow-covered trees; precipitation: no visible precipitation, visible falling rain, visible falling snow
kitchenartificial lighting: lights visibly illuminated, no lights visibly illuminated
lakesurface: visible open water, completely ice-covered; visibility: far shore clearly visible, far shore obscured by fog; precipitation: no visible precipitation, visible falling rain, visible falling snow
mountain landscapeillumination: bright daylight, orange horizon, dark night; visibility: mountains clearly visible, mountains obscured by fog
oceanillumination: bright daylight, orange horizon, dark night; sea appearance: calm surface, large breaking waves
parkillumination: bright daylight, dark night; precipitation: no visible precipitation, visible falling rain, visible falling snow
roadsurface: visibly dry, visibly wet, snow-covered
roomartificial lighting: lights visibly illuminated, no lights visibly illuminated
skyillumination: bright daylight, orange horizon, dark night; cloud appearance: mostly clear sky, overcast sky, dark storm clouds
stadiumoccupancy: no visible spectators, spectators visible; floodlight appearance: floodlights visibly illuminated, floodlights visibly unlit
waterfallwater appearance: visible flowing water, completely frozen; surroundings: green vegetation, snow-covered ground

Table 5. Examples of scene and setting entities with corresponding states.

Algorithm 3 Temporal Specification Guidance with online attention steering
Input: Prompt embeddings $e_p$, $e_{\mathrm{ref}}$, specification $\varphi$, transformer $T_\theta$, decoder $D$
Input: Sampling steps $N$, guided steps $K$, selected layer–head pairs $\mathcal{H}$
Input: CFG scale $\lambda_{\mathrm{cfg}}$, TSG norm ratio $\rho$, bias step size $\eta$, bounds $[b_{\min}, b_{\max}]$
Input: Calibration temperature $\tau$ and stabilizer $\epsilon$
Output: Generated video $v$
1: Map concepts in $\varphi$ to prompt-token sets $\mathcal{P}_c$
2: Initialize $z_N \sim \mathcal{N}(0,I)$; convert intervals in $\varphi$ to the latent temporal grid
3: for $k=N,N-1,\ldots,1$ do
4: $d_{k,c} \leftarrow T_\theta(z_k,e_p,k)$ without steering
5: $d_{k,u} \leftarrow T_\theta(z_k,e_{\mathrm{ref}},k)$ without steering
6: $d_{k,\mathrm{cfg}} \leftarrow d_{k,u}+\lambda_{\mathrm{cfg}}(d_{k,c}-d_{k,u})$
7: $d_k \leftarrow d_{k,\mathrm{cfg}}$
8: if $k \in K$ then
9: Begin an additional conditional evaluation of $T_\theta(z_k,e_p,k)$ without a transformer gradient graph
10: for selected attention layers $\ell$, in forward order do
11: Advance this guided pass to layer $\ell$, using outputs of the preceding layers
12: for all heads $h$ with $(\ell,h)\in\mathcal{H}$ do
13: Compute current attention $A^{\ell,h}$ before the local intervention
14: Form raw traces $a^{\ell,h}$ using Equation 2; detach and enable trace gradients
15: Calibrate to $\hat{y}^{\ell,h}$ using Equation 2, holding statistics fixed
16: $S_{\ell,h}\leftarrow\operatorname{Score}(\hat{y}^{\ell,h},\varphi)$
17: for all concepts $c$ in $\varphi$ do
18: $g_{\cdot,c}\leftarrow\nabla_{a_{\cdot,c}}S_{\ell,h}$
19: $b_{\cdot,c}\leftarrow\eta g_{\cdot,c}/\lVert g_{\cdot,c}\rVert_\infty$; use zero for negligible gradients
20: end for
21: Broadcast $b$ to query–text pairs; center across text keys and clip to obtain $B^{\ell,h}$
22: Detach $B^{\ell,h}$ and apply it at this head using Equation 3
23: end for
24: Complete layer $\ell$ with the biased attention; release local scoring buffers
25: end for
26: $d_{k,\varphi}\leftarrow$ output of the completed guided forward pass
27: $r_k\leftarrow d_{k,\varphi}-d_{k,c}$; compute $\lambda_{k,\mathrm{tsg}}$ using Equation 1
28: $d_k\leftarrow d_{k,\mathrm{cfg}}+\lambda_{k,\mathrm{tsg}}r_k$
29: end if
30: $z_{k-1}\leftarrow\operatorname{Step}_k(z_k,d_k)$
31: end for
32: return $D(z_0)$

Benchmark categories. We manually define 11 categories of temporal constraints covering state transitions, entity appearance and disappearance, and choice. Table 3 illustrates each category. For each category, one author collaborates with GPT-5.6-Sol to construct 20 prompts, reviewing them for relevance, diversity of entities and states, and realism.

CategoryTemporal behavior
Two-state transitionA subject or setting changes from state AA to BB.
Three-state transitionA subject or setting progresses through AA, BB, then CC.
Ordered entry of two entitiesOne entity is initially present; a second joins it and both remain.
Ordered entry of three entitiesTwo further entities enter in sequence, accumulating in the scene.
Entity handover with overlapAA alone is followed by AA and BB together, then BB alone.
Entity exit and re-entryAn entity is present, becomes absent, then returns.
Reversible state returnA subject changes from AA to BB and returns to AA.
Anchored entity choiceAn anchor persists while one of two alternative entities appears.
Transition with a persistent entity or settingAn anchor remains present while another concept changes state.
Alternative final stateAn initial state gives way to either of two permitted final states.
Trigger-conditioned state transitionA trigger entity appears before the target changes state.

Table 3. The 11 temporal constraint categories in the main benchmark, each containing 20 examples. Descriptions summarize the temporal structure; individual specifications also encode timing, absence, and persistence requirements.

We specify temporal intervals using halves and thirds of the video duration, allowing meaningful time for each event in a five-second video.

Specification templates for different categories. We then instantiate manually designed specification templates to encode each prompt’s temporal requirements. These interval-timed specifications allow the requested transitions to occur anywhere within the designated intervals, subject to any ordering and persistence requirements. Thus, as in the examples in Section 2, they do not prescribe a frame-by-frame schedule for each concept.

Let TT denote video duration. We use half intervals H1=[0,T/2]H_1 = [0, T/2] and H2=[T/2,T]H_2 = [T/2, T], or thirds I1=[0,T/3]I_1 = [0, T/3], I2=[T/3,2T/3]I_2 = [T/3, 2T/3], and I3=[2T/3,T]I_3 = [2T/3, T]. Thus, adjacent phases do not share a boundary frame. For a phase with positive propositions P+P^{+} and negative propositions P−P^{-}, its predicate is

p=⋀a∈P+a∧⋀b∈P−¬b.p = \bigwedge_{a \in P^{+}} a \land\bigwedge_{b \in P^{-}} \neg b.

Only the listed propositions are constrained; unrelated scene content is not prohibited. A state proposition includes its entity (e.g., sitting dog), and persistent-entity transitions retain these compound propositions rather than factoring them into separate entity and state atoms.

For compactness, write WJ(p)W_J(p) for an eventually–always requirement: there must be a consecutive run satisfying pp wholly within JJ, with the steering persistence parameter set to δ=0.5\delta= 0.5 seconds. In continuous notation this is F{t∈J:[t,t+δ]⊆J}G[0,δ]p\mathbf{F}_{\{t \in J:[t,t+\delta]\subseteq J\}}\mathbf{G}_{[0,\delta]}p; the discrete implementation is specified below. Define

S2(p1,p2)=WH1(p1)∧WH2(p2),S3(p1,p2,p3)=⋀j=13WIj(pj).S_2(p_1,p_2)=W_{H_1}(p_1)\land W_{H_2}(p_2), \qquad S_3(p_1,p_2,p_3)=\bigwedge_{j=1}^{3}W_{I_j}(p_j).

The steering templates are:

  1. Two-state transition (2ST): S2(A∧¬B,B∧¬A)S_2(A \land\neg B, B \land\neg A).

  2. Three-state transition (TST): S3(A∧¬B∧¬C,B∧¬A∧¬C,C∧¬A∧¬B)S_3(A \land\neg B \land\neg C, B \land\neg A \land\neg C, C \land\neg A \land\neg B).

  3. Two ordered entries (OE2): S2(A∧¬B,A∧B)S_2(A \land\neg B, A \land B).

  4. Three ordered entries (OE3): S3(A∧¬B∧¬C,A∧B∧¬C,A∧B∧C)S_3(A \land\neg B \land\neg C, A \land B \land\neg C, A \land B \land C).

  5. Handover with overlap (HWO): S3(A∧¬B,A∧B,B∧¬A)S_3(A \land\neg B, A \land B, B \land\neg A).

  6. Exit and return (EXR): S3(A,¬A,A)S_3(A, \neg A, A).

  7. Reversible state return (RSR): S3(A∧¬B,B∧¬A,A∧¬B)S_3(A \land\neg B, B \land\neg A, A \land\neg B).

  8. Persistent-entity transition (PST): G[0,T]E∧S2(A∧¬B,B∧¬A)\mathbf{G}_{[0,T]}E \land S_2(A \land\neg B, B \land\neg A).

  9. Triggered response (TRG): S3(A∧¬B∧¬E,A∧E∧¬B,B∧E∧¬A)S_3(A \land\neg B \land\neg E, A \land E \land\neg B, B \land E \land\neg A). Here EE is the entering trigger and AA, BB are the original and response states. This specifies an observed temporal sequence, not a causal intervention.

  10. Alternative final state (AFS): GI1(A∧¬B∧¬C)∧[GI3(B∧¬A∧¬C)∨GI3(C∧¬A∧¬B)]\mathbf{G}_{I_1}(A \land\neg B \land\neg C) \land[\mathbf{G}_{I_3}(B \land\neg A \land\neg C) \lor\mathbf{G}_{I_3}(C \land\neg A \land\neg B)].

  11. Anchored entity choice (AEC): G[0,T]E∧GI1(¬A∧¬B)∧[GI3(A∧¬B)∨GI3(B∧¬A)]\mathbf{G}_{[0,T]}E \land\mathbf{G}_{I_1}(\neg A \land\neg B) \land[\mathbf{G}_{I_3}(A \land\neg B) \lor\mathbf{G}_{I_3}(B \land\neg A)].

In the state-transition templates, AA, BB, CC refer to states of the same subject or setting; in the entry, handover, and entity-choice templates they denote entity presence. EE denotes an anchor or trigger as indicated. Every category has 20 examples. Choice formulas use an ordinary disjunction between exclusive branch predicates: either branch is acceptable, but both alternatives cannot satisfy the same required frame. Placing the disjunction outside the final-region always operators selects one fixed branch throughout that region. The middle third is unconstrained by AFS steering and, apart from anchor persistence, by AEC steering; these formulas do not prohibit transient alternative states in that gap.

Concrete examples of prompts. The following are exact released prompts, with proposition assignments that instantiate the corresponding templates above.

  1. Two-state transition (2st-181_person_stand_to_sit). AA = standing person; BB = sitting person. “A continuous full-body studio shot follows one person against a simple background. The person begins standing and holds that pose for roughly the first half of the video. Around the midpoint, they sit down on the floor and remain seated for the rest of the video. The same person remains in frame throughout, with no cuts, duplicate people, or camera movement.”

  1. Three-state transition (tst-001_traffic_light_yellow_red_green). AA = yellow traffic light; BB = red traffic light; CC = green traffic light. “A cinematic, photorealistic 4K close-up follows one street traffic light at dusk from a fixed tripod camera. The signal is solid yellow for roughly the first third of the video. About one-third of the way through, that same signal changes cleanly to solid red. Around two-thirds of the way through, it changes to solid green and remains green through the end. The softly blurred urban background stays unchanged, with no camera movement, scene cuts, duplicate traffic lights, or extra signal flicker.”

  1. Ordered entry of two entities (oe2-201_person_then_dog). AA = person; BB = dog. “One person waits alone in a quiet park clearing for roughly the first half of a continuous medium-wide shot. Around the midpoint, a dog runs into the clearing and stops nearby. The same person and dog remain fully visible together through the end, with no cuts, duplicate subjects, or camera movement.”

  1. Ordered entry of three entities (oe3-121_dog_cat_rabbit). AA = dog; BB = cat; CC = rabbit. “One dog waits alone on a broad living-room rug for roughly the first third of a fixed shot. A cat then walks into the room and settles within the same view while the dog stays. Around two-thirds of the way through, a rabbit hops in through the open doorway. The dog, cat, and rabbit all remain visible together until the end, with no duplicate animals or camera movement.”

  1. Entity handover with overlap (hwo-021_horse_to_rabbit). AA = horse; BB = rabbit. “A horse stands alone in a grassy paddock at the beginning of a steady wide shot. About one-third of the way through, a rabbit hops into the foreground while the horse remains nearby. Around the two-thirds point, the horse walks calmly out through an open gate, leaving the rabbit in view until the end. The camera does not cut or change position.”

  1. Entity exit and re-entry (exr-061_dog_exit_return). AA = dog. “A fixed living-room shot begins with one dog standing in clear view. About one-third of the way through, the dog walks out through the left side until it is completely absent. Near the two-thirds point, the same dog walks back in from the left and remains in the room until the end. There are no cuts or other dogs.”

  1. Reversible state return (rsr-081_person_stand_sit_stand). AA = standing person; BB = sitting person. “A continuous full-body studio shot begins with one person standing against a simple background. About one-third of the way through, they lower themselves and sit on the floor. Near the two-thirds point, the same person rises to stand again and remains standing through the end. The camera stays fixed without cuts or other people.”

  1. State transition with a persistent entity or setting (pst-101_person_dog_stand_sit). EE = person; AA = standing dog; BB = sitting dog. “A person and one standing dog share a clear full-body studio shot. The person stays in the same spot throughout the video. Around halfway through, the dog lowers into a seated pose and remains sitting beside the person until the end. The camera does not move and no additional subjects enter.”

  1. Trigger-conditioned state transition (trg-041_person_triggers_dog_standing). EE = person; AA = sitting dog; BB = standing dog. “A continuous full-body shot begins with one dog sitting alone in a quiet room. The dog remains seated for roughly the first third of the video. About one-third of the way through, a person walks into the frame and approaches while the dog remains seated. Around two-thirds of the way through, the dog responds to the person by standing up, and the person remains nearby through the end. The same dog and person stay in frame, with no cuts, duplicate subjects, or camera movement.”

  1. Alternative final state (afs-161_dog_sit_to_stand_or_lie). AA = sitting dog; BB = standing dog; CC = lying dog. “One dog sits upright in a clear full-body studio view for the opening third. During the middle third, it either rises onto all four paws or lowers into a lying pose, but it does not perform both actions. By the start of the final third, the dog is either standing or lying and remains in that selected pose through the end.”

  1. Anchored entity choice (aec-141_tree_dog_or_cat). EE = tree; AA = dog; BB = cat. “A single tree remains centered and alone throughout the opening third of a fixed garden view. During the middle third, either one dog may walk in or one cat may walk in, but not both. Whichever animal arrives stays near the tree throughout the final third without any duplicate animals.”

Evaluation specifications. We assign each sampled frame its timestamp and use half-open phase intervals, except that the final phase includes the video endpoint. We evaluate temporal adherence using a phase-based criterion. Let ti=iΔt_i = i\Delta denote the sampled timestamps and let r=⌈δ/Δ⌉r = \lceil\delta/\Delta\rceil, where δ=0.5\delta= 0.5 seconds. A phase predicate pp satisfies the persistence requirement within interval JJ if

WJ(p)=1⟺∃i: {ti,…,ti+r}⊆J ∧ ⋀k=0rp(vi+k),W_J(p) = 1 \quad\Longleftrightarrow\quad\exists i:\ \{t_i,\ldots,t_{i+r}\} \subseteq J \ \land\ \bigwedge_{k=0}^{r} p(v_{i+k}),

where the witness must use valid sampled-frame indices. Thus, pp must hold at r+1r+1 consecutive sampled frames whose first-to-last timestamp span is at least δ\delta, with the entire run contained in JJ.

The predicate pp jointly encodes the required presence and absence of visual concepts. Explicit persistence requirements are evaluated over their stated intervals rather than reduced to a 0.5-second witness. We use the same duration threshold across the evaluated 5–6-second videos to require sustained evidence beyond an isolated frame while allowing flexibility in transition timing.

Interpretation of the criterion. We evaluate whether each required phase occurs within its designated interval and persists for at least 0.5 seconds. We intentionally leave the intervening transitions unconstrained: intermediate configurations may not map unambiguously to the discrete propositions. For example, a partially open door may be labeled either open or closed while it moves between states. Requiring a sustained witness for each phase establishes that the requested states occur in the specified temporal order without prescribing the duration or frame-by-frame labeling of the transition between them. This criterion does not require each phase to occupy its entire interval or restrict behavior outside the witness runs, except where the specification imposes explicit persistence or absence constraints.

Experimental setup and evaluation

Models and sampling settings

We evaluate TSG on the 220 prompt–specification pairs described in Appendix § 15. Table 6 summarizes the generation settings. Resolutions are given as height × width. We define duration as the time between the first and last decoded frames, T=(F−1)/fT = (F - 1)/f, where FF is the frame count and ff is the frame rate. Thus the Wan clips span five seconds and the CogVideoX clips span six seconds. Fractional specification intervals are compiled for each model’s actual duration and temporal grid.

ModelResolutionFrames/FPSLatent framesStepsCFG
Wan 2.1 1.3B480 × 83281/1621506
Wan 2.2 TI2V 5B704 × 1280121/2431505
Wan 2.2 T2V A14B704 × 128081/1621404 / 3
CogVideoX 2B480 × 72049/813506
CogVideoX 5B480 × 72049/81350dynamic (6)

Table 6. Generation settings for the TSG benchmark. Wan 2.2 A14B uses CFG scales 4 and 3 for its high- and low-noise experts, respectively. CogVideoX 5B uses its dynamic CFG schedule with scale parameter 6. All methods compared within a model share these settings. The TempoControl comparison uses the Wan 2.1 row.

We use the diffusers library to obtain model implementations. The checkpoints are Wan-AI/Wan2.1-T2V-1.3B-Diffusers, Wan-AI/Wan2.2-TI2V-5B-Diffusers, Wan-AI/Wan2.2-T2V-A14B-Diffusers, THUDM/CogVideoX-2b, and THUDM/CogVideoX-5b. The TI2V checkpoint is used in text-to-video mode. Wan uses UniPCMultistepScheduler, with flow shift 3 for Wan 2.1 and 5 for both Wan 2.2 models. The fused prediction is passed to the scheduler once per denoising step, preserving its multistep state. CogVideoX 2B uses CogVideoXDDIMScheduler; CogVideoX 5B uses CogVideoXDPMScheduler. Both use trailing timestep spacing. For CogVideoX 5B, the implemented dynamic scale is

g(t)=1+61−cos⁡(π((N−t)/N)5)2,g(t) = 1 + 6 \frac{1 - \cos\left(\pi((N-t)/N)^5\right)}{2},

where N=50N = 50 and tt is the scheduler timestep value, not the zero-based sampling-step index. Other CFG scales remain constant, except for the expert-dependent A14B scales.

For each model and method, we generate one video per prompt. The TSG benchmark seed is 5000+j5000 + j, where jj is the numeric component of the example identifier. Each base run saves its initial latent tensor; the paired TSG run reloads that tensor, with shape, dtype, and SHA-256 checks. CogVideoX 5B additionally records and replays the sampling-generator state used by its stochastic DPM sampler. Prompts and negative prompts are identical within each paired comparison. The Wan negative prompt on this benchmark is: “bright tones, overexposed, static, blurred details, subtitles, text, watermark, low quality, worst quality, jpeg artifacts, deformed”. CogVideoX uses no negative prompt.

TSG implementation and hyperparameters

The main TSG benchmark uses online attention steering with norm ratio ρ=1\rho= 1, applied during the first 15 denoising steps (indices 0–14). Ordinary CFG remains active throughout sampling. We set the additional weight to zero when the residual norm is at most 10−1210^{-12}. We use the z-score–sigmoid calibration with temperature τ=1.0\tau= 1.0 and denominator stabilizer ϵ=10−6\epsilon= 10^{-6}, holding the temporal mean and standard deviation fixed during differentiation. After broadcasting and centering the attention-logit biases, we clip them to [bmin⁡,bmax⁡]=[−1.0,1.0][b_{\min}, b_{\max}] = [-1.0, 1.0]. We use bias step size η=1\eta= 1. We steer all attention heads in all transformer layers: 30 layers for Wan 2.1, Wan 2.2 TI2V, and CogVideoX 2B; 40 per active expert for Wan 2.2 A14B; and 42 for CogVideoX 5B.

TempoControl comparison

We use all 80 one-object and 82 two-object prompts from the official TempoControl benchmark repository. One-object prompts request an initially absent object that appears during the second, third, fourth, or last second and remains visible, with 20 prompts for each onset. Two-object prompts require a static object throughout, with another object appearing in the second half. Binary masks are derived from the requested timing and the actual video frame rate and duration, rather than reusing the original 21-bin masks at a different duration. For our five-second Wan clips, the four one-object onsets occur at sampled indices 4, 8, 12, and 16, respectively; the object must be absent before its onset and present from that index through index 20. Two-object masks require absence of the entering object at indices 0–9 and presence at indices 10–20, together with the static object throughout.

To obtain TSG specifications, we convert each maximal constant segment of a binary mask into an always requirement for the proposition or its negation and conjoin the segment requirements. The static-object requirement is a global always formula. The runtime steering grid with Wan 2.1 1.3B has 21 latent frames. All four comparison methods, i.e., CFG-only, TempoControl, one-round TempoControl, and TSG, use Wan 2.1 at 480 × 832, 81 frames, 16 FPS, 50 steps, CFG 6, and flow shift 3. We use seed 42 and replay the initial latent tensor saved by the full TempoControl run for each prompt.

Our TempoControl port preserves the released optimization order using the Diffusers backbone: latent optimization follows the scheduler update and queries attention at the preceding timestep. It optimizes the latent with AdamW (weight decay 0.01) at steps 0–10, with learning rate 5×10−45 \times10^{-4} for one-object and 10−310^{-3} for two-object prompts. The objective uses energy weight 0.3 and entropy weight 10, with query chunks of 512 positions and activation checkpointing for the attention forward pass. The full variant allows up to ten optimization updates per guided step, following official recommendations in the repository. Early stopping checks whether the first controlled concept’s Pearson correlation with its target mask exceeds 0.9, before applying the next update. The one-round variant changes only the maximum update count to one; it retains this early-stopping check and the same 11 guided steps.

Ablation protocol and parameter selection

The guidance-strength ablations in Section 6 compare Wan 2.1 and Wan 2.2 TI2V on the same 25 samples. Every configuration replays its model’s saved base latent tensor for each example. We retain the model-specific settings in Table 6, all attention layers and heads, the first 15 guided steps, step size 1, and the calibration and clipping settings above. The additional strengths are ρ∈{2,3,4,5}\rho\in\{2, 3, 4, 5\}, compared with the existing base and ρ=1\rho= 1 runs. Only ρ\rho changes within this sweep.

The CFG interaction ablations also use the same base settings but modify the sampling as required. For the double strength CFG runs, we double the CFG strengths in Table 6 for Wan2.1 and Wan2.2 5B. For TSG-only, we run TSG for all 50 steps and replace the conditional directions in CFG’s update with the TSG predicted specification-guided direction (CFG’s guidance scale is used).

Compute and measurement protocol

Wan 2.1, Wan 2.2 TI2V, both CogVideoX models, and the TempoControl comparison are run on a cluster with NVIDIA B200 GPUs. The Wan 2.2 A14B model is run on a cluster with NVIDIA H200s. The models use bfloat16 except CogVideoX 2B, which uses float16; the VAE uses float32. The recorded runtime is PyTorch 2.9.1 with CUDA 12.8, Diffusers 0.36.0, and Transformers 4.57.3. CogVideoX enables VAE tiling and slicing. The attention implementation uses PyTorch scaled-dot-product attention for ordinary computation and explicit attention-score computation where needed for capture and steering; the exact kernel selected by the runtime is not recorded in the per-video profiles.

Timing uses a monotonic clock with CUDA synchronization at measurement boundaries. Before each measured video, the profiler empties the CUDA allocator cache and resets peak-memory statistics after model loading. There is no separate discarded warm-up video in this measurement procedure. Generation latency includes initial-noise preparation or replay, prompt encoding, denoising and guidance, and VAE decoding. It excludes model loading, video export, evaluation, and separately timed diagnostic artifacts. Diagnostic memory allocations can still contribute to the recorded peak. When reported as mean ±\pm standard deviation, the standard deviation is the sample standard deviation across videos, not a confidence interval or variation over repeated seeds. Peak memory is the maximum of the per-video PyTorch allocated-memory peaks, including resident model weights, converted to GiB; it is not device-wide memory usage or allocator-reserved memory. Hardware differs for A14B, so cross-model latency comparisons also reflect that difference.

Evaluation metrics

Frame sampling and specification accuracy. We evaluate 21 uniformly spaced decoded frames for every model, including the first and last frame. For a video with FF frames, sampled index ii is ⌊i(F−1)/20⌋\lfloor i(F-1)/20\rfloor, for i=0,…,20i = 0,\ldots,20. We extract binary concept traces using Qwen/Qwen2.5-VL-7B-Instruct. Specification satisfaction accuracy (Sat Acc.) evaluates the prompt-derived specification under the Boolean semantics from Appendix § 12.

Visual quality. We use the MUSIQ-SPAQ model underlying VBench’s imaging-quality dimension [15]. It scores the same sampled frames used for specification evaluation, resizing the longer side to at most 512 pixels according to the VBench preprocessing. We average over frames within each video and then over videos. The table reports raw MUSIQ units, with larger values indicating better perceptual frame quality. Latency and peak GPU memory follow the measurement definitions above.

Evaluator configuration. The Qwen evaluator makes one request per sampled frame, asking for all relevant propositions together. The frame is converted to a uint8 PIL image and passed through the model’s image processor and chat template. The application sends one user message containing the image and the verification prompt. Decoding is greedy, with at most 256 new tokens and one frame per request. The evaluator sees proposition definitions but not the requested temporal schedule or neighboring frames.

The fixed user-prompt preamble is reproduced below; the schema-specific field definitions are then appended from each example’s proposition contexts.

Inspect only the supplied frame. Report what is visibly supported, not what ought to happen. The scene may be stylized or synthetic. Do not infer missing objects or a desired temporal phase. Return only one JSON object with exactly the keys described below, without explanations.

Object-presence fields: “present” means any recognizable visible part, even at the edge, small, or partially occluded. “absent” means confidently not visible. “unclear” means the evidence cannot establish presence or absence; do not equate uncertainty with absence.

State fields: return a JSON list of the exact state names visibly supported. Normally one state applies. If multiple states visibly coexist, list all of them; do not force a valid phase. Return [] only when you can confidently establish that none applies. Return [“unclear”] if the state cannot be determined, the transition is ambiguous, or the relevant entity is not recognizable. Do not combine “unclear” with other labels. Use the same visibility entity when distinguishing its states. A closed door is shut; an open or ajar door is not closed. If the opening cannot be seen clearly, use unclear. Standing and sitting refer to the actual pose; an ambiguous intermediate pose is unclear. For traffic lights, judge the illuminated signal, not an unlit colored lens.

For example, a pose-transition request appends a state field listing the allowed compound state labels and their definitions. Entity-presence fields instead allow present, absent, or unclear. City-lighting alternatives additionally receive explicit daytime, sunset, and nighttime definitions.

Parsing accepts a JSON object, optionally within a JSON code fence, and normalizes case, whitespace, underscores, and Unicode dash separators in labels. Multiple supported states may be returned simultaneously; we do not force the answer to match a valid temporal phase. Explicit unclear labels and omitted fields map to false in the binary trace. Unknown fields are ignored; invalid known fields, unknown state labels, and inconsistent aliases raise protocol errors. The current evaluator allows two schema-correction retries on the same frame and preserves the invalid responses; exhausted retries leave an error record rather than a fabricated verdict. Earlier saved evaluations without retries remain identified by their raw-response records and source snapshots.

Across all five models, Qwen returned “unclear” labels for at least one proposition in 433 of 46,200 individual frames (0.94%). We assessed sensitivity to these labels using conservative and optimistic treatments across all five models. Conservatively, unclear labels support neither positive nor negative literals; no currently passing video fails under this treatment, leaving reported accuracies unchanged. Optimistically, unclear labels may take Boolean values that satisfy the specification. With models weighted equally, this increases CFG accuracy by 0.73 percentage points and TSG accuracy by 1.36 percentage points.

TempoControl object and action metrics. Object evaluation uses the YOLOv10x detector with Ultralytics 8.4.152 on 21 sampled frames. The detector is invoked with its prediction defaults. Detected class names and requested labels are compared literally after lowercasing.

For one-object clips, a sampled frame is correct if detected presence matches the target mask. For two-object clips, correctness additionally requires the static object in both phases: before entry, the static object must be detected and the entering object absent; after entry, both must be detected. Temporal accuracy is the mean per-video fraction of correct frames. This frame-wise metric differs from the whole-video specification accuracy used on the TSG benchmark.

References

  1. [2]Hila Chefer, Yuval Alaluf, Yael Vinker, Lior Wolf, and Daniel Cohen-Or. Attend-and-excite: Attention-based semantic guidance for text-to-image diffusion models. ACM transactions on Graphics (TOG), 42(4):1–10, 2023.arxiv.org/abs/2301.13826
  2. [3]Minkyu Choi, SP Sharan, Harsh Goel, Sahil Shah, and Sandeep Chinchali. We’ll fix it in post: Improving text-to-video generation with neuro-symbolic feedback. arXiv preprint arXiv:2504.17180, 2025.arxiv.org/abs/2504.17180
  3. [5]Patrick Esser, Johnathan Chiu, Parmida Atighehchian, Jonathan Granskog, and Anastasis Germanidis. Structure and content-guided video synthesis with diffusion models. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 7312–7322. IEEE, 2023.arxiv.org/abs/2302.03011
  4. [6]Weixi Feng, Jiachen Li, Michael Saxon, Tsu-jui Fu, Wenhu Chen, and William Yang Wang. Tc-bench: Benchmarking temporal compositionality in text-to-video and image-to-video generation. arXiv preprint arXiv:2406.08656, 2024.arxiv.org/abs/2406.08656
  5. [8]Google DeepMind. Gemini Omni Flash model card. https://deepmind.google/models/model-cards/gemini-omni-flash/, 2026.
  6. [11]Amir Hertz, Ron Mokady, Jay Tenenbaum, Kfir Aberman, Yael Pritch, and Daniel Cohen-Or. Prompt-to-prompt image editing with cross attention control. arXiv preprint arXiv:2208.01626, 2022.arxiv.org/abs/2208.01626
  7. [12]Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022.arxiv.org/abs/2207.12598
  8. [14]Jonathan Ho, Tim Salimans, Alexey Gritsenko, William Chan, Mohammad Norouzi, and David Fleet. Video diffusion models. Advances in neural information processing systems, 35:8633–8646, 2022b.
  9. [15]Ziqi Huang, Yinan He, Jiashuo Yu, Fan Zhang, Chenyang Si, Yuming Jiang, Yuanhan Zhang, Tianxing Wu, Qingyang Jin, Nattapol Chai-panisit, et al. Vbench: Comprehensive video benchmark suite for video generative models. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 21807–21818. IEEE, 2024.
  10. [16]Avishree Khare, Hideki Okamoto, Bardh Hoxha, Georgios Fainekos, and Rajeev Alur. Logstop: Temporal scores over prediction sequences for matching and retrieval. arXiv preprint arXiv:2510.06512, 2025.arxiv.org/abs/2510.06512
  11. [17]Ron Koymans. Specifying real-time properties with metric temporal logic. Real-Time Syst., 2(4):255–299, October 1990. ISSN 0922-6443. doi: 10.1007/BF01995674. URL https://doi.org/10.1007/BF01995674.
  12. [18]Long Lian, Baifeng Shi, Adam Yala, Boyi Li, et al. Llm-grounded video diffusion models. In International Conference on Learning Representations, volume 2024, pp. 50207–50227, 2024.arxiv.org/abs/2309.17444
  13. [19]Pengyang Ling, Jiazì Bu, Pan Zhang, Xiaoyi Dong, Yuhang Zhang, Tong Wu, Huaian Chen, Jiaqi Wang, and Yi Jin. Motionclone: Training-free motion cloning for controllable video generation. arXiv preprint arXiv:2406.05338, 2024.arxiv.org/abs/2406.05338
  14. [20]Leigang Qu, Ziyang Wang, Na Zheng, Wenjie Wang, Liqiang Nie, and Tat-Seng Chua. Ttom: Test-time optimization and memorization for compositional video generation. In International Conference on Learning Representations, volume 2026, pp. 70225–70247, 2026.arxiv.org/abs/2510.07940
  15. [21]Runway. Runway Gen-4.5: State-of-the-art AI video generation. https://runway.com/research/introducing-runway-gen-4.5, 2025.
  16. [22]Shira Schiber, Ofir Lindenbaum, and Idan Schwartz. Tempocontrol: Temporal attention guidance for text-to-video models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 36670–36679, 2026.arxiv.org/abs/2510.02226
  17. [23]SP Sharan, Minky u Choi, Sahil Shah, Harsh Goel, Mohammad Omama, and Sandeep Chinchali. Neuro-symbolic evaluation of text-to-video models using formal verification. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 8395–8405. IEEE, 2025.arxiv.org/abs/2411.16718
  18. [25]Kaiyue Sun, Kaiyi Huang, Xian Liu, Yue Wu, Zihan Xu, Zhenguo Li, and Xihui Liu. T2v-compbench: A comprehensive benchmark for compositional text-to-video generation. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 8406–8416. IEEE, 2025.arxiv.org/abs/2407.14505
  19. [26]Ye Tian, Ling Yang, Haotian Yang, Yuan Gao, Yufan Deng, Jingmin Chen, Xintao Wang, Zhaoxhen Yu, Xin Tao, Pengfei Wan, et al. Videotetris: Towards compositional text-to-video generation. Advances in Neural Information Processing Systems, 37:29489–29513, 2024.arxiv.org/abs/2406.04277
  20. [27]Team Wan, Ang Wang, Baole Ai, Bin Wen, Chaojie Mao, Chen-Wei Xie, Di Chen, Feiwu Yu, Haiming Zhao, Jianxiao Yang, et al. Wan: Open and advanced large-scale video generative models. arXiv preprint arXiv:2503.20314, 2025.arxiv.org/abs/2503.20314
  21. [29]Ziyi Wu, Aliaksandr Siarohin, Willi Menapace, Ivan Skorokhodov, Yuwei Fang, Varnith Chordia, Igor Gilitschenski, and Sergey Tulyakov. Mind the time: Temporally-controlled multi-event video generation. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 23989–24000. IEEE, 2025.arxiv.org/abs/2412.05263
  22. [30]Zhuoyi Yang, Jiayan Teng, Wendi Zheng, Ming Ding, Shiyu Huang, Jiazheng Xu, Yuanming Yang, Wenyi Hong, Xiaohan Zhang, Guanyu Feng, et al. Cogvideox: Text-to-video diffusion models with an expert transformer. In International Conference on Learning Representations, volume 2025, pp. 83048–83077, 2025.arxiv.org/abs/2408.06072
  23. [31]Qingru Zhang, Chandan Singh, Liyuan Liu, Xiaodong Liu, Bin Yu, Jianfeng Gao, and Tuo Zhao. Tell your model where to attend: Post-hoc attention steering for llms. In International Conference on Learning Representations, volume 2024, pp. 42411–42430, 2024.arxiv.org/abs/2311.02262

Paper details

vlnc:W_hrnkgs2p
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 9

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

generative AI tools

View statement
Looking for related papers…
Contents