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-VovNet

CorruptionNDSmAPmATEmASEmAOEmAVEmAAE
Clean0.45500.40350.73620.27100.43160.82490.2039
Cam Crash0.29240.14080.81670.28540.54920.90140.2267
Frame Lost0.27920.11530.83110.29090.56620.88160.2144
Color Quant0.29680.20890.88180.34550.59971.08750.3123
Motion Blur0.24900.13950.95210.31530.74241.03530.2639
Brightness0.38580.31990.79820.27790.52560.93420.2112
Low Light0.23050.12210.88970.36450.69601.23110.3553
Fog0.37030.28150.83370.27780.49820.88330.2111
Snow0.26320.16530.89800.31380.70341.13140.2886

Experiment Log

Time: Fri Jan 20 23:39:21 2023

Camera Crash

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.33480.21070.80520.28190.52530.87170.2216
Moderate0.26300.09980.84510.28360.54060.95660.2431
Hard0.27950.11180.79980.29070.58170.87590.2155
Average0.29240.14080.81670.28540.54920.90140.2267

Frame Lost

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.36190.24590.77650.27610.48160.86780.2083
Moderate0.26180.08280.83230.29080.56140.89740.2143
Hard0.21400.01710.88460.30590.65560.87950.2205
Average0.27920.11530.83110.29090.56620.88160.2144

Color Quant

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.42540.36470.76390.27480.45840.85580.2171
Moderate0.31560.22120.85910.29540.57360.97740.2447
Hard0.14950.04081.02240.46620.76701.42920.4752
Average0.29680.20890.88180.34550.59971.08750.3123

Motion Blur

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.38260.30230.83190.27580.51370.85870.2049
Moderate0.20670.07930.96820.31810.76651.09430.2767
Hard0.15750.03691.05630.35190.94711.15290.3102
Average0.24900.13950.95210.31530.74241.03530.2639

Brightness

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.43480.37500.75860.27180.45950.83360.2035
Moderate0.37850.31210.80020.27880.53390.95320.2099
Hard0.34410.27260.83570.28300.58351.01590.2202
Average0.38580.31990.79820.27790.52560.93420.2112

Low Light

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.29880.19250.85030.29440.57401.10100.2562
Moderate0.24270.12040.88790.32740.67731.23400.2825
Hard0.15000.05330.93080.47160.83671.35820.5271
Average0.23050.12210.88970.36450.69601.23110.3553

Fog

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.39560.31510.80940.27570.47260.85660.2052
Moderate0.36860.28120.83310.27850.50470.89000.2131
Hard0.34680.24820.85850.27930.51730.90330.2149
Average0.37030.28150.83370.27780.49820.88330.2111

Snow

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.34940.27150.82620.28330.54390.97190.2380
Moderate0.23120.12320.92340.31790.76351.19080.2995
Hard0.20900.10120.94430.34010.80291.23160.3283
Average0.26320.16530.89800.31380.70341.13140.2886

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},
}