TL;DR
This paper introduces Saliency-Diversified Deep Ensembles (SDDE), a novel method to improve deep learning models' robustness by encouraging ensemble members to focus on different image features. SDDE achieves state-of-the-art results in out-of-distribution (OOD) detection, calibration, and accuracy across various benchmarks, making models more reliable in real-world scenarios.
What Problem Does This Paper Address?
Deep neural networks excel at many computer vision tasks, but their performance degrades significantly when encountering data that differs from their training distribution (domain shift). This is a critical issue for real-world applications where data variability is common. While deep ensembles (combining multiple models) improve robustness, they often suffer from homogeneity, meaning the models learn similar patterns, limiting their overall effectiveness. This paper tackles the problem of creating more diverse and, consequently, more robust deep ensembles by specifically encouraging models to learn from different parts of the input image.
Methods
The core innovation is the Saliency-Diversified Deep Ensembles (SDDE) approach. Instead of training ensemble members independently or just diversifying their final outputs, SDDE focuses on diversifying the features they learn from. This is achieved by:
- Leveraging Saliency Maps: Saliency maps highlight the most important regions of an image for a model's prediction. The authors use GradCAM, a differentiable method for generating these maps.
- Diversity Loss Function: A novel loss function is introduced that penalizes high cosine similarity between the saliency maps of different ensemble members. This explicitly encourages models to focus on different input regions.
- Combined Optimization: The diversity loss is combined with the standard cross-entropy loss, allowing for joint optimization through gradient descent.
- Logit Aggregation for OOD Detection: For OOD detection, the paper proposes a Maximum Average Logit (MAL) score, which aggregates the logits (pre-softmax outputs) of ensemble members, showing improved performance over traditional probability averaging.
Datasets
The paper evaluates SDDE on several standard benchmarks:
- Image Classification & Calibration: CIFAR10, CIFAR100, MNIST, and ImageNet-1K.
- Out-of-Distribution (OOD) Detection: The OpenOOD benchmark, which includes various near-OOD and far-OOD datasets.
- Distribution Shifts: CIFAR10-C and CIFAR100-C (datasets with common corruptions).
Key Insights and Ideas
- Saliency Map Diversity is Key: The paper provides empirical evidence that higher saliency map similarity among ensemble members correlates with higher agreement in their predictions. This suggests that forcing models to look at different parts of the image is a promising avenue for improving ensemble diversity and performance.
- Feature Diversification is More Effective: Unlike previous methods that focused on diversifying model outputs or bottleneck features, SDDE's focus on input feature diversification leads to superior results.
- Logit Aggregation for OOD: The MAL score for OOD detection is shown to be effective, suggesting that averaging raw model outputs (logits) can be more robust than averaging probabilities for identifying out-of-distribution samples.
- OOD Data Integration: Extending SDDE to incorporate unlabeled OOD data during training (SDDEOOD) further boosts performance, demonstrating the synergy between feature diversification and outlier exposure techniques.
Key Results
- State-of-the-Art Performance: SDDE achieves new state-of-the-art (SOTA) results on multiple OpenOOD benchmarks for OOD detection, calibration, and accuracy.
- Improved Accuracy and Calibration: On CIFAR10 and CIFAR100, SDDE outperforms baselines in both accuracy and calibration. On ImageNet-1K, it also achieves the best accuracy and OOD detection scores.
- Robustness to Distribution Shifts: SDDE shows improved accuracy and calibration on corrupted datasets (CIFAR10-C, CIFAR100-C).
- Competitive with OOD Training: The SDDEOOD variant, which leverages unlabeled OOD data, achieves SOTA results on the OpenOOD benchmark, surpassing existing methods like Outlier Exposure (OE).
Limitations and Future Work
- Generalization to Unseen OOD Categories: The authors acknowledge that while SDDE performs well on existing benchmarks, its generalization to entirely new and unseen OOD categories requires further investigation.
- Benchmark Evolution: The field of OOD detection is rapidly evolving, and the applicability of SDDE to future, more challenging benchmarks needs to be tested.
- Sample Quality for OOD Training: When incorporating OOD data for training, concerns about the quality, diversity, and source of these samples remain important considerations.
- Future Directions: The paper suggests that further research could explore the real-world applicability and robustness of SDDE across a wider range of scenarios and datasets. The limitations of current benchmarks and the need for evolving evaluation methodologies are also highlighted.
Summary updated