Embracing Unknown Step by Step: Towards Reliable Sparse Training in Real World
Preprint
Abstract
Sparse training has emerged as a promising method for resource-efficient deep neural networks (DNNs) in real-world applications. However, the reliability of sparse models remains a crucial concern, particularly in detecting unknown out-of-distribution (OOD) data. This study addresses the knowledge gap by investigating the reliability of sparse training from an OOD perspective and reveals that sparse training exacerbates OOD unreliability. The lack of unknown information and the sparse constraints hinder the effective exploration of weight space and accurate differentiation between known and unknown knowledge. To tackle these challenges, we propose a new unknown-aware sparse training method, which incorporates a loss modification, auto-tuning strategy, and a voting scheme to guide weight space exploration and mitigate confusion between known and unknown information without incurring significant additional costs or requiring access to additional OOD data. Theoretical insights demonstrate how our method reduces model confidence when faced with OOD samples. Empirical experiments across multiple datasets, model architectures, and sparsity levels validate the effectiveness of our method, with improvements of up to \textbf{8.4\%} in AUROC while maintaining comparable or higher accuracy and calibration. This research enhances the understanding and readiness of sparse DNNs for deployment in resource-limited applications. Our code is available on: \url{https://github.com/StevenBoys/MOON}.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- Average of Pruning: Improving Performance and Stability of Out-of-Distribution DetectionIEEE Transactions on Neural Networks and Learning Systems, 2025
- Generalized Out-of-Distribution Detection: A SurveyInternational Journal of Computer Vision, 2024
- Neurogenesis Dynamics-inspired Spiking Neural Network Training Acceleration2023
- Dynamic Sparse Training via Balancing the Exploration-Exploitation Trade-off2023
- Comprehensive Graph Gradual Pruning for Sparse Training in Graph Neural NetworksIEEE Transactions on Neural Networks and Learning Systems, 2023
- Explainable, trustworthy, and ethical machine learning for healthcare: A surveyComputers in Biology and Medicine, 2022
- Dynamic Sparse Training for Deep Reinforcement Learning2022
- Does your dermatology classifier know what it doesn’t know? Detecting the long-tail of unseen conditionsMedical Image Analysis, 2022
- The MNIST Database of Handwritten Digit Images for Machine Learning Research [Best of the Web]IEEE Signal Processing Magazine, 2012
- 80 Million Tiny Images: A Large Data Set for Nonparametric Object and Scene RecognitionIEEE Transactions on Pattern Analysis and Machine Intelligence, 2008