1 Introduction
Selfdriving vehicles are equipped with a plethora of sensors, including GPS, cameras, LiDAR, radar and ultrasonics. This allows the vehicle to see with a field of view of 360 degrees, potentially having super human capabilities. Despite decades of research, building reliable solutions that can handle the complexity of the real world is still an open problem.
Most modern selfdriving vehicles utilize a high definition map (HD map), which contains information about the location of lanes, their types, crosswalks, traffic lights, rules at intersections, etc. This information is very accurate, typically with error on the order of a few centimeters. It can thus help localization [37, 8, 36], perception [60, 32, 12], motion planning [62], and even simulation [16]. Building these maps is however one of the main obstacles to building self driving cars at scale. The typical process is very cumbersome, involving a fleet of vehicles passing multiple times across the same area to build accurate geometric representations of the world. Annotators then label the location of all these semantic landmarks by hand from a bird’s eye view representation of the world. While building the geometric map is time consuming, manual annotation is costly in terms of capital.
In this paper, we tackle the problem of automatically creating HD maps of highways that are consistent over large areas. Unlike the common practice in the industry, we aim to map the whole region from a single pass of the vehicle. Towards this goal, we first capitalize on the LiDAR mounted on our selfdriving vehicles to build a bird’s eye view (BEV) representation of the world. We then exploit a deep network to extract the exact geometry and topology of the underlying lane network.
The main challenge of this task arises from the fact that highways contain complex topological changes due to forks and merges, where a lane boundary splits into two or two lane boundaries merge into one. We address these challenges by formulating the problem as inference in a directed acyclic graphical model (DAG), where the nodes of the graph encode geometric and topological properties of the local regions of the lane boundaries. Since we do not know a priori the lane topology, we also infer the DAG topology (i.e., nodes and edges) for each region. We leverage the power of deep neural networks to represent the conditional probabilities in the DAG. We then devise a simple yet effective greedy algorithm to incrementally estimate the graph as well as the states of each node. We learn all the weights of our deep neural network in an endtoend manner. We call our method DAGMapper.
We demonstrate the effectiveness of our approach on two major North American Highways in two different states 1000 km apart. The dataset consists of LiDAR sensory data and the corresponding lane network topology on areas of high complexity such as forks and merges. Our approach achieves a precision and recall of 89% and 88.7% respectively at a maximum of 15 cm away from the actual location of the lane boundaries. Moreover, our approach obtains the correct topology 89% of the time. Finally, we showcase the strong generalization of our approach by training on a highway and testing on another belonging to a different state. Our experiments show that no domain adaptation is required.
2 Related Work
Road and lane detection:
Detecting the lane markings [56, 11], inferring the lane boundaries [6, 58, 22] as well as finding the drivable surface [18, 5, 54] on the road is of utmost importance for selfdriving vehicles. Many methods have been proposed to tackle this problem. The authors in [53, 33, 48, 2, 24, 15, 59, 3, 25] use appearance and geometric cues to detect the road in an unsupervised or semisupervised fashion, while [46, 28, 61]
apply graphical models to estimate free space. With the advent of modern deep learning
[26], a new line of research for lane marking detection has been established. In [27], the authors employ vanishing points and train a neural network that detects lane boundaries. [19]uses generative adversarial networks
[20] to further refine the detection and obtain thinner segmentations. The authors in [4] design a symmetric CNN enhanced by wavelet transform in order to segment lane markings from aerial imagery. In [6], camera and LiDAR imagery are employed to predict a dense representation of the lane boundaries in the form of a thresholded distance transform. In [47], the authors treat lane detection as an instance segmentation task where deep features corresponding to lane markings are clustered.
Road network extraction:
Leveraging aerial and satellite imagery for the task of road network extraction goes back many decades [17, 49]
. In the early days, researchers mainly extracted the road network topology by iteratively growing a graph using simple heuristics on spectral features of the roads
[50, 7]. Recently, deep learning and more advanced graph search algorithms have been leveraged [43, 44, 45, 38, 39, 40, 55, 9] to extract the road network from aerial imagery more effectively. For instance, [29] extract building and road network graphs directly in the form of polygons from aerial imagery. [41, 42] enhance Open Street Maps with lane markings, sidewalks and parking spots by applying graphical models on top of deep features. [51] leverages GPS data to enhance road extraction from aerial imagery. [10] predicts both the orientation and the semantic mask of the road to obtain topologically correct and a connected road network from aerial imagery. One however should note that these methods perform road network extraction and semantic labeling at a coarse scale. While they can be beneficial for routing purposes, they lack the required resolution for self driving applications.High Definition maps:
Creating HD maps that have centimeter level accuracy is crucial for the safe navigation of selfdriving vehicles. Recently, researchers have been devoted to generating HD maps automatically from various sensory data [23]. For example, the authors in [31] extract crosswalk polygons from topdown LiDAR and camera imagery. [30, 21] employ deep convolutional networks to extract road and lane boundaries in the form of polylines. These lines of mapping work are similar to instance segmentation methods [13, 1, 35] where structured representations of objects such as polygons are obtained. The algorithms are thus amenable to an annotator in the loop.
At a high level, our work shares similarities with [21]
, which predicts lane boundaries from a top down BEV LiDAR image by exploiting a recurrent convolutional neural network. However,
[21] cannot handle changes of topology of lane boundaries and has baked in notions of lane boundary ordering which we address in this paper.3 Learning to Map
Our goal is to create HD maps directly from 3D sensory data. More specifically, the input to our system is a BEV aggregated LiDAR intensity image
and the output is a collection of structured polylines corresponding to the lane boundaries. Rather than focusing on local areas, we attempt to extract the exact topology and geometry of the lane network on a long stretch of the highway. This is extremely challenging as highways contain complex topological changes (, forks and merges) and the area of coverage is very large. Towards this goal, we formulate the underlying geometric topology as a directed acyclic graph and present a novel recurrent convolutional network that can effectively extract such topology from LiDAR data. We start our discussion by describing our output space formulation in terms of the DAG. Next, we explain how we exploit neural networks to parameterize each conditional probability distribution. Finally, we describe how inference and learning are performed.
3.1 Problem Formulation and DAG Extraction
We draw our inspirations from how humans create lane graphs when building maps. Given an initial vertex, the annotators first trace the lane boundary with a sequence of clicks that respect the local geometry. Then, if there is a change of topology during the process, the annotators identify such points and annotate correspondingly. For instance, if the click reaches the end of the road, one simply stops; if there is a fork, one simply needs to create another branch from the click. By using this simple approach, the annotators can effectively label the road network in the form of a DAG. In this work, we design an approach to road network DAG discovery that mimics such an annotation process.
More formally, let be a DAG, where and denote the corresponding set of nodes and edges defining the topology. Each node in the DAG encodes geometric and topological properties of a local region of the lane boundary. We further use and respectively to denote the parent and the child of the node . The geometric component denotes the position of the vertex in global coordinates and refers to the turning angle at the previous vertex position . The state component
is a categorical random variable that denotes whether to continue the lane boundary without any change of topology, to spawn an extra vertex for a new lane boundary at a fork, or to terminate the lane boundary (at a merge). Therefore, if
is a fork, then ; if is stop at the lane end of the lane boundary, then .Given the aggregated BEV LiDAR data , our goal is to find the Maximum A Posteriori (MAP) over the space of all possible graphs :
(1) 
(2) 
where each conditional probability further decomposes into geometric and topological components:
(3) 
This conditional distributions are modeled with deep neural networks in order to handle the complexities of the real world. Fig. 3 shows an example BEV image and the inference process of a lane boundary where there is a fork.
We provide in the next section an in depth discussion of the networks.
Topology Extraction:
Unfortunately, the space of is exponentially large. It is thus computationally intractable to consider all possible DAGs.
To tackle this issue, we design an approach that greedily constructs the graph and computes the geometric and topological properties of each vertex. Specifically, we take the of each component in Eq. (3) to obtain the most likely topological and geometric states for each node . Given a parent node , we first predict along which direction the node would be. Then we attend to a local region of interest along the lane boundary specified by and predict the vertex position and the local state . The state specifies that either (1) there is no change of topology and we continue as normal, (2) there is a fork and we continue the current lane boundary as normal but at the same time spawn a new vertex for a new lane boundary, or (3) the current lane boundary has terminated at the merge, and hence the node has no child. By iterating through the procedure, we are able to obtain the structure of the DAG as well as their geometric positions. Our structure discovery algorithm is summarized in Alg. 1. We next describe the backbone network that we used to extract the context features and the header networks that approximate the geometrical and topological probability distribution.
3.2 Network Design
In this work, we exploit neural networks to approximate the DAG probability distributions described in the previous section, also shown in Alg. 1. At a high level, as shown in Fig. 2, we first exploit a global feature network to extract multiscale features and a
distance transform network
to encode explicit lane boundary information. The features are then passed to the direction header to predict a rotated Region of Interest (RoI) along the lane boundary. Finally, the position header and the state header condition on the features within the RoI predict the position and state of the next vertex. We now present the high level details of each head and refer the reader to the appendix for a description of the full architecture.Global Feature Network:
The aim of this network is to build features for the header networks to draw upon. Since the changes of topology are usually very gradual, it will be very difficult to infer them if the features capture merely local observations or the network has a small receptive field (see Fig. 3). For instance, at a fork, a lane boundary gradually splits into two so that vehicles have enough time to exit the highway and slow down in a safe manner. Similarly, at a merge, two lanes become one gradually over a long stretch so that vehicles accrue speed and enter the highway smoothly without colliding with the ongoing flow of traffic.
The input to this network is a BEV projected aggregated LiDAR intensity image at 5 cm per pixel. Our images are of dimension 8000 pixels in width by maximum 1200 in height corresponding to 400m by maximum 60m in the direction of travel of the mapping vehicle as shown in Fig. 3. As such, to better infer the state of each vertex, one must exploit larger contextual information. Following [21], we adopt an encoderdecoder architecture [14] built upon a feature pyramid network [34] that encodes the context of the lane boundaries and the scene. The bottomup, topdown structure enables the network to process and aggregate multiscale features; the skip links help preserve spatial information at each resolution. The output of this network is a feature map .
Precision at (px)  Recall at (px)  F1 at (px)  

2  3  5  10  2  3  5  10  2  3  5  10  
DT baseline [6]  68.1  87.9  96.3  98.0  65.8  85.0  93.5  96.2  66.9  86.4  94.9  97.0 
HRAN [21] with GT init  55.6  71.0  84.0  90.9  45.9  58.1  68.3  74.0  50.1  63.7  75.1  81.4 
Ours  76.4  89.0  94.6  96.6  76.2  88.7  94.2  96.1  76.3  88.8  94.4  96.3 
Distance Transform Network:
The distance transform (DT) and more specifically the thresholded inverse DT has been proven to be an effective feature for mapping [31, 30]. It encodes at each point in the image the relative distance to the closest lane boundary. As such, we employ a header that consists of a sequence of residual layers that takes as input the global feature map and outputs a thresholded inverse DT image . We use this DT image for three purposes: 1) We stack it to the global feature map as an additional channel and feed it to the other headers. Our aim is to use
as a form of attention on the position of the lane boundaries. 2) We threshold, binarize and skeletonize
and obtain the endpoints of the skeleton as the initial vertices of the graph. 3) After inferring the graph using Alg. 1, we draw the missed lane boundaries by initializing points on the regions of the that are not covered by our graph.Direction Header:
This network serves as an approximation to
. Given the geometrical and topological information of the parent vertex, this header predicts the direction of the rotated RoI along the lane boundary where the current vertex lies. The input to this header is a bilinearly interpolated axis aligned crop from the concatenation of
, centered atand the channelwise one hot encoding of the state
. At a fork or a merge, the two lane boundaries are very close to each other. Conditioning on the state vector signals to the header to predict the correct direction corresponding to its lane boundary. This input is fed into a simple convolutional RNN that outputs a direction vector of the next rotated ROI. We employ an RNN to encode history of the previous directions and states.
Position Header:
This network can be viewed as an approximation to . Given the state and position of the previous vertex, the network predicts a probability distribution over all possible positions within the rotated ROI along the lane boundary generated by the direction header. This RoI is bilinearly interpolated from the concatenation of , and channelwise onehot encoding of
. After the interpolation, we upsample the region to the original image dimension and pass it to a convolutional recurrent neural network (RNN). The output of the RNN is fed to a lightweight encoderdecoder network that outputs a softmax probability map of the position
that is mapped to the global coordinate frame of the image.State Header
This header can be regarded as an approximation to , which infers the local topological state of the lane boundaries. Specifically, the network predicts a categorical distribution specifying whether to continue drawing normally, to stop drawing, or to fork a new lane boundary as we have arrived to a merge. The input to this model is the same rotated RoI of the position header. A convolutional RNN is employed to encode the history and the output is the softmax probability over the three states.
3.3 Learning
We employ a multi task objective to provide supervision to all the different parts of the model. Since all the components are differentiable we can learn our model endtoend. In particular, similar to [21] we employ the symmetric Chamfer distance to match each GT polyline to its prediction :
(4) 
where and are the densely sampled coordinates on polylines and respectively. To learn the topology states, we use multi label focal loss with a slight modification; Rather than taking the mean of all the individual losses, we add them up and divide by the sum of the focal weights. Here, the intuition is that the wrong predictions are more emphasized and are not dampened by the oversampled class corresponding to the normal
state. Finally, we employ cosine similarity loss and the
loss to learn the directions and the distance transform. We refer the reader to the appendix for the full training and implementation details.4 Experimental Evaluation
Precision at (px)  Recall at (px)  F1 at (px)  

G  M  R  S  2  3  5  10  2  3  5  10  2  3  5  10 
      ✓  75.4  87.4  91.6  93.5  62.1  72.0  75.6  77.4  68.1  79.0  82.8  84.7 
✓      ✓  74.1  86.6  93.0  95.9  65.6  76.5  82.0  84.5  69.5  81.2  87.2  89.8 
✓    ✓  ✓  73.3  85.9  92.6  95.4  72.8  85.2  91.6  94.4  73.1  85.6  92.1  94.9 
✓  ✓  ✓    69.8  83.0  90.6  93.4  70.2  83.5  91.2  94.2  70.0  83.3  90.9  93.8 
✓  ✓    ✓  77.0  89.5  95.1  96.9  75.0  87.2  92.4  94.2  76.0  88.3  93.7  95.5 
✓  ✓  ✓  ✓  76.4  89.0  94.6  96.6  76.2  88.7  94.2  96.1  76.3  88.8  94.4  96.3 
2 px  3 px  5 px  10 px  
Precision  57.4  72.1  83.4  88.6 
Recall  53.0  66.2  76.1  80.9 
F1  55.1  69.0  79.5  84.6 
Dataset:
Our dataset consists of LiDAR point clouds captured by driving a mapping vehicle multiple times through a major North American Highway. For each run of the vehicle, we aggregate the point clouds using IMU odometry data in a common coordinate frame with an arbitrary origin. In our setting of offline mapping, the aggregation of point clouds in a local area is taken from all the past as well future LiDAR sweeps that hit that area. Next, we project the point clouds onto BEV and rasterize at 5 cm per pixel resolution by taking the intensity of the returned point with the lowest elevation value. Since we are interested in HD mapping of lane boundaries that fall on the surface of the road, by taking the lowest elevation point we aim to filter out the LiDAR return from other moving vehicles.
We are interested in mapping difficult areas on the highway such as forks and merges. As such we locate where these interesting topologies occur and crop a rectangular region of 8000 pixels by a maximum of 1200 pixels with the long side of the rectangle perpendicular to the trajectory of the mapping vehicle. Note that the height of the image varies in each example depending on the curvature of the road. This crop corresponds to a 400m by maximum 60m region.
We annotate the ground truth by drawing polyline instances associated to each lane boundary. At a fork we assign a new polyline to the new lane boundary that appears. In total we create 3000 images from 68 unique fork/merge areas on the highway.
Since our aim is scalable high definition mapping of highways, we evaluate the effectiveness of our method on a different highway in a different geographical region. As such we drive our mapping vehicle multiple times in this new highway and collect and annotate 336 images from 114 unique fork/merge areas on the highway. We use this smaller dataset only for evaluation.
To create our train, val and test splits, we first divide our 68 fork/merge areas randomly with the ratio of 70:15:15 and place the images of each area in the corresponding split. This way the same fork/merge area is not present in different splits. To gain statistical significance in our reported metrics, we repeat this procedure three time to obtain three cross validation splits. As such, for baseline comparisons and ablation studies, we train and test each model three times.
GT Prediction 
GT Prediction 
GT Prediction 
GT Prediction 
Baselines:
Since there are no baselines in the literature that perform offline mapping on long stretches of the highway using BEV LiDAR imagery, we create two baselines based on [6] and [21]. For the first baseline based on [6] denoted by (DT baseline) , we use the same backbone of the global feature network with additional upsampling and residual layers to only predict the the inverse thresholded DT image at the original image dimension. We threshold the distance transform at 32 pixels on each side of the lane boundary. Next, we binarize the DT image and skeletonize [52] to obtain a dense representation of the lane boundaries. This is a very strong baseline since the whole capacity of the backbone network is devoted to predicting the DT image. However, it differs in our method in that we output structured representations of the lane boundaries in the form of polylines in an endtoend manner that is amenable to an annotator in the loop for correction tasks. We create a second baseline based on [21] denoted by (HRAN). The recurrent lane counting module of HRAN architecture has the baked in notion of attending to new lane boundaries from left to right of the road in the bottom of the image which breaks down for the general case of having new lane boundaries spawning at forks and merges. As such we made this baseline stronger by removing the lane counting module during training and inference and instead providing the ground truth starting points for initialization. Note that our method infers the initial points automatically from the DT image.
Precision/Recall:
We report the precision and recall metric of [57]. Precision is defined as the number of densified predicted polyline points that fall within a threshold of the GT polylines divided by the total length of the predicted polylines. The sums and the divisions are taken over all the images rather than per lane boundary or per image similar to object detection task metrics. Recall is the same but the role of prediction and GT polylines are reversed. We evaluate at 2,3,5, and 10 pixels corresponding to 10, 15, 25 and 50 cm. As we can see in Table 1, we outperform both baselines. For DT baseline, we obtain higher precision and recall by a wide margin at 2 and 3 pixels corresponding to 10 and 15. However, this baseline performs better at precision and comparable at recall at 5 and 10 pixels corresponding to 25 and 50 cm. For self driving applications where cm accuracy in HD maps is desirable for the safe navigation of the self driving vehicle, our method proves valuable. For the [21] HRAN baseline, where we made it stronger by using GT initial points, we observe that its performance is significantly worse. This is due to HRAN not having an explicit notion of state in the model which prevents the lane boundaries to split at forks and terminate at merges.
GT Pr 
GT Pr 
Topology:
For an annotator in the loop to make the least number of clicks, it is desirable that only one predicted polyline segment is assigned to a GT polyline. To assess this, we assign each predicted polyline to the GT lane boundary with the largest intersection at a distance of 20 pixels within the GT. We find that 89% of GT lane boundaries have the correct topology.
Ablation Study:
In our ablation studies, we evaluate the importance of the global feature network (G), the Convolutional RNN memory (M) for the headers as well as reinitializing from the DT prediction (R) when we miss drawing lane boundaries. Finally, we evaluate the importance of the notion of state (S) by removing it completely from our model. That is the node will not have a state component and the position and direction will not be conditioned on .
To assess the importance of the global feature network, we apply the direction, state and position header directly on the LiDAR image at a local ROI. This way the receptive field of each header is restricted to the attended ROI and lacks a global context of lane boundaries. By comparing rows 1 and 2 of Table 2, we see that just adding the global feature network increases the recall by a wide margin. The precision remains competitive as the model can still do a good job predicting the position of the lane boundaries in a local region.
Furthermore, we observe in rows 3 and 5 of Table 2, that adding memory and DT recovery to the global feature network, again boosts the performance by a large margin especially in recall. However, we note that the largest gain is obtained from the memory components. If we remove the notion of state and keep all the other components, both precision and recall suffer dramatically as shown in row 4. This highlights the importance of having state in our model. Finally, we note that our full model with all the components has slightly lower precision than the model with no recovery (row 5) and better recall but overall performs the best in terms of F1. We note that these ablations are the average on the test sets of the three cross validation splits.
Qualitative Results:
Please refer to Figure 4 for qualitative results. In row 1 we showcase how our model correctly infers the change of topology by spawning two new lane boundaries at a fork. In rows 2 and 3, we demonstrate the behavior of our model at a merge where two lane boundaries become one and either one or both terminate. In row 4. we showcase a failure mode. At the fork, although we have detected a change of topology, the direction header has failed to infer the correct ROI. At the merge, the upper merging lane boundary overlaps a straight one without stopping. Here an annotator has to manually fix these problematic cases rather than drawing everything from scratch.
Generalization to a New Highway:
The ultimate goal of our method is to enable large scale high definition mapping of highways to in turn facilitate safe self driving at scale. To evaluate the generalization of our method, we train a new model on all the images in the train,val, and test splits of our dataset and we evaluate on a different highway located in a different geographical region. In Table 3, we evaluate our model in terms of precision and recall. Although the performance is dropped as expected in comparison to Table 1 where we evaluated on the same highway, we still obtain very promising results. In particular, at 2 pixels or 5 cm, we have precision and recall while at a wider threshold of 10 pixels or 50 cm, we obtain precision and recall values of and respectively. In Figure 5, we demonstrate our predictions on this new highway.
Failure Cases:
The failure modes consists when a lane boundary is partially not drawn or missed completely and is reflected in our recall metric. In these cases, the annotators have to correct only the problematic cases rather than draw everything from scratch.
5 Conclusion
In this paper we have shown how to draw the lane boundaries of complex highways with many lanes that contain topology changes due to forks and merges. Towards this goal, we have formulated the problem as inference in a DAG, where the nodes of the graph encode geometric and topological properties of the local regions of the lane boundaries. We also derived a simple yet effective greedy algorithm that allow us to infer the DAG topology (i.e., nodes and edges) for each region. We have demonstrated the effectiveness of our approach on two major North American Highways in two different states and show high accuracy in terms of the line drawing and the topology recovered. We plan to extend our approach to utilize also cameras that are typically available onboard self driving vehicles to further improve the performance.
References
 [1] (2018) Efficient interactive annotation of segmentation datasets with polygonrnn++. In CVPR, Cited by: §2.
 [2] (2011) Road detection based on illuminant invariance. ITS. Cited by: §2.
 [3] (2012) Road scene segmentation from a single image. In ECCV, Cited by: §2.
 [4] (2018) Aerial lanenet: lanemarking semantic segmentation in aerial imagery using waveletenhanced costsensitive symmetric fully convolutional neural networks. GRSL. Cited by: §2.
 [5] (2007) Free space computation using stochastic occupancy grids and dynamic programming. In ICCV Workshop on Dynamical Vision, Cited by: §2.
 [6] (2018) Deep multisensor lane detection. In IROS, Cited by: §2, Table 1, §4.
 [7] (1976) Computer recognition of roads from satellite pictures. SMC. Cited by: §2.
 [8] (2018) Learning to localize using a lidar intensity map. In CORL, Cited by: §1.
 [9] (2018) RoadTracer: automatic extraction of road networks from aerial images. In CVPR, Cited by: §2.
 [10] (2019) Improved road connectivity by joint learning of orientation and segmentation. In CVPR, Cited by: §2.
 [11] (2017) Deep learning lane marker segmentation from automatically generated labels. In IROS, Cited by: §2.
 [12] (2018) Intentnet: learning to predict intention from raw sensor data. In CORL, Cited by: §1.
 [13] (2017) Annotating object instances with a polygonrnn. In CVPR, Cited by: §2.
 [14] (2017) LinkNet: exploiting encoder representations for efficient semantic segmentation. VCIP. Cited by: §3.2.
 [15] (2006) Lane detection with moving vehicles in the traffic scenes. ITS. Cited by: §2.
 [16] (2018) Simulating lidar point cloud for autonomous driving using realworld scenes and traffic flows. arXiv. Cited by: §1.
 [17] (2002) Survey of work on road extraction in aerial and satellite images. Tech Report. Cited by: §2.
 [18] (1996) Fast stereo based object detection for stop&go traffic. In IV, Cited by: §2.
 [19] (2018) ELgan: embedding loss driven generative adversarial networks for lane detection. In ECCV, Cited by: §2.
 [20] (2014) Generative adversarial nets. In NeurIPS, Cited by: §2.
 [21] (2018) Hierarchical recurrent attention networks for structured online maps. In CVPR, Cited by: §2, §2, §3.2, §3.3, Table 1, §4, §4.
 [22] (2019) Learning lightweight lane detection cnns by self attention distillation. In ICCV, Cited by: §2.
 [23] (2008) Lidarbased lane marker detection and mapping. In IV, Cited by: §2.
 [24] (2010) General road detection from a single image. IP. Cited by: §2.
 [25] (2012) Spatial ray features for realtime egolane extraction. In ITS, Cited by: §2.
 [26] (2015) Deep learning. Nature. Cited by: §2.
 [27] (2017) VPGNet: vanishing point guided network for lane and road marking detection and recognition. In ICCV, Cited by: §2.
 [28] (2015) StixelNet: a deep convolutional network for obstacle detection and road segmentation.. In BMVC, Cited by: §2.
 [29] (2018) PolyMapper: extracting city maps using polygons. arXiv. Cited by: §2.
 [30] (2019) Convolutional recurrent network for road boundary extraction. In CVPR, Cited by: §2, §3.2.
 [31] (2018) ENDtoend deep structured models for drawing crosswalks. In ECCV, Cited by: §2, §3.2.
 [32] (2019) Multitask multisensor fusion for 3d object detection. In CVPR, Cited by: §1.

[33]
(2005)
Adaptive road following using selfsupervised learning and reverse optical flow.
. In RSS, Cited by: §2.  [34] (2016) Feature pyramid networks for object detection. In CVPR, Cited by: §3.2.
 [35] (2019) Fast interactive object annotation with curvegcn. In CVPR, Cited by: §2.
 [36] (2019) Exploiting sparse semantic hd maps for affordable localization. IROS. Cited by: §1.
 [37] (2017) Find your way by observing the sun and other semantic cues. In ICRA, Cited by: §1.
 [38] (2016) Classification with an edge: improving semantic image segmentation with boundary detection. arXiv. Cited by: §2.
 [39] (2016) Semantic segmentation of aerial images with an ensemble of cnns. ISPRS. Cited by: §2.
 [40] (2017) Deeproadmapper: extracting road topology from aerial images. In ICCV, Cited by: §2.
 [41] (2015) Enhancing road maps by parsing aerial images around the world. In ICCV, Cited by: §2.
 [42] (2016) Hd maps: finegrained road segmentation by parsing ground and aerial images. In CVPR, Cited by: §2.
 [43] (2005) An automatic method for road extraction in rural and semiurban areas starting from high resolution satellite imagery. IAPR. Cited by: §2.
 [44] (2010) Learning to detect roads in highresolution aerial images. In ECCV, Cited by: §2.
 [45] (2012) Learning to label aerial images from noisy data. In ICML, Cited by: §2.
 [46] (2014) Deep deconvolutional networks for scene parsing. arXiv. Cited by: §2.
 [47] (2018) Towards endtoend lane detection: an instance segmentation approach. IV. Cited by: §2.
 [48] (2015) A variational approach to online road and path segmentation with monocular vision. In ICRA, Cited by: §2.
 [49] (2013) Remote sensing digital image analysis. Springer. Cited by: §2.
 [50] (1970) On the use of space photography for identifying transportation routes: a summary of problems. Cited by: §2.
 [51] (2019) Leveraging crowdsourced gps data for road extraction from aerial imagery. In CVPR, Cited by: §2.
 [52] (1985) Topological structural analysis of digitized binary images by border following. CVGIP. Cited by: §4.
 [53] (2006) Color modelbased realtime learning for road following. In ITS, Cited by: §2.
 [54] (2018) Multinet: realtime joint semantic reasoning for autonomous driving. In IV, Cited by: §2.
 [55] (2018) Iterative deep learning for road topology extraction. In BMVC, Cited by: §2.
 [56] (2017) Selflocalization based on visual lane marking maps: an accurate lowcost approach for autonomous driving. ITS. Cited by: §2.
 [57] (2017) Torontocity: seeing the world with a million eyes. In ICCV, Cited by: §4.
 [58] (2018) LaneNet: realtime lane detection networks for autonomous driving. arXiv. Cited by: §2.
 [59] (2009) Bspline modeling of road surfaces with an application to freespace estimation. ITS. Cited by: §2.
 [60] (2018) Hdnet: exploiting hd maps for 3d object detection. In CORL, Cited by: §1.
 [61] (2015) Estimating drivable collisionfree space from monocular video. In WACV, Cited by: §2.
 [62] (2019) Endtoend interpretable neural motion planner. In CVPR, Cited by: §1.
Appendix A Network Architecture
Global Feature Network:
In Fig. 6, we visualize a diagram of the global feature network. In the following:

Conv2D(kernel size, filters, stride)
is a 2D convolution layer. 
Each residual Residual(kernel size, Number of filters, stride)
layer is comprised of two blocks of instance normalization, ReLU nonlineary and Conv2d(kernel size, filters, stride (or 1)). Note that some residual layers perform downsampling by setting the stride of the first convolution layer to two while keeping the stride of the second convolution as one.

IRC(kernel size, filters, stride) corresponds to instance normalization, ReLU followed by a Conv(kernel size, filters, stride) while IRUC(kernel size, filters, stride) has an extra nearest neighbor upsampling layer after the ReLU.
Distance Transform Header:
Direction Header:
We crop a rotated RoI of size
along the lane boundary from the output of the global feature network and concatenate with the onehot encoding of the previous inferred state to obtain a tensor with 11 channels. In the following:

ConvRNN(kernel size, filters, stride) is a vanilla RNN that replaces matrix multiplication with convolutions and the nonlinearity with ReLU.

Linear(input size, output size) is a simple linear linear
State Header:
The state header has the exact same architecture as of the direction header. However, we replace the global max pooling with global average pooling.
Position Header:
For the position header, we employ a convolutional RNN coupled with an encoder decoder network as outlined in Fig. 10.
Appendix B Training Details
In this section, we describe the training implementation details. For learning, we optimize the following multitask objective:
(5) 
where
are the parameters of our neural network. We utilize the validation set to obtain a best set of hyperparameters as
and . Since each image is of dimension pixels and our model comprises of three convolutional RNNs, we are able to fit only one example in an NVIDIA 1080 Ti GPU during training. We trained our model on 8 GPUs using the distributed training environment Horovod for 12 hours. We used the AMSgrad optimizer with the learning rate of 0.001. We choose the final model based on the lowest precision and recall on the validation set.During training, we provide all the GT initial vertices with a small Gaussian perturbation on the initial positions . Next, given a parent node , we predict the components of the next vertex . We replace all the operators with . The ground truth for is generated on the fly by projecting , the anchor for the current Region of interest (RoI), onto the closest lane boundary and computing the turning function at that point. The GT for the categorical random variable is obtained also on the fly by determining whether the current RoI contains a fork or a terminating point and setting the GT accordingly. If neither topological change falls within the RoI, we set the GT to be the normal state.
While training, we use the predicted direction anchored at to obtain the next RoI unless
is 30 pixels away from the lane boundary, in which case we use the GT direction. Moreover, we concatenate the GT states to each header during training. For training the convolutional RNN components of the direction, state and position header, we backpropagate 5 timesteps through time to avoid memory issues. We run the RNN until either the vertex position falls outside the image, the rotated RoI contains a GT terminate state or the RNN runs for 30 timesteps.
At test time, we use the predicted initial vertices, the directions and the states to infer the state of the DAG.
Appendix C Qualitative Results
In Figs. 11, 12, 13 and 14 we demonstrate our predictions on the first highway. In Fig. 15 and 16 we showcase the results of training only on one highway and testing on another highway 1000 km away.
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
GT Pr Inp 
Comments
There are no comments yet.