Meta Inverse Prompting for Video Generative Models

Yerin Jung, Jongheon JeongNeurIPS 2026

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.

Figure 1: Illustration of MVIP and downstream editing. MVIP recovers a prompt from a target video through inverse prompting, enabling a video generator conditioned on the prompt to reproduce the video. Using the recovered prompt, video generation can be controlled by editing the prompt, enabling controllable video editing.

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:

  1. 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.
  2. 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).

Figure 2: Overview of MVIP. MVIP meta-learns a shared soft-prompt initialization for video inverse prompting across video tasks. During inner-loop adaptation, a frozen VLM generates candidate prompts, and the candidate with the highest reconstruction score from a frozen video generator is selected as a pseudo-target for updating the soft prompt. The task-adapted prompts are then used to update the shared initialization, which can be directly applied to unseen videos.

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.
Figure 3: Qualitative comparison of video reconstruction over time. Compared with the baselines, which begin to drift from the reference video at early time steps such as f = 4 or f = 8, MVIP pre- serves the reference content and temporal progression throughout the sequence, remaining consistent even at f = 60. Additional discussion is provided in Appendix F.1.

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

Abstract

Recent advances in video generative models have enabled flexible conditional generation and editing pipelines, such as text-to-video, image-to-video, and reference-guided synthesis. However, these workflows are inherently one-directional, mapping conditions to videos without providing a mechanism to invert this process. In complex media production settings, the ability to recover controllable textual conditions from a given video is highly desirable, yet remains underexplored. While inverse prompting has been studied for image generation, directly extending these approaches to video is challenging due to the need to capture temporal dynamics beyond static appearance, as well as the substantial computational cost of per-video optimization. In this work, we propose the first practical framework for efficient video inverse prompting. Specifically, we formulate inverse prompting as a meta-learning problem and introduce Meta Video Inverse Prompting (MVIP), which learns a meta-prompt optimized over temporal dimensions to enable fast and effective prompt inference. Our approach amortizes the inversion process, eliminating the need for costly iterative optimization at test time. Experimental results demonstrate that MVIP recovers higher-quality inverse prompts with significantly improved reconstruction fidelity compared to image-based inversion and iterative captioning baselines, while achieving substantial gains in efficiency. Code and video results are available at https://ueriniuno.github.io/mvip-page/.
BibTeX
@inproceedings{jung2026meta,
  author = {Yerin Jung and Jongheon Jeong},
  title = {{Meta Inverse Prompting for Video Generative Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=iRDtcVU7O0},
}
Figure