Towards Safe Autonomous Driving: Capture Uncertainty in the Deep Neural Network For Lidar 3D Vehicle Detection

Di Feng, Lars Rosenbaum, Klaus Dietmayer

I Introduction

Knowing what an object detection model is unsure about is of paramount importance for safe autonomous driving. For example, if an autonomous car recognizes a front object as a pedestrian but is uncertain about its location, the system may warn the driver to take over the car at an early stage or slow down to avoid fatal accidents.

Deep learning has been introduced to object detection in the autonomous driving settings that use cameras , Lidar , or both , and has set the benchmark on many popular datasets (e.g. KITTI , Cityscapes ). However, to the best of our knowledge, none of these methods allow for the estimation of uncertainty in bounding box regression. Moreover, these methods often use a softmax layer to normalize the score vector on the purpose of classifying objects, which does not necessarily represent the classification uncertainty in the model. As a result, these object detections can only tell the human drivers what they have seen, but not how certain they are about it.

There are two types of uncertainty that we can quantify in the object detection network. Epistemic uncertainty, or model uncertainty, indicates how uncertain an object detector is to explain the observed dataset. Aleatoric uncertainty, conversely, captures the observation noises that are inherent in sensors. For instance, detecting an abnormal object that is different from the training dataset may result in high epistemic uncertainty, while detecting a distant object may result in high aleatoric uncertainty. Capturing both uncertainties in the object detection network is indispensable for safe autonomous driving, as the epistemic uncertainty displays the limitation of detection models, while the aleatoric uncertainty can provide the sensor observation noises for object tracking.

In this work, we develop practical methods to capture epistemic and aleatoric uncertainties in a 3D vehicle detector for Lidar point clouds. Our contributions are three-fold:

We extract model uncertainty and observation uncertainty for the vehicle recognition and 3D bounding box regression tasks.

We show an improvement of vehicle detection performance by modeling the aleatoric uncertainty.

We study the difference between the epistemic and aleatoric uncertainty. The former is associated with the vehicle detection accuracy, while the latter is influenced by the vehicle distance and occlusion.

The remainder of the paper is structured as follows: Sec. II summarizes related works. Sec. III illustrates the architecture of our probabilistic Lidar 3D vehicle detection neural network. Sec. IV presents the proposed methods to capture epistemic and aleatoric uncertainties. Sec. V illustrates the experimental results, followed by a conclusion and a discussion of future research in Sec. VI.

II Related Works

In this section, we first summarize methods for 3D object detection in autonomous driving for Lidar point clouds. We then summarize related works to Bayesian neural network which we use to extract uncertainty in our Lidar vehicle detection network.

Many works represent 3D point clouds using voxel grids. Li discretizes point clouds into square grids, and then employs a 3D convolution neural network that outputs an objectness map and a bounding box map for each grid. Zhou et al. introduce a voxel feature encoding (VFE) layer that can learn the unified features directly from the Lidar point clouds. They feed these features to a Region Proposal Network (RPN) that predicts the detections. Engelcke et al. use a voting scheme to search possible object locations, and introduce special convolutional layers to tackle with the sparsity of the point clouds. In addition, several works encode 3D point clouds as 2D feature maps. Li et al. project range scans into a 2D front-view depth map and use a 2D fully convolutional network (FCN) to detect vehicles. Caltagirone et al. and Yang et al. project the Lidar point clouds into birds’ eye view image and propose a road detector and a car detector, respectively.

II-A2 3D Object Detection by Combining Lidar and Camera

Lidar point clouds usually give us accurate spatial information. Camera images provide us with object appearances, which is beneficial for object classification. Therefore, it is natural to combine these two sensors . For example, Chen et al. propose MV3D, a network that generates region proposals from the bird’s eye view Lidar features and then combine the proposals with the regional features from the front view Lidar feature maps and RGB camera images for accurate 3D vehicle detection. Qi et al. use RGB camera images to draw 2D object bounding boxes, which build frustums in the Lidar point cloud. Then, they use these frustums for 3D bounding box regressions.

II-B Bayesian Neural Networks

Bayesian neural networks (BNNs) provide us the probabilistic interpretation of neural networks . Instead of placing deterministic weights in the neural network, BNNs assume a prior distribution over them. By inferring the posterior distribution over the model weights, we can extract how uncertain a neural network is with its predictions. Uncertainty estimation methods include variational inference , sampling technique , or ensemble . Recently, Y. Gal propose a method that captures the uncertainty in BNNs at test time by sampling the network multiple times with dropout. This dropout sampling method has been applied to active learning for cancer diagnosis , semantic segmentation and image object detection for open-set problem .

III Network Architecture

Our proposed probabilisitic Lidar 3D object detection network is shown in Fig. 2. The network takes the features from Lidar bird’s eye view (BEV) as input and feed it into a pre-processing network. Then, a region proposal network is employed to generate candidates of regions of interest (ROIs), which are processed through the intermediate layers. These layers are built to capture the uncertainties in our object detection network. After the intermediate layers, the features are fed into two fully connected layers for 33D bounding box regression and softmax objectness score.

To extract the Lidar BEV features, the 3D point clouds are first projected onto a 2D grid with a resolution of 0.10.1m and then encoded by height, intensity and density maps . The height maps are generated by dividing the point clouds into MM slices. As a result we obtain M+2M+2 channel features. Fig. 2 shows exemplary input features.

The network outputs the softmax objectness score and the oriented 3D bounding boxes. The bounding boxes v\mathbf{v} are encoded by their 88 corner offsets, v=[x0,...,x7;y0,...,y7;z0,...,z7]\mathbf{v}=[x_{0},...,x_{7};y_{0},...,y_{7};z_{0},...,z_{7}], and are normalized by the diagonal length of the proposal anchors. Concretely, let v^\mathbf{\hat{v}} be the vector of a bounding box in the Lidar coordinate frame and v^0\hat{\mathbf{v}}_{0} its corresponding region proposal with diagonal length hh, we encode the 2424-dimensional regression outputs by v=v^−v^0h\mathbf{v}=\frac{\mathbf{\hat{v}}-\hat{\mathbf{v}}_{0}}{h}.

III-B Feature Pre-processing Network

To process the Lidar feature images, we use the ResNet-8 architecture that contains 44 residual blocks (one block architecture is shown in Fig. 3), with the number of kernels increasing from 6464, 128128, 256256 to 512512. The last convolution layer is up-sampled with a factor of two for generating region proposals and detecting objects. In this way, the network can detect small vehicles that occupy only a few grid cells (55-4040 grid cells ).

III-C Region Proposal Networks

We follow the Faster-RCNN pipeline to generate BEV 3D region proposals. First, for each feature map pixel we generate nine 2D anchors using 33 scales with box areas of 16216^{2}, 32232^{2} and 48248^{2} and 33 aspect ratios of 1:11:1, 1:21:2, and 2:12:1. Then, the 2D anchors are projected into 3D space by adding a fixed height value, which is selected large enough to enclose all daily vehicles.

III-D Intermediate Layers

To further process the Lidar features and to extract uncertainties, we design 33 fully connected hidden layers, each of which has 512512 hidden units and is followed by a dropout layer.

IV Capturing Uncertainty in Lidar 3D Vehicle Detection

As introduced in Sec. I, there are two different types of uncertainty that can be captured by our proposed probabilistic Lidar 3D vehicle detector: the epistemic uncertainty that describes the uncertainty in the model, and the aleatoric uncertainty that describes the observation noises.

We employ the intermediate layers (Fig. 2) as a Bayesian neural network to extract uncertainties. Let us denote x∗\mathbf{x}^{\ast} as a ROI candidate generated by RPN during the test time, and y∗\mathbf{y}^{\ast} the prediction of object labels or bounding boxes. We want to estimate the posterior distribution of the prediction p(y∗∣x∗,X,Y)p(\mathbf{y}^{\ast}|\mathbf{x}^{\ast},\mathbf{X},\mathbf{Y}), where X\mathbf{X} denotes the training dataset and Y\mathbf{Y} its ground truth. To do this, we marginalize the prediction over the weights W\mathbf{W} in the fully connected layers through p(\mathbf{y}^{\ast}|\mathbf{x}^{\ast},\mathbf{X},\mathbf{Y})=\mathop{\text{\Large\int}}\nolimits p(\mathbf{y}^{\ast}|g^{\mathbf{W}}(\mathbf{x}^{\ast}))p(\mathbf{W}|\mathbf{X},\mathbf{Y})d\mathbf{W}, where gW(x∗)g^{\mathbf{W}}(\mathbf{x}^{\ast}) denotes the network output. By estimating the weight posterior p(W∣X,Y)p(\mathbf{W}|\mathbf{X},\mathbf{Y}) and performing Bayesian inference, we can extract epistemic uncertainty; By estimating the observation likelihood p(y∗∣gW(x∗))p(\mathbf{y}^{\ast}|g^{\mathbf{W}}(\mathbf{x}^{\ast})), we can obtain the aleatoric uncertainty.

In order to extract the epistemic uncertainty (or model uncertainty) in our vechile detection network, we need to calculate the weight posterior p(W∣X,Y)p(\mathbf{W}|\mathbf{X},\mathbf{Y}). However, performing the inference analytically is in general intractable, thus approximation techniques are required. Recently, Gal shows that dropout can be used as approximate inference in a Bayesian neural network: during the training process, performing dropout with stochastic gradient descent is equivalent to optimizing the approximated posterior distribution with Bernoulli distributions over the weights W\mathbf{W}. Gal also shows that by performing the network forward passes several times with dropout during the test time, we can get the samples from the model’s posterior distribution, and thus obtain the epistemic uncertainty.

We employ the dropout method to capture the model uncertainty in the object detection network. Our network is trained using dropout with a dropout rate pp. For each region proposal during test time x∗\mathbf{x}^{\ast}, it performs NN forward passes with dropout. The output of the network contains the softmax score {sx∗i}i=1N\{s_{\mathbf{x}^{\ast}}^{i}\}_{i=1}^{N} and the bounding box regression {vx∗i}i=1N\{\mathbf{v}_{\mathbf{x}^{\ast}}^{i}\}_{i=1}^{N}, with sx∗is_{\mathbf{x}^{\ast}}^{i} and vx∗i\mathbf{v}_{\mathbf{x}^{\ast}}^{i} being the softmax score and the regression output for the ithi^{th} forward pass, respectively. In the following, we illustrate how to use these outputs to measure the epistemic uncertainty.

The vehicle probability p(veh∣x∗)p(veh|\mathbf{x}^{\ast}) - the probability that a sample x∗\mathbf{x}^{\ast} is recognized as a vehicle - is approximated by the mean of softmax score of NN forward passes according to

Note that if we set N=1N=1 and p=0p=0, p(veh∣x∗)p(veh|\mathbf{x}^{\ast}) is approximated by a softmax score - the point-wise prediction done by most object detection networks. However, as Gal mentioned, passing the point estimate can underestimate the uncertainty of samples that are different from the training dataset. In order to extract more accurate model uncertainty, the network needs to perform multiple forward passes with dropout (i.e. N>1,p>0N>1,p>0).

We further use the Shannon entropy (SE) and mutual information (MI) to measure the classification uncertainty . For a region proposal x∗\mathbf{x}^{\ast}, its SE score is calculated via

SE captures the uncertainty in the prediction output p(veh∣x∗)p(veh|\mathbf{x}^{\ast}). In this work, we use the natural logarithm, and the SE score ranges in [0,ln(2)][0,ln(2)]. When p(veh∣x∗)=0p(veh|\mathbf{x}^{\ast})=0 or 11, the network is certain with its prediction, resulting SE=0=0. The SE score reaches its peak when the network is most uncertain with its prediction, namely, p(veh∣x∗)=12p(veh|\mathbf{x}^{\ast})=\frac{1}{2}.

Different from SE, MI calculates the models’ confidence in the output. It measures the information difference between the prediction probability p(veh∣x∗)p(veh|\mathbf{x}^{\ast}) and the posterior of model parameters according to

MI ranges between $$, with a large value indicating high epistemic classification uncertainty.

IV-A2 Extracting 3D Bounding Box and Epistemic Spatial Uncertainty

We estimate the bounding box position of a region proposal in the Lidar coordinate frame, denoted as lx∗\mathbf{l}_{\mathbf{x}^{\ast}}. For this purpose, we calculate the mean value of the regression outputs of NN forward passes. To do this, we first transform the bounding box prediction into the Lidar coordinate frame v^x∗=hvx∗+v^0x∗\mathbf{\hat{v}}_{\mathbf{x}^{\ast}}=h\mathbf{v}_{\mathbf{x}^{\ast}}+\hat{\mathbf{v}}_{0_{\mathbf{x}^{\ast}}}, the mean is calculated accordingly

To estimate the epistemic spatial (regression) uncertainty in the bounding box prediction, we use the total variance of the covariance matrix of NN forward pass regressions. The covariance matrix is calculated via C(x∗)=1N∑i=1Nv^x∗iv^x∗iT−lx∗lx∗TC(\mathbf{x}^{\ast})=\frac{1}{N}\sum_{i=1}^{N}\mathbf{\hat{v}}_{\mathbf{x}^{\ast}}^{i}\mathbf{\hat{v}}_{\mathbf{x}^{\ast}}^{i^{T}}-\mathbf{l}_{\mathbf{x}^{\ast}}\mathbf{l}_{\mathbf{x}^{\ast}}^{T}. The total variance TV(x∗)TV(\mathbf{x}^{\ast}) is the trace of the covariance matrix according to

This score ranges in [0,+∞)[0,+\infty), with a large value indicating high epistemic spatial uncertainty.

IV-B Capturing Aleatoric Uncertainty

So far, we have explained how to use the dropout sampling technique to approximate the posterior distribution and to extract epistemic uncertainty. To capture the aleatoric uncertainty, we need to model the distribution p(y∗∣gW(x∗))p(\mathbf{y}^{\ast}|g^{\mathbf{W}}(\mathbf{x}^{\ast})). In the classification task we can model it by the softmax function, i.e. p(y∗∣gW(x∗))=softmax(gW(x∗))=sx∗p(\mathbf{y}^{\ast}|g^{\mathbf{W}}(\mathbf{x}^{\ast}))=softmax(g^{\mathbf{W}}(\mathbf{x}^{\ast}))=s_{\mathbf{x}^{\ast}}, with y∗\mathbf{y}^{\ast} referring to the object labels. In the 3D bounding box regression task, we model the observation likelihood as a multi-variate Gaussian distribution with diagonal covariance matrix via

Here, y∗\mathbf{y}^{\ast} is the bounding box prediction. The parameter σx∗2\sigma^{2}_{\mathbf{x}^{\ast}} is a 2424-dimensional vector, with each element representing an observation noise of a prediction in the bounding box regression vx∗\mathbf{v}_{\mathbf{x}^{\ast}}. We can obtain the observation noises by adding an output regression layer in our vehicle detection network. In addition to the softmax scores and bounding box regressions, now it allows us to predict the observation noises λx∗\lambda_{\mathbf{x}^{\ast}}, where we use λx∗≔log⁡(σx∗2)\lambda_{\mathbf{x}^{\ast}}\coloneqq\log(\sigma^{2}_{\mathbf{x}^{\ast}}) for numerical stability. In the training phase, we modify the cost function for the bounding box regression through

As mentioned, this loss function can increase the network robustness when learning from noisy dataset. When the training data has high aleatoric uncertainty, the model is penalized by the 12λT1\frac{1}{2}\lambda^{T}\mathbf{1} term and ignores the residual term ∥vgt−v∥\|\mathbf{v}_{gt}-\mathbf{v}\| since exp⁡(−λT)\exp(-\lambda^{T}) becomes small. Consequently, the data with high uncertainty contributes less to the loss. Note that instead of performing approximate inference when extracting epistemic uncertainty, here we perform MAP inference.

IV-C Implementation

Training the neural network is achieved in a multi-loss end-to-end learning fashion. We use smooth l1l_{1} loss and cross-entropy loss for the oriented 3D box regression (Lout-regL_{out\text{-}reg}) and classification (Lout-clsL_{out\text{-}cls}) respectively. We also use the same loss function for region proposals and object category outputs in the Region Proposal Network (Lrpn-clsL_{rpn\text{-}cls} and Lrpn-regL_{rpn\text{-}reg}). The final loss function is formulated as:

where we set γ1,γ3=1\gamma_{1},\gamma_{3}=1 and γ2,γ4=0.05\gamma_{2},\gamma_{4}=0.05. We employ L2L_{2} regularization and dropout with dropout rate p=0.5p=0.5 to prevent over-fitting and to perform posterior distribution approximation. The network is trained 7000070000 steps using Adam optimizer and a learning rate of 0.00010.0001. We then reduce the learning rate to 0.000010.00001 and train another 1000010000 steps for fine tuning.

To solely extract epistemic uncertainty, the network performs NN number of forward passes with dropout during the test time. We fix the dropout rate at p=0.5p=0.5, though it can be tuned by grid-searching to maximize the validation log likelihood or by using gradient methods . A dropout rate of 0.50.5 introduces the highest epistemic uncertainty in the model. We also fix N=40N=40. To solely extract the aleatoric uncertainty, the network is trained with the loss function modified according to Eq. 7. It performs the feed-forward pass only once without dropout during the test time. To extract both epistemic and aleatoric uncertainty, the network trained with Eq. 7 needs to perform multiple feed-forward passes with dropout.

V Experimental Results

In this section, we experimentally evaluate our proposed probabilistic Lidar 3D object detection network. We show that modeling the aleatoric uncertainty improves the vehicle detection performance. We also show that the network captures model uncertainty and observation uncertainty, which behave differently from each other: The model (epistemic) uncertainty is influenced by the detection accuracy, but is unaffected by the vehicle distance. Conversely, the observation (aleatoric) uncertainty is associated with the vehicle distance and occlusion, and has little relationship to detection accuracy.

Our proposed method was evaluated on the KITTI raw dataset . Among the dataset, we randomly chose 2929 drives for training, and another 66 drives for testing (drive 00010001, 00150015, 00390039, 00520052, 00700070, 00860086). This corresponds to 99189918 training frames and 20102010 testing frames. We considered the Lidar point clouds in the ranges x=0−100x=0-100 m, y=-30−30y=\raisebox{0.75pt}{-}30-30 m, z=-3.5−0.6z=\raisebox{0.75pt}{-}3.5-0.6 m (The lidar coordinate system is illustrated in Fig. 1). With a discretization resolution of 0.10.1 m, each bird’s eye view input channel was a 2D image with 1000×6001000\times 600 pixels. We only evaluated the detections that were visible in the front-view of the camera.

The 3D vehicle proposals were considered to be detected when their probability scores were larger than 0.50.5. Their performance was evaluated using Intersection Over Union (IoU) threshold ranging from 0.10.1 to 0.80.8. The IoU scores rate the similarity between a predicted vehicle and its ground truth. A higher IoU value with the ground truth indicates a more accurate prediction.

V-B 3D Vehicle Detection Performance

We first evaluated the 3D vehicle detection performance of our proposed network that captures epistemic and aleatoric uncertainty. As a baseline method, we trained a vehicle detector called Non-Bayesian which did not explicitly model the observation noise P(v∣gW(x))P(\mathbf{v}|g^{\mathbf{W}}(\mathbf{x})) and the weight posterior distribution P(W∣X,Y)P(\mathbf{W}|\mathbf{X},\mathbf{Y}). We then compared the baseline method with the vehicle detectors that captured epistemic uncertainty (Epistemic), aleatoric uncertainty (Aleatoric), or both (Epistemic+Aleatoric). We used F1F_{1} scores (F1=2PRP+RF_{1}=\frac{2PR}{P+R}) at different IoU threshold to evaluate the detection performance, where PP indicates the 3D bounding box precision, and RR the recall value. Results are illustrated in Tab. I. The vehicle detectors that captured aleatoric uncertainty (Aleatoric and Epistemic+Aleatoric) consistently outperformed the baseline method, with an improvement of F1F_{1} scores by 1%−5%1\%-5\%. This is because modeling the aleatoric uncertainty has increased the model robustness when dealing with noisy input data. The network Epistemic, conversely, slightly underperformed the baseline method, as network capability was reduced by dropping out some of its hidden units.

V-C Understanding the Epistemic Uncertainty in 3D Object Detection

We then evaluated how our proposed network captured the epistemic uncertainty in 3D object detection task. Fig. 4(a) and Fig. 4(b) demonstrate the mean values of Shannon Entropy (SE) and Mutual Information (MI) averaged over all predicted samples that lay within different IoU intervals. Predictions with higher IoU scores were more accurate. Results show that SE behaved similar to the MI score. Both scores were associated well with the prediction accuracy, as they became smaller with increasing IoU. We also evaluated the epistemic uncertainty in the bounding box regression. Following Eq. 5, we calculated the mean values of total variance in xx, yy, and zz axes. Fig. 4(c) shows that the total variance in the x-x\raisebox{0.75pt}{-}axis was the largest, indicating that the network was most uncertain to estimate the vehicles’ positions in the xx direction. The total variance in the z-z\raisebox{0.75pt}{-}axis was the smallest, as there was little variance in vehicles’ height. Fig. 4(c) also shows that the regression uncertainty was affected by the prediction accuracy. The total variance decreased for larger IoU values.

To better understand the epistemic uncertainty, we plot the SE and MI values for each predicted vehicle with IoU >0.8>0.8, referring to the most accurate detections (Fig. 5(a)), and IoU<0.1<0.1 −- the worst detections (Fig. 5(b)). The SE and MI values for detections with IoU >0.8>0.8 mostly lay on the bottom left of the figure, showing the low epistemic classification uncertainty. In contrast, detections with IoU <0.1<0.1 were widely spread in Fig. 5(b), demonstrating higher uncertainty. We also analyzed the distribution of total variance for IoU >0.8>0.8 and IoU <0.1<0.1. Fig. 5(c), Fig. 5(d) show large epistemic regression uncertainties, when the network made inaccurate detections. In conclusion, our proposed Lidar 3D object detector captured reliable epistemic classification and regression uncertainty. The objects with low classification and regression uncertainty were more likely to be detected accurately.

Qualitative Observations. We observed that big vehicles such as vans and trucks as well as the “ghost” objects (i.e. False Positives) often showed high levels of epistemic classification uncertainty (e.g. obj 5 in Fig. 6 and obj 0 in Fig. 6). Besides, detections with abnormal bounding boxes, e.g. boxes with unusual small length and large height (e.g. obj 6 in Fig. 6), often showed high epistemic spatial uncertainty. This is because that these detections differed from our training dataset, which contained no ghost objects, no objects with abnormal shapes, and a few big vehicles. Therefore, our Lidar 3D object detector was uncertain with them, and showed high epistemic uncertainty scores. Such information can be used to efficiently improve the vehicle detector in an active learning paradigm: the detector actively queries the unseen samples with high epistemic uncertainty. More detection results can be found in the supplementary video.

V-D Understanding the Aleatoric Uncertainty in 3D Object Detection

Finally, we evaluated the aleatoric uncertainty, i.e. the uncertainty that captures the observation noises in Lidar point clouds. Here, we focused on the 3D bounding box regression whose uncertainty is quantified by σ2\sigma^{2} (Sec. IV-B). In this work, we did not explicitly model the parameters to quantify the aleatoric classification uncertainty. We leave it as an interesting topic for the future research.

We demonstrated the mean value of total variance of aleatoric spatial uncertainty with regard to different IoU intervals, similar to the experiment in Sec. V-C. To do this, we summed up the variance σ2\sigma^{2} of observation noises of an object in xx, yy, zz axis, respectively. Fig. 7 shows that the aleatoric spatial uncertainty was little related to the detection accuracy, which was different from the epistemic uncertainty shown in Fig 4(c).

We further analyzed the behavior of aleatoric uncertainty with regard to the distance between the ego-vehicle and the detected vehicles. We used the Pearson Correlation Coefficient (PCC) to quantify the linear correlation between the distance and the total variance in xx, yy, zz axes as well as the total variance of the whole covariance matrix, for detections in the test dataset. Tab. II shows the results. The aleatoric uncertainty was positively correlated with distance, indicating that a more distant vehicle was more difficult to be localized. This is due to the fact that the point clouds of an object become increasingly sparse at a large distance. Contrarily, the epistemic uncertainty showed little relationship with the distance. This conclusion was also supported by an exemplary sequence of vehicle detection shown in Fig. 8. As the car was leaving from the ego-vehicle, the aleatoric uncertainties in xx, yy, zz axes were continuously increasing, whereas the epistemic uncertainty showed no tendency.

The observation noises were not only affected by distance, but by occlusion as well. We found that the corners of the bounding boxes which face directly towards the Lidar sensor consistently display smaller aleatoric spatial uncertainty than the occluded corners. For instance, the red scores in Fig. 9 and Fig. 9 represent the sum of the spatial uncertainty of the vehicles’ corners that face towards the Lidar sensor, and blue scores represent the uncertainty of occluded corners. These values were calculated by summing the observation noises σ2\sigma^{2} of the front corners and back corners separately. For all detections in Fig. 9 and Fig. 9, the aleatoric spatial uncertainties of occluded corners were consistently higher than the ego-vehicle facing corners.

VI Conclusions and Discussions

We have presented a probabilistic Lidar 3D vehicle detection network that captures reliable uncertainties in vehicle recognition and 3D bounding box regression tasks. Our proposed network models the epistemic uncertainty, i.e. the model uncertainty to describe data, by performing predictions several times with dropout. Our network also models the aleatoric uncertainty, i.e. the observation noises inherent in Lidar by adding an auxiliary output layer.

Epistemic and aleatoric uncertainties behave differently from each other. Experimental results showed that the epistemic uncertainty is associated with the detection accuracy. The network showed high epistemic uncertainty with samples that were different from the training dataset, such as ghost objects, big vehicles, or vehicles with abnormal bounding box regressions. Since the epistemic uncertainty displays the limitations of the vehicle detection network, it is highly valuable to be applied to efficiently querying the unseen samples to improve the model during the offline training phase (active learning). For example, when a vehicle detector trained on highways is deployed to urban areas, it is necessary to adapt the object detector in this new environment. By employing the epistemic uncertainty, the vehicle detector can be efficiently improved by actively querying objects such as pedestrians and cyclists which do not exist on highways.

Conversely, experiments showed that the aleatoric uncertainty is influenced by the detection distance and occlusion rather than detection accuracy, as distant vehicles or the occluded parts of vehicles contain high observation noises. In this way, the aleatoric uncertainty shows the sensor limitations and can be applied to improve the tracking of a vehicle position. Furthermore, we have showed that modeling the aleatoric uncertainty improved the detection performance by 1%−5%1\%-5\%, indicating that it increased the model robustness to noisy data. Finally, computing the aleatoric uncertainty of a sample requires only one-time inference. Thus, modeling aleatoric uncertainty is useful for online deployment.

One limitation of our method is the computation cost when extracting the epistemic uncertainty, where the network needs to perform multiple feed-forward passes with dropout (0.30.3 fps on a Titan X GPU). This makes epistemic uncertainty infeasible for online autonomous driving. Finding the trade-off between the performance of epistemic uncertainty and the number of feed-forward passes is an open question for the further research.

In the future, we intend to explore uncertainties in different Lidar based object detection architectures such as one-stage detection pipeline . Furthermore, we plan to investigate more factors that may influence aleatoric uncertainties, such as Lidar reflection rates and different bounding box encodings. Finally, we plan to apply our uncertainty estimation to active learning and object tracking to improve bounding box predictions, or to incorporate these uncertainty estimations as additional knowledge to the training phase (e.g. ).

Acknowledgment

We thank Zhongyu Lou and Florian Faion for their suggestions and inspiring discussions.

References