Epipolar Geometry Improves Video Generation Models
Orest Kupyn, Fabian Manhardt, Federico Tombari, Christian Rupprecht
TL;DR
The paper tackles the persistent issue of 3D geometric inconsistencies in diffusion-based video generation by introducing epipolar geometry constraints as non-differentiable reward signals within a Direct Preference Optimization framework. By ranking videos based on epipolar consistency (Sampson distance) and fine-tuning a pretrained diffusion model with Flow-DPO, the approach yields significantly improved 3D consistency, smoother camera trajectories, and fewer artifacts, while preserving visual quality and diversity. The method relies on classical geometry (fundamental matrix, Sampson error) rather than learned perceptual metrics, and demonstrates strong generalization from static-scene training to dynamic content across multiple benchmarks. Notably, the work provides a scalable, data-efficient pathway to geometry-aware video generation with practical impact on 3D reconstruction and synthetic data pipelines, though limitations remain for scenes with moving objects and considerations of societal impact and resource use.
Abstract
Video generation models have progressed tremendously through large latent diffusion transformers trained with rectified flow techniques. Yet these models still struggle with geometric inconsistencies, unstable motion, and visual artifacts that break the illusion of realistic 3D scenes. 3D-consistent video generation could significantly impact numerous downstream applications in generation and reconstruction tasks. We explore how epipolar geometry constraints improve modern video diffusion models. Despite massive training data, these models fail to capture fundamental geometric principles underlying visual content. We align diffusion models using pairwise epipolar geometry constraints via preference-based optimization, directly addressing unstable camera trajectories and geometric artifacts through mathematically principled geometric enforcement. Our approach efficiently enforces geometric principles without requiring end-to-end differentiability. Evaluation demonstrates that classical geometric constraints provide more stable optimization signals than modern learned metrics, which produce noisy targets that compromise alignment quality. Training on static scenes with dynamic cameras ensures high-quality measurements while the model generalizes effectively to diverse dynamic content. By bridging data-driven deep learning with classical geometric computer vision, we present a practical method for generating spatially consistent videos without compromising visual quality.
