FlowMap: Path Generation for Automated Vehicles in Open Space Using Traffic Flow

Wenchao Ding1, Jieru Zhao2†, Yubin Chu3, Haihui Huang3, Tong Qin3,
Chunjing Xu3, Yuxiang Guan1 and Zhongxue Gan1
Corresponding author: Jieru Zhao. 1Academy for Engineering and Technology, Fudan University, China. 2Dept. of Computer Science and Engineering, Shanghai Jiao Tong University, China. 3IAS BU Smart Driving Product Dept, Huawei Technologies, China. This work is partially sponsored by the National Natural Science Foundation of China (62102249) and Shanghai Pujiang Program (21PJ1408200). Video link https://www.youtube.com/watch?v=GJ_Fm1Iu8Nc.
Email: dingwenchao@fudan.edu.cn
Abstract

There is extensive literature on perceiving road structures by fusing various sensor inputs such as lidar point clouds and camera images using deep neural nets. Leveraging the latest advance of neural architects (such as transformers) and bird-eye-view (BEV) representation, the road cognition accuracy keeps improving. However, how to cognize the “road” for automated vehicles where there is no well-defined “roads” remains an open problem. For example, how to find paths inside intersections without HD maps is hard since there is neither an explicit definition for “roads” nor explicit features such as lane markings. The idea of this paper comes from a proverb: it becomes a way when people walk on it. Although there are no “roads” from sensor readings, there are “roads” from tracks of other vehicles. In this paper, we propose FlowMap, a path generation framework for automated vehicles based on traffic flows. FlowMap is built by extending our previous work RoadMap [1], a light-weight semantic map, with an additional traffic flow layer. A path generation algorithm on traffic flow fields (TFFs) is proposed to generate human-like paths. The proposed framework is validated using real-world driving data and is amenable to generating paths for super complicated intersections without using HD maps.

I Introduction

To achieve autonomous driving in city environments, high-definition maps (HD maps) are a common and viable solution thanks to their abundant semantic and geometric information. However, HD map is hard to maintain at scale with affordable costs [2]. Automated driving without HD maps, i.e., mapless autonomous driving, is gaining excessive attention nowadays. There is extensive literature on perceiving map elements online using deep neural nets [3, 4, 5, 6]. The accuracy of road cognition continues to improve thanks to the latest advances of neural network architects like transformers and bird-eye-view (BEV) representation. However, it is difficult to perceive “roads” when there are no features (such as lane markings) from sensor readings. For example, finding drivable paths inside a big intersection without HD maps is a challenging task [7].

Human drivers do not drive solely based on lane or road markings. When human drivers come to unknown places, they tend to follow the tracks of other human drivers. Similar to the proverb “it becomes a way when people walk on it,” it becomes a lane when people drive on it. However, simply following the leading vehicle is cumbersome since there is no global topological understanding of the environment. There is much more information to be mined from daily point-to-point driving. For example, suppose there is a big intersection in your path of everyday driving. As you pass the intersection several times, traffic flows of the intersection can be accumulated as shown in Fig. 3(a). The traffic flows consist of a number of vehicle trajectories which are produced by an onboard tracking module. Traffic flows are beneficial for path planning since they contain abundant driving behaviors.

Refer to caption
Figure 1: An illustration of FlowMap in a super large intersection. The semantic map produced by our previous work RoadMap [1] is illustrated, where lane markings (gray), stop lines (red), cross walks, and turn markings (orange) are stored in semantic point clouds. Traffic flow fields are shown using color gradients, and the color represents the flow direction. The path generated by FlowMap is shown in blue lines. With the help of the traffic flow field, human-like driving paths can be elegantly extracted.

RoadMap [1], our previous work, provides a systematic solution for producing lightweight semantic maps [8, 9, 10]. Thanks to RoadMap, traffic flows are easy to obtain. They can be obtained by extending RoadMap with an additional traffic flow layer. The traffic flow layer mainly contains social vehicle trajectories from onboard tracking. The key point is how to properly manage, organize, and utilize traffic flow. In this paper, we propose using traffic flow fields (TFFs) to model the accumulation and update of traffic flows. The TFF is a discretized grid map synthesized by calculating flow density and direction for each cell. The grid map consists of multiple channels, with each channel representing the flow originating from a particular entry point. The multi-channel design ensures that the flows from different directions do not mess up with each other. Both the semantic map and TFF only contain scalar information and can be easily maintained.

The proposed traffic flow field representation contains considerable information about multi-modal human driving behaviors, but it is unstructured. To facilitate planning and control, we proposed a path generation algorithm to extract human-like driving paths from traffic flow fields. Based on this algorithm, guidance paths can be produced even in large open spaces where there are few road markings.

To summarize, we present FlowMap, a framework for path generation in open space using traffic flow. FlowMap mainly consists of a traffic flow field representation and a path generation algorithm built on top of that. FlowMap is amenable to producing guidance paths even in large open spaces and enables human-like driving in such scenarios without HD maps. The major contributions are summarized as follows:

  • FlowMap, a lightweight framework for path generation in open space without using HD maps.

  • A traffic flow field representation for modeling driving behaviors from traffic flows.

  • A path generation algorithm producing human-like guidance paths in open space based on the traffic flow fields.

  • Comprehensive analysis of the overall framework in real-world complicated scenarios.

The remainder of this paper is organized as follows. The related work is reviewed in Section II. An overview of the proposed framework is provided in Section III. The methodology and implementation are detailed in Section IV and Section V, respectively. Experimental results and benchmark analysis are elaborated in Section VI. Finally, this paper is concluded in Section VII.

II Related Work

There is extensive literature on road cognition and path planning for automated vehicles. The road cognition problem is first formulated by the 2D detection of lane markings in the image space [11, 12]. To improve lane structure preservation during 2D detection, an EL-GAN-based framework is proposed in [13]. Philion proposed FastDraw [14], a fully convolutional model of lane detection that learns to decode lane structures in perspective views instead of delegating structure inference to post-processing. After 2D detection, depth information is required to reproject the 2D lane detection results to 3D and obtain drivable paths. Lane markings are critical for 2D detection-based methods and greatly affect the accuracy of lane detection results. For open space where there are no lane markings, the lane detection problem is ill-posed.

Refer to caption
Figure 2: An illustration of the FlowMap framework. First, RoadMap is extended with an additional traffic flow manager, and traffic flows are stored together with the semantic map (left). Second, traffic flow fields are synthesized into traffic flow fields, which is shown using color gradients (middle). Third, online path search is carried out based on semantic map and traffic flow fields (right).

In recent years, the advances of neural architects such as transformers [15, 16, 17] have pushed the limit of road cognition performance forward. The trend is to model the lane prediction problem directly in the form of bird-eye-view (BEV) representation and use multi-head attention to properly find corresponding features from perspective views or lidar point clouds. In [4], a semantic map learning method, named HDMapNet, is proposed. HDMapNet encodes image features from surrounding cameras and/or point clouds from LiDAR and predicts vectorized map elements in BEV. In [3], a transformer-based semantic learning method is proposed to detect objects and segment road structures simutaneously. The road cognition problem for areas where there are explicit features is solved much better than the original 2D formulation. However, it remains an open problem of how to find “roads” where there are no explicit features for neural networks to extract.

Finding “roads” in open space is inherently a planning problem. To be specific, the road cognition problem can be modeled as a path searching or optimization problem under the constraints of detected road topology and obstacles. The output path should be collision-free and follow the perceived curbs and boundaries. Hybrid A search [18, 19] on a state lattice [20, 21] is a popular option for path searching, which can be traced back to DARPA Urban Challenge 2007. Typically, an optimization-based method like elastic bands [22, 23] is incorporated to compensate for the discretization of the state lattice and improve the overall smoothness. However, collision-free is not the only requirement for a drivable path of automated vehicles. To achieve socially-compliant autonomous driving, human likeness is an important constraint, but is not paid much attention to. Traffic flow is the key to human likeness since it contains useful information of how other vehicles drive.

This paper is motivated by the proverb “it becomes a way when people walk on it”. To achieve human-like automated driving, it is essential to extract the driving patterns of other vehicles. This problem is not paid much attention to since HD maps are very popular. From the HD maps, reference paths are easy to access. However, how to maintain and update HD map efficiently in an affordable way is still an open question. When there is no HD map, how other vehicles drive is the key to human-like driving. This paper proposed a novel method to incorporate traffic flow to achieve human-like path generation in open space. Traffic flow is similar to occupancy grids and occupancy flow [24, 25, 26] to some extent. However, occupancy flow is designed for short-term behavior prediction, while FlowMap is designed for generating long-term drivable paths.

Refer to caption
(a) Complete traffic flows
Refer to caption
(b) Flows from a particular goal
Refer to caption
(c) Entry point clustering
Refer to caption
(d) Flow from an entry point
Figure 3: An illustration of the preprocessing of traffic flows. Raw traffic flows are depicted in (a) and the flows from different directions mess up. First, traffic flows are grouped by entry goal gin and exit goal gout (b). Second, entry point clustering is carried out and 3 entry points pe are found (c). Third, flows for a particular pe are shown and form one channel of G (d).

III Framework Overview

An overview of FlowMap is depicted in Fig. 2. The framework consists of three major components: a lightweight semantic mapping module with an additional traffic flow management function, a traffic flow field generation module, and an online path planning and smoothing module. The overall system not only deals with the problem of how to maintain the traffic flow in an affordable way but also provides algorithms and methods to support offline traffic flow processing and online path generation.

The FlowMap framework is built on top of our previous work, RoadMap. RoadMap provides a lightweight semantic mapping framework. It takes sparse semantic point clouds from vehicles as input and fuses them into a global lightweight semantic map. Apart from semantic point clouds, we add a traffic flow management function to RoadMap, which essentially maintains onboard detection and tracking results together with semantic point clouds. Traffic flows and semantic points are then fused in the cloud, where traffic flows are further processed in the form of traffic flow fields, which facilitate path planning. In the online process which is triggered when a particular automated vehicle enters a region of interest (ROI), the vehicle is amenable to generating a human-like driving path with the help of the traffic flow fields from the cloud. The path generation process takes the trend of traffic flow, the semantic map, and driving comforts into consideration simutaneously.

IV Path Generation Using Traffic Flow

In this section, we first introduce the formulation of the traffic flow and techniques to acquire traffic flows. Then we elaborate on how to transform traffic flows into traffic flow fields, which facilitates the online planning process. Finally, we present the online planning process, including an online path search stage and a following path optimization stage.

IV-A Traffic Flow

The input of traffic flow comes from onboard vehicle tracking modules. Denote bit=(p,l,w) as the tracking result for a specific tracked vehicle with id i at time stamp t, where p=(x,y,θ) denotes the tracked bounding box’s center coordinates and heading, and l, w denote the length and width of the bounding box, respectively. Let bv represent the path of vehicle v across all time stamps tracked. Denote ={bv|v𝒱} as the set of all observed vehicle traces, and denote 𝒱 as the set of vehicle tracking id. Note that the traces can be obtained by a single vehicle or a fleet of vehicles at different space and time. An example of at a particular intersection is shown in Fig. 3(a).

The traffic flow generation is lightweight and only relies on onboard tracking. However, there are three major problems. First, many observed trajectories have very short lifetimes due to occlusion. Second, perception errors exist and may induce abnormal trajectories, such as trajectories drifting or colliding with obstacles. Third, there are stationary or short trajectories which contain limited information.

To this end, filtering is required to clean so that it only contains high-quality vehicle traces. The filtering process is implemented based on four criteria: the lifetime of the trace; the total travel distance of the trace; the existence of abnormal drifting; the collision with obstacles; and we only keep trajectories that have a clear entry point and exit point with respect to the region of interest. After filtering, each trace bv is marked with meta information mv=(lentry,lexit,pstart), where lentry and lexit denote the corresponding edges of ROI (which is parameterized as a polgon in RoadMap) which intersect with the trajectory, and pstart denotes the intersection point of lentry. We denote the traffic flow with extra meta information as ={(bv,mv)|v𝒱}.

1 Inputs: Traffic flow ;
2 Γ;
3 {<gin,gout>}𝙶𝚛𝚘𝚞𝚙𝙱𝚢𝙶𝚘𝚊𝚕();
4 foreach <gin,gout>{<gin,gout>} do
5 {pe}𝙴𝚗𝚝𝚛𝚢𝙿𝚘𝚒𝚗𝚝𝙲𝚕𝚞𝚜𝚝𝚎𝚛𝚒𝚗𝚐(<gin,gout>);
6 {<gin,gout,pe>}𝙶𝚛𝚘𝚞𝚙𝙱𝚢𝙴𝚗𝚝𝚛𝚢𝙿𝚘𝚒𝚗𝚝(,{pe});
7 ΓΓ{<gin,gout,pe>};
8
9 end foreach
return Γ;
Algorithm 1 Preprocessing of traffic flow field

IV-B Traffic Flow Field Generation

is essentially a set of vehicle trajectories organized by spatial location. It is not straightforward to use to conduct path generation since no explicit structure is constructed. To this end, we propose generating a traffic flow field 𝒢 based on , which encapsulates flow density and flow direction information in a multi-channel grid map. However, directly rendering on a grid map like the occupancy flow presentation [24] is not friendly for planning, since flows originating from different directions will mess up with each other. What is worse, flows from different directions are often imbalanced.

To overcome this, we preporcess by grouping it by entry goal, exit goal, and entry point. The preprocessing algorithm is introduced in Algorithm 1. First, given the meta information mv for each trace which contains the entry edge lentry and exit edge lexit of the ROI polygon, goal indices gin, gout are generated based on the edges, and is grouped based on the pair of gin and gout (Line 3). Second, for each group, multiple entry points pe are obtained through clustering (Line 5). pe represents lane-level identification for each trace. Third, the flow is further grouped by the entry points, and <gin,gout,pe> is obtained. <gin,gout,pe> can be understand as a subset of flow indexed by the entry “lane”. The reason for extracting lane-level information is that there is intrinsic multi-modality in the traffic flow, even with the same entry and exit goal. A typical example of the preprocessing is depicted in Fig. 3.

Thanks to Algorithm 1, the traffic flows are now nicely organized. We design 𝒢 to have a multi-channel structure with each channel representing the flows from a particular entry point <gin,gout,pe>. For each channel, we construct a 2D grid, where each cell contains a tuple fi,j=(d,δi,δj). d denotes the density (number of vehicles passing the cell), and δi, δj denote the averaged direction at cell i,j. A toy example of one channel of 𝒢 is illustrated in Fig. 4(b).

Multi-channel traffic flow fields pose an elegant structure to encode human-like driving behaviors. We maintain a separate grid for each ROI polygon. Global traffic flow fields are indexed by spatial location, which is maintained together with RoadMap. To enable continuous updating of traffic flow fields, a first-in-first-out (FIFO) queue is associated with each ROI. When new traffic flow is observed, some of the old traffic flow will vanish. Through this mechanism, we ensure that the traffic flow field is updated to date.

Moreover, once a significant change in traffic flow fields is observed, which is typically caused by road construction and road re-routing, A map update trigger will be generated by the traffic flow field generation process, which is then sent to RoadMap. We find that the traffic-flow-based update trigger is very useful for detecting the change in road course and can serve as an important complement for lightweight mapping. A typical example is given in Fig. 5(b). We integrate the traffic flow update and traffic flow field generation processes into RoadMap. The traffic flow update process consumes much less bandwidth than the original semantic map construction process and does not significantly increase the map maintenance cost.

Refer to caption
(a) Flow for one entry point
Refer to caption
(b) Traffic flow field
Refer to caption
(c) Path search
Refer to caption
(d) Path smoothing
Figure 4: An illustration of the traffic flow field generation and path planning process. For each channel, a traffic flow field is synthesized where flow direction is shown in color gradients and small arrows (b). Multiple human-like left-turn driving paths are found by path search (c). It is interesting that human drivers have different driving patterns when taking left turns as in (b) and our algorithm captures that. Path smoothing is conducted to ensure comfort.

IV-C Online Path Generation

In this section, we go over the path search algorithm, which is based on the multi-channel traffic flow field 𝒢, as shown in Algorithm 2. The path search algorithm is conducted per channel (Line 3). For each channel, we first search for an initial guess based on maximum density (Line 5). The initial guess linit is then used to construct a frenet frame [27] for later processing. Based on the frenet frame representation, longitudinal stations (Line 6) and lateral clusters for each longitudinal station (Line 8) are sampled. Dynamic programming is carried out based on longitudinal stations and lateral clusters (Line 11), where edge and node costs determined by the quality of match with respect to 𝒢z. Due to space limitations, the detailed description of the dynamic programming is omitted, and we refer interested readers to [20] for similar implementations. Multiple potential candidate paths are produced by the dynamic programming algorithm, and a non-maximum suppressing process is utilized to remove the nearly duplicate candidate paths. An example of the searching process is depicted in Fig. 4(c).

The output of Algorithm 2 consists of paths originating from each entry lane. Due to the discretization of the grid, the path is not smooth enough for control. To this end, we utilize a local path smoothing [28] based on Quadratic Programming (QP) to smooth the path. Note that [28] was designed for trajectory optimization, and we slightly reformulate it to conduct path smoothing. An example of the path smoothing process is given in Fig. 4(d).

V Implementation Details

V-A Traffic Flow Preprocessing

In traffic flow filtering, only vehicle trajectories that have clear entry and exit points with respect to the ROI polygon are kept. To filter trajectories which collide with static obstacles mapped by RoadMap, we first construct a 2D grid based on the semantics provided by RoadMap. The grid is of 0.2 m resolution, and obstacles are inflated by half vehicle width when filling in the grid.

In the entry point clustering process (Line 5, Algorithm 1), since the ROI polygon is inaccurate for some cases, the vehicle trajectories may not be perpendicular to lentry. We refine the edges of the ROI polygon to be perpendicular to the averaged flow direction.

1 Inputs: multi-channel traffic flow field 𝒢 with each channel denoted as 𝒢z;
2 ;
3 foreach Gzof𝒢 do
4 𝒟;
5 linit𝙸𝚗𝚒𝚝𝚒𝚊𝚕𝙶𝚞𝚎𝚜𝚜𝚂𝚎𝚊𝚛𝚌𝚑(𝒢z) ;
6 {si|i=1,,N}𝚂𝚝𝚊𝚝𝚒𝚘𝚗𝚂𝚊𝚖𝚙𝚕𝚒𝚗𝚐(linit);
7 for i=1,,N do
8 𝒟i𝙻𝚊𝚝𝚎𝚛𝚊𝚕𝙲𝚕𝚞𝚜𝚝𝚎𝚛𝚒𝚗𝚐(si);
9 𝒟𝒟𝒟i
10 end for
11 z𝙳𝙿𝚂𝚎𝚊𝚛𝚌𝚑(𝒟,{si|i=1,,N},𝒢z);
12 z𝙽𝚘𝚗𝙼𝚊𝚡𝚒𝚖𝚞𝚖𝚂𝚞𝚙𝚙𝚛𝚎𝚜𝚜(z);
13 z;
14
15 end foreach
return ;
Algorithm 2 Path Generation on Traffic Flow Fields

V-B Traffic Flow Fields

The resolution of 𝒢 is of 0.2 m. Every cell keeps track of fi,j=(d,δi,δj). d is calculated by counting the number of vehicle traces that overlap with the cell. Note that bounding boxes instead of center points are used for calculating d. For δi and δj, they are averaged direction over all the traces which overlap with the cell. The number of channels for 𝒢 depends on the total number of entry points clustered. The storage of 𝒢 utilizes its sparse structure to save bandwidth.

V-C Online Path Generation

For the initial guess search (Line 5, Algorithm 2), we start from the entry point for each layer, and use dynamic programming to search for a path which has the best match with respect to 𝒢z. For the initial guess search, we have two weighted costs, namely, the density cost and the direction cost, which punish the paths that enter low-density areas or do not match the field direction. The resolution of station sampling (Line 6) is set to 3 m. The lateral clustering strategy (Line 8) is similar to entry point clustering. Another dynamic programming search is in Line 11, which is built on the graph formed by the sampled stations and lateral clusters, where 𝒢z is used for cost evaluation. When conducting non-maximum suppression (Line 12), we first rank the candidate paths by their costs, output by the dynamic programming, and then iterate from the path that has the lowest cost. The suppressing criteria is based on the percentage of stations at which the minimum lateral distance to previous paths is greater than 2 m. If a path contains over 20% of the stations that have significant lateral differences, the path will be considered as a new candidate.

Refer to caption
(a) Aligning with HD map
Refer to caption
(b) Detecting HD map error
Figure 5: An illustration of aligning FlowMap with HD map for quantitative evaluation. Note that the reference left-turn path (black) queried from HD map is actually not human-like and differs from the traffic flow (a). By contrast, our FlowMap can produce multiple candidate left-turn paths that match human driving patterns. In (b), the traffic flow does not match the HD map, which identifies the HD map error caused by road construction and road re-routing.

VI Experimental Results

In this section, we present the qualitative and quantitative results for the evaluation of FlowMap. We use real-world datasets for all the experiments. For qualitative analysis, we present typical path generation results for intersections, which are the most common open spaces encountered by automated vehicles. For quantitative analysis, we use two in-house datasets, i.e., inter-mild and inter-hard. inter-mild consists primarily of small cross roads and t-junctions as illustrated in Fig. 4, while inter-hard contains large and complex intersections as shown in Fig. 6. The two datasets are visualized in the attached video.

TABLE I: Comparison with reference paths from HD map.
Dataset Type ADE MDE DE@5m DE@35m DE@55m
avg (m) std (m) avg (m) std (m) avg (m) std (m) avg (m) std (m) avg (m) std (m)
Inter mild Left 1.53 1.09 2.83 1.67 1.35 1.59 1.68 1.43 1.22 0.78
Right 1.50 1.30 2.52 1.72 1.14 1.15 0.80 0.70 0.22 -
Straight 0.52 0.65 0.82 0.99 0.50 0.77 0.54 0.63 0.48 0.60
Inter hard Left 1.89 1.42 3.55 2.18 2.59 2.58 1.14 1.05 1.24 0.94
Right 1.27 0.93 2.49 2.01 0.92 1.02 0.57 0.71 1.06 -
Straight 0.57 0.47 1.04 0.95 0.45 0.58 0.58 0.57 - -

VI-A Qualitative Results

VI-A1 Path Generation for Super Large Intersections

In this section, we present challenging scenarios such as super large and irregular intersections, as shown in Fig. 6. For intersection I in Fig. 6(a), most of the topology of the intersection is recovered by FlowMap, which is an impressive achievement without using HD maps. Moreover, even for HD map labeling, it is non-trivial to label human-like left turns for various road structures. On the other hand, it is notable that FlowMap provides human-like left turn paths. For example, the left turn marked in Fig. 6(a) is very tight and the path should keep far away from the crosswalk. Utilizing traffic flow, FlowMap can generate such a kind of path naturally. For intersection II, it is challenging to generate the super long left turn and FlowMap has good results. We can conclude that FlowMap is good at generating human-like driving paths in open space, where road markings are unclear but driving patterns are clear.

VI-A2 Map Error Detection

As introduced in Sect. IV-B, we can use the traffic flow field to detect potential map errors. A typical example is provided in Fig. 5(b), where road construction occurred. The HD map is outdated for this example. In the conventional HD map maintenance pipeline, it is hard to quickly locate these road construction and re-routing events. Thanks to FlowMap, we can utilize traffic flow fields to identify these events. By comparing traffic flow results with HD map, mismatches can be easily identified and a map update signal can be sent out by FlowMap.

Refer to caption
(a) Intersection I. Trip count: 17.
Refer to caption
(b) Intersection II. Trip count: 27.
Figure 6: An illustration of quantitative results in some super-large intersections. The generated paths are marked in blue. The number of trips passing through the intersection is indicated in the caption. For tens of trips, the observed traffic flows are already enough to construct an abundant topology of large intersections.

VI-B Quantitative Results

To quantitatively analyze the accuracy of FlowMap, we use reference paths from the HD map as a baseline. As shown in Fig. 5(a), we align the HD map with FlowMap and extract the corresponding reference path originating from a particular entry point. By comparing the path generated by FlowMap lflowz to HD map reference path lhdz , the following error metrics can be specified:

  • Average displacement error (ADE): averaging over all channels (entry points) and flow candidates zlflowzAverageDisp(lflowz,lhdz)/(z|z|).

  • Maximum displacement error (MDE): averaging over maximum displacement error for each channel zlflowzMaxDisp(lflowz,lhdz)/(z|z|).

  • Displacement error at x m (DE@x m): averaging over all channels and flow candidates at a given distance x m zlflowzDispAt(lflowz,lhdz,x)/(z|z|).

The results are given in TABLE. I. It is notable that the HD map itself is not perfect, as shown in Fig. 5. But a statistically low error with respect to HD map reference can still represent that paths are generated correctly.

We further organize the results into different turn types. For inter-hard, the ADE for going straight is 0.57 m, which is very small and much lower than left-turn and right-turn. It means that the path generation algorithm is capable of generating high-quality paths. We argue that although path generation for left and right turns has higher errors, it does not necessarily mean worse quality. The errors may be induced by the feature that HD map reference is not human-like for left and right turns, as shown in Fig. 5(a). The standard deviation for left and right turns is significantly larger than going straight since human driving behaviors may differ when taking turns. In general, errors for inter-hard are larger than inter-mild except for right turns. The “-” in the table means that not enough candidates for this length.

VII Conclusion and Future Work

In this paper, we propose FlowMap, a lightweight path generation framework for automated vehicles using traffic flow. The framewok can work in open space where there are no “roads” from sensor readings, by utilizing traffic flow information. To facilitate path planning, traffic flow fields are synthesized. Based on traffic flow fields, a path generation algorithm is proposed to extract human-like drivable paths. The whole framework is extensively evaluated using real-world driving data.

References

  • [1] T. Qin, Y. Zheng, T. Chen, Y. Chen, and Q. Su, “Roadmap: A light-weight semantic map for visual localization towards autonomous driving,” in Proc. of the IEEE Intl. Conf. on Robot. and Autom., 2021.
  • [2] S. Casas, A. Sadat, and R. Urtasun, “MP3: A unified model to map, perceive, predict and plan,” in Proc. of the IEEE Intl. Conf. on Pattern Recognition, 2021.
  • [3] Z. Li, W. Wang, H. Li, E. Xie, C. Sima, T. Lu, Y. Qiao, and J. Dai, “Bevformer: Learning bird’s-eye-view representation from multi-camera images via spatiotemporal transformers,” arXiv preprint arXiv 2203.17270, 2022.
  • [4] Q. Li, Y. Wang, Y. Wang, and H. Zhao, “Hdmapnet: An online hd map construction and evaluation framework,” in 2022 International Conference on Robotics and Automation (ICRA), 2022, pp. 4628–4634.
  • [5] Z. Liu, H. Tang, A. Amini, X. Yang, H. Mao, D. Rus, and S. Han, “Bevfusion: Multi-task multi-sensor fusion with unified bird’s-eye view representation,” arXiv, 2022.
  • [6] Y. Liu, Y. Wang, Y. Wang, and H. Zhao, “Vectormapnet: End-to-end vectorized hd map learning,” arXiv preprint arXiv:2206.08920, 2022.
  • [7] “Tesla AI Day 2021,” https://www.youtube.com/watch?v=j0z4FweCy4M, accessed: 2021-08-19.
  • [8] J. Jeong, Y. Cho, and A. Kim, “Road-slam: Road marking based slam with lane-level accuracy,” in IEEE Intelligent Vehicles Symposium, 2017.
  • [9] T. Qin, T. Chen, Y. Chen, and Q. Su, “Avp-slam: Semantic visual mapping and localization for autonomous vehicles in the parking lot,” in Proc. of the IEEE/RSJ Intl. Conf. on Intell. Robots and Syst., 2020.
  • [10] M. Herb, T. Weiherer, N. Navab, and F. Tombari, “Crowd-sourced semantic edge mapping for autonomous vehicles,” in Proc. of the IEEE/RSJ Intl. Conf. on Intell. Robots and Syst., 2019.
  • [11] X. Pan, J. Shi, P. Luo, X. Wang, and X. Tang, “Spatial as deep: Spatial cnn for traffic scene understanding,” in AAAI Conference on Artificial Intelligence, 2018.
  • [12] D. Neven, B. D. Brabandere, S. Georgoulis, M. Proesmans, and L. V. Gool, “Towards end-to-end lane detection: an instance segmentation approach,” in IEEE Intelligent Vehicles Symposium, 2018.
  • [13] M. Ghafoorian, C. Nugteren, N. Baka, O. Booij, and M. Hofmann, “El-gan: Embedding loss driven generative adversarial networks for lane detection,” in European Conference on Computer Vision, 2018.
  • [14] J. Philion, “Fastdraw: Addressing the long tail of lane detection by adapting a sequential prediction network,” in Proc. of the IEEE Intl. Conf. on Pattern Recognition, 2019.
  • [15] J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, “Bert: Pre-training of deep bidirectional transformers for language understanding,” arXiv, 2018.
  • [16] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, L. K. Aidan N. Gomez, and I. Polosukhin, “Attention is all you need,” arXiv, 2017.
  • [17] N. Carion, F. Massa, G. Synnaeve, N. Usunier, A. Kirillov, and S. Zagoruyko, “End-to-end object detection with transformers,” arXiv, 2022.
  • [18] D. Dolgov, S. Thrun, M. Montemerlo, and J. Diebel, “Path planning for autonomous driving in unknown environments,” in Experimental Robotics, O. Khatib, V. Kumar, and G. J. Pappas, Eds. Berlin, Heidelberg: Springer Berlin Heidelberg, 2009, pp. 55–64.
  • [19] ——, “Path planning for autonomous vehicles in unknown semi-structured environments,” Intl. J. Robot. Research, 2010.
  • [20] M. McNaughton, C. Urmson, J. M. Dolan, and J.-W. Lee, “Motion planning for autonomous driving with a conformal spatiotemporal lattice,” in Proc. of the IEEE Intl. Conf. on Robot. and Autom. IEEE, 2011.
  • [21] J. Ziegler and C. Stiller, “Spatiotemporal state lattices for fast trajectory planning in dynamic on-road driving scenarios,” IEEE, 2009.
  • [22] W. Ding, W. Gao, K. Wang, and S. Shen, “Trajectory replanning for quadrotors using kinodynamic search and elastic optimization,” in 2018 IEEE International Conference on Robotics and Automation (ICRA). IEEE, 2018, pp. 7595–7602.
  • [23] W. Xu, J. Wei, J. M. Dolan, H. Zhao, and H. Zha, “A real-time motion planner with trajectory optimization for autonomous vehicles,” in Proc. of the IEEE Intl. Conf. on Robot. and Autom. IEEE, 2012.
  • [24] R. Mahjourian, J. Kim, Y. Chai, M. Tan, B. Sapp, and D. Anguelov, “Occupancy flow fields for motion forecasting in autonomous driving,” arXiv, 2022.
  • [25] A. Jain, S. Casas, R. Liao, Y. Xiong, S. Feng, S. Segal, and R. Urtasun, “Discrete residual flow for probabilistic pedestrian behavior prediction,” arXiv, 2019.
  • [26] J. Hong, B. Sapp, and J. Philbin, “Rules of the road: Predicting driving behavior with a convolutional model of semantic interactions,” arXiv, 2019.
  • [27] M. Werling, S. Kammel, J. Ziegler, and L. Gröll, “Optimal trajectories for time-critical street scenarios using discretized terminal manifolds,” Intl. J. Robot. Research, 2012.
  • [28] W. Ding, L. Zhang, J. Chen, and S. Shen, “Safe trajectory generation for complex urban environments using spatio-temporal semantic corridor,” IEEE Robotics and Automation Letters, vol. 4, no. 3, pp. 2997–3004, 2019.