TL;DR
The Timeline Assembler is a multimodal LLM framework designed to manipulate visual timelines (sequences of video clips or images) directly through natural language instructions. By treating timeline elements as lightweight "pointers" to an asset collection and using an automated, label-free data generation pipeline, it outperforms frontier zero-shot models like GPT-4o on complex editing operations—such as inserting, removing, swapping, or replacing shots.
What Problem Does This Paper Address?
Editing video timelines typically requires manual drag-and-drop operations in complex editing software—a tedious bottleneck for casual creators, mobile device users, and users with disabilities.
While language-based video editing often focuses on altering pixels within a single video clip, instructed visual assembly focuses on the macroscopic structure: rearranging, inserting, swapping, and trimming shots from a pool of assets based on instructions like "Swap the first two clips and add the shot of the kid with the goat."
Existing multimodal LLMs (MLLMs) struggle with this task because:
- They are primarily engineered to ingest a single image or video, failing to scale over collections of dozens of candidate media files.
- They lack native representations to reason over ordered timelines without blowing up context windows.
- No human-annotated datasets exist at scale for training models to follow visual sequence editing instructions.
Methods
The authors address these challenges with a modular architecture and a programmatic data synthesis strategy:
- Pointer-Based Multimodal Architecture:
- Collection Tokenizer: Each visual asset $v^i$ in a collection $\mathcal{C}$ is encoded into visual tokens $x_v^i$ using a frozen vision encoder (EVA-CLIP ViT-g/14 + BLIP-2 Q-former) mapped via a trainable linear projection layer $h_\gamma$. Crucially, each asset is assigned a unique identifier token $x_k^i$.
- Timeline Tokenizer: Instead of repeating expensive visual tokens for shots that appear in the timeline, timelines are represented strictly as sequences of identifier tokens (e.g.,
[x_k^1, x_k^3, ...]). This pointer mechanism avoids redundant tokenization, keeping the context compact. - Multimodal LLM: An instruction-tuned LLM (Vicuna-7B or 13B) processes the concatenated collection tokens, input timeline tokens, and tokenized text instructions. Fine-tuning is restricted to the projection layer and lightweight Low-Rank Adaptation (LoRA) parameters. The LLM outputs an updated sequence of identifier tokens, which are mapped back to reconstruct the edited timeline.
- Label-Free Synthetic Task Generation: The authors define four atomic operations (Insert, Remove, Replace, Swap) paired with two cue types: Positional (referring to shots by index/ID) and Semantic (referring to shots by visual description). By applying predefined transformations programmatically to existing sequences and filling text prompt templates, the system automatically creates paired training samples $(S_{\text{in}}, q, \mathcal{C}) \to S_{\text{out}}$ on-the-fly without human annotation.
Datasets
The authors evaluate the model on two newly constructed benchmarks (collections fixed at 20 assets; testing sets contain 80 samples per task across 8 task variations, totaling 640 evaluation tasks each):
- VIST-A (Visual Storytelling Assembly): Derived from the Visual Storytelling (VIST) dataset containing sequential Flickr photo stories.
- VID-A (Video Sequence Assembly): Sourced from 12,088 YouTube Shorts, segmenting videos into shots and using the center frame as the shot representative.
- Extended Variants: The authors also generated multilen-VID-A (evaluating variable timeline lengths from 2 to 19 shots) and Compositional-VID-A (evaluating compound instructions requiring multiple operations, e.g., an insert followed by a remove).
Key Insights and Ideas
- Pointers Solve the Context Bottleneck: Rather than passing the full visual representations sequentially through the timeline, passing them once into an "asset registry" and using pointer IDs allows standard LLM context windows to handle extensive collections and long timelines.
- Unified Models Match Oracle Ensembles: A single unified multi-task Timeline Assembler achieves 74.1% accuracy on VIST-A, performing within 5% of a theoretical ensemble of 8 single-task models routed by an "Oracle" classifier (79.2%), showing strong multi-task generalization.
- Atomic Training Powers Compositionality: When handling multi-step instructions (e.g., "Add X... then remove Y"), models trained on both atomic and compositional tasks hit 36.3% accuracy, compared to only 26.3% when trained on compositional tasks alone.
Key Results
- Outperforming Baselines: On the VIST-A benchmark, the 13B Timeline Assembler achieves 81.6% overall assembly accuracy (96.9% positional, 66.4% semantic), substantially outperforming zero-shot GPT-4o (48.9%), LLaVA-1.5 (2.8%), and MiniGPT-4 (0.0%).
- Video Timeline Results (VID-A): The 13B Assembler achieves 70.6% overall accuracy versus GPT-4o's 45.8%.
- Robustness Across Sequence Lengths: On multilen-VID-A, GPT-4o degrades sharply as timelines exceed 5 shots (dropping from ~40% to ~28-30%). In contrast, the Timeline Assembler maintains steady performance across lengths from 2 to 19 (averaging 73.6%–82.0%).
- Multi-Instruction Composition: On Compositional-VID-A, the model attains 36.3% accuracy on compound semantic operations where GPT-4o collapses to 3.8%.
Limitations and Future Work
- Context Scaling Limits: Performance degrades when collection sizes exceed 40–50 assets (dropping to 7.2% on VIST-A at 60 assets), driven by LLM context window constraints and harder visual retrieval.
- Inference Speed: Autoregressive decoding takes approximately 5 seconds per instruction on an NVIDIA A100 GPU, presenting challenges for low-power edge deployment.
- Scope of Timeline Operations: The system operates strictly at the discrete shot-sequencing level. It does not support fine-grained temporal trimming, transitions, audio alignment, or pixel-level generative video editing.
Summary updated