Skip to main content
QUICK REVIEW

[Paper Review] BAR: Bayesian Activity Recognition using variational inference

Ranganath Krishnan, Mahesh Subedar|arXiv (Cornell University)|Nov 8, 2018
Anomaly Detection Techniques and ApplicationsComputer Science21 references5 citations
TL;DR

This paper proposes a Bayesian deep learning framework using stochastic variational inference to quantify uncertainty in visual activity recognition. By approximating the posterior over network weights and leveraging Monte Carlo sampling, the method provides more reliable confidence estimates and improves precision-recall AUC by 6.2% over non-Bayesian baselines on the Moments-in-Time dataset.

ABSTRACT

Uncertainty estimation in deep neural networks is essential for designing reliable and robust AI systems. Applications such as video surveillance for identifying suspicious activities are designed with deep neural networks (DNNs), but DNNs do not provide uncertainty estimates. Capturing reliable uncertainty estimates in safety and security critical applications will help to establish trust in the AI system. Our contribution is to apply Bayesian deep learning framework to visual activity recognition application and quantify model uncertainty along with principled confidence. We utilize the stochastic variational inference technique while training the Bayesian DNNs to infer the approximate posterior distribution around model parameters and perform Monte Carlo sampling on the posterior of model parameters to obtain the predictive distribution. We show that the Bayesian inference applied to DNNs provide reliable confidence measures for visual activity recognition task as compared to conventional DNNs. We also show that our method improves the visual activity recognition precision-recall AUC by 6.2% compared to non-Bayesian baseline. We evaluate our models on Moments-In-Time (MiT) activity recognition dataset by selecting a subset of in- and out-of-distribution video samples.

Motivation & Objective

  • To address the lack of reliable uncertainty estimation in deep neural networks for safety-critical visual activity recognition applications.
  • To apply Bayesian deep learning with variational inference to model predictive uncertainty and confidence in activity recognition.
  • To evaluate whether Bayesian DNNs can better identify incorrect predictions and out-of-distribution samples compared to standard DNNs.
  • To demonstrate improved performance in uncertainty quantification using BALD and predictive entropy metrics.

Proposed method

  • Utilizes stochastic variational inference to approximate the posterior distribution over deep neural network weights during training.
  • Employs Monte Carlo sampling over the inferred posterior to compute the predictive distribution for new inputs.
  • Applies the evidence lower bound (ELBO) objective to optimize variational parameters via gradient-based optimization.
  • Uses predictive entropy and BALD (Bayesian Active Learning by Disagreement) to quantify model uncertainty.
  • Trains a 3D ConvNet (C3D) architecture on trimmed video clips from the Moments-in-Time dataset.
  • Compares uncertainty estimates between Bayesian DNNs (via variational inference and MC dropout) and standard DNNs using SoftMax probabilities.

Experimental results

Research questions

  • RQ1Can stochastic variational inference in Bayesian DNNs provide more reliable confidence estimates than standard DNNs in visual activity recognition?
  • RQ2How do Bayesian DNNs perform in distinguishing in-distribution from out-of-distribution video samples using uncertainty measures?
  • RQ3Does the proposed Bayesian framework improve precision-recall AUC compared to non-Bayesian DNN baselines?
  • RQ4How do BALD and predictive entropy metrics compare in capturing uncertainty for correct and incorrect predictions?

Key findings

  • The Bayesian DNN with stochastic variational inference improved the precision-recall AUC by 6.2% compared to the non-Bayesian DNN baseline on the Moments-in-Time dataset.
  • Predictive mean probabilities from Monte Carlo sampling in Bayesian DNNs showed lower confidence for false predictions, unlike the overconfident SoftMax probabilities of standard DNNs.
  • Bayesian DNNs demonstrated significantly lower confidence on out-of-distribution samples, with the stochastic variational inference method showing a more pronounced peak toward low confidence values than MC dropout.
  • BALD and predictive entropy measures clearly separated in-distribution and out-of-distribution samples, with stochastic variational inference showing better peak separation than MC dropout.
  • The density histograms of confidence and uncertainty measures confirmed that Bayesian models reliably capture uncertainty, especially for incorrect and OOD predictions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.