Abstract
The remarkable progress in text-to-video diffusion models enables photorealistic generations, although the contents of the generated video often include unnatural movement or deformation, reverse playback, and motionless scenes. Recently, an alignment problem has attracted huge attention, where we steer the output of diffusion models based on some quantity on the goodness of the content. Because there is a large room for improvement of perceptual quality along the frame direction, we should address which metrics we should optimize and how we can optimize them in the video generation. In this paper, we propose diffusion latent beam search with lookahead estimator, which can select better diffusion latent to maximize a given alignment reward, at inference time. We then point out that the improvement of perceptual video quality considering the alignment to prompts requires reward calibration by weighting existing metrics. When evaluating outputs by using vision language models as a proxy of humans, many previous metrics to quantify the naturalness of video do not always correlate with evaluation and also depend on the degree of dynamic descriptions in evaluation prompts. We demonstrate that our method improves the perceptual quality based on the calibrated reward, without model parameter update, and outputs the best generation compared to greedy search and best-of-N sampling. We provide practical guidelines on which axes, among search budget, lookahead steps for reward estimate, and denoising steps, in the reverse diffusion process, we should allocate the inference-time computation.
Introduction
Modern text-to-video (T2V) diffusion models have reached a level of visual fidelity that was unthinkable a few years ago. However, these models still struggle with temporal consistency and physical realism. It is common to see objects deforming unnaturally, scenes remaining static despite dynamic prompts, or motion occurring in reverse. While fine-tuning models on human preference data is a common solution, it is computationally expensive and requires massive datasets.
This paper explores "inference-time alignment"—steering the model during the generation process without modifying its underlying parameters. We introduce Diffusion Latent Beam Search (DLBS) combined with a Lookahead (LA) Estimator, a framework designed to maximize alignment rewards efficiently during the denoising process.
The Challenges of Inference-Time Alignment
Steering a diffusion model during inference faces two primary obstacles:
- The Noisy Latent Problem: In the early stages of diffusion, latents are highly noisy. Calculating a reward directly on these latents is unreliable because it is difficult to predict if a noisy state will eventually resolve into a high-quality video.
- Metric Mismatch and Over-optimization: Automated metrics often fail to capture human preferences. For instance, optimizing solely for "motion" might result in a video with high movement but poor aesthetic quality or broken physics.
Methodology
Diffusion Latent Beam Search (DLBS)
To move beyond standard greedy sampling, we implement a beam search strategy within the latent space. At each denoising step, the algorithm maintains a set of $B$ active "beams" (candidate latents). For each beam, $K$ potential next-step candidates are sampled. The best $B$ candidates are selected based on an estimated reward, allowing the model to explore multiple trajectories and avoid local optima that often plague greedy search.
Lookahead (LA) Estimator
To address the unreliability of rewards on noisy latents, we introduce the Lookahead Estimator. Instead of evaluating the current noisy latent, the system performs a small number of deterministic DDIM steps to project the latent toward its final "clean" state. This "peek into the future" provides a much clearer signal for the reward function, ensuring the beam search selects paths that lead to high-quality final outputs.
Reward Calibration
A critical contribution of this work is the development of a calibrated reward function. We combine six distinct metrics:
- Subject Consistency
- Motion Smoothness
- Dynamic Degree
- Aesthetic Quality
- Imaging Quality
- Text-Video Consistency
To ensure these metrics align with human judgment, we used advanced Vision Language Models (VLMs), such as Gemini 1.5 Pro and GPT-4o, to tune the weights of these individual scores. This multi-objective approach prevents the "gaming" of any single metric and ensures a balanced, high-quality result.
Experimental Setup and Results
We evaluated DLBS-LA across several benchmarks, including MSRVTT-test, DEVIL (which categorizes prompts by motion intensity), and the Movie Gen Video Bench. The method was applied to state-of-the-art models like Wan 2.1 (14B), CogVideoX-5B, and Latte.
Efficiency and Performance
DLBS-LA consistently outperformed both greedy search and "Best-of-N" sampling. Notably, DLBS-LA achieved superior alignment scores with significantly lower computational costs than Best-of-N, which requires generating $N$ full videos.
Compute Allocation Guidelines
Our research provides a practical roadmap for allocating "inference-time compute." We found that increasing the search budget (beam size) and the lookahead steps yields higher returns in video quality than simply increasing the number of denoising steps. This suggests that "thinking harder" about which path to take is more valuable than "taking more steps" along a single path.
Conclusion
Diffusion Latent Beam Search with Lookahead estimation offers a powerful, model-agnostic way to improve text-to-video generation. By effectively navigating the latent space and using calibrated rewards, we can generate videos that are not only visually stunning but also physically plausible and strictly aligned with user prompts. As T2V models continue to scale, inference-time strategies like DLBS will be essential for bridging the gap between raw generative power and human-centric quality.
Summary updated