Abstract
In countries that enabled patients to choose their own providers, a common problem is that the patients did not make rational decisions, and hence, fail to use healthcare resources efficiently. This might cause problems such as overwhelming tertiary facilities with mild condition patients, thus limiting their capacity of treating acute and critical patients. To address such maldistributed patient volume, it is essential to oversee patients choices before further evaluation of a policy or resource allocation. This study used nationwide insurance data, accumulated possible features discussed in existing literature, and used a deep neural network to predict the patients choices of hospital levels. This study also used explainable artificial intelligence methods to interpret the contribution of features for the general public and individuals. In addition, we explored the effectiveness of changing data representations. The results showed that the model was able to predict with high area under the receiver operating characteristics curve (AUC) (0.90), accuracy (0.90), sensitivity (0.94), and specificity (0.97) with highly imbalanced label. Generally, social approval of the provider by the general public (positive or negative) and the number of practicing physicians serving per ten thousand people of the located area are listed as the top effecting features. The changing data representation had a positive effect on the prediction improvement. Deep learning methods can process highly imbalanced data and achieve high accuracy. The effecting features affect the general public and individuals differently. Addressing the sparsity and discrete nature of insurance data leads to better prediction. Applications using deep learning technology are promising in health policy making. More work is required to interpret models and practice implementation.
Introduction
In healthcare systems characterized by universal coverage and "free choice," such as Taiwan’s National Health Insurance (NHI), a significant challenge is the absence of a strict gate-keeping mechanism. Patients frequently bypass primary care clinics to seek treatment at high-level medical centers, even for minor ailments. This "swarming" effect results in overcrowded tertiary facilities, inefficient resource allocation, and a reduced capacity for treating acute or critical cases. To design effective health policies, administrators must understand the drivers behind these patient choices. Traditional statistical models often struggle with the complex, non-linear relationships and the noisy, discrete nature of insurance claim data. Furthermore, the "black box" nature of many AI models can hinder their adoption by healthcare providers who require transparent explanations for predictions.
Methods
This study proposes a framework that integrates Deep Neural Networks (DNN) with Explainable AI (XAI) to predict and interpret hospital level choices.
Data and Feature Engineering
The research utilized the Taiwan National Health Insurance Research Database (NHIRD), analyzing over 8.8 million visiting records from 566,767 patients between 2008 and 2011. The target labels were categorized into four hospital levels: Medical Center, Regional Hospital, District Hospital, and Clinic. Eighteen features were identified across three categories: Patient (e.g., age, income), Provider (e.g., physician density, social approval), and Incident (e.g., severity).
Model Architecture
The core of the predictive engine is a Deep Neural Network. To address the sparsity of insurance data, an Autoencoder (AE) was employed for preprocessing, transforming discrete data into a lower-dimensional latent space to capture underlying medical similarities.
Interpretability and Imbalance
Given that 72% of visits occur at clinics, a random undersampling strategy was used to balance the training set. For interpretability, Shapley Additive Explanations (SHAP) were used to provide both global insights (general public trends) and local explanations (individual patient decisions).
Results
The integrated model demonstrated high performance in handling imbalanced healthcare data, achieving an AUC of 0.90, an accuracy of 0.90, sensitivity of 0.94, and specificity of 0.97. Notably, the inclusion of the Autoencoder preprocessing step resulted in a 0.03 increase in AUC compared to a standard DNN.
The SHAP analysis identified "social approval" proxies—specifically Most Frequent Provider Continuity (MFPC) and Least Frequent Provider Continuity (LFPC)—as the most significant predictors. This suggests that reputation and collective public experience are more influential than individual demographics. Local physician density also emerged as a top-three factor for the general population.
Discussion and Conclusion
While the model provides accurate and explainable predictions, certain limitations remain. The lack of precise spatial data (patient-to-hospital distance) and the reliance on hypothesis-based residency projections are areas for improvement. Future research should focus on validating these models across different regions and integrating these tools into real-time policy-making dashboards.
In conclusion, deep learning methods, particularly when combined with latent space transformations like Autoencoders, are highly effective for processing complex insurance data. The use of XAI methods like SHAP bridges the gap between high-performance "black box" models and the transparency required for healthcare policy implementation.
Summary updated