arXiv:2611.06204cs.SENov 2026

Manuscript Offprint

arXiv:2611.06204

CoSafe: Cooperative Runtime Safety Assurance for Mixed-Traffic Autonomous Driving

Dingji Wang, You Lu, Haowen Jiang, Yanggang Chen, Yuyang Bi, Bihuan Chen, Shenglin Bao, Xin Peng

Dingji Wang*, You Lu*, Haowen Jiang*, Yanggang Chen*, Yuyang Bi*, Bihuan Chen*†, Shenglin Bao†, Xin Peng*

*College of Computer Science and Artificial Intelligence, Fudan University, Shanghai, China

†East China Institute of Computing Technology, Shanghai, China

‡Corresponding Author

Abstract—With the rapid development of autonomous driving systems (ADSes), real-world roads are evolving into mixed-traffic environments where autonomous vehicles (AVs) and other traffic participants (e.g., human-driven vehicles (HDVs), cyclists, and pedestrians) coexist and interact with each other. However, current ADSes still incur various safety violations in mixed traffic scenarios, raising a strong demand for runtime safety assurance frameworks that can continuously monitor hazards and prevent potential violations. Existing ego-centric assurance approaches are insufficient for mixed traffic, where violations often arise from locally reasonable yet jointly incompatible decisions among multiple vehicles and cannot be reliably resolved through independent takeover.

To bridge this gap, we propose CoSAFE, a modular and ADS-agnostic cooperative runtime safety assurance framework for mixed-traffic autonomous driving to extend runtime safety assurance from ego-centric takeover to scene-level cooperative intervention. CoSAFE leverages vehicle-to-everything (V2X) communication to enable roadside units (RSUs) to monitor scene-level hazards and jointly mitigate hazards involving multiple vehicles. We integrate CoSAFE with seven state-of-the-art ADSes, and our evaluation on the InterDrive benchmark demonstrates that CoSAFE improves the driving score of AVs by 70.03% on average, reduces safety violations by 87.80%, and accurately identifies unsafe AVs with an F3F_3 score of 0.930, while satisfying real-time constraints.

I. INTRODUCTION

With the rapid development of ADSes, real-world roads are increasingly evolving into mixed-traffic environments where AVs (i.e., vehicles equipped with ADSes) and other traffic participants (e.g., HDVs, cyclists, and pedestrians) coexist and interact [54]. However, the performance of AVs in open-road mixed traffic remains far from satisfactory. Scenario-based testing approaches [12, 43, 66] have indicated that even advanced ADSes may still incur safety violations in mixed-traffic environments. Besides, a 2024 U.S. Department of Transportation analysis of California ADS disengagement reports [31] found that 69% of disengagements were caused by ADS insufficiency. These limitations underscore the need for runtime safety assurance frameworks to prevent safety violations in mixed-traffic environments.

Runtime safety assurance [53] for ADSes aims to continuously monitor driving hazards, intervene before potential safety violations occur, and maintain safe operation at runtime. To prevent safety violations, several approaches monitor basic safety properties and trigger emergency braking [33, 65] or conservative fallback maneuvers [10, 44] before these

Figure

(a) ADS Conflict

(b) Ego-centric Takeover

(c) Scene-level Intervention

Fig. 1: Motivation of Cooperative Runtime Safety Assurance properties are violated. However, these approaches rely on predetermined emergency interventions rather than adapting to the specific hazardous scenarios encountered. To intervene more adaptively, REDriver [52] intervenes in the planning process by refining ADS-generated planned trajectories to enforce specification compliance, but it requires intrusive modifications to the original ADS stack, and is tied to Apollo [3]. Without modifying the underlying ADSes, ARGUS [53] formulates runtime assurance as a hazard-aware takeover-and-recovery process for the trajectory of one single AV.

However, these ego-centric approaches assess and mitigate hazards on a per-vehicle basis, treating each AV as an independent takeover target rather than viewing mixed traffic as a software-intensive cyber-physical system of interacting AVs, other traffic participants, and RSUs [46]. As shown in Fig. 1a, two ADS-controlled AVs may generate trajectories that conflict at an unsignalized intersection. Although independently taking over each AV can avoid an immediate collision, the two AVs may enter a circular wait-for chain because neither vehicle has a scene-level view to determine yield priority, causing a deadlock in Fig. 1b. Mixed-traffic safety violations often arise from locally reasonable yet jointly incompatible decisions among multiple vehicles, which cannot be reliably resolved via ego-centric takeover. As shown in Fig. 1c, resolving this interaction-induced safety violation requires scene-level intervention, where one AV is assigned to proceed while the other slows down and yields.

Such intervention, which no single AV can reliably produce on its own, requires a scene-level view across multiple vehicles.

V2X communication provides a practical foundation for this view, allowing AVs to exchange state, intent, and agreement-seeking information with RSUs. However, most existing V2X-enabled cooperative driving approaches still leave the driving decisions to individual vehicles, which may incur safety violations in mixed traffic. Representative work includes shared perception [15, 37, 42, 55, 62], decentralized multi-vehicle planning [8, 68, 69], and LLM-mediated negotiation [18, 20, 36]. In contrast, centralized multi-vehicle planning approaches [25, 26, 39] coordinate traffic behavior at the scene level, but they typically assume an AV-dominated fleet with homogeneous ADSes under direct centralized control, a setting at odds with real-world mixed traffic, where AVs run heterogeneous, vendor-specific ADSes. Migrating such coordination into a safety assurance layer is non-trivial, as ADSes are black boxes and mixed traffic is only partially controllable (i.e., HDVs and pedestrians cannot be overridden, and safe AVs should not be). In summary, existing work lacks V2X-enabled scene-level safety assurance for mixed traffic with heterogeneous AVs. To the best of our knowledge, no existing work monitors scene-level hazards and jointly intervenes on unsafe AVs without modifying their underlying planning logic.

To bridge this gap, we present CoSAFE, a modular and ADS-agnostic cooperative runtime safety assurance framework for mixed-traffic autonomous driving that extends runtime safety assurance from ego-centric takeover to scene-level cooperative intervention. Specifically, CoSAFE consists of three RSU-side modules, namely cooperative perception, hazard assessment, and joint hazard mitigation, together with an AV-side control switch module. Within the coverage area of an RSU, the cooperative perception aggregates V2X information from participating AVs with RSU-side observations to construct the scene-level traffic information. Based on this information, the hazard assessment detects potential driving hazards, and identifies corresponding unsafe AVs; and the joint hazard mitigation jointly generates safe reference trajectories for unsafe AVs. For each participating AV, the control switch either passes through the original ADS-generated planned trajectory if no intervention is needed, or executes the generated safe reference trajectory.

We conduct large-scale experiments to evaluate the effectiveness and efficiency of CoSAFE in mixed-traffic environments. We integrate CoSAFE with seven state-of-the-art ADSes spanning five families, and evaluate them on the InterDrive benchmark [36]. Our experiments demonstrate that CoSAFE effectively improves the driving score of AVs by 70.03%, while reducing safety violations by 87.80% on average, with runtime latency satisfying real-time constraints. In addition, CoSAFE accurately identifies unsafe AVs with an F3F_3 score of 0.930; and our ablation and mixed-deployment results demonstrate that each module contributes distinctly and that CoSAFE remains effective when coexisting AVs run heterogeneous ADSes.

The main contributions of our work are as follows.

  • We formulate cooperative runtime safety assurance as a scene-level pass-through-or-override safety layer over multiple ADSes, shifting the safety assurance paradigm from ego-centric takeover to scene-level cooperative intervention.

  • We design CoSAFE, a modular cooperative runtime safety assurance framework, which can be integrated with heterogeneous AVs without modifying their underlying ADSes.

  • We develop a scene-level hazard assessment and joint mitigation mechanism that identifies unsafe AVs and generates coordinated safe reference trajectories to resolve hazards.

  • We integrate CoSAFE with seven state-of-the-art ADSes, and conduct experiments on the InterDrive benchmark to demonstrate its effectiveness, efficiency, and generality.

References (66)