Manuscript Offprint

arXiv:2609.37871

ExceptionDrive: A Planning-Oriented Counterfactual Corner-Case Benchmark for Autonomous Driving

Ziyi Luo, Zhe Sun, Yehao Lu, Lei Zhou, Lisheng Wu, Xuewei Li, Zequn Qin, Xi Li

Abstract

Average performance on routine driving benchmarks does not establish planner reliability under rare, safety-critical hazards. We proposed ExceptionDrive, a counterfactual planning benchmark that uses VLM-assisted screening, localized multi-view editing, and quality auditing to insert hazards into real nuScenes scenes while preserving their context. Its 21 tasks span six safety families and define hazard or conflict regions, local safety constraints, and acceptable responses. Because hazard insertion can invalidate the recorded human trajectory, our reference-free protocol evaluates edited predictions using Unsafe Rate (UR), Hazard Clearance Compliance (HCC), Hazard Proximity Response (HPR), and Counterfactual Trajectory Shift (CTS), which measure core-region intrusion, clearance compliance, clearance relative to a prescribed margin, and counterfactual trajectory change. Seven representative planners frequently intrude into hazard regions or provide insufficient clearance. We also develop a Reminder Agent that, without sample-specific task labels, converts visual evidence and the shared taxonomy into structured records of hazard presence, type, and a recommended high-level strategy. The agent neither predicts trajectories nor controls the vehicle; its records guide a VLM-based decision agent. In zero-shot experiments, the reminders improve strategy accuracy and reduce under-warning.

*Corresponding author: xilizju@zju.edu.cn.

Figure

Figure 1: Overview of ExceptionDrive. Our framework generates localized counterfactual hazards in real driving scenes, evaluates planner responses without requiring an expert reference trajectory for the edited scene, and produces structured safety-aware reminders. The benchmark includes 21 planning tasks across six planning-safety families.

1 Introduction

Autonomous-driving planners have achieved strong performance on standard benchmarks, yet these benchmarks remain dominated by routine, low-risk scenes. Average-case performance therefore does not establish reliability under rare, safety-critical hazards, such as an occluded pedestrian entering the ego path or a collapsed road surface blocking the lane.

Existing resources provide limited support for controlled planner evaluation in such cases. Real-world datasets preserve realistic observations but contain few controllable hazards, whereas simulation introduces a domain gap. Corner-case datasets often target perception, anomaly recognition, or semantic reasoning rather than trajectory compliance. A planning benchmark should instead combine realistic scenes, controlled hazard insertion, paired source-edited observations, spatial hazard annotations, and trajectory-level evaluation.

Hazard insertion also invalidates conventional trajectory supervision: the recorded human trajectory may intersect the new hazard and no longer provide a valid reference. Moreover, slowing, stopping, yielding, and bypassing may all be acceptable under different constraints. Each task should therefore define local safety constraints and a set of acceptable responses rather than prescribe a unique expert trajectory.

We proposed ExceptionDrive, a planning-oriented counterfactual benchmark built by inserting localized hazards into real nuScenes observations. Its construction pipeline combines VLM-assisted scene screening, localized multi-view editing, quality review, and BEV hazard localization while preserving the surrounding context. The benchmark contains 21 tasks in six safety families. Overall, ExceptionDrive comprises 12,440 source-edited pairs: 3,181 quality-approved benchmark pairs and 9,259 auxiliary pairs. Source-edited pairs use identical model settings and non-visual inputs, allowing the effect of the localized edit to be isolated.

Our hazard-centric protocol evaluates edited trajectories without expert references. Unsafe Rate (UR) measures core-region intrusion, and Hazard Clearance Compliance (HCC) measures compliance with the required clearance. Hazard Proximity Response (HPR) diagnoses clearance relative to the prescribed margin, while Counterfactual Trajectory Shift (CTS) measures the change between source and edited predictions. HCC and UR are the primary safety metrics; HPR and CTS are complementary diagnostics. The protocol evaluates local hazard compliance rather than complete route validity or closed-loop safety.

Experiments on representative planners reveal frequent intrusion and insufficient clearance. We also develop a lightweight Reminder Agent that maps visual evidence and the shared task taxonomy to a structured record containing hazard status, type, relative location, risk level, supporting evidence, the applicable safety constraint, and a recommended high-level strategy. Without receiving sample-specific task labels or target strategies, the reminder supports high-level decision making but does not predict trajectories or control the vehicle.

Our main contributions are threefold:

  1. We proposed ExceptionDrive, a planning-oriented counterfactual corner-case benchmark created through localized multi-view editing of real driving scenes. It enables controlled insertion of safety-critical hazards while preserving the surrounding driving context as much as possible.

  2. We established a planning-oriented task taxonomy and hazard-centric evaluation framework. The framework organizes 21 tasks into six planning-safety families, defines each task through local safety constraints and acceptable risk-mitigation responses, and evaluates edited-scene trajectories without requiring expert reference trajectories. HCC, UR, HPR, and CTS respectively characterize clearance compliance, core-region intrusion, hazard-proximity response, and counterfactual trajectory change.

  3. We systematically evaluated representative planners using the proposed benchmark and reveal frequent failures in local hazard compliance. As an auxiliary application, we also introduced a lightweight Reminder Agent and found that structured task-grounded risk records improve high-level strategy accuracy and reduce under-warning in zero-shot VLM experiments.

References (60)