Skip to main content
QUICK REVIEW

[Paper Review] Estimating Model Uncertainty of Neural Networks in Sparse Information Form

Jong‐Seok Lee, Matthias Humt|arXiv (Cornell University)|Jun 20, 2020
Sparse and Compressive Sensing TechniquesEngineering58 references12 citations
TL;DR

This paper proposes a sparse information form representation for model uncertainty in deep neural networks by leveraging the sparsity of the information matrix (inverse covariance) in the spectral domain. Using low-rank approximation and a novel sparsification algorithm, it enables scalable Bayesian deep learning with analytical sampling, achieving state-of-the-art performance in uncertainty estimation and efficiency on multiple benchmarks.

ABSTRACT

We present a sparse representation of model uncertainty for Deep Neural Networks (DNNs) where the parameter posterior is approximated with an inverse formulation of the Multivariate Normal Distribution (MND), also known as the information form. The key insight of our work is that the information matrix, i.e. the inverse of the covariance matrix tends to be sparse in its spectrum. Therefore, dimensionality reduction techniques such as low rank approximations (LRA) can be effectively exploited. To achieve this, we develop a novel sparsification algorithm and derive a cost-effective analytical sampler. As a result, we show that the information form can be scalably applied to represent model uncertainty in DNNs. Our exhaustive theoretical analysis and empirical evaluations on various benchmarks show the competitiveness of our approach over the current methods.

Motivation & Objective

  • To address the intractable computational cost of representing full covariance matrices in Bayesian neural networks.
  • To exploit spectral sparsity in the information matrix (inverse covariance) for efficient uncertainty representation.
  • To develop a low-rank approximation method that preserves Kronecker structure in the eigenbasis of the information matrix.
  • To derive a memory-efficient analytical sampler for the posterior in information form.
  • To demonstrate state-of-the-art performance in uncertainty calibration and out-of-distribution detection.

Proposed method

  • Represents the posterior as a multivariate normal distribution in information form, parameterized by the information vector and information matrix instead of mean and covariance.
  • Applies low-rank approximation (LRA) to the Kronecker-factored information matrix, preserving its spectral structure through eigendecomposition.
  • Introduces a spectral sparsification algorithm that maintains Kronecker product structure during low-rank reduction.
  • Derives an analytical sampler that reduces space complexity from O(N³) to O(L³), where L is the low-rank dimension.
  • Uses Laplace approximation with improved diagonal variance correction to enhance uncertainty estimation.
  • Employs a plug-in codebase for practical deployment of the method in standard deep learning pipelines.

Experimental results

Research questions

  • RQ1Can spectral sparsity in the information matrix of DNNs be exploited to enable scalable Bayesian deep learning?
  • RQ2Can low-rank approximation of the information matrix preserve the Kronecker structure necessary for efficient computation?
  • RQ3Does the proposed information form enable more accurate and efficient uncertainty estimation than existing methods?
  • RQ4How does the performance of the method compare to baseline approaches in terms of calibration and OOD detection?
  • RQ5What is the computational overhead of the proposed method in terms of sampling and information matrix computation?

Key findings

  • The information matrix exhibits significant spectral sparsity in DNNs, enabling effective low-rank approximation.
  • The proposed method achieves state-of-the-art uncertainty calibration and OOD detection performance across multiple benchmarks, including ImageNet.
  • Sampling with the INF method is faster than KFAC and EFB on ResNet architectures due to efficient low-rank operations, with INF sampling time at 4.74ms on ResNet18.
  • Information matrix computation is practical, taking under a day on ImageNet for all methods, with INF and EFB adding negligible overhead to KFAC.
  • On DenseNet architectures, the benefit of low-rank approximation is reduced due to many small layers, making sampling slower than KFAC despite lower memory usage.
  • The method significantly reduces calibration error compared to deterministic networks and outperforms SWAG and SWA in uncertainty estimation.

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.