arXiv:2608.26860cs.LGAug 2026

Manuscript Offprint

arXiv:2608.26860

Reinforcement Learning-Based Control of CAV Platoon Joining Maneuvers in Mixed Traffic

Biao Yin, Abderrahmane Kasmi, Nadir Farhi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Connected and automated vehicle (CAV) platooning offers a promising approach to improving road safety and traffic capacity. However, platoon control in real-world traffic is challenging due to uncertainty and heterogeneous driving behaviors. Reinforcement learning (RL) has strong potential for addressing such control problems, but its practical deployment raises challenges related to safety and learning efficiency. This paper proposes a generic modeling and simulation framework for investigating CAV platoon joining maneuvers and comparing deep reinforcement learning (DRL)-based control algorithms. The problem is particularly challenging in mixed-traffic environments, where CAVs coexist with human-driven vehicles exhibiting heterogeneous longitudinal and lateral behaviors. The objective is to achieve safe and efficient joining maneuvers by either incorporating penalties for risky behaviors into the learning process or using an external safety controller to constrain the learned policy. An agent-based modeling framework coupled with the Simulation of Urban MObility (SUMO) simulator is used to evaluate Deep Q-Network (DQN), Double Deep Q-Network (DDQN), and Proximal Policy Optimization (PPO). Results show that PPO outperforms DQN and DDQN, achieving a joining success rate of approximately 98 % and a collision rate below 1 %, largely due to risk-related penalties incorporated into the reward function. However, this improved performance requires more decision steps to complete the maneuver, revealing a trade-off between safety, joining effectiveness, and decision efficiency. An external safety controller effectively prevents collisions, although its interventions may reduce joining efficiency. The results highlight the importance of jointly considering safety and efficiency when designing RL-based controllers for CAV platoon joining in mixed traffic. The source code is available at: https://github.com/biaoyin/platoon-drl/tree/platoon_join

Keywords: Vehicle platooning, Deep reinforcement learning, CAVs, Mixed traffic, Platoon joining, Collision avoidance.

1. Introduction

CAVs enable vehicle-to-vehicle and vehicle-to-infrastructure communications to achieve cooperative control and mitigate undesirable human driving behavior (e.g., aggression and stop-and-go instability) [1][2]. The benefits of CAVs extend to traffic flow, yielding improvements in safety and efficiency, as well as contributing to environmental sustainability. Abundant studies have focused on longitudinal speed coordination control of CAVs within a platoon, in which a group of CAVs moves at a consensual speed while maintaining a small, nearly constant distance between adjacent vehicles, such as cooperative adaptive cruise control (CACC). It has

∗^{*}Corresponding author.

Email address: biao.yin@univ-eiffel.fr (Biao Yin)

Preprint been demonstrated that CAV platoons have enormous potential to enhance road capacity [3], traffic stability [4], and energy efficiency [5].

Platooning optimization typically involves several key operational phases in the lifecycle of a platoon. These phases structure how vehicles form, operate within, and leave a platoon. Each phase requires sophisticated mechanisms to ensure both safety and efficiency. Although car-following dynamics (such as CACC) have been extensively studied, the initial platoon joining phase is fundamentally important, enabling a CAV to merge into a platoon at a designated position. This requires precise speed control and well-timed lane-changing maneuvers. A key challenge lies in managing longitudinal and lateral control that avoids traffic disturbances, such as congestion or collisions. This challenge is further intensified in mixed traffic, where CAVs coexist with human-driven vehicles in the near future.

In previous work, conventional approaches for platoon joining have been mainly explored based on rules, optimization models, or conceptualized techniques such as virtual platoons [6], [7], [8]. Rule-based approaches enable coordinated merging behavior with low computational complexity, but their performance may be limited in highly dynamic environments [6]. Optimization-based approaches, such as model predictive control [7], can improve flexibility and performance by formulating the problem as a constrained optimization problem, while requiring higher computational effort and more accurate modeling. Virtual platooning introduces a higher level of cooperation by organizing vehicles into a logical platoon before physical merging occurs. This enables early synchronization of speeds, precise position adjustment, and proactive gap creation with the target platoon. The technique is mostly used in on-ramp joining scenarios, where the merging vehicle is virtually integrated into the main-road platoon in advance, as demonstrated in [5] and [8].

Recently, reinforcement learning (RL) algorithms have been increasingly adopted to tackle the complexities of platoon-joining tasks. Early foundational work primarily focused on single-agent settings. In the value-based RL domain, [9] introduced a deep Q-network (DQN) solution for platoon merging within a discrete-cell road environment. The results show that the proposed DQN approach requires less merging travel time and fewer vehicle lane-change times than the rule-based approach. Concurrently, policy-based RL methods were explored in [10], which applied proximal policy optimization (PPO) to automated lane-changing maneuvers and achieved a 95% success rate in dense traffic. To address the inherently multi-agent nature of platoon coordination, subsequent research extended RL frameworks to handle inter-agent competition and cooperation. A series of multi-agent RL algorithms have been applied to CAV platoon formation, as demonstrated across studies [11], [12], [13], [14], [15]. However, a critical step toward real-world deployment lies in navigating mixed-traffic environments, where CAVs and human-driven vehicles (HDVs) coexist. In this context, [16] proposed a two-stage framework: the first stage enumerates all feasible platoon formations given a specific vehicle sequence, while the second stage employs a multi-agent policy to guide each vehicle—both automated and human-driven—into its designated position according to the formation plan. To further accelerate convergence, hybrid approaches have also been investigated, such as combining genetic algorithms with deep RL for smart platooning [17]. Beyond formation planning and convergence speed, collision during the joining maneuver remains a persistent and fundamental challenge. The literature reveals two predominant safety strategies. The first appends an independent safety controller—an external, rule-based module—to override potentially hazardous decisions and ensure collision-free execution [18]. The second incorporates internal risky-joining penalties directly within the reward function, thereby discouraging unsafe behaviors intrinsically during the training process [10]. A recent study integrates a control barrier function (CBF) into an RL framework to guarantee a safe joining process in the formation of mixed platoons (including CAVs and HDVs), demonstrating promising results for longitudinal and lateral control [25].

Despite these advances, existing studies indicate that most frameworks and simulations rely on oversimplified or abstracted environments that fail to capture realistic microscopic traffic dynamics. The transition from mixed-traffic lanes to dedicated CAV lanes—a highly practical scenario—has received limited systematic investigation, which was deemed efficient for flow organization with mixed traffic [19]. Most critically, while safety modules (external shields) and penalty-based rewards (internal costs) have been individually explored, there is a lack of comprehensive comparative analysis that evaluates their distinct roles, trade-offs, and combined effectiveness under diverse and dynamic traffic conditions. To bridge these gaps, this paper proposes a generic RL-based modeling framework built within the SUMO simulation environment to systematically study CAV platoon joining maneuvers.

Our main contributions therefore are threefold: 1) developing a system framework that enables CAVs to join a platoon when operating from a mixed-traffic lane to a dedicated CAV lane on the highway; 2) implementing and comparing three distinct types of deep RL algorithms to learn optimal joining policies; and 3) conducting comprehensive performance analyses under diverse traffic conditions, with a specific emphasis on assessing the roles of risky penalties during training versus the independent safety shield for collision avoidance, thereby providing critical insights into the design of robust and reliable platoon-joining controllers.

The rest of the paper is organized as follows. We introduce the fundamentals of RL and typical deep RL algorithms in Section 2. The detailed methodology, including the simulation system architecture, platooning task modeling, and algorithm implementation, is presented in Section 3. Afterwards, we present the simulation experiments and results analysis. The conclusion is drawn in the last section.

References (24)