DenseHybrid: Hybrid Anomaly Detection for Dense Open-set Recognition

07/06/2022
by   Matej Grcić, et al.
0

Anomaly detection can be conceived either through generative modelling of regular training data or by discriminating with respect to negative training data. These two approaches exhibit different failure modes. Consequently, hybrid algorithms present an attractive research goal. Unfortunately, dense anomaly detection requires translational equivariance and very large input resolutions. These requirements disqualify all previous hybrid approaches to the best of our knowledge. We therefore design a novel hybrid algorithm based on reinterpreting discriminative logits as a logarithm of the unnormalized joint distribution p̂(𝐱, 𝐲). Our model builds on a shared convolutional representation from which we recover three dense predictions: i) the closed-set class posterior P(𝐲|𝐱), ii) the dataset posterior P(d_in|𝐱), iii) unnormalized data likelihood p̂(𝐱). The latter two predictions are trained both on the standard training data and on a generic negative dataset. We blend these two predictions into a hybrid anomaly score which allows dense open-set recognition on large natural images. We carefully design a custom loss for the data likelihood in order to avoid backpropagation through the untractable normalizing constant Z(θ). Experiments evaluate our contributions on standard dense anomaly detection benchmarks as well as in terms of open-mIoU - a novel metric for dense open-set performance. Our submissions achieve state-of-the-art performance despite neglectable computational overhead over the standard semantic segmentation baseline.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset