1. Introduction
The advent of precision medicine has transformed healthcare delivery, with personalized drug delivery systems (PDDS)assuming a critical role in modern medical practice. Conventional drug delivery systems often adopt a "one-size-fits-all" approach, disregarding individual patient variability, which may lead to suboptimal therapeutic outcomes or unnecessary side effects. The rapid advancement of machine learning techniques has introduced novel strategies to address these challenges.
This study aims to develop a machine learning-based prediction model for personalized drug delivery. By analyzing multidimensional medical data-including patient demographics, clinical indicators, and treatment records, combined with modern machine learning algorithms, we seek to customize optimal drug delivery strategies for individual patients. This approach not only enhances therapeutic efficacy but also reduces the risk of adverse reactions, thereby enhancing the overall quality of healthcare.
The primary objectives of this study are to: (1) establish a reliable patient data analysis framework, (2) develop and optimize machine learning models for predicting personalized drug release curves, and (3) evaluate the performance of different machine learning algorithms in this application.
2. Literature Review
The integration of artificial intelligence (AI) and machine learning into drug delivery systems represent a significant advancement in pharmaceutical technology. The literature review reveals several key developments and perspectives in this field.
Kamaly et al. provided a comprehensive review of degradable controlled-release polymers and polymeric nanoparticles, establishing the fundamental mechanisms of drug release control [
1]. Their work highlighted the importance of understanding polymer-drug interactions and release kinetics, which serves as a foundation for developing intelligent drug delivery systems. They particularly emphasized how different polymer architectures and properties can be manipulated to achieve desired drug release profiles, which is crucial for personalized medicine applications.
Building on these fundamentals, Schneider et al. presented a paradigm shift in drug design through the lens of artificial intelligence [
2]. Their research demonstrated how AI technologies could revolutionize traditional drug development approaches, particularly in predicting drug-target interactions and optimizing delivery parameters. They proposed that machine learning algorithms could significantly reduce the time and cost associated with drug development while improving the accuracy of delivery predictions.
Hassanzadeh et al. further explored the significance of artificial intelligence in drug delivery system design [
3]. Their work emphasized how AI could enhance the development of smart drug delivery systems by optimizing various parameters such as particle size, drug loading efficiency, and release kinetics. They particularly highlighted the potential of machine learning algorithms in predicting drug release patterns and personalizing treatment regimens based on patient-specific factors.
Recent developments, as documented by Gholap et al., have shown remarkable progress in applying AI to drug delivery and development [
4]. Their comprehensive review detailed how various machine learning techniques, including deep learning and ensemble methods, can be effectively utilized to design more efficient drug delivery systems. They specifically addressed how AI can help in predicting drug-polymer compatibility and optimizing formulation parameters.
Serrano et al. focused on the revolutionary impact of AI applications in personalizing medicine through improved drug discovery and delivery methods [
5]. Their research demonstrated how machine learning algorithms could analyze patient-specific data to optimize drug delivery parameters, potentially leading to more effective and safer treatments. They emphasized the role of AI in developing predictive models that can account for individual patient variations in drug response.
Vora et al. provided insights into the practical applications of AI in pharmaceutical technology and drug delivery design [
6]. Their work highlighted how machine learning algorithms could be used to predict drug release profiles and optimize delivery system parameters. They particularly emphasized the potential of AI in developing smart drug delivery systems that can adapt to patient-specific needs and conditions.
Collectively, these studies illustrate the evolving landscape of AI applications in drug delivery systems, highlighting both the progress made and the potential for future developments. The literature indicates that machine learning approaches can significantly improve the efficiency and effectiveness of drug delivery systems while moving towards more personalized treatment approaches. However, it also indicates that continued research is needed to fully realize the potential of AI in this field, particularly in validating predictive models and implementing them in clinical settings.
This comprehensive body of research provides a strong foundation for our current study, which aims to develop and implement machine learning models for predicting personalized drug delivery profiles. The existing literature supports our approach while highlighting areas where our research can contribute to advancing the field further.
3. Data Introduction
This study uses patient data from medical data sets for analysis. The data set contains 10,000 patient records, covering several key medical characteristic variables. Specifically, the data set contains important indicators such as basic demographic characteristics of patients (such as age and gender), medical insurance type, diagnosis results, hospitalization information (including hospitalization type and length of stay) and medical expenses. All patient data are anonymized to protect patient privacy. The disease diagnosis in the data set covers many common diseases, including cardiovascular diseases, respiratory diseases, digestive system diseases, etc., and has strong representativeness and universality.
Before analyzing the original dataset, we first performed data cleaning, including outlier removal, missing value processing, and other steps, to remove erroneous data and improve the accuracy and reliability of subsequent analysis.
In order to ensure the data quality, this paper preprocesses the original data set, including missing value processing, abnormal value detection and processing. In the process of data cleaning, this paper pays special attention to the distribution characteristics of numerical variables (such as medical expenses and hospital stay), and codes and standardizes classified variables (such as insurance types and diagnosis results). After data preprocessing, a complete and reliable analysis sample is finally obtained, which provides a solid data foundation for the training and verification of the subsequent machine learning model.
The dataset's key advantage lies in its rich clinical and treatment-related information, making it highly valuable for developing personalized drug delivery models.By analyzing this multidimensional patient data, we can explore the relationship between individual characteristics and treatment outcomes, thereby supporting the optimization of drug delivery systems.
Table 1 shows the variable explanation of the data set.
Figure 1 shows the number distribution of male and female patients with different blood types. Through this chart, we can intuitively observe the difference in the number of patients of different sexes in each blood group category. From the overall distribution, the number of male and female patients in each blood type category fluctuates to some extent, which indicates that there may be some potential correlation between blood type and gender. For example, in some blood types (e.g., A+, B+, etc.), a noticeable disparity exists between male and female patient counts. This may suggest that gender plays a role in blood group distribution, potentially due to underlying genetic or physiological factors.
Figure 2 shows the number distribution of patients with various diseases under different blood types. The figure shows the number of patients with arthritis, asthma, cancer, diabetes, hypertension, obesity and other diseases in different blood types. As can be seen from the figure, the number of patients with different diseases in each blood type is uneven. Taking the A+blood group as an example, the number of patients suffering from diseases such as diabetes and hypertension is relatively large; In the B+blood group, the number of patients with asthma and obesity may be more prominent. This shows that there may be some relationship between blood type and disease type, and people with certain blood types may have higher susceptibility to specific diseases.
Figure 3 illustrates the distribution of patients with various medical conditions across different admission types, including emergency and elective admissions. The data reveal distinct differences in admission patterns among disease categories.
For instance, patients with arthritis are predominantly admitted on an elective basis, while patients with asthma and cancer are more frequently admitted as emergencies. This trend reflects the clinical urgency associated with different conditions.
Diseases such as asthma and cancer often have acute onset and require immediate medical intervention, resulting in a higher rate of emergency admissions. In contrast, arthritis is generally more stable, allowing patients to schedule hospitalizations based on their treatment plans and personal convenience.
4. Model Introduction
4.1. XGBoost (eXtreme Gradient Boosting)
XGBoost is an efficient, distributed gradient boosting decision tree algorithm that improves upon traditional GBDT in both algorithmic design and engineering implementation [
7,
8]. Its core objective function comprises two components: a training loss term and a regularization term.
where
is the training loss function, which measures the difference between the predicted value and the real value;
is a regularization term used to control the complexity of the model. The regularization term is defined as:
Here,
controls the number of leaf nodes, and
controls L2 regularization of leaf weights. In the t-round iteration, the objective function can be approximated by the second-order Taylor expansion as:
where
and
are the first and second derivatives of the loss function respectively.
4.2. LightGBM (Light Gradient Boosting Machine)
LightGBM is an efficient gradient lifting framework developed by Microsoft. Its main innovation lies in the decision tree algorithm based on histogram and the leaf growth strategy with depth restriction [
9]. When the node is split, the gain calculation formula is:
where
and
are the first-order statistics of the left and right child nodes, and
and
are the second-order statistics. The formula for calculating the optimal leaf value is:
LightGBM greatly reduces the memory consumption and calculation amount through histogram algorithm, and adopts unique feature parallelism and data parallelism methods to improve the training speed.
4.3. CatBoost (Categorical Boosting)
CatBoost is a machine learning algorithm developed by Yandex, which especially optimizes the processing of category features and introduces sorting promotion to prevent prediction deviation [
10,
11]. Its prediction function is:
For category features, CatBoost uses an innovative coding method of target statistics:
WHERE a is the smoothing parameter and p is the prior probability. The overall loss function of the model is:
These three ensemble learning algorithms each exhibit unique characteristics and offer distinct advantages in practical applications.
The primary strengths of the XGBoost algorithm lie in three key areas. First, it improves model convergence by approximating the objective function through second-order Taylor expansion. Second, it incorporates a regularization term to control model complexity and reduce the risk of overfitting. Third, XGBoost supports both feature-parallel and data-parallel computation, significantly enhancing computational efficiency.
As a lightweight gradient boosting framework, LightGBM is particularly advantageous in terms of computational performance. It introduces a histogram-based decision tree algorithm that reduces memory usage. Additionally, the leaf-wise growth strategy minimizes computation, and its efficient parallel processing further accelerates training speed.
CatBoost, on the other hand, demonstrates unique advantages in handling categorical features. It introduces an innovative approach for processing categorical variables, improving model performance on such data. Furthermore, it reduces prediction bias through the implementation of ordered boosting. CatBoost also automatically handles missing values and categorical features, thus simplifying data preprocessing and reducing the manual workload.
5. Model Results Analysis
The test results of three models on the dataset after data cleaning are shown in
Table 2. According to the data in
Table 2, the XGBoost classifier achieved an accuracy of 0.6386, precision of 0.6175, recall of 0.6456, and an F1 score of 0.6275. The LGBM classifier yielded an accuracy of 0.6015, precision of 0.6023, recall of 0.6578, and an F1 score of 0.6235. The CatBoost classifier reported an accuracy of 0.3355, precision of 0.5946, recall of 0.6386, and an F1 score of 0.6175.
Overall, the performance metrics of the three models are relatively close. XGBoost demonstrated slightly higher accuracy and F1 score than the other two models, indicating better overall performance. LGBM achieved the highest recall, suggesting a stronger ability to capture positive instances. In contrast, CatBoost performed slightly weaker across all metrics.
These indicators collectively reflect the models’ classification performance. Accuracy measures the proportion of all correct predictions, precision represents the proportion of correctly predicted positive samples, recall reflects the proportion of actual positives correctly identified, and the F1 score provides a balanced evaluation of both precision and recall.
The training loss curve in
Figure 4 depicts the variation of loss value with the number of iterations. In the initial stage, the loss value is about 1.1 when the number of iterations is close to zero, and the model fitting effect is not good. With the progress of iteration, the loss value in the first 200 times decreased significantly, the model learned quickly, and the performance improved obviously. After that, although the decline rate slowed down, the loss value continued to decrease to about 0.58 by 1000 iterations. The overall curve is monotonically decreasing, which shows that the model can effectively learn and reduce errors in the training process, and it is in an ideal state of convergence, but attention should be paid to its performance in the verification set to prevent over-fitting.
6. Conclusions
This research contributes to the field of personalized drug delivery by developing and implementing machine learning-based predictive models.A comprehensive analysis of patient data, combined with advanced machine learning algorithms, demonstrates substantial potential for improving drug delivery optimization.The comparison of XGBoost, LightGBM, and CatBoost revealed varied strengths in prediction accuracy and recall, with XGBoost exhibiting marginally superior overall performance in accuracy and F1 score.
The training process showed robust convergence, with the loss function consistently decreasing across iterations and stabilizing at an acceptable level.
However, the current accuracy rates suggest room for improvement, potentially through the incorporation of larger datasets and more sophisticated algorithmic approaches. The findings underscore the viability of machine learning applications in personalized medicine while highlighting areas for future enhancement.
Looking ahead, this research opens promising avenues for future exploration, such as expanding data sources, applying deep learning architectures, and conducting clinical validation.
The implications of this work extend beyond theoretical frameworks, offering practical insights for the advancement of precision medicine and personalized therapeutic approaches. Although challenges remain in achieving optimal prediction accuracy, this study provides a solid foundation for ongoing development in personalized drug delivery.
References
- Kamaly, N.; Yameen, B.; Wu, J.; Farokhzad, O.C. Degradable Controlled-Release Polymers and Polymeric Nanoparticles: Mechanisms of Controlling Drug Release. Chem. Rev. 2016, 116, 2602–2663. [CrossRef]
- Schneider, P.; Walters, W.P.; Plowright, A.T.; Sieroka, N.; Listgarten, J.; Goodnow, R.A.; Fisher, J.; Jansen, J.M.; Duca, J.S.; Rush, T.S.; et al. Rethinking drug design in the artificial intelligence era. Nat. Rev. Drug Discov. 2019, 19, 353–364. [CrossRef]
- Hassanzadeh, P.; Atyabi, F.; Dinarvand, R. The significance of artificial intelligence in drug delivery system design. Adv. Drug Deliv. Rev. 2019, 151-152, 169–190. [CrossRef]
- Gholap, A.D.; Uddin, J.; Faiyazuddin; Omri, A.; Gowri, S.; Khalid, M. Advances in artificial intelligence for drug delivery and development: A comprehensive review. Comput. Biol. Med. 2024, 178, 108702. [CrossRef]
- Serrano, D.R.; Luciano, F.C.; Anaya, B.J.; Ongoren, B.; Kara, A.; Molina, G.; Ramirez, B.I.; Sánchez-Guirales, S.A.; Simon, J.A.; Tomietto, G.; et al. Artificial Intelligence (AI) Applications in Drug Discovery and Drug Delivery: Revolutionizing Personalized Medicine. Pharmaceutics 2024, 16, 1328. [CrossRef]
- Vora, L.K.; Gholap, A.D.; Jetha, K.; Thakur, R.R.S.; Solanki, H.K.; Chavda, V.P. Artificial Intelligence in Pharmaceutical Technology and Drug Delivery Design. Pharmaceutics 2023, 15, 1916. [CrossRef]
- Chen T, Guestrin C. Xgboost: A scalable tree boosting system[C]//Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining. 2016: 785-794.
- Chen, T.; He, T.; Benesty, M.; Khotilovich, V.; Tang, Y.; Cho, H.; Chen, K.; Mitchell, R.; Cano, I.; Zhou, T.; et al. Xgboost: extreme gradient boosting[J]. R package version 0.4-2, 2015, 1(4): 1-4.
- Ke G, Meng Q, Finley T, et al. Lightgbm: A highly efficient gradient boosting decision tree[J]. Advances in neural information processing systems, 2017, 30.
- Dorogush A V, Ershov V, Gulin A. CatBoost: gradient boosting with categorical features support[J]. arXiv preprint arXiv:1810.11363, 2018.
- Prokhorenkova L, Gusev G, Vorobev A, et al. CatBoost: unbiased boosting with categorical features[J]. Advances in neural information processing systems, 2018, 31.
|
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).