Command Palette
Search for a command to run...
확률적 세계 모델링을 위한 특징 공간에서의 플로우 매칭
확률적 세계 모델링을 위한 특징 공간에서의 플로우 매칭
François Porcher Nicolas Carion Karteek Alahari Shizhe Chen
초록
세계 모델링은 하류 인식에 유용한 정보를 보존하면서 불확실한 미래를 예측해야 한다. 기존의 시각적 세계 모델은 종종 두 목표를 모두 충족시키는 데 어려움을 겪는다. VAE 기반 확률적 모델은 저차원 재구성 잠재 공간에서 작동하여 인식 성능을 제한할 수 있는 반면, 강력한 사전 훈련 특징을 사용하는 결정론적 예측기는 다중 모드 미래를 단일 흐릿한 평균으로 붕괴시킨다. 본 연구에서는 사전 훈련된 특징 공간(예: DINOv3) 내에서 직접 플로우 매칭을 수행하는 확률적 세계 모델 FlowWM을 제안한다. 사전 훈련된 특징은 상당히 고차원이므로 표준 확산 방법이 최적이 아니기 때문에 이는 도전적이다. 이를 해결하기 위해 특징 공간 플로우 매칭에 필요한 설계 선택을 조사하고, 시간적 일관성과 작업 중심 목표를 통해 효율적인 훈련을 가능하게 하는 미분 가능한 원스텝 투영 메커니즘을 도입한다. FlowWM을 두 가지 벤치마크에서 평가한다: 정확도와 다양성의 체계적 평가를 위한 합성 벤치마크와 실제 세계 벤치마크 FuturePerception. FlowWM은 인식 성능, 모드 커버리지, 지평선 견고성을 향상시켜 고차원 특징 공간에서의 확률적 세계 모델링을 위한 제안된 설계를 검증한다.
One-sentence Summary
FAIR at Meta and Inria propose FlowWM, a stochastic world model that performs flow matching directly in high-dimensional pretrained feature space (e.g., DINOv3) and uses a differentiable one-step projection to enforce temporal consistency and task-driven objectives, yielding improved perception, mode coverage, and horizon robustness on both a synthetic benchmark and the real-world FuturePerception benchmark.
Key Contributions
- FlowWM is a stochastic world model that performs flow matching directly in high-dimensional pretrained visual feature spaces (e.g., DINOv3), enabling diverse future predictions while retaining semantic structure for downstream tasks.
- A differentiable one-step projection mechanism incorporates temporal consistency and task-driven objectives during training, avoiding backpropagation through the full diffusion trajectory and improving efficiency.
- The paper contributes a synthetic benchmark for systematic accuracy and diversity evaluation, the real-world FuturePerception benchmark, and demonstrates that FlowWM improves perception performance, mode coverage, and horizon robustness over prior methods.
Introduction
In autonomous driving and robotics, visual world models forecast future states from past context, but the choice of representation is critical: predictions must preserve semantic and geometric information for downstream perception and planning, not just pixel fidelity. Prior work either uses VAE latents optimized for reconstruction rather than perception, or relies on deterministic predictors in pretrained feature spaces that collapse multimodal futures into a single average, yielding unrealistic outcomes. The authors propose FlowWM, a stochastic world model that applies flow matching directly in high-dimensional pretrained feature spaces such as DINOv3. They introduce architectural and scheduling choices tailored to high-dimensional latents, along with a differentiable one-step projection that enables efficient training with temporal coherence and task-driven objectives without backpropagating through the full sampling trajectory. FlowWM improves perception performance, mode coverage, and horizon robustness over deterministic and stochastic baselines in both a synthetic bouncing-shapes environment and a real-world autonomous driving benchmark.
Dataset
The authors evaluate latent world models using two complementary benchmarks, one synthetic and one real-world, designed to measure perception quality relevant for planning and control.
-
Synthetic benchmark
-
Source: Custom-generated controlled stochastic environments.
-
Composition: Simple objects in highly structured settings.
-
Purpose: Enables rigorous, reproducible evaluation with full ground truth.
-
Usage: Models are tested on future frame prediction, and perception metrics are computed directly from the generated sequences.
-
Real-world benchmark: FuturePerception
-
Source: Built entirely from the Waymo Open Dataset, originally created for object tracking.
-
Composition & filtering: No data filtering is applied; the dataset retains the natural distribution of real-world autonomous driving scenes.
-
Video properties: High-resolution frames (1920×1280) at 10 FPS.
-
Task definition: 4 context frames are used to predict the next 12 frames, corresponding to 1.2 seconds into the future.
-
Processing: No additional cropping or metadata generation is mentioned; the raw frames are used directly.
-
Usage: The benchmark is used exclusively for evaluation. Latent world models generate future frame predictions, and the quality of the latent predictions is assessed through downstream perception tasks:
-
Object detection: Evaluated on large vehicles, pedestrians, and cyclists with AP_L(N) (best-of-N AP to capture multi-modal futures).
-
Depth estimation: Assessed with standard RMSE and threshold accuracy δ_i.
-
Split: No explicit training split is described; the benchmark serves as a fixed evaluation protocol measuring how well predicted frames support perception modules.
Method
The authors introduce FlowWM, a stochastic latent space world model that operates directly in the high-dimensional latent spaces of pretrained vision encoders. Given a video sequence, the initial context frames are encoded frame-by-frame using a frozen pretrained encoder (e.g., DINOv3) to obtain context latents. The model then predicts the subsequent latent frames. Evaluation is performed on downstream perception tasks using frozen decoders applied to the predicted features.
Refer to the framework diagram:
To generate future latents, the authors employ flow matching with a standard linear probability path. Let x0 denote a noise latent and x1 a data latent corresponding to future frames conditioned on a context latent xctx. A continuous interpolation variable τ∈(0,1) is used along the probability path, computing a linear interpolation between noise and data as: xτ=(1−τ)x0+τx1 For this linear path, the ground-truth velocity field is u⋆(xτ,τ)=x1−x0. A neural network uθ(xτ,xctx,τ) is trained to approximate this velocity, learning the conditional distribution p(xfuture∣xctx). Sampling is performed by integrating the ODE dτdxτ=uθ(xτ,xctx,τ) from τ=0 to τ=1, starting from x0∼pnoise.
As shown in the figure below:
The model adopts a Transformer-based latent generative architecture. It takes a noisy target latent xτ as input and is conditioned on encoded context frames xctx via cross-attention. Positional embeddings are decomposed into temporal and spatial components, applying rotary positional encodings (RoPE) to both inputs. The architecture consists of a backbone for multimodal fusion and a projection head for velocity prediction. The backbone contains 2 DiT-style Transformer blocks (dimension 256) with query-key normalization. The resulting features are fed through AdaLN conditioning into a shallow but wide projection head composed of 2 wide projection layers (dimension 1024). This wide projection dimension ensures the head's hidden dimension exceeds the per-patch latent dimension, which is critical for accurately predicting velocity fields in high-dimensional latent spaces.
The training process involves multiple objectives. The standard flow matching objective optimizes the conditional expected squared error: LFM(θ)=Ex1∼pdata,x0∼pnoise,τ∼U(0,1)[∥uθ(xτ,τ)−(x1−x0)∥22] To ensure temporal consistency and avoid artifacts like flickering, the authors introduce a regularization term inspired by Physics-Informed Neural Networks. Instead of integrating the ODE, which is computationally expensive, they use a one-step projection to obtain a differentiable estimate of the predicted endpoint: x~1(τ)=xτ+(1−τ)uθ(xτ,τ) They then enforce alignment between the ground-truth temporal differences and those of the predicted latents obtained via this projection, yielding an auxiliary temporal loss: Ltemporal=∑t=1T−1∥Δx~t−ΔxtGT∥2 Furthermore, if a downstream task is known, task-driven objectives can be incorporated. Using the one-step projection to obtain a differentiable estimate x~1, a frozen downstream detector (e.g., for object detection) is applied, and its detection loss is backpropagated through the projection and the world model to steer representations towards semantic utility.
Finally, to maintain a stable signal-to-noise ratio when increasing the dimension of the generated tensor, the authors apply a resolution-dependent timestep shift. The original timestep τ is transformed as: τ′=1+(α−1)τατ This rescales diffusion time by a factor α toward noisier timesteps, preserving endpoints while redistributing probability mass toward larger noise levels.
Experiment
The evaluation uses a synthetic bouncing shapes benchmark and a real-world Waymo-based FuturePerception benchmark, which assess latent world model predictions through downstream perception tasks such as object detection and depth estimation. FlowWM's stochastic modeling in high-dimensional semantic latent spaces consistently outperforms deterministic and low-dimensional VAE-based alternatives, better capturing multi-modal futures and maintaining accuracy over longer prediction horizons. Ablations confirm that wide projection heads, temporal consistency loss, and a shifted timestep schedule are crucial design choices, while stochastic sampling steadily improves performance as the number of sampled futures increases.
FlowWM achieves dramatically lower prediction errors than deterministic models and a prior stochastic approach on the Bouncing Shapes benchmark. The F1 error falls from over 14 to under 5, with temporal consistency loss providing further improvement. Gains stem from both more accurate samples and better coverage of plausible futures. FlowWM yields substantially lower precision, recall, and F1 errors compared to deterministic predictors and the earlier stochastic method. Adding temporal consistency loss further improves all metrics, reducing the F1 error even closer to the oracle. Deterministic models and the prior stochastic baseline all have F1 errors above 14, while FlowWM cuts this to below 5, approaching the oracle's near-zero error.
FlowWM consistently outperforms all baselines on both object detection and depth estimation, with particularly large gains over deterministic and VAE-based world models. Using semantic latents provides a clear advantage over VAE latents, and re-encoding VAE outputs into semantic space fails to close the gap, confirming that the representation quality, not just the prediction method, drives downstream performance. Stochastic modeling proves essential in real-world settings, as FlowWM degrades more slowly over time and benefits from sampling multiple futures. FlowWM achieves the highest detection and depth scores, substantially surpassing the deterministic predictor and VAE-based world models. Re-encoding VAE predictions into DINOv3 space slightly degrades detection performance, indicating that VAE latent spaces lack the semantic fidelity needed for perception tasks. Compared to the deterministic predictor, FlowWM reduces the Fréchet Video Distance by 43%, producing future frames that are distributionally closer to real driving videos. Deterministic world models accumulate error more rapidly over time, while stochastic models preserve multiple plausible futures, leading to more stable long-horizon predictions. Additional sampling consistently improves detection performance for FlowWM, whereas deterministic models gain no benefit from extra samples.
Evaluated on the Bouncing Shapes benchmark and real-world driving perception tasks, FlowWM achieves dramatic error reductions compared to deterministic and prior stochastic models, cutting F1 error from over 14 to below 5 on Bouncing Shapes and approaching the oracle. The use of semantic latents is crucial for downstream performance, and stochastic modeling yields slower error accumulation and benefits from sampling multiple futures, leading to a 43% reduction in Fréchet Video Distance. These results confirm that flow matching with semantic representations produces more accurate and distributionally realistic future predictions.