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}))] .

BEVFormer-Small

CorruptionNDSmAPmATEmASEmAOEmAVEmAAE
Clean0.47870.37000.72120.27920.40650.43640.2201
Cam Crash0.27710.11300.86270.30990.53980.83760.2446
Frame Lost0.24590.09330.89590.34110.57420.91540.2804
Color Quant0.32750.21090.84760.29430.52340.85390.2601
Motion Blur0.25700.13440.89950.32640.67740.96250.2605
Brightness0.37410.26970.80640.28300.47960.81620.2226
Low Light0.24130.11910.88380.35980.64701.03910.3323
Fog0.35830.24860.81310.28620.50560.83010.2251
Snow0.18090.06350.96300.38550.77411.10020.3863

Experiment Log

Time: Mon Feb 13 13:47:14 2023

Camera Crash

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.32950.18010.82840.29430.49460.75970.2285
Moderate0.26640.09650.89860.30870.53650.82260.2524
Hard0.23530.06250.86110.32660.58840.93040.2530
Average0.27710.11300.86270.30990.53980.83760.2446

Frame Lost

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.32830.19470.82960.29230.49340.84050.2350
Moderate0.23780.06840.90130.32290.57320.90900.2576
Hard0.17170.01670.95690.40810.65590.99680.3486
Average0.24590.09330.89590.34110.57420.91540.2804

Color Quant

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.38960.28840.79600.28060.44680.78780.2345
Moderate0.34150.22470.82810.28680.50230.83390.2578
Hard0.25150.11970.91860.31560.62110.94010.2881
Average0.32750.21090.84760.29430.52340.85390.2601

Motion Blur

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.35820.24650.81950.28830.49810.81460.2304
Moderate0.22460.09700.92060.33330.71921.03160.2657
Hard0.18830.05970.95830.35750.81481.04130.2853
Average0.25700.13440.89950.32640.67740.96250.2605

Brightness

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.39360.29560.79110.28070.45170.79100.2273
Moderate0.37350.26900.80930.28440.47980.81320.2237
Hard0.35510.24460.81880.28400.50730.84450.2168
Average0.37410.26970.80640.28300.47960.81620.2226

Low Light

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.30430.18080.84800.29980.58620.87890.2488
Moderate0.24490.11980.90060.32350.65761.00330.2687
Hard0.17480.05670.90280.45600.69721.23520.4795
Average0.24130.11910.88380.35980.64701.03910.3323

Fog

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.37110.26500.80330.28370.49200.81710.2176
Moderate0.36040.25110.80820.28570.50500.82750.2246
Hard0.34330.22980.82790.28930.51970.84580.2332
Average0.35830.24860.81310.28620.50560.83010.2251

Snow

SeverityNDSmAPmATEmASEmAOEmAVEmAAE
Easy0.22120.09510.95110.33110.67831.06300.3032
Moderate0.16480.05090.96540.40980.80671.07910.4246
Hard0.15670.04460.97240.41550.83741.15850.4310
Average0.18090.06350.96300.38550.77411.10020.3863

References

@article{li2022bevformer,
  title = {BEVFormer: Learning Bird’s-Eye-View Representation from Multi-Camera Images via Spatiotemporal Transformers},
  author = {Li, Zhiqi and Wang, Wenhai and Li, Hongyang and Xie, Enze and Sima, Chonghao and Lu, Tong and Qiao, Yu and Dai, Jifeng},
  journal = {arXiv preprint arXiv:2203.17270},
  year = {2022},
}