arXiv:2610.02874cs.ROOct 2026

Manuscript Offprint

arXiv:2610.02874

SceneFactory-3D: Lifting 2D Traffic Scenes into 3D Physical Counterfactuals for Scalable Physically Grounded Safety Evaluation

Yicheng Zhu, Linfeng Tian, Tianmu Zhao, Yang Chen, Fan Zuo, Tao Li, Zilin Bian

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Scalable driving simulators typically execute vehicle commands using prescribed behavioral or kinematic rules, overlooking the physics of tire-road interfaces, thereby limiting their ability to capture how adverse road and environmental conditions alter vehicle execution and propagate through traffic. To address this limitation, we present SceneFactory-3D, a GPU-batched, physics-grounded multi-agent driving simulator. Vehicles execute acceleration and steering commands via suspension- and friction-limited forces evaluated at each wheel-contact point. Spatially varying friction, per-world 3D heightfields, gravity, and rigid contact consistently govern wheel motion and chassis collisions. Per-world terrain isolation and GPU batching enable SceneFactory-3D to run matched physical counterfactuals in parallel: traffic scenario setup and vehicle controllers remain fixed while only the road condition changes, enabling the resulting closed-loop effects to be evaluated across parallel worlds. To demonstrate the advantage of the SceneFactory-3D-enabled counterfactual evaluation, we conduct an empirical study on vehicle controllers' sensitivity to road conditions. We study three learned-policy families on 1,024 matched 12-vehicle worlds per condition, and two classical planners on a shared 32-world subset, across 21 friction and grade conditions. When friction drops from 1.0 to 0.18, the share of vehicles that clear the work zone safely falls by 6 to 90 percentage points across learned policies (18–19 for classical planners), and near-collision situations become more frequent for every learned policy.

Code: https://github.com/SmallWorldLab/SceneFactory_3D

1 Introduction

Traffic simulation makes large interactive experiments tractable by skipping some physics-grounded modeling. For example, a car-following law or a prescribed kinematic rule scales thousands of vehicle interactions at low cost (Lopez et al., 2018; Treiber et al., 2000; Gulino et al., 2023; Kazemkhani et al., 2025). However, such rules also fix how vehicle control execution responds to the physical environment: once a vehicle has decided to brake or merge, the motion it realizes follows exactly the prescribed rule, which is detached from the underlying physics when the adverse road conditions affect vehicle control execution, resulting in a widening sim2real gap.

To motivate the integration of vehicle-environment interacting physics with driving and traffic simulations, consider a temporary lane closure planned for winter in a city such as Rochester. Although the proposed merge path may remain geometrically feasible on a low-friction road, vehicles' ability to follow that path, e.g., to brake safely for one another, depends on the physical conditions at the tire–road interface. If one vehicle cannot complete the merge as intended, it may alter the behavior and trajectory of every vehicle behind it, potentially changing the traffic outcome. A credible evaluation, whether for self-driving testing or traffic management and planning, must therefore capture how the same scenario and controllers perform under different road conditions. Without this physical modeling, the simulation may substantially overestimate safety and traffic efficiency when adverse conditions affect vehicle dynamics.

While existing work accounts for physical friction in 2D planar driving simulations, comprehensive physics-grounded vehicle–environment interactions go beyond what these two-dimensional models can faithfully represent. Planar single-track models can enforce friction limits through tire-force constraints and friction-circle checks (Althoff et al., 2017; CommonRoad, n.d.), but they do not explicitly capture how three-dimensional road geometry and gravity affect wheel-level contact. Road grade, banking, and elevation change the normal force at each wheel and, consequently, the friction available to the vehicle. These effects become especially important when friction varies across the wheels of a vehicle or between lanes across diverse terrains.

To support efficient and scalable simulation of many interacting vehicles across parallel 3D worlds with underlying physics, we present SceneFactory-3D, a GPU-batched simulator that extends SceneFactory (Zhu et al., 2026), a GPU-vectorized Isaac Lab platform whose articulated vehicles drive on flat roads with only a planar friction mechanism. SceneFactory-3D replaces the default vehicle model with a custom tire-force model evaluated at each wheel–road contact. It supports spatially varying friction patches and a separate terrain heightfield for each parallel world. Wheel-contact queries, terrain preview, and chassis collisions all reference the same heightfield, ensuring a consistent representation of the physical environment. Finally, a canonical-route interface provides classical and learned controllers with the same geometric route reference.

As a physics-grounded and GPU-batched 3D platform, SceneFactory-3D makes matched physical environment counterfactuals practical at scale. From the same traffic scene, initial state, routes, and controller population, it instantiates parallel counterfactual worlds that differ only in their physical road conditions. This design makes three factors directly controllable: where a physical condition occurs relative to a planned maneuver, whether the controller observes that condition, and how its effect on one vehicle propagates through interacting traffic. We demonstrate this capability using route-conditioned policies trained with PPO (Schulman et al., 2017). We compare a policy trained on nominal roads with two continued-training variants exposed to diverse terrain as well as two classical planners, across 21 physical conditions. Although terrain randomization and privileged physical context are established techniques (Peng et al., 2018; Kumar et al., 2021; Yu et al., 2017), SceneFactory-3D enables their separation and evaluation via matched counterfactual worlds. Across 1,024 matched worlds per learned policy and condition, reduced friction degraded task completion for every controller, propagated to vehicles traveling in the unchanged lane, and was not anticipated by the preview-enabled policy. The magnitude of these effects varied more across training seeds than across training regimes, while the tested grades affected only a few policies.

In summary, our contributions are as follows. Section 2 highlights our unique contributions by comparing SceneFactory-3D with prior efforts on driving simulation, co-simulation frameworks, and learning-based driving and vehicle controls using simulations.

  1. SceneFactory-3D: a GPU-batched physics-grounded multi-agent driving simulator where Per-wheel forces and rigid contact couple vehicle motion to spatially varying friction and 3D terrain. Per-world terrain ownership keeps wheel queries, observations, and collisions physically consistent.

  2. A matched physical-counterfactual evaluation framework. SceneFactory-3D creates matched counterfactual worlds that differ only in road conditions and 2D-to-3D geometry differences, enabling controlled comparisons across classical and learned vehicle controllers in terms of physical behaviors and safety risks.

  3. An empirical study of vehicle controller sensitivity to road physics. Across 21 friction and grade conditions, we evaluate two classical planners and three learned-policy families that separate terrain-diverse training from explicit terrain preview. When friction drops from 1.0 to 0.18, the share of vehicles that clear the work zone safely falls by 6 to 90 percentage points across learned policies (18–19 for classical planners),

References (55)