Density-Softmax: Efficient Test-time Model for Uncertainty Estimation and Robustness under Distribution Shifts

Ha Manh Bui, Anqi Liu
2/13/2023
cs.LGstat.ML

No official code found. Best implementation: Angie-Lab-JHU/density_softmax (8 stars, Apache-2.0, last commit 2024-05-28).

Abstract

Sampling-based methods, e.g., Deep Ensembles and Bayesian Neural Nets have become promising approaches to improve the quality of uncertainty estimation and robust generalization. However, they suffer from a large model size and high latency at test-time, which limits the scalability needed for low-resource devices and real-time applications. To resolve these computational issues, we propose Density-Softmax, a sampling-free deterministic framework via combining a density function built on a Lipschitz-constrained feature extractor with the softmax layer. Theoretically, we show that our model is the solution of minimax uncertainty risk and is distance-aware on feature space, thus reducing the over-confidence of the standard softmax under distribution shifts. Empirically, our method enjoys competitive results with state-of-the-art techniques in terms of uncertainty and robustness, while having a lower number of model parameters and a lower latency at test-time.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Density-Softmax: Efficient Test-time Model for Uncertainty Estimation and Robustness under Distribution Shifts (ICML 2024).

80Shell, PythonJun 2, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{bui2023densitysoftmax,
  title  = {Density-Softmax: Efficient Test-time Model for Uncertainty Estimation and Robustness under Distribution Shifts},
  author = {Ha Manh Bui and Anqi Liu},
  year   = {2023},
  eprint = {2302.06495},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.06495v3},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.06495.svg)](https://codeofpaper.com/paper/2302.06495)

Discussion