TL;DR
Modern AI video generators are one-way streets: feed in a text prompt, get a video out. Meta Video Inverse Prompting (MVIP) flips this process, acting like a reverse-engineering translator that watches a video and extracts the exact text prompt needed to recreate—or controllably edit—it. By training a compact, reusable "meta-prompt" inside a vision-language model, MVIP achieves faithful video reconstructions in a single fast pass, dodging the astronomical compute costs of optimizing prompts from scratch.
What Problem Does This Paper Address?
Suppose you have a video clip—either filmed in the real world or generated by AI—and you want to tweak just one detail, like making a stationary drone take off while keeping the lighting and background intact. Without the exact text prompt that maps to that video inside a generator, you are stuck playing trial-and-error roulette with prompt engineering.
Recovering that text condition is called inverse prompting. In the image world, researchers solve this in two ways:
- Gradient-based optimization: Pushing gradients backward through the generator to find tokens that recreate the image. For long videos, doing this per-clip is prohibitively slow and expensive—and impossible for black-box generators.
- Captioning: Asking a Vision-Language Model (VLM) to describe what it sees. While fast, standard captions miss the subtle temporal dynamics, motion trajectories, and camera cuts that video generators actually need to reconstruct a scene faithfully.
Video inverse prompting lacked a practical middle ground that is both reconstruction-accurate and computationally fast.
Methods
Instead of optimizing a prompt from scratch for every new video, the authors treat each video segment as a task in a meta-learning framework (specifically inspired by the first-order Reptile algorithm, which learns a great starting point across tasks without needing heavy second-order derivatives).
Both the VLM (Qwen2.5-VL-7B) and the black-box video generator (Wan2.2, anchored by the segment's first and last frames to bound the start and end states) remain completely frozen. The only thing MVIP trains is a tiny set of 16 continuous soft-prompt tokens ($\Phi$) fed into the VLM alongside a basic instruction.
Training happens in two loops:
- Inner Loop (Task Adaptation): Given a target video, the soft-prompted VLM samples $N=4$ candidate text prompts. The video generator renders all four, and a similarity metric scores how close each generated video is to the original. The winning prompt ("Best-of-$N$") acts as a pseudo-target: MVIP updates the soft tokens to make the VLM more likely to output that winning phrasing.
- Outer Loop (Meta-Update): Across batches of diverse videos, MVIP nudges the shared soft prompt toward the average of the task-adapted prompts.
At test time, optimization is amortized away. You hand an unseen video to the VLM equipped with the meta-learned $\Phi$, and it behaves like a "reconstruction-aware captioner," outputting a rich inverse prompt in one shot ($K=0$ adaptation steps).
Datasets
Because video inverse prompting is largely unexplored, no dedicated benchmark existed, so the authors assembled an evaluation suite across several established datasets:
- Meta-training & In-domain Evaluation: Real-world videos from ActivityNet (long human activities) and MSR-VTT (short web clips), plus synthetic videos from VidProM (prompts paired with clips from Pika, VideoCrafter2, ModelScope, and newly generated Wan2.2 videos).
- Unseen Generalization: Kinetics-400 and DAVIS-2017 to test out-of-distribution transfer.
- Downstream Editing: Subject-motion editing tasks from IVEBench.
Key Insights and Ideas
- Bigger VLMs and wordier instructions aren't enough: Swapping in a newer VLM (Qwen3.5-9B) with handcrafted instructions asking for motion and camera details still fell short of MVIP. The learned soft tokens capture generator-relevant spatiotemporal cues that human-written instructions miss.
- Prompts transfer across generators: Even though $\Phi$ was meta-trained using feedback from Wan2.2, plugging its recovered prompts directly into a completely different generator (CogVideoX) at test time still beat all baselines—showing the meta-prompt learns generalizable temporal structure rather than overfitting to one model's quirks.
- Readable, editable control interfaces: Unlike gradient-based image inversion (PEZ), which spits out gibberish token salads (
"ipl lick minogue javelin..."), MVIP outputs coherent natural language. You can minimally rewrite a phrase with an LLM (e.g., changing "examining it closely" to "waving her other hand") to perform training-free video editing. - Warm-starting matters: Initializing the 16 soft tokens with embeddings of
"Describe objects, actions, camera motion, and temporal changes"outperformed random Gaussian initialization.
Key Results
- Reconstruction Fidelity & Speed: On real-world videos, zero-shot MVIP ($K=0$) achieved a 0.8328 ViCLIP video-to-video similarity score in 273.1 seconds/video-second, beating a 3-step iterative caption-refinement baseline (0.8047 ViCLIP) while running 3.88$\times$ faster (273.1s vs. 1060.0s). Adding just one test-time adaptation step ($K=1$) pushed ViCLIP to 0.8392.
- Temporal Stability: Qualitatively, baseline reconstructions drift from the reference scene as early as frame 4 to 8, whereas MVIP keeps subjects, camera cuts, and actions aligned through frame 60.
- Zero-Training Video Editing: On IVEBench, pairing MVIP's recovered prompts with simple GPT-4o text edits beat specialized editing frameworks (RF-Edit and Wan-Edit) on Instruction Satisfaction (3.25) and Content Fidelity (3.95) without any editing-specific training.
Limitations and Future Work
While the main paper does not include a separate limitations section, a key structural constraint is explicitly noted in the problem setup: because text alone underconstrains video reconstruction, the framework relies on conditioning the generator with first and last frames (or the first frame during downstream editing) alongside the recovered prompt to anchor how a scene starts and ends. Future directions are not explicitly discussed in the main text.
Summary updated