Research
Data-Driven Risk Fields for Safer End-to-End Autonomous Driving
End-to-end driving models learn to map sensor observations directly to future trajectories, but they typically learn safety only implicitly through trajectory losses — nothing in the training signal…

- arXiv
- 2609.10377 · Preprint · not peer-reviewed
- Published
- 2026-09-09 · revised · 2026-09-10
- Authors
- Yuanxin Tian, Zhiyuan Liu, Jinhao Li, Liangfan Zhu, Shuai Wang, Heye Huang, Qingwen Meng, Fang Zhang, Liuzhu Tong, Zhenhua Xu, Wenhao Yu, Jianqiang Wang
In plain words
End-to-end driving models learn to map sensor observations directly to future trajectories, but they typically learn safety only implicitly through trajectory losses — nothing in the training signal tells the network which BEV regions are dangerous for the current ego vehicle or why.
AI summary
Overview
Research area: Robotics / autonomous driving — specifically end-to-end motion planning and safety-oriented scene representation learning.
Technical level: Advanced. The paper assumes familiarity with bird's-eye-view (BEV) encoders, closed-loop CARLA benchmarking, ranking losses, and risk-field formalisms from traffic safety literature.
Scope (one sentence): The paper introduces DRiF, an end-to-end driving framework that learns an ego-conditioned BEV risk field from pairwise relative risk labels derived from rule-based safety priors, and evaluates it on the Bench2Drive closed-loop benchmark.
What This Paper Is About
End-to-end driving models learn to map sensor observations directly to future trajectories, but they typically learn safety only implicitly through trajectory losses — nothing in the training signal tells the network which BEV regions are dangerous for the current ego vehicle or why. Rule-based risk fields offer interpretable safety structure, but their magnitudes depend on hand-tuned coefficients and thresholds, making them awkward as direct supervision targets; learned risk maps, meanwhile, often fall back on occupancy-derived or heuristic cost labels that are really just occupancy surrogates. DRiF's goal is to inject explicit, ego-conditioned risk structure into a shared BEV representation by supervising the ordering of risk between BEV locations rather than regressing an absolute handcrafted risk score.
Key Contributions
- DRiF framework. An end-to-end autonomous driving framework that learns ego-conditioned risk representations in a data-driven manner, using a shared BEV feature for static map segmentation, dynamic risk prediction, and trajectory planning.
- Relative-risk supervision. A pairwise ranking formulation that learns driving risk by comparing BEV locations instead of fitting handcrafted absolute scalar labels, so the network preserves relative risk ordering without being bound to a manual risk scale.
- Two-level pairwise label generator. A training-only module that converts rule-based safety priors into pairwise labels using three ordered risk classes (overlap risk R1, corridor risk R2, occupancy risk R3), falling back to score comparison only when two points fall in the same class.
- Closed-loop evaluation on Bench2Drive. Extensive experiments across overall, safety, and multi-ability metrics, plus ablations on static map supervision, risk sources, relative versus absolute supervision, and auxiliary tasks.
Main Findings
- Overall closed-loop performance: DRiF multi-frame reaches 88.78 DS, 75.91 SR, 252.20 Eff., 15.91% CRoute, and 1.955 collisions per km, with a Multi-Ability mean of 72.57 — the best among the evaluated non-expert methods.
- Gain over the strongest baseline: Compared with TF++ multi-frame (4 frames, 85.65 DS, 69.09 SR, 246.69 Eff., 22.73% CRoute, 2.757 Coll./km), DRiF improves by 3.13 DS (+3.7%) and 6.82 SR (+9.9%), raises efficiency from 246.69 to 252.20, and reduces CRoute from 22.73% to 15.91%.
- Single-frame variant: DRiF single-frame obtains 85.21 DS, 67.27 SR, 243.86 Eff., 25.45% CRoute, 2.861 Coll./km, and 64.95 MA-Mean.
- Reference point: The PDM-Lite expert scores 97.02 DS, 92.27 SR, 250.04 Eff., 3.64% CRoute, 0.347 Coll./km, and 92.82 MA-Mean, leaving a substantial gap between DRiF and the expert.
- Both supervision branches matter: Removing static map supervision drops performance to 83.23 DS / 60.00 SR / 63.97 MA-Mean; removing the risk branch drops it sharply to 62.40 DS / 45.45 SR / 35.03 MA-Mean.
- All three risk sources are needed: Occupancy only (R3) gives 86.29 DS / 70.45 SR / 65.90 MA-Mean; R1+R2 gives 87.77 / 72.73 / 69.28; all three (R1+R2+R3) gives 88.78 / 75.91 / 72.57.
- Relative beats absolute supervision: Replacing pairwise ranking with absolute score regression yields 85.41 DS / 70.45 SR / 65.38 MA-Mean, a deficit of 3.37 DS, 5.46 SR, and 7.19 MA-Mean relative to relative supervision.
- Auxiliary tasks in stage 2 are unnecessary: Adding semantic, depth, and detection supervision in the second stage gives 88.88 DS and 74.55 SR with a 70.02 MA-Mean, versus 88.78 DS, 75.91 SR, and 72.57 MA-Mean without it — slightly higher DS but weaker SR and MA-Mean, which the authors read as evidence that risk-oriented supervision already provides compact, task-relevant scene understanding.
- Qualitative behavior: The learned risk field assigns higher values to risky areas while keeping irrelevant occupied regions relatively low-risk, and planned trajectories avoid high-risk regions in favor of safer drivable corridors.
Methodology in Plain English
The system takes camera and LiDAR observations, ego state, a navigation command, and a navigation point, and encodes them into one shared BEV feature map. Four heads sit on top of that feature: an auxiliary perception head, a static map head, a dynamic risk head, and a planning head.
The key idea is to split "risk" into two things that need different kinds of labels. Static road structure — drivable area, road boundaries, lane markings, lane centerlines — has real dense ground truth, so it is trained with standard cross-entropy and Dice losses. Dynamic interactive risk — how surrounding agents' futures affect the ego vehicle — has no calibrated ground truth. A conflict region is clearly riskier than an empty lane center, but nobody can say by exactly how much. So instead of predicting a number, the model is trained to get the comparisons right.
To build those comparisons, the authors sample 300 BEV candidate points per frame (half chosen by a strategy, half sampled randomly over reachable lanes), then form pairs. Each point is scored by three rule-based priors: same-time ego–agent overlap, cross-time trajectory-corridor conflict, and surrounding-agent future occupancy. Each point is assigned to one of three ordered classes by checking those scores against thresholds borrowed from an existing rule-based driving risk field. Between points of different classes, the label comes straight from class priority; within the same class, their detailed scores are compared, and near-ties are marked as "comparable" and ignored. The risk head is then trained with a hinge-style ranking loss that penalizes getting the order wrong by a margin, so it learns relative risk without ever having to reproduce a handcrafted number.
Training is two-stage: the first 30 epochs pretrain the encoder on auxiliary perception tasks, the second 30 epochs drop that branch and jointly train static map, dynamic risk, and planning. The label generator exists only during training and is removed at inference. Training used 16 NVIDIA A100 GPUs for 60 epochs at an initial learning rate of 3×10⁻⁴, taking about 1.5 days.
Why This Matters
Research impact. The paper reframes risk supervision for end-to-end driving as an ordinal learning problem rather than a regression problem. This sidesteps a real obstacle — there is no objective ground truth for driving risk — and offers a general recipe for injecting rule-based safety knowledge into learned representations without inheriting a hand-tuned scale. It also connects traffic-safety theory (risk fields, TTC-style metrics) to modern BEV end-to-end architectures in a way that keeps the interpretability of the former while gaining the scalability of the latter. The ablation showing relative supervision beats absolute regression by 3.37 DS and 5.46 SR is the cleanest evidence for the claim.
Real-world applications:
- Urban robotaxi and shuttle deployment, where interaction-heavy scenarios like merges, cut-ins, and intersections dominate the safety case.
- Driver-assistance and emergency-braking systems that need an interpretable "where is dangerous and why" signal, not just a trajectory.
- Fleet safety monitoring and post-incident analysis, since a risk field is auditable in a way a latent feature is not.
- Simulation-based safety validation, where the learned risk field can be used to score or filter synthesized scenarios.
Industry relevance. Closed-loop Bench2Drive evaluation with 220 routes is closer to deployment conditions than open-loop trajectory error, and DRiF's reported reductions in collision-affected routes (22.73% → 15.91%) and collisions per km (2.757 → 1.955) target exactly the metrics that gate real deployment. The plug-in nature of the supervision — it attaches to a shared BEV feature and a planning head — makes it relatively easy to graft onto existing end-to-end stacks.
Future Directions
- Broader risk sources. The authors acknowledge the label generator covers only overlap, corridor, and occupancy risk, chosen for quick proof-of-concept validation in CARLA; richer risk theories are needed for a genuinely comprehensive field.
- Real-vehicle and large-scale data. The paper explicitly points to large-scale real-world driving data as the next test, which will stress the rule-based prior in ways CARLA does not.
- Closing the gap to the expert. PDM-Lite scores 97.02 DS versus DRiF's 88.78, and the multi-ability breakdown shows DRiF at 50.00 on GiveWay in both single- and multi-frame settings, alongside weaker Merge (70.00) and Overtake (68.89) scores — targeted work on these interaction abilities is an open question.
- Beyond pairwise comparisons. Whether richer ordinal structures (lists, groups, or learned comparators replacing the threshold-based classes) improve over the current pairwise scheme is untested here.
Target Audience
Robotics and autonomous-driving researchers working on end-to-end planning, BEV representation learning, or safety-critical perception-to-action systems; engineers at AV companies evaluating risk-aware supervision for production stacks; and graduate students interested in how ordinal/ranking supervision can substitute for unavailable absolute labels. Readers should be comfortable with closed-loop CARLA evaluation and standard end-to-end driving architectures to get the most from the comparison tables.
Authors’ abstract
Safety is a fundamental requirement for autonomous driving, yet existing end-to-end driving models still lack explicit risk-aware learning capacities. Existing rule-based risk models provide interpretable safety priors, yet their absolute risk scores depend on handcrafted functions, coefficients, and thresholds. Learning-based risk representations reduce part of this manual design, but their supervision often relies on occupancy-derived labels or heuristic cost values, which…
The full abstract on arXivRelated papers
- READ: Learning Risk-Informed Fields for End-to-End Autonomous Driving 2026-09-11 · cs.RO · Also by Jianqiang Wang, Jinhao Li +4
- Roadside-Cooperative Autonomous Driving: From Data Platform to Vision-Language End-to-End Reasoning 2026-08-21 · cs.RO · Also by Fang Zhang, Jianqiang Wang
- SDPAD: A Fully Spike-Driven Pipeline for End-to-End Autonomous Driving 2026-10-08 · cs.RO · Key terms of the title in common
- RiSE-Drive: Risk-Sensitive Long-Horizon Candidate Evaluation for End-to-End Autonomous Driving 2026-11-10 · cs.RO · Key terms of the title in common
- Ego2Flow: Benchmarking the Traffic-System Impact of Autonomous Driving on Maps Distilled from Real-World Roads 2026-11-13 · cs.RO · Also by Zhiyuan Liu