TL;DR
The authors introduce Time Interval Encoding (TIE), a plug-and-play, interval-aware generalization of rotary position embeddings (RoPE) designed for Diffusion Transformers (DiTs). By treating time intervals as first-class primitives rather than discrete points, TIE enables video generation models to accurately follow complex, overlapping, and concurrent event prompts with zero runtime overhead.
What Problem Does This Paper Address?
Current state-of-the-art video generation models, particularly Diffusion Transformers (DiTs), struggle with precise temporal control. If you ask a model to generate a video where a robot arm lifts a cup while a person opens a door, it often fails to coordinate the timing.
The root cause is a fundamental mathematical dimension mismatch. Existing models rely on point-wise positional encodings (like RoPE) that treat time as a sequence of discrete, infinitesimal timestamps. Consequently, temporally extended events collapse into ambiguous token sequences. Furthermore, prior multi-event video generators operate under a "single-active-prompt" constraint, assuming only one event happens at any given moment. In reality, over 68% of general video clips and 99% of robotics or gameplay videos contain overlapping, concurrent events.
Methods
Instead of introducing heuristic interval embeddings, the authors propose Time Interval Encoding (TIE) to bridge point-wise video features and interval-based textual events. TIE extends RoPE from point-to-point matching to point-to-interval matching within the cross-attention mechanism based on two core mathematical principles:
- Temporal Integrability: An event's contribution must aggregate positional evidence by integrating point-wise RoPE scores over its full duration, preventing temporal aliasing.
- Duration Invariance: The final score is normalized so that matching strength doesn't trivially grow with interval length, avoiding a systematic bias toward long events.
Under a uniform kernel, these principles yield a closed-form, sinc-modulated encoder called Rotary Time Encoding (RoTE). Crucially, RoTE acts as a temporal low-pass filter. High-frequency boundary noise is naturally attenuated through interval integration, making the model highly robust to imperfect or noisy timestamp annotations during training.
Datasets
To train and evaluate TIE in concurrent-event regimes, the authors introduced OmniEvents, a large-scale, structured event-prompt dataset spanning three domains:
- PexelsEvents: 250k general video clips annotated using a self-reflective vision-language model (VLM) pipeline.
- RoboticsEvents: 86k clips of task-specific bimanual robotics manipulation from Agibot-World-Alpha.
- GameEvents: 80k clips of high-dynamic Elden Ring gameplay featuring frame-accurate event intervals recorded directly from game memory.
The models were also evaluated on standard sequential benchmarks like StoryEval and StoryBench.
Key Insights and Ideas
- The Low-Pass Filter Effect: By integrating over a continuous time interval, RoTE mathematically dampens the impact of boundary perturbations. Shifting an event boundary by a few frames only alters the marginal portion of a long interval, making the encoding inherently stable without requiring explicit data augmentation.
- Faster Convergence: TIE doesn't just achieve better final accuracy; it accelerates learning. Because interval-aware encoding provides a structurally correct inductive bias, the model learns temporal grounding in substantially fewer training steps compared to standard prompt concatenation.
- Localized Temporal Editing: Because intervals are explicitly modeled, TIE allows for localized future edits (e.g., changing a character's action at second 7) without corrupting or drifting the generation of earlier, fixed intervals.
Key Results
TIE was integrated into the Wan2.2-5B text-to-video model and demonstrated substantial improvements in temporal controllability without sacrificing visual quality:
- Temporal Accuracy: On the OmniEvents dataset, TIE boosted the human-verified Temporal Constraint Satisfaction Rate (TCSR) from 77.34% to 96.03%.
- Boundary Precision: It drastically reduced temporal boundary errors from 0.261 seconds down to 0.073 seconds.
- Robustness to Noise: Even when training timestamps were intentionally corrupted with heavy Gaussian noise, TIE still outperformed the baseline trained on perfectly clean timestamps.
Limitations and Future Work
While TIE solves the architectural representation problem, it relies heavily on dense, structured event annotations for training. The authors note that modern VLMs used to generate these annotations can still suffer from factual hallucinations or identity swaps over long contexts, and iterative refinement loops can be computationally expensive.
For future work, the authors suggest integrating TIE with long-video generation paradigms (such as next-chunk generation using KV-Cache) to support long-horizon interactive world simulations and embodied AI data generation.
Summary updated