Skip to content

Video understanding, tracking, generation, and world models · Video generation · VID056 · Model

VideoPoet

Frames multimodal video tasks as autoregressive token modeling, using discrete representations of video, audio and other inputs.

Explained here Component demo, not a trained model CodeSplash's run and the reference's record

In CodeSplash

Documented in the Academy only. There's no Set up button.

Availability
Explained here
Code example
Component demo, not a trained model
Who ran it
CodeSplash's run and the reference's record
CodeSplash's run
The reference's example ran here in one language.
The reference's record
Python: Ran in the reference's review. The report doesn't record which version of the code ran. R: Reviewed but not run: R wasn't available to the reference's authors.

Purpose

Frames multimodal video tasks as autoregressive token modeling, using discrete representations of video, audio and other inputs. A shared sequence model can handle generation and transformations through task-specific token arrangements.

Question / objective

Learn a conditional distribution over videos, with useful visual quality, temporal coherence and controllability. This is a learning or inference objective, not a test of a statistical null hypothesis.

Method type and supervision

model · Video generation. Generative distribution learning, commonly with text/image conditioning; adversarial and token objectives differ.

Architecture / computational structure

Discrete multimodal tokenizers and a task-conditioned autoregressive sequence model.

Assumptions

Inputs must satisfy the temporal, modality and annotation protocol described below. Token compression limits detail, and long sequences are expensive. Cross-modal synchronization must be evaluated directly; a coherent-looking clip can have misaligned sound.

Formula / computational definition

L=−∑ilog⁡pθ(zi∣z<i,task,c)L=-\sum_i\log p_\theta(z_i\mid z_{<i},\text{task},c) predicts a multimodal token stream. Tokenizer type and task delimiters determine how video, audio and text are represented and conditioned.

Parameters and notation

Learned/estimated quantities: Tokenizer, denoiser/generator, temporal and conditioning weights are learned as applicable; sampled latents are random variables rather than fitted model weights. Symbols specific to the objective are defined with the equation. Hyperparameters and design choices: Token vocabularies, task mixture, sequence ordering, context budget, audio/video synchronization and sampling settings matter.

Fitting, fine-tuning, and adaptation

Adapt task mixtures or supported low-rank language-model modules without silently changing vocabularies. Re-evaluate video, audio and editing tasks to detect cross-task forgetting. Use a separate adaptation validation split, monitor the target metric and retention of previously useful behavior, and save the exact preprocessing and training configuration.

How to use and calibrate

Fix the input protocol and target before fitting; choose design settings on held-out source videos, then freeze the evaluation procedure. Evaluate task-specific video quality, conditioning adherence, synchronized audio where applicable and long-motion coherence.

Example application

Transform or extend a clip using text and multimodal context.

Interpretation / pitfalls

Watch out

An optimized training objective or a favorable example does not establish generalization. Evaluate task-specific video quality, conditioning adherence, synchronized audio where applicable and long-motion coherence. The example below isolates one mechanism and cannot substantiate a full-model benchmark claim.

Python and R code examples

Component: Serialize a task-conditioned multimodal token stream. Dependencies: NumPy in Python; base R in R; run the shared setup above. Python component: executed successfully. R component: unexecuted. No complete model training or pretrained inference was executed.

Full implementation route — Python: Use the paper as a specification for custom tokenizer and autoregressive pipelines; do not assume downloadable original full-model weights. R: Demonstrate task-token ordering and conditional token losses in R; call an external Python implementation only when its provenance is explicit.

Python and R

The reference's own programs, shown as written. A component demo shows one central piece of the method; it doesn't train a full model.

Python

Component demo, not a trained model — Serialize a task-conditioned multimodal token stream.

Shared setup for this chapter
import numpy as np

def softmax(x):
    z = np.asarray(x, dtype=float)
    e = np.exp(z - z.max())
    return e / e.sum()
task = ["<text_to_video>"]
text = ["red","ball","rolls"]
video_tokens = ["v12","v7","v3"]
audio_tokens = ["a4","a9"]
stream = task+["<text>"]+text+["<video>"]+video_tokens+["<audio>"]+audio_tokens
print(stream)
# Actual tokenizer vocabularies and order must follow the trained model.
R

Component demo, not a trained model — Serialize a task-conditioned multimodal token stream.

Shared setup for this chapter
softmax <- function(x) {
  e <- exp(x - max(x))
  e / sum(e)
}
stream <- c("<text_to_video>","<text>","red","ball","rolls",
            "<video>","v12","v7","v3","<audio>","a4","a9")
print(stream)
# Illustrative serialization; these strings are not real model token IDs.

Sources

From the CodeSplash reference, entry VID056.