atlas

Research map / Large language models / Language, safety and interpretability

The Devil is in the Prompts: Retrieval-Augmented Prompt Optimization for Text-to-Video Generation

CVPR 2025 · Large language models › Language, safety and interpretability · approach: In-context learning analysis · 7 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes RAPO, a retrieval-augmented prompt optimization framework that rewrites user prompts for text-to-video models via a relation-graph word augmentation branch, a fine-tuned refactoring LLM, and a fine-tuned discriminator that selects between two candidate prompts.

Problem

Short or misaligned user prompts degrade text-to-video generation because T2V models perform best on prompts matching the training prompt distribution; prior LLM-based prompt optimization was designed for T2I and lacks guidance on vocabulary and sentence structure.

Approach

Build a relation graph of scenes and modifiers from training prompts, retrieve and merge relevant modifiers into the user prompt via an LLM, refactor the result with a LoRA-tuned LLM to match training prompt format, and use a fine-tuned discriminator LLM to pick between this and a directly rewritten prompt.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply RAPO prompt optimizationLaVie · VBenchTotal Score: 80.89% -> 82.38%Helped
apply RAPO prompt optimizationLatte · VBenchmultiple objects: 29.55% -> 52.78%Helped
apply RAPO prompt optimizationLaVie · VBenchmultiple objects: 37.71% -> 64.86%Helped
apply RAPO prompt optimizationLatte · VBenchTotal Score: 77.03% -> 79.97%Helped
apply RAPO prompt optimizationLaVie · EvalCrafterFinal Sum Score: 251 -> 256Helped
apply RAPO prompt optimizationLatte · EvalCrafterFinal Sum Score: 222 -> 227Helped
apply RAPO prompt optimizationLaVie · T2V-CompBenchobject interactions: 0.760 -> 0.839Helped
apply RAPO prompt optimizationLatte · T2V-CompBenchobject interactions: 0.792 -> 0.856Helped
add word augmentation (ablation)RAPO on LaVie · VBenchTotal Score: 80.37% -> 82.38%Helped
add sentence refactoring (ablation)RAPO on LaVie · VBenchTotal Score: 79.75% -> 82.38%Helped
add prompt selection (ablation)RAPO on LaVie · VBenchTotal Score: 81.58% -> 82.38%Helped
replace GPT-4 with Mistral as L (ablation)RAPO on LaVie · VBenchTotal Score: 82.38% -> 82.25%No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Vimeo25M VBench prompts EvalCrafter prompts T2V-CompBench prompts

Benchmarks: VBench EvalCrafter T2V-CompBench

Metrics: VBench total score VBench dimension scores (multiple objects, object class, hum EvalCrafter final sum score T2V-CompBench attribute binding and object interaction score

Baselines: naive user prompt GPT-4 prompt rewriting Open-sora prompt refiner

Builds on: LaVie Latte VBench EvalCrafter T2V-CompBench

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy