Note
❗️Update on evaluation metrics led to differences in TOP scores between
vx.1
(v1.1
,v2.1
) andvx.0
(v1.0
,v2.0
). We encourage the use ofvx.1
metrics. For more details please see issue #76.
We define the OpenLane-V2 UniScore (OLUS), which is the average of various metrics covering different aspects of the primary task:
To evaluate performances on different aspects of the task, several metrics are adopted:
-
$\text{DET}_{l}$ for mAP on lane segments, -
$\text{DET}_{a}$ for mAP on areas, -
$\text{DET}_{t}$ for mAP on traffic elements, -
$\text{TOP}_{ll}$ for mAP on topology among lane segments, -
$\text{TOP}_{lt}$ for mAP on topology between lane segments and traffic elements.
If not described explicitly, the metrics are similar to those in the task of OpenLane Topology.
We adopt the average precision (AP) but define a match of lane segments by considering the lane segment distance.
The mAP for lane segments is averaged over match thresholds of
Areas, namely pedestrian crossings and road boundaries, are regarded as undirected curves, which are closed or intersected with the boundaries of the BEV range. We use Chamfer distance to describe the similarity of areas.
The primary task of the dataset is scene structure perception and reasoning, which requires the model to recognize the dynamic drivable states of lanes in the surrounding environment. The challenge of this dataset includes not only detecting lane centerlines and traffic elements but also recognizing the attribute of traffic elements and topology relationships on detected objects. We define the OpenLane-V2 Score (OLS), which is the average of various metrics covering different aspects of the primary task:
To evaluate performances on different aspects of the task, several metrics are adopted:
-
$\text{DET}_{l}$ for mAP on directed lane centerlines, -
$\text{DET}_{t}$ for mAP on traffic elements, -
$\text{TOP}_{ll}$ for mAP on topology among lane centerlines, -
$\text{TOP}_{lt}$ for mAP on topology between lane centerlines and traffic elements.
We consolidate the above metrics by computing an average of them, resulting in the OpenLane-V2 Score (OLS).
We adopt the average precision (AP) but define a match of lane centerlines by considering the discrete Frechet distance in the 3D space.
The mAP for lane centerlines is averaged over match thresholds of
Similarly, we use AP to evaluate the task of traffic element detection.
We consider IoU distance as the affinity measure with a match threshold of
The topology metrics estimate the goodness of the relationship among lane centerlines and the relationship between lane centerlines and traffic elements. To formulate the task of topology prediction as a link prediction problem, we first determine a match of ground truth and predicted vertices (lane centerlines and traffic elements) in the relationship graph. We choose Frechet and IoU distance for the lane centerline and traffic element respectively. Also, the metric is average over different recalls.
We adopt mAP from link prediction, which is defined as a mean of APs over all vertices.
Two vertices are regarded as connected if the predicted confidence of the edge is greater than
where
Given ground truth and predicted connectivity of lane centerlines, the mAP is calculated on
To evaluate the predicted topology between lane centerlines and traffic elements, we ignore the relationship among lane centerlines.
The relationship among traffic elements is also not taken into consideration.
Thus this can be seen as a link prediction problem on a bipartite undirected graph that
Discrete Frechet distance measures the geometric similarity of two ordered lists of points.
Given a pair of curves, namely a ground truth
where
The Frechet distance of a pair of curves is the minimum norm of all possible coupling that:
Chamfer distance measures the similarity between two unordered sets by considering the distance of each permutation of the elements.
Given a pair of point sets, namely the ground truth
To preserve consistency to the distance mentioned above, we modify the common IoU (Intersection over Union) measure that:
where
By taking the similarity of the centerline and lanelines into account simultaneously, for a pair of lane segments