1 of 19

Uncertainty Aware Proposal Segmentation for Unknown Object Detection

WACV DNOW Workshop

Yimeng Li and Jana Kosecka

2 of 19

Task: Anomaly Detection in Driving Scenes

  • In autonomous driving, unknown objects can appear on the road and become a potential threat to safety.

3 of 19

Task: Anomaly Detection in Driving Scenes

  • Detect these anomalies not encountered by an object detector/semantic segmentation model in the training data.

Semantic Segmentation

Outlier Detection

RGB Input

4 of 19

Existing Methods

[Detecting the unexpected via image resynthesis,

Krzyzstof et al. ICCV’2019]

[Pixel-wise anomaly detection in complex driving scenes,

Giancarlo et al. CVPR’2021]

5 of 19

Approach: Proposal Segmentation and Classification

  • We do semantic segmentation on object proposals accompanied by uncertainty estimation through RBF-Network. Pixels with high uncertainty to classify into known background categories are masked out as object candidates.
  • Further classification between known object categories on the masked-out pixels determines if it is an out-of-dist object.

Extract Proposal and Feature Map

Proposal Segmentation

Proposal Classification

RGB image

RPN

EdgeBox

Object Proposal

Feature Map

Mask-RCNN or

DeeplabV3+

Proposal Feature Map

Semantic SegmentationRBF-Net

Object Mask

Max Pool

Mask Embedding

Classification with Uncertainty Estimation

Prediction

and Uncertainty

Person 0.012

Car 0.036

Bicycle 0.048

Unknown 0.98

6 of 19

Proposal Segmentation

  • The proposal segmentation model takes
    • An object proposal generated by RPN [1] or EdgeBox [2]
    • An associated feature map from MaskRCNN [3] or DeeplabV3+ [4]
  • Label each pixel of the proposal into one of the known semantic categories and estimate its uncertainty
  • Pixels with high uncertainty on the background classes forms the object mask

[1] Ren et al. 2017, [2] Zitnick et al. 2014, [3] He et al. 2017, [4] Chen et al. 2018

7 of 19

Proposal Classification

  • Apply max-pooling on the feature map associated with the mask
  • Pass the resulting feature to Radial Basis Function Network (RBFN) for classification with uncertainty

8 of 19

Radial Basis Function Network (RBFN)

 

[1] Amersfoort et al. 2020

9 of 19

Improve RBFN: Boundary Regularization

  • RBFN is susceptible to feature collapse if having multiple conv layers [1]
  • Conflict with batch normalization and gradient penalty
  • Boundary Regularization
    • enforce a uniform distribution for the boundary pixels and maximize the classification performance on the in-distribution pixels

(a) Object Proposal

(b) Outlier Annotation

(c) RBFN Uncertainty

(d) RBFN Object Mask

(e) NoConv Uncertainty

(f) NoConv Object Mask

(g) BC Uncertainty

(h) BC Object Mask

[1] Jeremiah et al. 2020

10 of 19

Toy Example in 2D Dimension

  • Use two Gaussian blobs (red and green) to represent known semantic features
  • Uniform distributed blue points represent unknown semantic features in (a)
  • Point brightness represents estimated certainty if the points are classified into the center red gaussian blob in (b) (c) (d) (e)

11 of 19

Experiment Setup: Proposal Segmentation and Whole Image Segmentation

  • Training: Cityscapes [1]
  • Evaluation: Lost&Found [2], Fishyscapes [3], RoadAnomaly [4]
  • Objective: Detect the anomalous/out-of-dist object pixels
  • Metrics:
    • AUROC (AC): Area under the ROC curve
    • Average Precision (AP): average over in-distribution and out-of-distribution
    • FPR95: False positive rate at 95% true positive rate

[1] Marius et al. 2017, [2] Pinggera et al. 2016, [3] Blum et al. 2019, [4] Lis et al. 2019

12 of 19

Results on Proposal Segmentation

Method

Lost&Found (AC/AP/FPR95)

RoadAnomaly (AC/AP/FPR95)

Fishyscapes

(AC/AP/FPR95)

DeeplabV3+-RBFN [1]

73.8 / 40.3 / 55.5

60.1 / 39.9 / 72.3

82.7 / 64.3 / 42.8

GAN [2]

85.8 / 58.5 / 33.1

70.6 / 54.0 / 55.7

84.0 / 63.9 / 40.0

Ours

92.1 / 70.3 / 23.4

76.2 / 56.5 / 47.3

82.8 / 56.3 / 43.0

[1] Amersfoort et al. 2020, [2] Krzysztof et al. 2019

13 of 19

Results on Whole Image Segmentation

Method

Lost&Found (AC/AP/FPR95)

RoadAnomaly (AC/AP/FPR95)

Fishyscapes

(AC/AP/FPR95)

DeeplabV3+-RBFN [1]

68.9 / 3.3 / 54.7

73.2 / 20.0 / 54.1

78.2 / 14.7 / 44.9

GAN [2]

84.2 / 10.1 / 28.9

86.1 / 42.3 / 32.2

82.6 / 16.1 / 40.2

Resynthesis++ [3]

95.2 / 53.8 / 13.8

84.6 / 41.5 / 45.6

92.7 / 56.3 / 26.5

Ours

90.7 / 32.8 / 24.9

78.7 / 45.3 / 37.3

88.0 / 34.3 / 41.5

[1] Amersfoort et al. 2020, [2] Krzysztof et al. 2019, [3] Giancarlo. 2021

14 of 19

Proposal Segmentation

15 of 19

Whole Image Segmentation

16 of 19

Detect Mask-RCNN False Predictions

17 of 19

Result on Indoor Scenes

  • Trained on ADE20K [1]
  • Evaluated on AVD [2]

[1] Zhou et al. 2017, [2] Ammirato et al. 2017

18 of 19

Conclusion

  • Semantic Segmentation on detected Object Proposals reduces the distraction from the background.

  • Using Radial Basis Function Network and Boundary Constraint is well suited for uncertainty quantization.

  • Competitive performance on multiple datasets and indoor scenes.

19 of 19

  • Thank you