[Paper Review] Latent Discriminant deterministic Uncertainty
This paper proposes Latent Discriminant Deterministic Uncertainty (LDU), a computationally efficient method for uncertainty estimation in deep neural networks using a learnable prototype-based latent space. By replacing the restrictive Lipschitz constraint with a discriminative prototype learning mechanism, LDU achieves uncertainty estimation with a single forward pass, matching Deep Ensembles' performance on image classification, semantic segmentation, and monocular depth estimation while being significantly faster and lighter in inference and training.
Predictive uncertainty estimation is essential for deploying Deep Neural Networks in real-world autonomous systems. However, most successful approaches are computationally intensive. In this work, we attempt to address these challenges in the context of autonomous driving perception tasks. Recently proposed Deterministic Uncertainty Methods (DUM) can only partially meet such requirements as their scalability to complex computer vision tasks is not obvious. In this work we advance a scalable and effective DUM for high-resolution semantic segmentation, that relaxes the Lipschitz constraint typically hindering practicality of such architectures. We learn a discriminant latent space by leveraging a distinction maximization layer over an arbitrarily-sized set of trainable prototypes. Our approach achieves competitive results over Deep Ensembles, the state-of-the-art for uncertainty prediction, on image classification, segmentation and monocular depth estimation tasks. Our code is available at https://github.com/ENSTA-U2IS/LDU
Motivation & Objective
- Address the computational inefficiency of state-of-the-art uncertainty estimation methods like Deep Ensembles in real-time autonomous systems.
- Overcome the scalability and stability limitations of existing Deterministic Uncertainty Methods (DUMs) in deep networks, especially for high-resolution tasks.
- Develop a lightweight, single-forward-pass uncertainty estimation technique that maintains high accuracy and robustness across diverse computer vision tasks.
- Ensure the method avoids feature collapse and generalizes across image classification, semantic segmentation, and monocular depth estimation.
- Provide a plug-and-play solution that enhances baseline DNN performance without requiring architectural overhaul or complex training pipelines.
Proposed method
- Introduce a learnable set of prototypes in the latent space of a DNN to represent learned feature distributions.
- Use a distinction maximization layer to optimize prototypes such that their distances to input features reflect uncertainty and classification confidence.
- Train the model with a confidence-based loss that predicts the network’s error using the prototype distances, enabling uncertainty estimation without dropout or ensembling.
- Replace the standard Lipschitz constraint in DUMs with a prototype-based mechanism to improve scalability and stability in deeper networks.
- Integrate LDU as a plug-in layer on top of existing DNN backbones (e.g., DenseNet, ResNet) without modifying the main network architecture.
- Optimize the prototype parameters end-to-end during training using a differentiable loss that aligns prototype distances with prediction confidence and error.
Experimental results
Research questions
- RQ1Can a prototype-based latent space replace the Lipschitz constraint in DUMs to improve scalability and stability in deep networks?
- RQ2Does the proposed LDU method achieve uncertainty estimation performance comparable to Deep Ensembles while maintaining low inference cost?
- RQ3Can LDU improve both prediction accuracy and uncertainty quantification across diverse vision tasks like semantic segmentation and monocular depth estimation?
- RQ4How robust is LDU to distribution shift and out-of-distribution samples across different computer vision benchmarks?
- RQ5To what extent does LDU prevent feature collapse during training compared to other DUMs?
Key findings
- LDU achieves uncertainty estimation performance on par with Deep Ensembles on image classification (CIFAR-10, CIFAR-100), semantic segmentation (Cityscapes), and monocular depth estimation (KITTI), with significantly lower computational cost.
- On Cityscapes, LDU matches the mIoU of the baseline model (80.2%) while improving uncertainty calibration, outperforming other DUMs and achieving near-Deep Ensemble performance on OOD detection.
- In monocular depth estimation on KITTI, LDU achieves comparable depth accuracy (e.g., 0.0776 for δ1) and uncertainty quality to Single-PU and MC-Dropout, while being faster and more parameter-efficient.
- LDU inference time is nearly identical to the baseline (14ms vs. 14ms on Cityscapes), while Deep Ensembles require 56ms, demonstrating its real-time suitability.
- Training time for LDU is only 177.8ms per image (vs. 499.2ms for Deep Ensembles), and it uses 39.76M parameters—significantly less than Deep Ensembles (119.28M), proving its efficiency.
- Ablation studies show that LDU is robust to hyperparameters #p (number of prototypes) and λ (regularization weight), with stable performance across different settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.