arXiv:2610.06266cs.LGOct 2026

Manuscript Offprint

arXiv:2610.06266

Ramp Metering Control via Hybrid State Deep Reinforcement Learning in Partially Observable Connected Vehicle Environments

Youcef Mehamlia, Nadir Farhi, Meriem Bouali

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

Abstract

Freeway on-ramp merges are major sources of congestion, causing significant economic and environmental costs. While Deep Reinforcement Learning (DRL) offers a promising solution for ramp metering, existing approaches rely primarily on aggregated macroscopic data. Connected vehicles (CVs) provide vehicle-level observations that can complement aggregate traffic measurements, but their limited penetration produces incomplete microscopic information. This paper proposes a hybrid observation representation combining macroscopic traffic measurements with a two-channel grid encoding observed CV presence and speed. A Dueling Double Deep Q-Network processes these inputs to select ramp-metering green durations. The controller is trained under varying traffic demands and CV penetration rates and evaluated against ALINEA and macroscopic-only DRL variants in SUMO. Across 50 matched evaluation scenarios, the hybrid controller under partial CV visibility reduces the reported total travel time by 11.4% and mean spillback duration by 84.9% relative to ALINEA. Evaluating the same trained policy with full CV visibility yields a further travel-time reduction of approximately 1.6%. Analysis across penetration rates suggests that the performance gap decreases as microscopic observations become more complete. These results support the use of complementary macroscopic and sparse microscopic observations for learning-based ramp metering. The source code implementation of the model is available at: https://github.com/youcefMehamlia/Multimodal-DRL-RMC

Keywords: Ramp metering, Traffic control, Reinforcement Learning, Connected vehicles.

1. INTRODUCTION

Traffic congestion is a major challenge in modern cities. It wastes time [1], increases fuel use, and raises emissions [2]. These emissions harm air quality, accelerate climate change, and threaten public health [3, 4]. Much of this congestion starts at freeway on-ramps. When too many vehicles merge at once, they disrupt the mainline traffic flow. This triggers a sudden drop in speed and highway capacity. This phenomenon is known as the capacity drop [5, 6]. Once flow breaks down, recovering free-flow conditions is difficult. Ramp metering solves this by using traffic signals to control the merging rate. Effective metering has two competing goals. It must protect mainline efficiency by preventing the capacity drop. It must also manage ramp queues to prevent spillback onto city streets [7].

Early ramp metering relied on fixed-time control. This method uses pre-set rates based on historical data [8]. However, it cannot adapt to real-time traffic changes. This limitation led to local feedback controllers like ALINEA, which adjust the rate to maintain a target mainline occupancy [9]. Field evaluations have demonstrated the effectiveness of these isolated feedback strategies [10]. To manage larger networks, researchers developed coordinated strategies, such

∗^{*}Corresponding author.

Email address: youcef.mehamlia@univ-eiffel.fr (Youcef Mehamlia) as HERO, to handle multiple ramps and upstream storage [11]. Advanced coordinated systems also use multi-objective optimization to balance traffic efficiency and safety [12]. Furthermore, field tests show that combining coordinated metering with other physical measures, such as hard shoulder running, significantly improves highway performance [13]. Finally, predictive models, like model predictive control (MPC), emerged to compute optimal rates using traffic forecasts [14, 15].

Connected vehicles (CVs) provide an additional source of traffic information through transmitted positions and speeds [16]. These observations can complement aggregate detector measurements by preserving localized spatial information around the merge. However, only a fraction of vehicles may transmit such data, resulting in incomplete microscopic observations. In this study, CV penetration refers to the availability of vehicle-level measurements, rather than to the proportion of automated vehicles. The resulting control problem therefore concerns ramp metering under partial microscopic observation.

To handle dynamic traffic, control strategies have shifted toward learning-based methods. Reinforcement learning (RL) allows controllers to learn control policies through interaction with the environment [17]. Early methods used simple algorithms like tabular Q-learning [18, 19]. Deep reinforcement learning (DRL) advanced this field using neural networks. Algorithms like Deep Q-Network (DQN) and Deep Deterministic Policy Gradient (DDPG) successfully handle continuous, complex traffic states [20]. Furthermore, multi-agent reinforcement learning (MARL), using algorithms like QMIX, enables the simultaneous control of multiple ramps across a network [21, 22].

Aggregate traffic measurements provide a compact description of network conditions but do not retain individual vehicle locations. Richer spatial observations have already been investigated for DRL ramp metering: Liu et al. [26] use vehicle-position matrices extracted from traffic video. The present work instead examines the combination of aggregate measurements with sparse vehicle-level observations available from CVs. Limited CV penetration leaves some vehicles unobserved, creating a partially observable control problem [23]. The research question is whether these incomplete microscopic observations complement macroscopic measurements and how the performance of a fixed learned controller changes with CV penetration.

To address this problem, we propose a hybrid-state DRL ramp-metering controller that combines aggregate traffic measurements with sparse CV observations. Macroscopic measurements describe the overall traffic conditions, while a spatial grid preserves the presence and speeds of observed vehicles near the merge. A two-stream neural network processes these complementary inputs within a Dueling Double DQN controller. The evaluation examines both the benefit of this representation relative to macroscopic-only inputs and the effect of CV penetration on the performance of the same trained hybrid policy.

The main contributions are:

  1. A hybrid observation representation combining macroscopic traffic measurements with a two-channel spatial grid of observed CV presence and speed.

  2. A ramp-metering controller based on Dueling Double DQN that processes the heterogeneous inputs through separate feature streams and selects discrete green-phase durations.

  3. A simulation-based evaluation using matched traffic scenarios, macroscopic-state ablations, and a comparison of the same hybrid policy under partial and full CV visibility to examine the effect of microscopic observation availability.

The rest of the paper is organized as follows. Section 2 presents the proposed methodology; section 3 details the experimental setup; section 4 discusses the results; and finally, section 5 concludes the paper and outlines future work.

References (25)