cs.AIOct 4, 2026

How corner is a corner case? Percentile control for highway scenario generation

Authors: Jiaxi Liu, Hang Zhou, Hangyu Li, Yifan Wang, Keke Long, Chengyuan Ma, Bin Ran, Xiaopeng Li

Organizations: Department of Civil and Environmental Engineering, University of Wisconsin–Madison, Madison, 53706, WI, USA

Abstract

Generating corner-case scenarios with appropriate adversity in a simulation environment is critical for testing an autonomous vehicle (AV) software stack's safety performance before deployment. Existing autonomous-driving scenario generators can enforce specific behavior, adversity, or feasibility conditions, but they provide limited control over how extreme a generated scenario is relative to plausible futures in the same traffic context. This study represents the adversity of a generated scenario as its percentile in the conditional distribution of future risk given the observed history. This view supports calibrated answers to two questions: how "corner" a generated corner-case scenario is and how its "cornerness" can be fine-tuned. To this end, we formulate history-conditioned risk-percentile requests and learn a reference risk distribution that maps each requested percentile to a physical risk target. We then use a percentile-conditioned joint diffusion model with sampling-time risk guidance to generate multi-agent futures, together with a reference-based criterion for evaluating percentile realization. Experiments use the minimum post-encroachment time (PET) between the ego and its surrounding vehicles as the risk surrogate on highD. On the primary evaluation set, our method realizes 1,422 of 1,440 requests within a 0.05 percentile tolerance (98.75%), with mean percentile error 0.00673 and PET-target error 0.00991 seconds. The resulting interface connects context-relative risk specification, physical realization, and evaluation through a common risk scale. Project website and videos of generated scenarios are available at https://hhj233.github.io/CornerPercentile/.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Conditional Flow-VAE for Safety-Critical Traffic Scenario Generation

    May 6, 2026Zimu Gong, Brian Zhaoning Zhang, Chris Zhang +2Scenario GenerationMicroscopic Traffic Simulations

  2. ScenePilot: Controllable Boundary-Driven Critical Scenario Generation for Autonomous Driving

    May 20, 2026Qiyu Ruan, Yuxuan Wang, He Li +2Scenario GenerationAutonomous Driving

  3. CARLA-GS: Decoupling Representation, Reasoning, and Physics Simulation for Autonomous Driving Corner-Case Synthesis

    Jul 8, 2026Kaicong Huang, Meng Ma, Ruimin KeAutonomous Driving SimulationAutonomous Driving