CoSel: Cooperation as Selection for End-to-End Driving
Cooperative driving can extend a vehicle's awareness beyond its own sensors, but existing cooperative end-to-end methods inject shared information into the planner and rely on cooperative driving demonstrations to learn how to use it. The moments in which shared information should change a driving decision are rare in such data, providing limited supervision for learning this behavior.
From the abstract. Our summary is in progress.
Full paper
CoSel: Cooperation as Selection for End-to-End Driving
Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.30918 (PDF).
Abstract
Cooperative driving can extend a vehicle’s awareness beyond its own sensors, but existing cooperative end-to-end methods inject shared information into the planner and rely on cooperative driving demonstrations to learn how to use it. The moments in which shared information should change a driving decision are rare in such data, providing limited supervision for learning this behavior. We argue that cooperation need not be learned by the planner. Instead, reacting to shared information requires predicting how surrounding agents will move and selecting a response from the candidate trajectories of an ego planner. We introduce CoSel, a cooperation-as-selection framework that leaves the planner and its ego-only input unchanged. A separately trained cooperative predictor uses observations from the ego vehicle, roadside units, and connected automated vehicles to predict surrounding agents and their future motion. CoSel evaluates the planner’s candidate trajectories against these predictions, preserves the planner’s choice when it remains safe, and selects the closest safe alternative when shared information reveals additional risk. Each safety intervention is traceable to the shared evidence that triggers it. In closed-loop evaluation, CoSel achieves a driving score of 70.7 on V2Xverse, outperforming the best compared cooperative method by 7.5 points, and the highest average driving score of 85.8 on MDrive. Under missing ego detections, the collision count of CoSel increases only from 17 to 19 in 72 scenarios, compared with 19 to 32 for an existing cooperative end-to-end model.
1 Introduction
Cooperative driving extends a vehicle’s awareness with the perception [71, 70, 24, 76, 77] and intent [45, 19] shared by roadside units (RSUs) and other connected automated vehicles (CAVs). A single vehicle, however good its end-to-end planner [59, 51], cannot obtain this information from its own sensors: what lies behind an occluder, such as a pedestrian behind a kiosk (Fig. 1), and what other vehicles intend, as at an unsignalized intersection.
Existing cooperative end-to-end methods fuse the shared information into the planner, as raw data [75] or as features or queries [46, 78, 57], and train the planner on cooperative driving data. Language-based methods instead pass shared messages to a large language model [20, 19, 48, 45, 15]. In the fusion-based methods the perception that feeds the planner can be supervised with labels, but how the planner uses it is learned from the expert’s trajectory. The planner has to infer from imitation alone when shared information should change its decision.
This is hard to learn, because the frames that could teach it are rare. Imitation supervises a planner with one ego trajectory per frame, a sparse signal [7, 37], and the frames in which the expert changes its action because of an event in the scene, such as a light turning green or a pedestrian stepping out, are a very small fraction [12, 64]. As a result, a learned planner can reach a low imitation error by continuing its own speed and past motion [12, 64, 39], and an additional input is not guaranteed to be used correctly [17]. Of these frames, only a subset can teach the planner anything about shared information: those in which the event is reported by an RSU or a CAV and is not visible to the ego’s own sensors. We call these frames decision-changing moments: only in them should shared information change the decision. In every other frame it adds little to what the ego already sees, and the demonstration gives no signal for using it. In V2Xverse training data, 97.7% of the 7,158 brake causes of the expert are visible to the ego, and none is an agent ahead that only the RSU sees (Sec. 7). A recent closed-loop benchmark also reports that sharing perception does not always improve planning [13].
We argue that shared information need not enter the planner at all. Two observations support this. First, predicting the future motion of the surrounding agents from shared detections is densely supervised: the future track of every observed agent in every frame is a training target [6], and an agent that only another source sees is obtained by dropping its ego detection, without a new expert action. Shared observations have been shown to improve forecasting [54, 62, 81]. Second, an ego planner that scores candidate trajectories [31, 38, 41, 36, 43, 68] typically has the kind of response that a decision-making moment demands. Candidates who follow the same path at different speeds cover slowing and yielding. Recent vocabularies also vary the path: they are factorized into paths and speed profiles [59], and candidates ranked below the executed one can include lateral alternatives such as lane changes [43], so taking a neighboring path is also a candidate. The planner lacks only the information to prefer one of them. Given predicted futures, we can test in every frame whether each candidate is safe, and when to react follows from this test. We cast cooperation as selection: the planner proposes, and shared information decides which candidate from its vocabulary is executed. Selecting among a learned planner’s own candidates with an explicit safety check has been used for the safety of ego-only planners [53, 31]. We make it the only place where cooperation enters.
We propose CoSel, a cooperative driving system built on this formulation (Fig. 2). Its planner uses ego-only input, in training and at test time. A cooperative predictor estimates an existence probability and several possible futures for every surrounding agent from the detections of the ego, RSUs and CAVs. Some inputs enter the same scene with a given future: the plan that a CAV shares and the static obstacles that a roadside LiDAR sees. Among the candidates that satisfy a chance constraint on predicted collision risk with a fixed risk budget, a selector executes the one closest to the planner’s choice. Only the predictor is trained on cooperative data, and its targets are the future tracks of all agents.
Cooperation as selection gives CoSel three properties by design, where an intervention is a step at which the executed candidate differs from the planner’s choice. Planner first: the planner’s choice is executed unchanged unless the predicted risk rules it out or progress requires a move (Sec. 3.4). One safety rule for every source: an agent or obstacle enters the chance constraint as one factor of the same form whether the ego, an RSU or a CAV reported it, and a source that reports nothing contributes no factor and leaves the rule unchanged (Secs. 3.3 and 4.3). Traceable interventions: every safety intervention is attributed to the agent or obstacle that contributes most to the predicted risk of the planner’s choice, together with the source that reported it (Sec. 4.2).
On the 85 closed-loop routes of V2Xverse [46], the planner alone reaches a driving score of 57.6, the selection on the ego’s own detections 62.9, and with the detections of the RSU 70.7, the highest among the compared methods. CoSel surpasses the cooperative method CoDriving (59.1) and has 67% fewer collisions per kilometer. CoSel is robust to unreliable ego perception. In a stress test of 72 scenarios that removes the pedestrians from the ego’s sensors, it collides in 19 scenarios, against 17 without the removal. CoDriving collides in 32, against 19, and the planner alone in 50. On MDrive [13], which tests interaction among multiple CAVs, CoSel attains the highest average driving score among the compared methods (85.8, Tab. 2). Our contributions are:
- Formulation. Cooperation as selection: the planner is trained on ego-only demonstrations, and shared information decides which of its candidates is executed.
- Method. CoSel: a lightweight, densely supervised cooperative predictor and an interpretable selector that applies one safety rule to every source and leaves the planner untouched.
- Evidence. Closed-loop results on V2Xverse and MDrive, a stress test that isolates the shared information, and an analysis of each source and of the interventions (Secs. 4.3 and 4.2).
2 Related Work
Cooperative driving.
Early work on cooperative driving focused on perception: vehicles and roadside units exchange raw data, intermediate features or detected objects and fuse them to see beyond occlusion, with datasets [71, 76, 77, 72, 67, 82, 22, 49] and fusion schemes that are efficient in bandwidth and robust to delay, pose error and heterogeneity [70, 24, 63, 47, 26, 69, 55, 27]. Later work extended cooperation to prediction [77, 62, 79, 54, 81] and to planning. End-to-end cooperative systems fuse shared features or queries and then plan, training the whole stack jointly. Most are evaluated in open loop [78, 40, 57, 11], while V2Xverse/CoDriving [46] closes the loop in CARLA. COOPERNAUT [14] learns a fused driving policy in closed loop on scenarios constructed so that the shared view decides the outcome, with corrective demonstrations collected online. V2Xverse training data rarely contain such moments (Sec. 7). A parallel line shares intents in natural language and negotiates maneuvers with LLM- or VLM-based agents [45, 20, 19, 10, 2], and closed-loop benchmarks such as InterDrive [45] and MDrive [13] now measure multi-vehicle interaction directly. These works differ in what is shared and where it enters the stack, but in almost all of them the planner is trained, or prompted, on cooperative input and has to learn from demonstrations when shared information should change its decision. Shared information is either always used or gated by learned communication or hand-crafted rules [24, 46, 45], and its uncertainty enters at most as a detection confidence or a calibrated score for an LLM decision [2]. LACO [9] is, to our knowledge, the only training-free plug-in. It exchanges latent states between VLA planners, and its effect on individual decisions is not examined. We instead cast cooperation as selection: the planner uses ego-only input, shared detections feed a densely supervised predictor, and one chance constraint over the planner’s own candidates decides when shared information changes the decision.
End-to-end and candidate-based planning.
End-to-end planners map sensors to trajectories, either with a single network that chains perception, prediction and planning [25, 30, 65, 58], with generative decoders [43, 68, 80], or with world models that imagine future observations to supervise or evaluate plans [61, 35, 36]. A growing family of planners separates trajectory generation from selection: they score a fixed or sampled vocabulary of candidates and execute the best one [31, 38, 42, 21, 74, 59], mirroring classical planners that rank proposals with hand-crafted or learned costs [16, 28]. Recent work evaluates candidates with world models [36] or re-ranks the candidates of a frozen planner [44]. Rule-based selection among a learned planner’s own candidates [53, 31] and safety filters on learned policies [1] guard a single vehicle with its own observations. We use selection as the only place where cooperation enters. Its safety check follows planning under prediction uncertainty, with chance constraints over multimodal forecasts [3, 50] and contingency plans that keep a safe fallback [23, 52]. We build on SparseDriveV2 [59], which scores a factorized vocabulary of paths and speed profiles and exposes both the candidates and their scores. CoSel reads both and leaves its network unchanged.
3 Method
Cooperation as selection.
Section 1 argued that reacting to shared information takes two things: anticipating how the surrounding agents will move, and a maneuver that avoids them. CoSel takes the maneuvers from an ego planner (Sec. 3.1, Fig. 2a–c) and the futures from a cooperative predictor (Sec. 3.2, Fig. 2d,e), and neither is trained on cooperative demonstrations. At every decision step, the planner \pi returns a set of candidate trajectories \mathcal{C} and its choice c_{\pi}\in\mathcal{C} from the ego’s own input. RSUs send the ego their detections, and other CAVs send their detections, their states and their plans. Together with the ego’s own detections E^{\text{ego}}, these form the cooperative evidence E. A selector with no learned parameters (Fig. 2f,g) executes
c^{\ast}=\operatorname*{arg\,min}_{c\in\mathcal{C}}\,d(c,c_{\pi})\ \ \text{s.t.}\ \ \Pr(c\ \text{is safe}\mid E)\geq 1-\delta,where d measures the departure from the planner’s choice, a candidate is safe if the ego can keep executing it over a horizon H without a predicted collision, and \delta is a budget on the predicted risk (Sec. 3.3). Shared information enters CoSel only through the constraint of Eq. 1, by way of the predicted scene. It never changes the planner’s input, vocabulary or scores. The selector evaluates the constraint for every candidate at every step and intervenes, i.e., executes a candidate other than c_{\pi}, only when the predicted risk rules out c_{\pi}. Equation 1 alone leaves three cases open: no candidate satisfies the constraint, the planner stays stationary although moving is safe, and several CAVs meet at a conflict. Section 3.4 resolves all three in the same selection step, without changing the planner.
3.1 Ego Planner
Selection needs a planner that exposes its alternatives. Our planner follows SparseDriveV2 [59], which selects its output from a fixed vocabulary of trajectories, factorized into geometric paths p\in\mathcal{P} and speed profiles v\in\mathcal{V}, and scores paths and profiles from coarse to fine. A candidate c=(p,v) defines an ego trajectory \tau_{c}, and c_{\pi}=(p_{\pi},v_{\pi}) is the planner’s final choice.
Its vocabulary is dense: on the training data, the mean position error between the expert’s trajectory and the closest candidate is 0.06 m at the median and below 0.23 m in 99% of the frames. It contains the responses that a decision-changing moment calls for: slowing and yielding are speed profiles in \mathcal{V} on the planner’s own path, and taking a neighboring path is a path in \mathcal{P}. The planner scores from the ego’s input alone and can discard the response to a hazard that it does not see. We therefore build \mathcal{C} from what the planner keeps before its final round: p_{\pi} and the K highest-scored paths that the planner keeps, combined with the speed profiles that it keeps after its first scoring round. We always add the stop profile of the vocabulary. Besides \mathcal{C} with its scores and c_{\pi}, the rest of the system reads only the output of the planner’s detection head, E^{\text{ego}}, and the solid lane lines from its online map head.
The planner is trained by imitation of the expert driver on V2Xverse [46] training data. Its input is that of one vehicle: four cameras, the ego speed, its last steering command and the next navigation point of its route. Instead of the one vocabulary entry closest to the expert, a scoring round takes as positives all entries that drive like the expert: speed profiles that travel about as far and as fast as the expert’s (within \eta_{s} and \eta_{v}), and composed candidates whose profile travels about as far and whose path stays within \eta_{\tau} of the expert’s trajectory \tau^{\text{e}} without a collision; for paths it keeps the single closest one. Near standstill, a positive must also agree with the expert’s action, to brake or to drive. With the score \hat{y}_{x} of an entry x and the focal loss \ell of SparseDriveV2, a round with positive set \mathcal{Y}^{+} minimizes
\mathcal{L}=\frac{1}{|\mathcal{Y}^{+}|}\sum_{x\in\mathcal{Y}^{+}}\ell(\hat{y}_{x},1)+\sum_{x\notin\mathcal{Y}^{+}}\Delta_{x}\,\ell(\hat{y}_{x},0),where the distance \Delta_{x} of x to the expert weights the negatives, as in SparseDriveV2 (Sec. 11).
3.2 Predicted Scene
The selector sees the world only through the predicted scene: a set of elements, each with an existence probability and one or more futures (Fig. 2d,e).
Evidence.
The ego holds E=E^{\text{ego}}\cup E^{\text{I2V}}\cup E^{\text{V2V}}: its own detections, the detections of RSUs, and, from every CAV in range, that CAV’s detections, state and plan. A detection is a 3D box reported by one source. Each detection from the last L steps becomes a token with its pose in the ego frame, size, class, score, source and time lag. A shared plan, its first 2 s as ten points transformed into the ego frame, becomes a plan token with its own MLP. RSU and CAV detections share this format and differ only in the source feature. The score and the source are inputs for the existence probability e_{i}.
Futures.
The cooperative predictor q_{\theta} embeds every token with an MLP and applies a transformer encoder to the set of tokens [33], without positional encoding because the positions are token features. An MLP head decodes every token i of the current step into
q_{\theta}(E)=\big\{e_{i},\ (w_{im},\xi_{im})_{m=1}^{M}\big\}_{i},an existence probability e_{i} and M future modes with probabilities w_{im} and trajectories \xi_{im} over the horizon H. At inference, an RSU or CAV token that lies within an association gate of an ego token of the same class is merged with it, and the agent keeps the prediction of the ego’s token.
Some elements come with a given future and enter the scene without the predictor, with e_{i}=1 and a single mode. A CAV shares its state and its plan: the candidate that it is executing, chosen by its selector at the previous decision step. A CAV that reports that it is stationary is taken as stationary until its next message, and a moving CAV whose plan ends in a stop is taken to follow the plan and stay at its end. Staying and braking need no other agent, so these messages hold whatever the others do; a plan that ends in motion holds only if the others let the CAV through, so it is only an input token of the predictor (Sec. 11). A walking pedestrian is not bound to a lane, so we treat it more defensively: besides its predicted modes, it enters with e_{i}=1 as a disc that keeps its observed velocity over H. A candidate that crosses a static obstacle is not safe. The detectors miss cones, barriers and debris, which are not among their training classes; on MDrive, each persistent cluster of roadside-LiDAR points that no detection explains is an obstacle with a stationary mode. The solid lane lines that the planner’s online map predicts ahead of the ego are static obstacles as well, since vehicles must not cross them, and so, on V2Xverse, are the edges of a corridor toward the current navigation point while the ego starts from a standstill; every static obstacle enters the scene with e_{i}=1 (Sec. 11). The predicted scene is then one set of N elements with existence probabilities and futures, and the source of an element plays no further role.
Training.
The predictor is trained on V2Xverse training data with the logged futures of the agents as targets, so every agent in every frame is a target. Its inputs are the detections that the detectors output on these data, as at inference, because a predictor trained on ground-truth boxes loses accuracy on detector outputs [73]. A set of detections can be edited without invalidating its target: we remove the ego’s detections of an agent that another source also sees (counterfactual occlusion), and we drop whole sources at random. The predictor therefore meets in training an agent that only an RSU or a CAV reports, and a source that sends nothing. Section 4.3 tests the first case with the pedestrians removed from the ego’s sensors and Sec. 4.4 the second with a source switched off.
3.3 Safety Probability of a Candidate
We compute the probability in Eq. 1 element by element.
Probability.
Let s_{c}(i,m)\in\{0,1\} indicate that the ego has no predicted collision with mode m of element i within H when it keeps executing candidate c, i.e., that their footprints do not overlap. A candidate lasts 2 s, the planner’s horizon; to catch later conflicts, the check runs over H with the ego going straight at its last speed after the candidate ends. Every predicted collision counts, including when the ego is stationary: a candidate that stays in the predicted path of an agent is not safe to keep. Treating the elements as independent,
P_{c}^{\text{go}}=\prod_{i=1}^{N}\Big[(1-e_{i})+e_{i}\sum_{m=1}^{M}w_{im}\,s_{c}(i,m)\Big]is the probability that c can be kept, the probability in Eq. 1. Independence is an approximation, since interacting agents are correlated. On the validation Towns 7 and 10, unseen maps for the predictor like Town05, the resulting risk errs on the safe side: for constant-speed probe trajectories a predicted risk 1-P_{c}^{\text{go}} of 0.35 corresponds to an observed collision frequency of 0.24, and the budget \delta of Sec. 4.1 to an observed risk of about 0.2 (Sec. 14).
One safety rule for every source.
The source of a detection is an input of the predictor and does not appear in Eq. 4. An agent or obstacle is one factor of the same form whether the ego, an RSU or a CAV reported it: an agent detected only by an RSU adds one factor, and an element with e_{i}=1 and a single mode has a factor of 0 or 1. A source that sends nothing contributes no factor, and without messages the selector applies the same constraint to the ego’s own detections. Sources can be added or removed without changing the rule (Sec. 4.3).
Risk budget.
\delta is a threshold on the predictor’s own probabilities, applied at every decision step. It is needed because the predictor’s error grows with the horizon: on the validation towns, its best-mode error averages 0.5 m over the first 2 s and reaches 2.0 m at 4 s, more than half a lane width (Sec. 14). Near an intersection, the modes at the end of the horizon cover much of the road, and a requirement to avoid every mode rejects most moving candidates. The chance constraint accepts a candidate that conflicts only with modes of low probability, and the next decision step tests it again. We use one \delta in all experiments (Sec. 4.1); a smaller \delta is more cautious (Sec. 16).
3.4 Cooperative Selector
Selection.
Let \mathcal{G}=\{c:P_{c}^{\text{go}}\geq 1-\delta\}, with P_{c}^{\text{go}} of Eq. 4, be the candidates that are safe to keep. When \mathcal{G} is empty, Eq. 1 has no solution, and we relax it as in contingency planning [23]. A new decision takes effect only after a committed prefix T_{p}, one decision period plus the time a new decision needs to reach the actuators, so a candidate remains acceptable if the ego can still brake to a standstill safely after this prefix. Let P_{c}^{\text{adm}} be the probability that at least one continuation of c is safe: its go continuation, which keeps executing c, or its stop continuation, which brakes to a standstill after T_{p} (Sec. 11), and let the admissible candidates be \mathcal{A}=\{c:P_{c}^{\text{adm}}\geq 1-\delta\}\supseteq\mathcal{G}. The ego chooses between the two at the next decision steps, so P_{c}^{\text{adm}} is an upper bound for a committed choice (Sec. 4.4 ablates the stricter rule). The selector executes
\displaystyle k(c) \\ \displaystyle=\big(\mathbf{1}[c\notin\mathcal{A}],\ \mathbf{1}[c\notin\mathcal{G}],\ d(c,c_{\pi})\big), \\ \displaystyle c^{\ast} \\ \displaystyle=\begin{cases}\operatorname*{lex\,min}\limits_{c\in\mathcal{C}}\ k(c)&\text{if }\mathcal{A}\neq\emptyset,\\[3.0pt]
\operatorname*{arg\,min}\limits_{c\in\mathcal{C}}\ v_{c}(T_{p})&\text{otherwise.}\end{cases}This follows minimum-violation planning [60, 5]: the constraints are ordered, and one that cannot be met gives way while the others still hold. In the second case no candidate keeps a safe continuation, and the selector executes the candidate with the lowest ego speed v_{c}(T_{p}) at the end of the committed prefix, with ties broken by d, a minimal-risk maneuver [52]. This maneuver lowers the speed and does not minimize the predicted risk. After this safety rule, d splits the selection into the two branches of the vocabulary: the planner’s own path first, then the nearest path, then the nearest speed profile. Speed branch: when c_{\pi} fails the rule, the selector keeps p_{\pi} and takes the nearest profile that passes, usually a slower one; when the planner has stayed stationary for T_{\text{stall}} while a moving profile on p_{\pi} stayed in \mathcal{G}, it takes the moving profile that the planner scores highest. Path branch: the selector takes another path only when no profile on p_{\pi} passes, or when a static obstacle blocks p_{\pi} within a look-ahead distance D; the vocabulary paths that pass the obstacle then join \mathcal{C} and rank above the blocked path if one of them is in \mathcal{G} (Sec. 11; Sec. 12 lists one decision step in full). The stall and the blocked path are progress cases: they rank below safety, as in rulebooks [5], and choose only among candidates in \mathcal{G}, so they shorten waits without lowering safety. On Bench2Drive the selector improves the released SparseDriveV2 with both progress cases disabled (Sec. 18).
Properties.
Equations 4 and 5 give CoSel the first and third properties of Sec. 1, and Sec. 3.3 showed the second. Planner first: if c_{\pi}\in\mathcal{G}, the planner’s choice is executed unchanged, unless one of the two progress cases applies. Traceable interventions: a change made by the first two terms of k is a safety intervention, and because Eq. 4 is a product, we report the factor of P_{c_{\pi}}^{\text{go}} with the smallest value, the dominant contributor to the risk, and the source that reported it. When several factors are needed to bring P_{c_{\pi}}^{\text{go}} below 1-\delta, this names the largest contributor and is not a causal attribution.
Several CAVs: yielding as one more factor.
At an unsignalized intersection, the selections of several CAVs are coupled, and two cautious CAVs can wait for each other indefinitely. We decompose the joint problem with one shared priority order, as in prioritized planning [4], and let the order act through the scene. Two CAVs are in conflict when their paths ahead come closer than a radius r_{c} and one does not follow the other; the conflict zone of the CAV with priority is a 6.9 m by 4 m box on its path where the two paths meet. A lower-priority CAV adds this zone, as an obstacle, to its scene with e_{i}=1 and a stationary mode until that CAV has passed, as in reservation-based intersection management [18]. Yielding is then one more factor of Eq. 4, and I2V and V2V cooperation share one mechanism. To derive the order, CAVs also share their upcoming navigation points, which give each CAV’s path ahead up to D and show a turn before the CAV starts to make it. All CAVs derive the same total order from the shared states, with the earlier estimated arrival at the conflict first and ties broken by the CAV index, and the order of a pair is fixed while their conflict lasts, unless the CAV with priority cannot move within a time-out T_{\text{exp}} or has arrived (Sec. 11). A yielding CAV that is stationary and has no candidate in \mathcal{G} stays stationary. We assume that CAV states arrive at every decision step and do not study message delay or loss.
What is learned.
The planner imitates ego-only demonstrations, and the predictor regresses the logged futures of all agents. The selector has no learned parameters, and the system is not trained end to end. Decision-changing moments enter CoSel only through the constraint of Eq. 1, which the selector evaluates at every step.
4 Experiments
We evaluate CoSel in closed loop on V2Xverse (one vehicle, one RSU) and MDrive (several CAVs) (Sec. 4.2), stress-test it on 72 short scenarios that we stage (Sec. 4.3) and ablate its parts (Sec. 4.4). Figure 3 shows qualitative results: decisions that shared information changes.
4.1 Setup
Benchmarks and metrics.
V2Xverse-85 [46] is the closed-loop benchmark of the V2Xverse platform: 85 route–scenario pairs on 58 routes in CARLA Town05, with an RSU placed 12 m ahead of the ego on the right side of the road, 7.5 m high. MDrive [13] controls up to eight CAVs in one scene, and we use its three subsets InterDrive (46 scenarios), Interaction (112) and V2XPnP (67). We report the driving score (DS), route completion (RC), infraction score (IS) and collisions per kilometer on V2Xverse, as in [46], and DS and success rate (SR) on MDrive, as in [13]. A difference between two methods is paired over the same routes or scenarios and is given with a bootstrap 95% confidence interval over pairs or scenarios. Every method is run once.
Baselines.
On V2Xverse-85 we run every baseline of Tab. 1 ourselves, with its released weights and on the same routes. On MDrive we list the numbers published in [13]. CoSel planner only is our planner alone.
Implementation.
The planner is trained on ego-only expert data of V2Xverse, recorded with two vehicles, and the predictor on its data with two vehicles and RSUs, both from Towns 1–4 and 6. Towns 7 and 10 serve for validation, and Town05, where V2Xverse is evaluated, for neither. The predictor outputs M=6 modes over H=4 s. The risk budget \delta=0.3 of the selector was chosen on validation scenarios in Towns 7 and 10 (Sec. 16). The committed prefix T_{p}=0.4 s is one decision period plus one actuation step, T_{\text{stall}} and T_{\text{exp}} are as long as the horizon, and the start distance D_{s} is the spacing of the navigation points (Sec. 11). The other constants are geometric tolerances, decelerations and thresholds set by hand, and on the validation scenarios the selection is insensitive to them: varying nine of them changes the share of unsafe steps by less than 0.2 points (Sec. 16). The planner runs on the GPU, and the selector with its two predictor calls can run on a CPU: in an offline replay of six routes of V2Xverse-85 on a CPU, one selection takes a median of 27–48 ms, within the decision period of 200 ms.
4.2 Comparison with the state of the art
- Ego-only
- CoDriving No fusion [46]
- 55.8
- 93.8
- 0.58
- 3.99
- 11.54
- 6.21
- TCP [66]
- 66.7
- 80.7
- 0.83
- 2.71
- 2.88
- 0.51
- CoSel planner only
- 57.6
- 79.8
- 0.75
- 5.12
- 2.39
- 1.88
- Cooperative
- CoDriving Late fusion [46]
- 63.2
- 96.3
- 0.65
- 2.85
- 8.15
- 5.43
- CoDriving Early fusion [46]
- 56.7
- 92.9
- 0.60
- 3.88
- 12.25
- 2.54
- F-Cooper [8]
- 50.8
- 93.5
- 0.54
- 6.40
- 9.59
- 6.95
- V2X-ViT [70]
- 52.0
- 85.9
- 0.59
- 7.91
- 6.57
- 0.60
- CoDriving [46]
- 59.1
- 96.3
- 0.61
- 4.21
- 9.11
- 5.98
- CoSel
- 70.7
- 88.7
- 0.79
- 3.04
- 1.45
- 1.88
- Method
- DS
- SR
- DS
- SR
- DS
- SR
- DS
- SR
- Ego-only
- TCP [66]
- 83.6
- 67.8
- 75.8
- 55.3
- 71.0
- 58.7
- 76.8
- 60.6
- UniAD [25]
- 57.5
- 26.4
- 53.1
- 31.1
- 72.6
- 68.5
- 61.0
- 42.0
- VAD [30]
- 57.5
- 23.3
- 48.8
- 27.1
- 67.2
- 66.3
- 57.8
- 38.9
- LMDrive [56]
- 56.7
- 27.1
- 57.5
- 29.1
- 71.6
- 69.6
- 61.9
- 41.9
- CoSel planner only
- 86.0
- 78.8
- 76.9
- 65.6
- 83.7
- 71
- 82.2
- 72
- Cooperative
- CoDriving [46]
- 84.0
- 66.1
- 79.1
- 70.5
- 85.0
- 82.8
- 82.7
- 73.2
- CoLMDriver∗ [45]
- 83.8
- 75.1
- 66.7
- 53.7
- 77.9
- 73.1
- 76.1
- 67.3
- CoLMDriver [45]
- 85.3
- 76.9
- 67.9
- 51.9
- 78.3
- 75.4
- 77.2
- 68.1
- CoSel
- 89.6
- 81.1
- 80.5
- 68.2
- 87.3
- 84.9
- 85.8
- 78.1
Table 1 compares the methods on V2Xverse-85. CoSel has the highest DS and the fewest vehicle collisions per kilometer of all methods, and the highest infraction score among the cooperative methods. The paired DS difference to CoDriving is +11.6 [+3.7,+19.6]. TCP has the highest infraction score and the fewest pedestrian and layout collisions per kilometer, but it ends blocked or timed out on 41 of the 85 routes, CoSel on 18 (exact McNemar test, p<0.001). In 19 of the 31 collisions of CoSel with agents the ego is hit from behind or while it is stationary, and 13 of its 17 blocked routes end behind stationary traffic (Sec. 13). In 303 episodes of at least 0.6 s, agents that only the RSU reports put the planner’s choice over the risk budget. In 73% of them the ego’s own detections confirm the conflict within 6 s, a median of 1.4 s later, so the RSU warns earlier.
Table 2 tests whether our method carries over to several CAVs: on MDrive CoSel runs with the V2Xverse weights, and the plans of the other CAVs and their order enter the same scene. CoSel has the highest DS on all three subsets and the highest mean SR. Without the messages of the other CAVs (detections, plans and the order), 21 of the 175 CAVs of InterDrive have a vehicle collision, and with them 8: 7.4 fewer per 100 CAVs ([1.1,13.9] over scenarios).
4.3 Stress test
Safety-critical scenarios.
On these routes a hazard usually appears far ahead: when a pedestrian starts to walk toward the ego’s path, the ego is a median of 35 m from the crossing point on V2Xverse-85 and 20 m on MDrive. We therefore stage 72 scenarios in Town05 next to a fixed RSU (Sec. 10), where this distance is 12 m. In 40 scenarios a pedestrian steps out from behind an occluder 1.4–5.0 s before it reaches the ego’s path, which tests the reaction to a sudden hazard. In eight control scenarios a pedestrian walks away along the sidewalk, which tests that an irrelevant pedestrian does not slow the ego. CoSel collides in 17 of the 72 scenarios and CoDriving in 19. Most of these collisions leave no time to stop: 9 of the 11 step-out collisions of CoSel fall in the 18 scenarios in which the pedestrian enters the ego’s lane about 1 s after it becomes visible, less than a full stop from the approach speed takes (Sec. 10). On the control scenarios CoSel is as fast as its planner alone and faster than CoDriving (13.9, 13.8 and 15.1 s): the disc of a pedestrian who walks away stays off the ego’s path.
Robustness to unreliable ego perception.
A mask removes every pedestrian from the ego’s camera images and LiDAR points for the whole scenario, so that the RSU is the only source that reports them. The mask is the same for every method, and no method saw masked sensor data in training. With and without the mask, CoSel collides in 19 and 17 scenarios (Fig. 6) and CoDriving, which receives the RSU features, in 32 and 19; the planner alone collides in 50 under the mask. CoSel is robust to unreliable ego perception because it handles a pedestrian in the same way whichever source reports it (Sec. 3.3).
4.4 Ablation study
- No data
- w/o
- with
- w/o
- with
- w/o
- with
- DS \uparrow
- 62.9
- 70.7
- 66.5
- 70.7
- 66.9
- 70.7
- Blocked \downarrow
- 28
- 18
- 21
- 18
- 30
- 18
Shared information.
Without the RSU detections (Tab. 3), the selector tests the planner’s candidates against the ego’s own detections only; this already raises the DS of the planner from 57.6 to 62.9. The RSU detections raise it to 70.7 (paired difference +7.8 [+0.3,+15.5]), with 18 routes blocked or timed out instead of 28 (exact McNemar test, p=0.031) and, in the masked stress test, 19 scenarios with a collision instead of 51. The roadside LiDAR of MDrive, which its cooperative baselines receive as well, reports the static obstacles that detectors miss: 5.7 of 100 CAVs on Interaction hit such an object with the planner alone and 0.9 with CoSel.
Safety rule.
With constant-velocity futures in place of the predictor, 8.9% of the validation trajectories with zero predicted risk hit an agent, against 2.8%, and the DS on V2Xverse-85 is 66.5 instead of 70.7. Without the rule for walking pedestrians (Sec. 3.2), 26 instead of 19 scenarios of the masked stress test end in a collision, and the DS on them is 80.2 instead of 85.3 (paired difference +5.1 [+0.2,+10.3]).
Progress.
Without the stop continuation, 30 routes instead of 18 end blocked or timed out (exact McNemar test, p=0.017).
Other planners.
We also test whether the selector generalizes to other planners or benchmarks. On the released CoDriving model, choosing among 64 velocity profiles, it reaches a DS of 65.6 on V2Xverse-85, against 59.1 for the original (Sec. 17). On SparseDriveV2 [59] in Bench2Drive, it raises the DS by +9.2 [+2.0,+17.0] over 45 crossing and junction routes (Sec. 18).
5 Conclusion
We presented CoSel, which casts cooperative driving as selection rather than planner retraining. An ego planner proposes candidate trajectories from ego-only input, while information shared by RSUs and CAVs is used to predict the surrounding scene and determine which candidate should be executed. CoSel preserves the planner’s choice when it remains safe and selects the closest safe alternative when shared information reveals additional risk. This separation allows cooperation to benefit from densely supervised prediction without requiring the planner to learn from rare cooperative decision-changing demonstrations.
Without retraining the underlying planner, CoSel achieves the highest driving scores among the compared methods on both V2Xverse and MDrive. It also remains robust when ego detections are removed, with only a small increase in collisions as shared information becomes the primary evidence of otherwise unseen hazards. These results demonstrate that shared information does not need to be fused into a learned driving policy to improve cooperative driving. Instead, cooperation can complement an existing planner by deciding when to keep its choice and when to select another of its maneuvers. CoSel has three limitations that define our next steps. First, it has not yet been tested with other state-of-the-art planners, such as DrivoR [32], which run on different platforms. Second, its risk treats agents as independent and its predictor reads only detections, so we will study predictors of the joint future of interacting agents that also include traffic lights. Third, it assumes ideal communication; message delay, pose error, and real-world V2X data remain to be tested.
6 LLM Usage Statement
We used Claude (Anthropic) throughout this project as an assistive tool. Specifically, it helped with early-stage literature comparison, writing and debugging training/evaluation/cluster scripts, and debugging model modules (the modified single planner, cooperative predictor, and selector). During writing, it was used for grammar checking, language polishing, and statistical significance analysis. We carefully reviewed and verified all AI-generated code and text, and take full responsibility for the content of the paper.
References
Supplementary Material
7 Cooperation-decisive events in driving data
An imitation-trained planner can learn to act on cooperative evidence only if its training data contain frames in which that evidence explains the expert’s action. We count such frames in V2Xverse training data. We collected these data with the routes and the spawn positions of the data-collection scripts that V2Xverse provides, and use them for training and for this analysis.
Data.
The data cover 167 routes in CARLA 0.9.10, each driven by two ego vehicles under the V2Xverse expert, with road-side units placed as in V2Xverse (one per ego, re-placed ahead of it as it drives), saved at 5 Hz. For 18 routes the ego’s front segmentation is missing, so its visibility cannot be determined; we exclude them and keep 149 routes (292 ego runs).
Brake causes.
The expert brakes when one of its hazard tests fires, and the data record which agents triggered it (pedestrian, bicycle, vehicle ahead, vehicle in the lane, vehicle in the junction). An event is a maximal run of frames in which the same agent is a brake cause for the same ego; gaps of up to two frames are merged.
Visibility.
An agent is visible to the ego if at least four corners of its 3D box are visible in the semantic segmentation of the ego’s front, left and right cameras (behind the ego, we use the ego’s LiDAR returns as a proxy). It is visible to an RSU if at least four corners are unoccluded in the depth images of the RSU’s four cameras. An event is RSU-decisive if, at its first frame, the cause is not visible to the ego but visible to an RSU. It is sustained if the expert brakes for the agent for at least 1 s and the agent is visible only to the RSU in at least three of those frames. Events whose cause is the other ego vehicle are not counted as RSU-decisive.
Results.
Table 4 summarizes the counts. Almost every brake cause is visible to the ego when braking starts (97.7%). Of the 106 RSU-decisive events, the 36 in front of the ego are all single-frame visibility flicker: the ego had seen the same agent at least 4 s earlier. Only 33 events in 26 scenes are sustained, after removing two whose cause is at an implausible height (e.g. a pedestrian below the road surface that the expert’s 2D hazard test still reacts to). All of them are behind or beside the ego: vehicles (22) and bicycles (9) approaching from behind, mostly while the ego is stopped, and two pedestrians beside and behind it. In both pedestrian events, another pedestrian ahead and visible to the ego is a brake cause in every frame, so the RSU does not change the expert’s action. The training data therefore contain no event in which the expert brakes for an agent ahead that only the RSU sees.
- vehicle / bicycle / pedestrian
- 4,653 / 2,048 / 457
- cause visible to the ego at onset
- 6,992 (97.7%)
- cause visible to neither ego nor RSU at onset
- 60
- RSU-decisive at onset
- 106
- ahead / behind / beside the ego
- 36 / 47 / 23
- ahead and not single-frame flicker
- 0
- Sustained RSU-decisive events (26 scenes)
- 33
- vehicles / bicycles behind the ego
- 22 / 9
- pedestrians beside or behind the ego
- 2
- ahead of the ego
- 0
Robustness to the visibility labels.
The RSU visibility labels are approximate: the depth test treats a corner as unoccluded unless the depth image is more than 1 m closer, so corners just behind an occluder count as visible, which can only add RSU-decisive events. To make sure the conclusion does not depend on these labels, we drop them and ask directly whether any forward brake has no cause the ego can see. Of the 1,092 sustained (\geq1 s) forward brake-cause events, none contains three or more frames in which the cause is invisible to the ego and no other ego-visible cause exists.
Scope.
Visibility is not detection: an agent visible to the ego can still be missed by its detector, so the count bounds what the data could teach rather than what a trained planner perceives. The absence of forward RSU-decisive events does not prove that retraining cannot work; it shows that this data offers no supervision for it, which is why retraining does not guarantee the planner learns to act on such evidence. The census covers the data we collected; we did not repeat it on the released V2Xverse training set.
8 MDrive infractions
Table 5 splits the MDrive results of CoSel and of its planner alone by infraction. On InterDrive and Interaction a CAV waits before the zone reserved for another CAV in 409 events across 110 of the 158 scenarios; without the messages of the other CAVs (their detections, plans and the order), 21 of the 175 CAVs of InterDrive have a vehicle collision, against 8 with them, 7.4 fewer per 100 CAVs ([1.1,13.9], bootstrap over the 46 scenarios). On both subsets the collisions with static objects fall (5.7 to 0.9 and 3.8 to 0.0 per 100 CAVs); this is where the static obstacles of the roadside LiDAR act (Sec. 4.4).
- Interaction
- Planner alone
- 76.9
- 0.0
- 5.7
- 5.7
- 6.3
- 33.8
- CoSel
- 80.5
- 0.0
- 7.0
- 0.9
- 11.5
- 34.0
- InterDrive
- Planner alone
- 86.0
- 0.0
- 7.1
- 3.8
- 3.2
- 20.5
- CoSel
- 90.3
- 0.0
- 5.1
- 0.0
- 3.8
- 17.3
- V2XPnP
- CoSel
- 87.3
- 1.7
- 6.7
- 0.8
- 4.2
- 5.9
9 Additional results
Figures 4 and 5 give the driving score per route and the infractions by kind, Fig. 6 the sensor mask of the stress test, and Figs. 7, 8 and 9 the right of way between CAVs.
\DeltaDS per route, colored by what changed.10 Additional analysis of the cooperative channel
Stress test.
The stress test is a hard diagnostic set that we built so that cooperative information is decisive. Each of its 72 short scenarios is staged next to a fixed RSU rig (four 100^{\circ} cameras, pitch -40^{\circ}, 7.5 m high) that covers the conflict area: in 40 scenarios (R1) a pedestrian (adult, child, elderly or jogger) steps out from behind a kiosk, a parked truck or a van, 1.4–5.0 s before reaching the ego’s path, in clear, rainy or sunset light; in 5 (R2) a vehicle enters a junction from behind an occluder; 3 lane-change conflicts (R4), and 24 controls (R5): 8 with a crossing that the ego sees, 8 with a pedestrian who walks away along the sidewalk and never enters the road, and 8 without a pedestrian. When a pedestrian starts to walk toward the ego’s path, the ego is a median of 12 m from the crossing point in the stress test, against 35 m on V2Xverse-85 and 20 m on MDrive. In the setting used for the analysis in Sec. 4.3, the pedestrians are additionally removed from the ego’s cameras and LiDAR, so that the RSU is the only evidence about them: without the RSU boxes, the planner alone and our selection on ego evidence collide in 39 and 38 of the 40 dart-outs. The set is used only to diagnose the cooperative channel; no parameter is chosen on it. Remaining collisions. With full ego sensing CoSel collides in 17 scenarios, 13 with a pedestrian and 4 with a vehicle. The 40 step-out scenarios differ in the time between the moment the pedestrian becomes visible to the ego and its entry into the ego’s lane: in 18 it is 1.0–1.5 s (median 1.0 s), in 22 it is 1.8–2.7 s. A full stop from the approach speed of 5 m/s takes 1.1 s with a reaction time of 0.3 s and a deceleration of 6 m/s2. Nine of the 11 step-out collisions of CoSel fall in the first group and 2 in the second. In 14 of the 17 collisions the planner’s choice had exceeded the risk budget within the 3 s before the contact, so the selector had acted. The pedestrians follow a scripted motion and do not react to the ego: in 9 of the 13 pedestrian collisions the pedestrian meets the right side of the moving ego, and in 4 the front of the ego after it has braked to below 0.5 m/s.
Open-loop: ego-detection loss.
On the recorded scenarios of the stress test we replay the selection with each ground-truth track removed from the ego detections with probability p (three seeds, bootstrap by scenario), with and without the RSU (Fig. 10). We report whether a tick on which the planner’s own trajectory is in conflict is still accepted (risk miss), whether the selection is conflict-free on those ticks (safe pick), and whether a free tick is stopped (over-stop). With the ego fully blind (p=1) the risk miss is 0.77 [0.66,0.87] with the RSU and 1.00 without; the safe pick is 0.22 with the RSU and 0.00 without (0.29 vs. 0.21 at p=0); over-stop stays at 0.19–0.20 in every condition, so the RSU does not buy safety with extra stopping. Tick-level misses are high in every condition because a conflict 2 s ahead can still be avoided by braking later, so the selection keeps the planner’s choice until its stop branch would no longer avoid it; the scenario-level view is the fairer one: on the 30 R1 scenarios with a ground-truth conflict, the first flag precedes the expected overlap by a median of 1.6 s with the RSU (3 of 30 unflagged) against 1.2 s with ego detections only (5 unflagged); a blind ego with the RSU keeps 1.4 s, a blind ego without it flags 3 of 30.
11 Method details
This section gives the definitions that Sec. 3 refers to.
Positives of the planner loss.
The tests of Sec. 3.1 run over the planner’s horizon of 2 s, with \eta_{s}=1 m, \eta_{v}=0.5 m/s and \eta_{\tau}=0.5 m. Mean speed differences and mean position errors are taken over the valid steps of the expert’s future, and a collision is tested against the boxes of the logged agents. If no profile within \eta_{s} passes the speed test, the one with the smallest speed difference is the positive, and if no composed candidate passes, the nearest one without a collision is. Below an ego speed of 0.3 m/s the traveled distance does not separate starting now from starting later, and only the positives that agree with the expert’s action, to brake or to drive, are kept: when the expert brakes, the profiles whose mean speed over 0.4–0.8 s is at least 0.3 m/s are removed, and when it drives, only these profiles are kept. The positives of a frame share the weight of one positive.
Predictor training.
Each detected box of the present and the three previous decision steps (0.6 s) is a token with its position, heading, size, class, score, source, age and velocity, in the present ego frame; a plan of a CAV over 2 s is one more token. All CAVs decide at the same step, so the newest plan of a CAV is the candidate that it chose at the previous step and is executing; the ego places this candidate at the CAV’s present pose. Only a plan that ends in a stop is taken as given: the CAV can always brake, so it goes no farther than the end of such a plan, and if other agents hold it up, it stops earlier on the same path, which its next message shows. We take such a message as given instead of predicting the CAV for three reasons. The predictor gives each agent a marginal future and would spread probability over futures that the CAV has already ruled out by its own decision; a stationary CAV or a stop plan fixes the CAV over the whole horizon H by the CAV’s own action alone, so the ego can plan around it as around a static obstacle; and the message is replaced at the next decision step, so the assumption lasts one step. The interaction between CAVs, which this does not model, enters through their shared order and the conflict zones of Sec. 3.4; a plan that ends in motion depends on that interaction and stays an input of the predictor. Three self-attention layers of width 128 (0.53 M parameters) output, for every present box, M=6 trajectories over H=4 s in steps of 0.2 s as offsets from constant velocity, their probabilities and the existence e_{i}. A box within 2 m of a logged agent has existence target 1 and that agent’s future as target; other boxes have existence target 0. The loss is smooth-\ell_{1} on the mode nearest to the target, with cross-entropy on that mode and binary cross-entropy on e_{i}, both weighted 0.5. Training removes the ego’s boxes of an agent that another source also sees with probability 0.5, all RSU boxes with 0.2 and all CAV boxes and plans with 0.3; a plan is given with probability 0.5. We train four epochs on 63k frames from Towns 1–4 and 6 with AdamW (learning rate 5\times 10^{-4}, batch size 32); Towns 7 and 10 are used for validation.
Boxes of the same agent.
The predictor receives every box. Afterward a box from an RSU or a CAV within 1.5 m (pedestrians 0.8 m) of an ego box of the same class is removed, and CAVs send no detections of other CAVs. Two remote boxes of an agent that the ego does not detect are not merged: each is a factor of Eq. 4, so the predicted risk of that agent is counted twice. This can occur on MDrive and not on V2Xverse-85, which has one remote source.
Walking pedestrians.
A pedestrian counts as walking when its own detections one or two decision steps apart give a speed of at least 0.5 m/s, unless it is behind the ego and faces the ego’s direction of travel. It is represented by a disc around the center of its box that keeps the observed velocity over H; the radius is the larger half extent of the box plus the distance the pedestrian covers during the committed prefix T_{p}, because it may be one decision ahead of the extrapolated position. A candidate must stay clear of this disc when it goes on; a later stop of the ego gives no credit against it. The predicted modes of a walking pedestrian stay in Eq. 4 as well. Cyclists, vehicles and pedestrians that do not walk enter with their predicted modes only; an agent whose modes give an expected speed below 0.5 m/s is checked as one standing box, with a margin for the tracking error of the ego.
Start corridor.
The corridor applies where no roadside LiDAR is available, for an ego at rest whose planner chooses to move or for which the progress rule applies, and while the ego is less than D_{s}=10 m from where it last stood, the spacing of the navigation points. Its edges lie one lane width (3.5 m) plus the footprint clearance to either side of the straight line from the ego to its current navigation point. The corridor uses a single navigation point, the one the planner itself receives.
Probability of a safe continuation.
Every candidate has two continuations: to go on with its speed profile, and to follow it for the committed prefix T_{p}=0.4 s (one decision period plus one actuation step) and then brake to a standstill at a_{b}=3 m/s2. Let s_{c}^{\text{go}}(i,m) and s_{c}^{\text{stop}}(i,m) indicate that the continuation has no contact with mode m of box i within H. In the stop continuation a contact while the ego still moves always counts, and a contact with the standing ego counts unless the agent stands or is obliged to stop for it and can do so (reaction time 0.5 s, deceleration 4 m/s2 for vehicles and 2 m/s2 for pedestrians); obliged are agents that start behind the ego and move in its direction and CAVs that yield to the ego in the order. With a_{i}^{x}=(1-e_{i})+e_{i}\sum_{m}w_{im}\,s_{c}^{x}(i,m) for x\in\{\text{go},\text{stop}\} and a_{i}^{\text{both}} the same sum over s_{c}^{\text{go}}s_{c}^{\text{stop}},
P_{c}^{\text{adm}}=\prod_{i}a_{i}^{\text{go}}+\prod_{i}a_{i}^{\text{stop}}-\prod_{i}a_{i}^{\text{both}},the probability that at least one continuation stays without contact, with P_{c}^{\text{go}}=\prod_{i}a_{i}^{\text{go}} as in Eq. 4. P_{c}^{\text{adm}} counts a future as safe when either continuation is safe in it, so it is the probability that a safe continuation exists and an upper bound on the probability that a continuation fixed in advance is safe; the two differ when the continuations are safe in different futures. The selector decides again every 0.2 s with the new detections, and the stop continuation of a kept candidate begins only after the committed prefix. The stricter rule, which keeps a candidate only if going on is safe, is the last row of Tab. 3.
Progress.
The stall case applies when the planner’s choice has stood for T_{\text{stall}}=4 s, the ego has moved less than 2 m in that window and, at every step of the window, a moving candidate on the planner’s path was in \mathcal{G}. The selector then executes the moving candidate on that path with the highest planner score, until the planner’s own choice moves. The blocked-path case applies when a static obstacle lies on p_{\pi} within D=40 m. The vocabulary paths whose footprint stays clear of static obstacles join \mathcal{C}, and among those with a moving candidate in \mathcal{G} the selector takes the path that advances furthest along the navigation points; without one, the ego stops before the obstacle.
Constants.
The committed prefix T_{p}=0.4 s is one decision period plus one actuation step, and the stall window T_{\text{stall}} and the time-out T_{\text{exp}} are 4 s, as long as the horizon. The start distance D_{s}=10 m is the spacing of the navigation points, and the look-ahead distance D=40 m is more than the ego covers within H (32 m at the speed limit of 8 m/s on V2Xverse). The risk budget was chosen on validation scenarios (Sec. 16).
Order between CAVs.
Two CAVs are in conflict when their paths ahead, up to D, come within r_{c}=2.5 m of each other and neither follows the other. The key of a CAV is its estimated arrival time at the conflict, then its index, so the order is total and has no cycle, and every pair holds mirrored relations: one has priority, the other yields. A CAV with priority can still be unable to pass, and its priority over a yielding CAV ends in the following cases, each read from the shared states: it has stood for T_{\text{exp}}=4 s since it received the priority while the yielding CAV also stands; the yielding CAV is already within r_{c} of the path ahead of the CAV with priority, where waiting blocks that CAV; neither has made progress for T_{\text{exp}} and the CAV with priority has no candidate in \mathcal{G} or names the yielding CAV as the agent that makes its choice unsafe; or the CAV with priority has stood for T_{\text{exp}} with a plan that ends before the conflict, or has not moved for T_{\text{exp}} although the candidates it selected move. The yielding CAV then sends a request, and at the next decision step every CAV applies the same change: the CAV that had priority is placed directly behind the requester, or at the end of the order when it has stood for T_{\text{exp}}. The order stays total. Requests of, and against, a CAV that has reached its destination are discarded. A yielding CAV that stands, with \mathcal{G} empty, takes the slowest candidate in \mathcal{A} and does not creep toward the conflict zone.
12 One decision step
At every decision step (0.2 s) the selector does the following.
- Candidates.
\mathcal{C}is the planner’s pathp_{\pi}and itsKhighest-scored paths, each with the speed profiles that the planner keeps after its first scoring round, plus the stop profile. If a static obstacle blocksp_{\pi}withinD, the vocabulary paths that pass it are added. The planner’s network, weights and vocabulary are not changed. - Scene. The predictor gives existence probabilities and future modes for the detections of the ego, the RSUs and the CAVs. The given items are added with
e_{i}=1and one mode: CAVs that stand or whose shared plan ends in a stop, walking pedestrians, static cells, solid lane lines, the start corridor, and the conflict zones of CAVs with priority. - Probabilities. For every candidate,
P_{c}^{\text{go}}(Eq. 4) andP_{c}^{\text{adm}}, the probability that going on or braking after the committed prefix stays without contact;\mathcal{G}and\mathcal{A}are the candidates at or above1-\delta. - Safety. The key of Eq. 5: a candidate in
\mathcal{A}before one outside it, one in\mathcal{G}before one outside it, then the smallest departure from the planner’s choice. A CAV that yields and stands, with\mathcal{G}empty, takes the slowest candidate in\mathcal{A}. If\mathcal{A}is empty, the candidate with the lowest speed after the committed prefix. - Progress. If the planner has chosen to stand for
T_{\text{stall}}and the ego has moved less than 2 m in that window, while a moving candidate on its path stayed in\mathcal{G}, that candidate with the highest planner score. If a static obstacle blocksp_{\pi}and a moving candidate on a passing path is in\mathcal{G}, the passing path that advances furthest along the navigation points. - Execution. The selected candidate is executed. At every step the log holds the agents with the smallest factors of
P_{c_{\pi}}^{\text{go}}and the source of each; an agent that the ego and an RSU both detect counts as the ego’s. For the given items the log holds how many candidates each kind removed.
Two statements of the main text are separate. The planner is never changed, in any case. The executed candidate is the planner’s choice whenever that choice is in \mathcal{G}, with the two progress cases of step 5 as the only exceptions.
13 Failure causes on V2Xverse-85
Table 6 splits the collisions with agents on V2Xverse-85 by where the struck agent was at the impact, in the frame of the ego, and by the speed of the ego, and the blocked routes by what stood in front of the ego during its last ten seconds. We can make this split for our own runs, which log the ground-truth agents; the logs of the baselines do not contain them. One scenario type of the benchmark places a pedestrian in the lane behind the ego who runs along the lane at 3 m/s and reaches any car that slows down. Figure 11 shows one collision from behind and one blocked route.
- Blocked routes
- 36
- 17
- agent ahead
- 25
- 13
- of these in a queue
- 15
- 7
- nothing ahead
- 11
- 4
Against the baselines, all on the same 85 pairs, the paired DS difference of CoSel is +11.6 [+3.7,+19.6] to CoDriving, +7.5 [+0.3,+14.7] to late fusion, +19.9 [+13.0,+27.1] to F-Cooper and +18.7 [+10.6,+27.0] to V2X-ViT, and a collision occurs on 32 routes against 52, 52, 64 and 59. TCP completes 44 of the 85 routes and CoSel 67. Against the planner alone, CoSel has 7 fewer collisions in which the moving ego drives into an agent (19 and 12) and 7 fewer agents that reach the ego from behind (17 and 10).
14 Calibration of the predictor
We evaluate the predictor of CoSel on the validation Towns 07 and 10 (22 routes, 5,962 frames), with the fusion of the deployed system, in three evidence settings: ego detections only, ego and RSU detections, and all sources with shared plans. The expected calibration error of the existence probabilities is 0.038, 0.026 and 0.031, and that of the mode weights 0.013, 0.008 and 0.009. For the risk of a trajectory we roll out 15 constant-speed probe trajectories per frame and compare 1-P_{c}^{\text{go}} with the frequency of a contact with the logged agents: the error is 0.074, 0.073 and 0.079. The risk is overestimated in the middle range. With ego and RSU detections, a predicted risk of 0.35 corresponds to an observed frequency of 0.24, 0.65 to 0.46 and 0.75 to 0.57, so the budget \delta=0.3 corresponds to an observed risk of about 0.2. At the low end, shared evidence removes missed risk: of the trajectories with a predicted risk of zero, 7.1% hit an agent with ego detections only, 2.9% with the RSU detections and 2.4% with all sources.
15 Earlier comparisons with a previous planner
Before CoSel we tried three other ways of using the shared information. The first two used an earlier version of our planner (same architecture, other weights), and the third partly an earlier checkpoint of the predictor, so their numbers are not comparable with the tables of the main text; we report them because they motivated the design.
RSU features fused into the planner.
We fused the RSU detections into the planner in two ways: through a cooperative perception head whose fused queries the planner reads, and as additional tokens of the planner’s agent attention. Frozen planner. With the fused queries, the average displacement error on 10,208 held-out frames falls by 0.026 m [0.020,0.032], but the planner slows less often when the expert brakes (-4.8 points [-6.8,-3.0]). With the additional tokens, the speed of the planner’s choice changes as much with the RSU tokens of another frame as with the real ones (paired difference -0.005 m/s). Adapter. A 131 k-parameter adapter on the RSU tokens, trained on the full training set with the planner frozen, slows the planner wherever tokens are present; trained on real tokens or on shuffled tokens it behaves the same on the frames in which the RSU sees the cause of the expert’s braking (paired difference of the chosen speed -0.028 m/s [-0.102,+0.037]). Joint training. A planner fine-tuned on ten routes with the fused queries is not better than one fine-tuned without them and given them only at test time (displacement error 0.696 m against 0.682 m), and on the 93 frames in which only the RSU sees the cause of the expert’s braking it slows in 38% with the RSU and 42% without. Closed loop. On V2Xverse-85 the planner trained with fused RSU features does not improve on the same planner without them (paired DS difference -6.7 [-13.0,-0.1]); the two also differ in their training schedule. Why. The expert data of this benchmark explain this: with the RSU 12 m ahead of the ego, among the 7,158 braking events of the expert there is no sustained one whose cause is an agent ahead that only the RSU sees (Sec. 7), so no training sample requires the fused features, and shuffling them at test time changes the planned speed by 0.005 m/s. Fusion can learn such a response from data constructed to contain it [14]; selection does not depend on such data.
A learned re-ranker of the candidates.
We trained a scorer that reads the candidates of the frozen planner and the detected boxes and predicts a contact within 2 s, on all 119,857 frames of the training set. Its AUROC on held-out frames is 0.945, and 0.958 with the velocity of the tracked boxes as input. On 19 closed-loop collisions with a pedestrian that steps into the lane, it flags the planner’s choice one to two seconds before the impact in 1 case from the boxes alone and in 9 with RSU boxes and their velocity. Re-ranking the final candidates avoids 1 of the 19: in 18, the planner had removed every safe speed profile in its first scoring round. A hard veto in that first round removed candidates at 49% of the decision steps in closed loop, and the route completion fell from 93.6 to 74.5 on the first six routes, where we stopped the run. The comparison shows that the candidates that reach the selection matter: the scorer worked on the final candidates, from which the safe speed profiles were already gone. The candidates of CoSel therefore come from before the planner’s final round and always include the stop profile. The comparison does not show whether predicting the motion of the agents is better than predicting the contact of a candidate.
Constant-velocity futures.
Validation towns. Table 7 compares the predictor with a constant-velocity extrapolation of the same boxes on 5,962 frames of the validation Towns 07 and 10. The risk is evaluated on 89,430 probe trajectories of 4 s and on the planner’s candidates in 945 frames with at least one colliding candidate. Constant velocity has almost three times the forecast error, ranks risky trajectories worse (AUROC 0.83 against 0.93, paired difference +0.10 [0.10,0.11]) and calls safe three times as many trajectories that hit an agent (8.9% against 2.8%). The most probable mode of the predictor alone has an error close to that of constant velocity (1.31 m), so the gain comes from the set of modes. With the ego’s tokens only, 7.1% of the zero-risk probe trajectories hit an agent; the RSU and CAV tokens bring this to 2.8%.
- Standing boxes
- 2.22
- 8.21
- 0.778
- 13.2%
- 0.824
- Constant velocity
- 1.39
- 5.83
- 0.825
- 8.9%
- 0.774
- Predictor
- 0.52
- 2.02
- 0.928
- 2.8%
- 0.884
- True futures
- –
- –
- 0.946
- 1.8%
- 0.912
Closed loop. On 53 validation scenarios in Towns 07 and 10 (33 with a crossing pedestrian or cyclist, two runs each) and with the planner of CoSel, a hand-written braking rule on the positions and constant-velocity motion of pedestrians and cyclists lowers the scenarios in which the ego is at fault from 8 and 7 for the planner alone to 4 and 3 with ego detections and to 3 and 0 with the RSU detections added. The rule slows the ego on the control scenarios as well (mean route time 33.3 s against 30.7 s).
16 Choice of the risk budget
The risk budget 0.3 was chosen on 53 validation scenarios in Town10 (32) and Town07 (21), none of them in Town05. Table 8 repeats the scan with the selector of this paper: the planner-alone run of these scenarios is replayed offline, and at each of its 8,338 decision steps the selector chooses from the logged state. A step is unsafe when the executed candidate, followed over H, touches the logged future of an agent; with the planner’s own choice 8.70% of the steps are unsafe. The table also gives how many of the 11 scenarios in which the planner alone has a contact are flagged before the contact, how early, and how often the six scenarios without a conflict are flagged. The budget trades the unsafe steps against the flags on scenarios without a conflict, without a knee. Other constants. On the same scenarios we varied nine constants of the selector one at a time: the deceleration of the stop continuation (2 and 4 m/s2), the reaction time (0.3 and 1 s) and the deceleration of the other agents, the radius of the ego footprint (\pm 0.1 m), the margin on standing agents, the number of candidate paths (8 and 32), the acceleration bound of the committed prefix, the standing threshold (0.3 and 0.8 m/s) and T_{\text{stall}} (2 and 8 s). For the first seven the executed candidate changes at no more than 1.2% of the steps and the unsafe steps stay between 7.77% and 7.81%. The standing threshold and T_{\text{stall}} change how often the selector moves a standing ego on, and the unsafe steps stay between 7.65% and 7.78%. The replay is open loop; the start corridor, the lane lines, the static obstacles and the order between CAVs have no input on these scenarios. On V2Xverse-85 the planner’s choice has a predicted risk of exactly zero at 63% of the decision steps and above 0.3 at 21%. Collisions within the budget. A budget of 0.3 accepts candidates with a predicted risk up to 0.3, and we count the collisions that it let pass. For every collision of CoSel with an agent we take the decision steps of the 3 s before the impact. On V2Xverse-85 the planner’s choice exceeds the budget at one of these steps in 27 of the 31 collisions, so the selector had already acted; in 4 the predicted risk stays within the budget (at most 0.24), 3 of them with the ego driving into a pedestrian; in none is it zero. On the stress test with the pedestrians masked the counts are 11, 3 and 5 of 19. The risk is that of the whole scene, so 4 and 3 are upper bounds of the collisions that a smaller budget could have changed.
- 0.1
- 7.25
- 11
- 5.85
- 11.4
- 0.2
- 7.58
- 10
- 4.75
- 6.5
- 0.3
- 7.77
- 9
- 2.30
- 5.4
- 0.4
- 7.88
- 8
- 1.90
- 3.8
- 0.5
- 7.95
- 8
- 1.90
- 3.3
17 The selector on the CoDriving planner
To test the selector on a planner that it was not built for, we attach it to the released CoDriving model. CoDriving plans one path; the candidates are this path with the speed profiles of our vocabulary, and the profile closest to CoDriving’s own waypoints is its choice. The detections are those of CoDriving, and the predictor, the scene and the selector are unchanged. With the selector the DS is 65.6 on all 85 routes, against 59.1 for CoDriving with its own controller (Tab. 1), with 39 vehicle collisions against 67 and 8 blocked routes against 10. The run with the selector uses our controller, with which CoDriving alone scores 39.4 on the 77 routes it finished (paired difference +26.2 [+18.7,+33.8]).
18 The selector on SparseDriveV2 in Bench2Drive
We also attach the selector to the released SparseDriveV2 [59], trained on the Bench2Drive data of the Think2Drive expert [29, 34], on 45 Bench2Drive routes: 20 with a crossing pedestrian (four scenario types, five routes each) and 25 at junctions (five types, five routes each). The candidates are SparseDriveV2’s own paths and speed profiles and the detections are its own; the predictor is that of CoSel, and the selector is an earlier version without the walking-pedestrian disc, the start corridor and the path case of Sec. 3.4. The candidate speeds are capped at SparseDriveV2’s own choice, so the selector can only slow down or change the path, and the speed case cannot act either: on no route does the selector start a standing ego. With the ego’s detections only, the selector raises the driving score by +9.2 [+2.0,+17.0], paired over the 45 routes with two runs of each route for both systems.
19 What enters the scene
The selector applies one criterion, Eq. 1, to every candidate. What differs between the cases of Sec. 3.2 is what stands in the scene and with which future (Tab. 9). Traffic lights are not in the scene: the planner sees them through its cameras, and the stop line of a red light can be added as one more given item. The progress term adds no traffic infraction on V2Xverse-85: no method runs a red light on these routes, and CoSel commits as many stop-sign infractions as its planner (8; CoDriving 10).
- Detected agent
- ego, RSU, CAV
- predictor, M modes with existence e_{i}
- CAV that stands or plans a stop
- its message
- stays, or follows its plan and stays
- Walking pedestrian
- ego, RSU, CAV
- keeps its observed velocity
- Static obstacle
- roadside LiDAR
- stays
- Solid lane line
- online map
- stays
- Start corridor
- navigation point
- stays while the ego starts
- Conflict zone of a CAV with priority
- CAV messages
- occupied until that CAV has passed