mlsanityData to 14 Oct 2026

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

arXiv 2504.11739 ↗First posted 16 Apr 2025cs.CV cs.CLcited by 21

On the map: Retrieval-augmented generation → Generation and context integration

Abstract (arXiv)

The evolution of Text-to-video (T2V) generative models, trained on large-scale datasets, has been marked by significant progress. However, the sensitivity of T2V generative models to input prompts highlights the critical role of prompt design in influencing generative outcomes. Prior research has predominantly relied on Large Language Models (LLMs) to align user-provided prompts with the distribution of training prompts, albeit without tailored guidance encompassing prompt vocabulary and sentence structure nuances. To this end, we introduce RAPO, a novel Retrieval-Augmented Prompt Optimization framework. In order to address potential inaccuracies and ambiguous details generated by LLM-generated prompts. RAPO refines the naive prompts through dual optimization branches, selecting the superior prompt for T2V generation. The first branch augments user prompts with diverse modifiers extracted from a learned relational graph, refining them to align with the format of training prompts via a fine-tuned LLM. Conversely, the second branch rewrites the naive prompt using a pre-trained LLM following a well-defined instruction set. Extensive experiments demonstrate that RAPO can effectively enhance both the static and dynamic dimensions of generated videos, demonstrating the significance of prompt optimization for user-provided prompts.

Key facts. Cited by 21 papers in the map (data through 14 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 47 of its 52 references that are in the map. First posted on arXiv 16 Apr 2025.

Builds on

47 of 52 references.

References · 47

  1. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
  5. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
  6. 2022Scalable Diffusion Models with Transformerscited by 6,054
  7. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
  8. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
  9. 2023Mistral 7Bcited by 3,164
  10. 2023Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large Datasetscited by 2,581
  11. 2022Video Diffusion Modelscited by 2,305
  12. 2024CogVideoX: Text-to-Video Diffusion Models with An Expert Transformercited by 2,261
35 more
  1. 2023VBench: Comprehensive Benchmark Suite for Video Generative Modelscited by 1,822
  2. 2023AnimateDiff: Animate Your Personalized Text-to-Image Diffusion Models without Specific Tuningcited by 1,433
  3. 2022Magic3D: High-Resolution Text-to-3D Content Creationcited by 1,290
  4. 2024WorldSimBench: Towards Video Generation Models as World Simulatorscited by 881
  5. 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Modelscited by 702
  6. 2023Fantasia3D: Disentangling Geometry and Appearance for High-quality Text-to-3D Content Creationcited by 687
  7. 2024Movie Gen: A Cast of Media Foundation Modelscited by 644
  8. 2023Structure and Content-Guided Video Synthesis with Diffusion Modelscited by 590
  9. 2024VideoCrafter2: Overcoming Data Limitations for High-Quality Video Diffusion Modelscited by 579
  10. 2024Latte: Latent Diffusion Transformer for Video Generationcited by 546
  11. 2022Training-Free Structured Diffusion Guidance for Compositional Text-to-Image Synthesiscited by 388
  12. 2024Pyramidal Flow Matching for Efficient Video Generative Modelingcited by 366
  13. 2023LAVIE: High-Quality Video Generation with Cascaded Latent Diffusion Modelscited by 349
  14. 2023EvalCrafter: Benchmarking and Evaluating Large Video Generation Modelscited by 340
  15. 2023Show-1: Marrying Pixel and Latent Diffusion Models for Text-to-Video Generationcited by 302
  16. 2023SEINE: Short-to-Long Video Diffusion Model for Generative Transition and Predictioncited by 233
  17. 2022Optimizing Prompts for Text-to-Image Generationcited by 207
  18. 2024T2V-CompBench: A Comprehensive Benchmark for Compositional Text-to-video Generationcited by 185
  19. 2023FreeNoise: Tuning-Free Longer Video Diffusion via Noise Reschedulingcited by 180
  20. 2023Grounded Text-to-Image Synthesis with Attention Refocusingcited by 164
  21. 2023Gen-L-Video: Multi-Text to Long Video Generation via Temporal Co-Denoisingcited by 139
  22. 2024Loong: Generating Minute-level Long Videos with Autoregressive Language Modelscited by 99
  23. 2023Animate-A-Story: Storytelling with Retrieval-Augmented Video Generationcited by 90
  24. 2024MovieDreamer: Hierarchical Generation for Coherent Long Visual Sequencecited by 89
  25. 2024Vlogger: Make Your Dream A Vlogcited by 70
  26. 2024LayerPano3D: Layered 3D Panorama for Hyper-Immersive Scene Generationcited by 53
  27. 2024Dynamic Prompt Optimizing for Text-to-Image Generationcited by 45
  28. 2023Probabilistic Adaptation of Text-to-Video Modelscited by 29
  29. 2023Tailored Visions: Enhancing Text-to-Image Generation with Personalized Prompt Rewritingcited by 23
  30. 2024Magnet: We Never Know How Text-to-Image Diffusion Models Work, Until We Learn How Vision-Language Models Functioncited by 19
  31. 2024A Cat Is A Cat (Not A Dog!): Unraveling Information Mix-ups in Text-to-Image Encoders through Causal Analysis and Embedding Optimizationcited by 19
  32. 2024AUCSeg: AUC-oriented Pixel-level Long-tail Semantic Segmentationcited by 18
  33. 2024Prompt Refinement with Image Pivot for Text-to-Image Generationcited by 11
  34. 2024A User-Friendly Framework for Generating Model-Preferred Prompts in Text-to-Image Synthesiscited by 7
  35. 2024Capability-aware Prompt Reformulation Learning for Text-to-Image Generationcited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 6; 2026: 15.

21 papers.

Sort:

By area:

  1. 2025VISTA: A Test-Time Self-Improving Video Generation Agentcited by 31
  2. 2025RAPO++: Cross-Stage Prompt Optimization for Text-to-Video Generation via Data Alignment and Test-Time Scalingcited by 10
  3. 2025Multimodal Prompt Optimization: Why Not Leverage Multiple Modalities for MLLMscited by 7
  4. 2025Causally Steered Diffusion for Automated Video Counterfactual Generationcited by 6
  5. 2026SCMAPR: Self-Correcting Multi-Agent Prompt Refinement for Complex-Scenario Text-to-Video Generationcited by 4
  6. 2026Premier: Personalized Preference Modulation with Learnable User Embedding in Text-to-Image Generationcited by 3
  7. 2026Breaking Dual Bottlenecks: Evolving Unified Multimodal Models into Self-Adaptive Interleaved Visual Reasonerscited by 3
  8. 2026CAPE-T2V: Captioner-Anchored Prompt Enhancement toward Two-Sided Conditioning Alignment in Text-to-Video Generationcited by 3
  9. 2026Guiding Diffusion-based Reconstruction with Contrastive Signals for Balanced Visual Representationcited by 2
  10. 2025V.I.P. : Iterative Online Preference Distillation for Efficient Video Diffusion Modelscited by 1
  11. 2026Beyond Trial-and-Error: Agentic Optimization for Image-to-Video Adherencecited by 1
  12. 2026WanPE: Towards Cinematic Prompt Enhancement for Modern Text-to-Video Generationcited by 1
9 more
  1. 2025A Reason-then-Describe Instruction Interpreter for Controllable Video Generationcited by 0
  2. 2026TextBFGS: A Case-Based Reasoning Approach to Code Optimization via Error-Operator Retrievalcited by 0
  3. 2026Retrieval, Refinement, and Ranking for Text-to-Video Generation via Prompt Optimization and Test-Time Scalingcited by 0
  4. 2026P-Flow: Prompting Visual Effects Generationcited by 0
  5. 2026When Numbers Speak: Aligning Textual Numerals and Visual Instances in Text-to-Video Diffusion Modelscited by 0
  6. 2026Jailbreaking Multimodal Large Language Models using Multi-Clip Videocited by 0
  7. 2026PermaVid: Consistent Video Generation Across Edits via Disentangled Context Memorycited by 0
  8. 2026From Evaluation to Enhancement: Benchmarking and Improving Think-with-Video Reasoning for Video Generative Modelscited by 0
  9. 2026SkillPE: Creativity-Oriented Cinematic Skill Evolution for Text-to-Video Prompt Engineeringcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024Prompt-A-Video: Prompt Your Video Diffusion Model via Preference-Aligned LLM
  2. 2025VPO: Aligning Text-to-Video Generation Models with Prompt Optimization
  3. 2026TIDE: Trajectory-Informed Skill Distillation for Efficient Text-to-Video Prompt Optimization
  4. 2025ConceptMix++: Leveling the Playing Field in Text-to-Image Benchmarking via Iterative Prompt Optimization
  5. 2024Batch-Instructed Gradient for Prompt Evolution:Systematic Prompt Optimization for Enhanced Text-to-Image Synthesis
  6. 2023POS: A Prompts Optimization Suite for Augmenting Text-to-Video Generation
  7. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applications
  8. 2025PromptEnhancer: A Simple Approach to Enhance Text-to-Image Models via Chain-of-Thought Prompt Rewriting