# Physics-Constrained Generative World Model for Off-Road Terrain via Post-hoc Projection

*Yuan Zhou, Hao Yu, Ruiran Cao, Haoran Yang, Xuanyu Zhu, Yusong Yan, Cong Wang, Minne Li*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/150035) · [OpenReview](https://openreview.net/forum?id=lG1tx6cbVl) · [Open on the map](../papers.html#p150035)

Category: [Time Series, PDEs & Probabilistic ML](../pcat/9.md) › [Constrained Generative Modeling](../pgroup/168.md) · Type: new method · Keywords: physics-constrained generation, post-hoc projection, terrain modeling, generative models, autonomous driving simulation

Areas: [Generative Models (Diffusion & Flows)](../areas/generative-models.md) › Flow Matching and Diffusion › Constrained Generation

## Summary
The paper introduces a model-agnostic post-hoc projection that enforces physics constraints on generated terrain after synthesis, achieving 100% physics compliance while preserving generation quality across diffusion, VAE, GAN, and procedural generators.

## Explained to a 5-year-old
A computer program draws pictures of hills and roads. Sometimes the hills are too steep or look weird. They added a special step that checks the picture and fixes any hills that are too steep or look wrong. This step makes the pictures realistic without making them look blurry. It works for many different drawing programs. The final picture looks good and follows the rules of physics.

## Explained to a 5-year-old, longer
A computer can create images of terrain, like mountains and valleys. These images sometimes break the rules of physics, such as having impossible slopes. To fix this, they added a step that looks at the image and corrects any parts that are not physically possible. This step does not change the overall style of the image, so it still looks nice. It can be used with many different types of drawing programs, not just one. When they test it on real off-road data, the corrected images are both realistic and follow physics. This helps people who need realistic terrain for training robots or games.

## For a technical reader
The system generates terrain images using existing generative models like diffusion or GANs. After generation, a lightweight post-processing step checks each pixel for physical feasibility (slope, bearing capacity, continuity) and adjusts it if needed. This step is model-agnostic and adds less than 4% runtime overhead. It preserves the visual quality metrics (FID) while ensuring that the terrain meets physics constraints. The approach was evaluated on synthetic generators and transferred to real off-road datasets, improving both compliance and fidelity.

## Problem
Generative models for physically grounded terrain must satisfy physics constraints, but training with physics losses often degrades visual fidelity, while unconstrained generation produces physically impossible surfaces.

## Method
The approach decouples generation from physics by applying a closed-form projection to the generator's output, enforcing slope stability, bearing capacity, and surface continuity after synthesis. This projection can be inserted into any generative architecture and incurs minimal computational overhead.

## Results
The projection raises physics pass rate from 53% to 100% on a diffusion generator with unchanged FID (13.72), while a physics-loss baseline drops FID to 56.6 and only reaches 25.5% pass rate. Across four generators it yields 89.5-100% compliance with <4.3% overhead, and on out-of-distribution TartanDrive it achieves 100% pass rate and improves BEV-FID by up to 20%.

## Contributions
It demonstrates a way to enforce physics constraints after generation without harming visual quality, and shows this projection works across diverse generative models and transfers to real off-road terrain, improving both physics compliance and fidelity.

## Practical relevance
Enables reliable simulation of physically plausible terrain for robotics, autonomous driving, and related fields where realistic off-road environments are critical.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/150035)
