[Paper Review] Artificial neural networks condensation: A strategy to facilitate adaption of machine learning in medical settings by reducing computational burden
This paper proposes a neural network condensation strategy using pruning, architectural modification (hLSTM), and quantization to reduce computational burden in medical AI without sacrificing predictive accuracy. The approach achieves faster inference and reduced memory usage on ICU mortality prediction using the MIMIC-III dataset, with some models even outperforming baseline accuracy.
Machine Learning (ML) applications on healthcare can have a great impact on people's lives helping deliver better and timely treatment to those in need. At the same time, medical data is usually big and sparse requiring important computational resources. Although it might not be a problem for wide-adoption of ML tools in developed nations, availability of computational resource can very well be limited in third-world nations. This can prevent the less favored people from benefiting of the advancement in ML applications for healthcare. In this project we explored methods to increase computational efficiency of ML algorithms, in particular Artificial Neural Nets (NN), while not compromising the accuracy of the predicted results. We used in-hospital mortality prediction as our case analysis based on the MIMIC III publicly available dataset. We explored three methods on two different NN architectures. We reduced the size of recurrent neural net (RNN) and dense neural net (DNN) by applying pruning of "unused" neurons. Additionally, we modified the RNN structure by adding a hidden-layer to the LSTM cell allowing to use less recurrent layers for the model. Finally, we implemented quantization on DNN forcing the weights to be 8-bits instead of 32-bits. We found that all our methods increased computational efficiency without compromising accuracy and some of them even achieved higher accuracy than the pre-condensed baseline models.
Motivation & Objective
- To reduce computational burden in machine learning for healthcare, especially in low-resource settings.
- To maintain or improve predictive accuracy of neural networks in clinical applications despite model compression.
- To explore and implement neural network condensation techniques—pruning, architectural modification, and quantization—specifically for medical time-series data.
- To pioneer RNN pruning in clinical settings using in-hospital mortality prediction as a test case.
- To enable deployment of accurate ML models on slower, less powerful devices commonly found in third-world nations.
Proposed method
- Applied one-shot pruning to remove 'unused' neurons in recurrent neural networks (RNNs) and dense neural networks (DNNs), retaining only the most important weights.
- Modified LSTM architecture by adding a hidden layer within the LSTM cell (hLSTM), reducing the need for multiple stacked LSTM layers.
- Implemented 8-bit weight quantization on DNNs, replacing 32-bit floating-point weights to reduce memory and computation.
- Trained and evaluated models on the MIMIC-III dataset, using in-hospital mortality as the prediction target with sequential clinical time-series data.
- Used Keras to implement the hLSTM layer and applied standard training procedures with early stopping and L2 regularization.
- Evaluated performance using standard metrics such as AUC-ROC and accuracy, comparing condensed models to full-precision baselines.
Experimental results
Research questions
- RQ1Can neural network pruning reduce model size and inference time in RNNs without degrading performance on clinical time-series prediction?
- RQ2Does integrating a deep neural network within the LSTM cell (hLSTM) allow for fewer layers while maintaining or improving predictive accuracy?
- RQ3Can 8-bit quantization of DNN weights significantly reduce memory and computation with minimal accuracy loss in medical prediction tasks?
- RQ4To what extent can these condensation techniques collectively enable deployment of accurate ML models on low-resource devices in global health settings?
- RQ5Is RNN pruning feasible and effective in clinical applications, particularly for in-hospital mortality prediction?
Key findings
- All condensation techniques—pruning, hLSTM, and quantization—significantly reduced model size and computational requirements without compromising prediction accuracy.
- The hLSTM model achieved higher AUC-ROC (0.892) than the baseline RNN (0.885), indicating improved performance despite architectural simplification.
- Pruning reduced the number of parameters in the DNN by up to 90%, with no significant drop in accuracy, demonstrating effective parameter efficiency.
- Quantization to 8-bit weights reduced memory usage by approximately 75% and accelerated inference speed, with minimal impact on model performance.
- The RNN model with pruning maintained an AUC-ROC of 0.883, comparable to the baseline, while reducing training and inference time.
- The study demonstrates that neural network condensation is not only feasible but beneficial in clinical ML, enabling deployment on low-end hardware without accuracy loss.
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.