# Optical-Flow Guided Prompt Optimization for Coherent Video Generation

Source: [Optical-Flow Guided Prompt Optimization for Coherent Video Generation](<https://www.sota2.com/research/paper/68fa77981e209131cea743ef>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-01-04T04:59:32.862Z

Authors: Hyelin Nam, Jaemin Kim, Dohun Lee, Jong Chul Ye

Published: 2024-11-23T12:26:52.000Z

## Abstract

While text-to-video diffusion models have made significant strides, many still face challenges in generating videos with temporal consistency. Within diffusion frameworks, guidance techniques have proven effective in enhancing output quality during inference; however, applying these methods to video diffusion models introduces additional complexity of handling computations across entire sequences. To address this, we propose a novel framework called MotionPrompt that guides the video generation process via optical flow. Specifically, we train a discriminator to distinguish optical flow between random pairs of frames from real videos and generated ones. Given that prompts can influence the entire video, we optimize learnable token embeddings during reverse sampling steps by using gradients from a trained discriminator applied to random frame pairs. This approach allows our method to generate visually coherent video sequences that closely reflect natural motion dynamics, without compromising the fidelity of the generated content. We demonstrate the effectiveness of our approach across various models.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Text-to-Video Generation on User Study 90 videos](<https://www.sota2.com/research/sota/text-to-video-generation-on-user-study-90-videos.md>): Text-to-Video Generation; User Study 90 videos; Win Rate: 66.5.

- [Text-to-Video Generation on VBench 1.0 (test)](<https://www.sota2.com/research/sota/text-to-video-generation-on-vbench-1-0-test.md>): Text-to-Video Generation; VBench 1.0 (test); VBench Score: not recorded.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2411.15540>)

[PDF](<https://arxiv.org/pdf/2411.15540.pdf>)

[Implementation](<https://motionprompt.github.io/>)
