Abstract
Existing research on merging behavior generally prioritizes the application of various algorithms but often overlooks the fine-grained process and analysis of trajectories. This leads to the neglect of surrounding vehicle matching, the opaqueness of indicator definitions, and a reproducibility crisis. To address these gaps, this paper presents a reproducible approach to merging behavior analysis. Specifically, we outline the causes of subjectivity and irreproducibility in existing studies. Thereafter, we employ Lanelet2 High Definition (HD) maps to construct a reproducible framework that minimizes subjectivity, defines standardized indicators, identifies alongside vehicles, and divides scenarios. A comparative macroscopic and microscopic analysis is subsequently conducted. More importantly, this paper adheres to the Reproducible Research concept, providing all source codes and reproduction instructions. Our results demonstrate that although scenarios with alongside vehicles occur in less than 6% of cases, their characteristics are significantly different from others, and these scenarios are often accompanied by high risk.
Introduction: The Reproducibility Crisis in Merging Research
Merging onto a highway is one of the most complex tasks for both human drivers and Autonomous Vehicles (AVs). While many studies have proposed algorithms to handle merges, the field suffers from two major issues: the reproducibility crisis and oversimplified scenarios. Researchers often use subjective definitions for when a merge "starts" or "ends," making it impossible to compare results across different studies. Furthermore, most existing research focuses only on the "lead" and "rear" vehicles in the target lane, frequently overlooking "alongside" vehicles—cars parallel to the merging vehicle—which create high-pressure, high-risk interactions.
Methodology: A Standardized HD-Map Framework
The authors propose a reproducible framework built on Lanelet2 High Definition (HD) maps. Unlike conventional maps, HD maps provide centimeter-level accuracy and semantic data about lane boundaries and types, which are essential for objective analysis.
Key technical contributions include:
- Standardized Indicators: Using the
latLaneCenterOffsetfield from the HD map to objectively define the "merging point" (the exact frame where a vehicle's center crosses the lane line). - Scenario Classification: Merging behaviors are divided into eight distinct scenarios (A through H) based on the presence and relative position changes of surrounding vehicles.
- Vector-based TTC: Instead of using traditional 1D Time-to-Collision, the study adopts a 2D vector calculation to assess risk in multi-lane, dynamic environments.
- Similarity Analysis: Jensen-Shannon (JS) divergence is employed to quantify how much vehicle behavior (speed, duration, distance) differs between these scenarios.
Datasets and Site-Specific Behavior
The study utilizes the exiD dataset, a large-scale trajectory dataset collected via drones at seven different highway locations in Germany. With over 69,000 vehicles recorded and a measurement error of less than 10cm, it provides the high-fidelity data necessary for fine-grained spatial analysis.
Analysis revealed that merging behavior is not universal; JS divergence showed that behavior at one highway ramp (Location 2) differed significantly from another (Location 5), suggesting that AVs need site-specific tuning rather than a "one-size-fits-all" logic.
Key Insights: The "Alongside" Danger
Scenarios involving "alongside" vehicles (Scenarios C and F) are rare, occurring in less than 6% of the data. However, these are the critical "corner cases" where the risk is highest. These scenarios showed significantly lower Time-to-Collision (TTC) values—often below 2 seconds—compared to standard lead/rear merges. In these high-interaction scenarios, drivers chose longer merging distances and durations, likely because they were negotiating space with a parallel vehicle. Additionally, upstream traffic flow was significantly higher in scenarios where a merging vehicle had to "squeeze" into a gap (Scenario F).
Conclusion and Open Science
By anchoring definitions to HD map geometry, this research eliminates researcher bias and addresses the reproducibility crisis. The authors have provided a complete GitHub repository with all source code and intermediate data, setting a new benchmark for transparency in transportation research. Future work will involve applying this HD-map-based reproducible approach to other complex maneuvers like urban cut-ins and roundabout entries.
Summary updated