RoboBEV Benchmark

March 1, 2023 · View on GitHub

RoboBEV Benchmark

The official nuScenes metrics are considered in our benchmark:

Average Precision (AP)

The average precision (AP) defines a match by thresholding the 2D center distance d on the ground plane instead of the intersection over union (IoU). This is done in order to decouple detection from object size and orientation but also because objects with small footprints, like pedestrians and bikes, if detected with a small translation error, give $0IoU.WethencalculateAPasthenormalizedareaundertheprecisionrecallcurveforrecallandprecisionover10 IoU. We then calculate AP as the normalized area under the precision-recall curve for recall and precision over 10%. Operating points where recall or precision is less than \10% are removed in order to minimize the impact of noise commonly seen in low precision and recall regions. If no operating point in this region is achieved, the AP for that class is set to zero. We then average over-matching thresholds of \mathbb{D}={0.5, 1, 2, 4}metersandthesetofclassesmeters and the set of classes\mathbb{C}$ :

mAP= 1CDcCdDAPc,d.\text{mAP}= \frac{1}{|\mathbb{C}||\mathbb{D}|}\sum_{c\in\mathbb{C}}\sum_{d\in\mathbb{D}}\text{AP}_{c,d} .

True Positive (TP)

All TP metrics are calculated using d=2d=2 m center distance during matching, and they are all designed to be positive scalars. Matching and scoring happen independently per class and each metric is the average of the cumulative mean at each achieved recall level above $10%. If a \10% recall is not achieved for a particular class, all TP errors for that class are set to \1$.

  • Average Translation Error (ATE) is the Euclidean center distance in 2D (units in meters).
  • Average Scale Error (ASE) is the 3D intersection-over-union (IoU) after aligning orientation and translation ($1$ − IoU).
  • Average Orientation Error (AOE) is the smallest yaw angle difference between prediction and ground truth (radians). All angles are measured on a full $360-degree period except for barriers where they are measured on a \180$-degree period.
  • Average Velocity Error (AVE) is the absolute velocity error as the L2 norm of the velocity differences in 2D (m/s).
  • Average Attribute Error (AAE) is defined as $1 minus attribute classification accuracy (\1$ − acc).

nuScenes Detection Score (NDS)

mAP with a threshold on IoU is perhaps the most popular metric for object detection. However, this metric can not capture all aspects of the nuScenes detection tasks, like velocity and attribute estimation. Further, it couples location, size, and orientation estimates. nuScenes proposed instead consolidating the different error types into a scalar score:

NDS = 110 [5mAP+mTPTP (1min(1, mTP))].\text{NDS} = \frac{1}{10} [5\text{mAP}+\sum_{\text{mTP}\in\mathbb{TP}} (1-\min(1, \text{mTP}))] .

PETR-R50

CorruptionNDSmAPmATEmASEmAOEmAVEmAAE
Clean0.36650.31740.83970.27960.61580.95430.2326
Cam Crash0.23200.10650.93830.29750.72201.01690.2585
Frame Lost0.21660.08680.95130.30410.75971.00810.2629
Color Quant0.24720.17340.91210.36160.78071.16340.3473
Motion Blur0.22990.13780.95870.31640.84611.11900.2847
Brightness0.28410.21010.90490.30800.74291.08380.2552
Low Light0.15710.06850.94650.42220.92011.43710.4971
Fog0.28760.21610.90780.29280.74921.17810.2549
Snow0.14170.05821.04370.44111.01771.34810.4713

Experiment Log

Time: Fri Jan 20 23:29:31 2023

Camera Crash

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.27980.17660.88930.28640.66901.00170.2403
Moderate0.21000.07190.95980.29590.74331.05920.2600
Hard0.20610.07120.96580.31010.75380.98980.2752
Average0.23200.10650.93830.29750.72201.01690.2585

Frame Lost

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.28860.18960.88230.28580.66680.98860.2386
Moderate0.20200.05940.95100.30310.75631.02840.2666
Hard0.15940.01131.02060.32330.85591.00740.2836
Average0.21660.08680.95130.30410.75971.00810.2629

Color Quant

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.34110.28480.85170.28270.64360.98000.2553
Moderate0.26640.18140.90470.29810.75281.09710.2874
Hard0.13410.05410.97990.50400.94581.41310.4993
Average0.24720.17340.91210.36160.78071.16340.3473

Motion Blur

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.32390.25700.87810.28580.67270.97390.2356
Moderate0.20180.09860.97660.32140.88681.14080.2901
Hard0.16410.05791.02150.34200.97871.24230.3283
Average0.22990.13780.95870.31640.84611.11900.2847

Brightness

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.32410.26690.87430.28720.70330.99410.2351
Moderate0.27650.19970.90520.31170.75131.12500.2647
Hard0.25180.16370.93520.32510.77421.13240.2657
Average0.28410.21010.90490.30800.74291.08380.2552

Low Light

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.20210.10470.91320.36820.82261.43260.3983
Moderate0.15700.07040.92990.43640.89631.44520.5194
Hard0.11200.03040.99640.46191.04131.43340.5737
Average0.15710.06850.94650.42220.92011.43710.4971

Fog

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.30290.23750.89840.28750.72511.14190.2470
Moderate0.28600.21470.90970.29180.75391.18060.2582
Hard0.27390.19620.91530.29910.76871.21180.2595
Average0.28760.21610.90780.29280.74921.17810.2549

Snow

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.20000.11370.98630.32390.89981.27960.3582
Moderate0.11900.03171.08320.48151.13231.35180.4872
Hard0.10600.02921.06160.51781.02111.41290.5685
Average0.14170.05821.04370.44111.01771.34810.4713

References

@article{liu2022petr,
  title = {PETR: Position Embedding Transformation for Multi-View 3D Object Detection},
  author = {Liu, Yingfei and Wang, Tiancai and Zhang, Xiangyu and Sun, Jian},
  journal = {arXiv preprint arXiv:2203.05625},
  year = {2022},
}