Density-Softmax: Efficient Test-time Model for Uncertainty Estimation and Robustness under Distribution Shifts
Ha Manh Bui, Anqi Liu
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext c1f53a89-92fb-416e-8ab0-dbd0672a15eeCited by top-tier papers2
- Courtroom Analogy: New Perspective on Uncertainty-Aware ClassificationTaeseong Yoon, Heeyoung KimICML 2026
- MapUQ: Map with Uncertainty Quantification for Robust BEV Vectorized ConstructionShaoyuan Mo, MaQi, l r, Bohan Li et al.ICML 2026
Builds on20
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
- Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations
- Revisiting the Calibration of Modern Neural NetworksMatthias Minderer, Josip Djolonga, Rob Romijnders, Frances Hubis et al.NeurIPS 2021 · 633 citations
- Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance AwarenessJeremiah Z. Liu, Zi Lin, Shreyas Padhy, Dustin Tran et al.NeurIPS 2020 · 604 citations
Related papers
- Sparse Uncertainty Representation in Deep Learning with Inducing WeightsHippolyt Ritter, Martin Kukla, Cheng Zhang, Yingzhen LiNeurIPS 2021 · 23 citations
- Rethinking Approximate Gaussian Inference in ClassificationBálint Mucsányi, Nathaël Da Costa, Philipp HennigNeurIPS 2025 · 2 citations
- Amortized Conditional Normalized Maximum Likelihood: Reliable Out of Distribution Uncertainty EstimationAurick Zhou, Sergey LevineICML 2021 · 5 citations
- Deep Deterministic Uncertainty: A New Simple BaselineJishnu Mukhoti, Andreas Kirsch, Joost van Amersfoort, Philip H. S. Torr et al.CVPR 2023
- Blurs Behave Like Ensembles: Spatial Smoothings to Improve Accuracy, Uncertainty, and RobustnessNamuk Park, Songkuk KimICML 2022 · 26 citations
