원시데이터 수집 시스템
선정목록으로

A Novel Semi‐Automated Pipeline for Optimizing 3D‐Printed Drug Formulations

관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지

기본 정보

저자
  1. Youssef Abdalla — UCL School of Pharmacy University College London 29‐39 Brunswick Square London WC1N 1AX UK
  2. Martin Ferianc — Department of Electronic and Electrical Engineering University College London Gower Street London WC1E 6BT UK
  3. Haya A. Alfassam — Advanced Diagnostics and Therapeutics Institute King Abdulaziz City for Science and Technology (KACST) Health Sector Riyadh 11442 Saudi Arabia|||UCL School of Pharmacy University College London 29‐39 Brunswick Square London WC1N 1AX UK
  4. Atheer Awad — Department of Clinical Pharmaceutical and Biological Sciences University of Hertfordshire Hatfield AL10 9AB UK|||UCL School of Pharmacy University College London 29‐39 Brunswick Square London WC1N 1AX UK
  5. Ruochen Qiao — UCL School of Pharmacy University College London 29‐39 Brunswick Square London WC1N 1AX UK
  6. Miguel R. D. Rodrigues — Department of Electronic and Electrical Engineering University College London Gower Street London WC1E 6BT UK
  7. Mine Orlu — UCL School of Pharmacy University College London 29‐39 Brunswick Square London WC1N 1AX UK
  8. Abdul W. Basit — UCL School of Pharmacy University College London 29‐39 Brunswick Square London WC1N 1AX UK
  9. David Shorthouse — UCL School of Pharmacy University College London 29‐39 Brunswick Square London WC1N 1AX UK
DOI
10.1002/aisy.202401112
저널
Advanced Intelligent Systems
발행년도
2025
발행기관
Wiley
피인용수
2
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1002/aisy.202401112
토픽
Injection Molding Process and Properties
OpenAlex ID
W4410410307

평가 내용

관련도
관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(21) 에폭시수지
R&D 측면
공정·제조
확신도
0.70
근거 용어
3D printing, Selective laser sintering (SLS), formulation optimization, machine learning, powder feedstock
판단 근거
이 논문은 SLS(선택적 레이저 소결) 3D 프린팅 공정을 최적화하기 위해 머신러닝과 차분 진화(DE) 알고리즘을 사용하여 고분자 기반의 분말 조성(formulation)을 설계하는 기술을 다룹니다. 이는 코오롱인더스트리의 엔지니어링 플라스틱 컴파운딩 및 고분자 소재 배합/가공 공정 연구에 방법론적으로 참고할 가치가 높습니다.
R&D 활용 포인트
고분자 컴파운드 및 복합소재 개발 시, AI/머신러닝을 활용하여 최적의 첨가제 배합비와 성형 공정 조건(온도, 속도 등)을 예측하고 시행착오를 줄이는 스마트 제조 공정 설계에 응용 가능함.
평가 입력
본문 59,970자 중 30,032자 발췌

초록

3D printing offers a promising approach to creating personalized medicines. However, costly, expertise‐dependent trial‐and‐error methods hinder efficient drug formulation, posing challenges for tailoring treatments to individual patients. To address this, a novel pipeline is developed for 3D printing using selective laser sintering (SLS), replacing laborious steps with advanced computational methods. A differential evolution‐based optimizer generates formulations for the desired drugs, while a deep learning ensemble predicts the optimal printing parameters along with associated confidence intervals. Manual handling is only required for the final formulation preparation and printing processes. The pipeline successfully generates diverse formulations, composed of a wide variety of materials and with high printability probabilities. This was validated by successfully printing 80% of the generated drug formulations and achieving 92% accuracy in predicting printing parameters. Notably, the time required to develop and print a new drug formulation is decreased to a single day. This study is the first to demonstrate a semiautomated, 3D printing drug formulation design and printing parameter selection pipeline. Furthermore, the pipeline is not limited to SLS printing but can also be adapted for the optimization of other 3D printing technologies or formulation platforms.

본문 59,970자

본문 펼치기
[www.advintellsyst.com](http://www.advintellsyst.com) # A Novel Semi-Automated Pipeline for Optimizing 3D-Printed Drug Formulations ## Youssef Abdalla, Martin Ferianc, Haya Alfassam, Atheer Awad, Ruochen Qiao, Miguel Rodrigues, Mine Orlu,* Abdul W. Basit,* and David Shorthouse* 3D printing offers a promising approach to creating personalized medicines. However, costly, expertise-dependent trial-and-error methods hinder efficient drug formulation, posing challenges for tailoring treatments to individual patients. To address this, a novel pipeline is developed for 3D printing using selective laser sintering (SLS), replacing laborious steps with advanced computational methods. A differential evolution-based optimizer generates formulations for the desired drugs, while a deep learning ensemble predicts the optimal printing parameters along with associated confidence intervals. Manual handling is only required for the final formulation preparation and printing processes. The pipeline successfully generates diverse formulations, composed of a wide variety of materials and with high printability probabilities. This was validated by successfully printing 80% of the generated drug formulations and achieving 92% accuracy in predicting printing parameters. Notably, the time required to develop and print a new drug formulation is decreased to a single day. This study is the first to demonstrate a semiautomated, 3D printing drug formulation design and printing parameter selection pipeline. Furthermore, the pipeline is not limited to SLS printing but can also be adapted for the optimization of other 3D printing technologies or formulation platforms. medications, something conventional technologieswhich were designed for largescale manufacturing,struggle to achieve. Subsequently, recent clinical trials have been conducted to investigate personalized 3Dprinted dosage forms. <sup>[3]</sup> 1. Introduction 3D printing, also known as additive manufacturing, encompasses a range of technologies used to fabricate 3D objects based on digital designs. <sup>[1]</sup> Originally developed for engineering, this technology is now being explored for manufacturing medicinal products to address patient heterogeneity and the health disparities stemming from the current one-size-fits-all treatment approach. <sup>[2]</sup> 3D printing enables the production of small batches of medicines tailored to individual patients, facilitating the production of personalized Y. Abdalla, H. Alfassam, A. Awad, R. Qiao, M. Orlu, A. W. Basit, D. Shorthouse UCL School of Pharmacy University College London 29-39 Brunswick Square, London WC1N 1AX, UK E-mail: [m.orlu@ucl.ac.uk;](mailto:m.orlu@ucl.ac.uk) [a.basit@ucl.ac.uk;](mailto:a.basit@ucl.ac.uk) [d.shorthouse@ucl.ac.uk](mailto:d.shorthouse@ucl.ac.uk) The ORCID identification number(s) for the author(s) of this article can be found under [https://doi.org/10.1002/aisy.202401112.](https://doi.org/10.1002/aisy.202401112) © 2025 The Author(s). Advanced Intelligent Systems published by Wiley[VCH GmbH. This is an open access article under the terms of the Creative](http://creativecommons.org/licenses/by/4.0/) Commons Attribution License, which permits use, distribution and reproduction in any medium, provided the original work is properly cited. DOI: 10.1002/aisy.202401112 Selective laser sintering (SLS) is a pow generates for- der bed fusion 3D printing technology that predicts the primarily utilizes carbon dioxide lasers to dence intervals. Manual fuse powder particles. <sup>[4]</sup> SLS has proven and printing highly effective for 3D printing medicines due to its simplicity, versatility in produc composed ing various drug delivery systems, and its This was suitability for large-scale production. <sup>[5]</sup> Its formulations and success is further attributed to its ability to the time create complex 3D objects without the need for support structures and using powder feedstock materials without solvents. <sup>[5]</sup> As printing drug for a result, SLS has been successfully applied Furthermore, the in the development of various drug delivery systems and has recently been trialed in humans for the first time. <sup>[6]</sup> Despite its advantages and ability to outperform conventional drug manufacturing methods, <sup>[7]</sup> translating 3D printing technologies into widespread pharmaceutical use has been slow. This is partly due to the challenges in formulating medicines compatible with 3D printing technologies, which were not initially designed for this purpose. Consequently, the current development of 3D-printable medicines relies on a trial-anderror approach, dependent on user expertise. This method is iterative, time-consuming, expensive, and wasteful. <sup>[8]</sup> Machine learning (ML), which leverages data for learning rather than relying on explicit programming, has gained significant interest in pharmaceutical manufacturing, enabling the M. Ferianc, M. Rodrigues Department of Electronic and Electrical Engineering University College London Gower Street, London WC1E 6BT, UK H. Alfassam Advanced Diagnostics and Therapeutics Institute King Abdulaziz City for Science and Technology (KACST) Health Sector, Riyadh 11442, Saudi Arabia A. Awad Department of Clinical Pharmaceutical and Biological Sciences University of Hertfordshire Hatfield AL10 9AB, UK Ad I t ll S t 2025 2401112 2401112 (1 of 12) © 2025 Th A th ( ) Ad d I t lli t S t bli h d b Wil VCH G bH [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advintellsyst.com](http://www.advintellsyst.com) development and optimization of complex drug delivery systems. <sup>[9]</sup> In the context of 3D printing, ML has shown remarkable success, facilitating the prediction of whether drug formulations can be 3D printed, <sup>[10]</sup> optimizing printing parameters, <sup>[11]</sup> and determining the properties of 3D-printed medicines. <sup>[10b,12]</sup> For SLS printing, previous studies have demonstrated the ability to predict whether formulations can be successfully SLS printed. <sup>[13]</sup> Notably, we have developed a deep learning (DL) ensemble model capable of predicting printability with over 90% accuracy. <sup>[13c]</sup> However, no studies have explored the prediction of optimal printing parameters for SLS printing of medicines. Two key parameters- the printing temperature and laser scanning speed - must be optimized during SLS printing. As a result, even if a formulation is printable, parameter optimization remains iterative and resource-intensive. Moreover, designing formulations to predict their printability relies heavily on scientific expertise. If a formulation is unprintable, scientists must use their heuristic knowledge to develop a new formulation, requiring significant experience to do so accurately and often leading to inefficient experimental loops of refinement and testing. Currently, no robust methods exist for generating drug formulations for 3D printing. Due to the complexity of drug formulations and the limitations of available data, only one study to date has attempted to generate 3D-printed drug formulations, though with limited exploration and success. <sup>[14]</sup> These challenges must be addressed before the full potential of SLS printing in pharmaceutical applications can be realized. To address these challenges, building on our previous work, <sup>[13b]</sup> we developed a novel DL and differential evolution (DE)-based pipeline to automate the SLS drug formulation design and printing parameter selection process. To overcome formulation design and optimization issues, we propose a system that allows researchers to input a nonprintable formulation or an unformulated drug into the algorithm, which then generates an optimal formulation for SLS printing. To address the challenge of determining printing parameters, we developed DL models capable of predicting these parameters with associated confidence intervals. By eliminating human intervention in the initial trialand-error loop and automating the iterative process of designing formulations, while only requiring human input in the final formulation preparation and printing stage, our pipeline demonstrates the ability to both generate new formulations and optimize nonprintable formulations to make them printable. We validated this approach by successfully printing 80% of the generated formulations and achieving 92% accuracy in predicting printing parameters. This demonstrates the first optimized and automated drug formulation process. This technology has broad applicability, extending to other 3D printing technologies and other drug formulation challenges, and presents the first step towards more efficient drug design and development. 2. Results and Discussion 2.1. Automating the Formulation Design and Printing Parameter Selection Processes Currently, SLS printing follows a two-step process shown in Figure 1A. A formulation scientist designs a new formulation for their drug, which is then inputted into a neural network (NN) to predict printability. If the formulation is unprintable, the researcher must iteratively design and trial new formulations until a printable one is identified. Once a formulation is considered printable, the printing parameters required for successful printing - the printing temperature (ranging from room temperature to 300 °C) and laser scanning speed (ranging from 0–500 mm s <sup>�1</sup> )- are still unknown. Therefore, the researcher must conduct multiple printing trials, varying printing parameters until successful printing is achieved; this process can take multiple weeks. Both formulation design and parameter optimization rely heavily on user expertise, making this process time-consuming, wasteful, and costly. To circumvent this, our proposed pipeline, shown in Figure 1B, reduces the need for expertise and the trial-and-error approach. In this streamlined process, a new formulation, or an unformulated drug, is inputted into the NN to predict printability. If the formulation is unprintable, it is passed to our optimizer, which modifies the formulation to make it printable. Once the formulation is printable, it is inputted into NNs that predict the optimal printing temperature and laser scanning speed. The optimized formulation and its printing parameters can then be used by formulation scientists to successfully print the pharmaceutical drug product, eliminating the most time-consuming steps in the 3D printing process. This entire workflow can be completed within a day, with only the final formulation preparation and printing requiring manual input. 2.2. DE is the Best Formulation Optimizer The formulation optimizer is an integral component of our pipeline (Figure 2). Briefly, an unknown formulation or drug to be formulated is inputted into the optimizer, which proposes a new formulation. The optimization problem is framed as a constrained maximization task to determine the most printable formulation. The optimizer generates a candidate formulation, which is then inputted into the printability-predicting NN that returns a printability probability score between 0 and 1. Guided by the mean-squared error (MSE) of this score, the optimizer iteratively generates and evaluates new formulations through the NN, refining the material proportions to minimize the MSE loss (maximize the printability prediction). This process is repeated n times, and the formulation with the highest printability score is returned as the optimal formulation. Additionally, this pipeline supports the personalization of formulations by allowing constraints on the presence or absence of certain materials. For instance, specific amounts of materials can be fixed if desirable, or particular materials can be excluded to account for factors such as allergies. A similar pipeline was proposed by Erps et al., <sup>[15]</sup> who used Bayesian optimisation (BO) to identify new photocurable inks for 3D printing. However, their process required manual printing at each iteration of the optimization loop, while the pipeline proposed herein is automated by replacing the printing step with an ensemble NN predicting printability and only requires printing at the final step—when the optimized formulation is outputted. Four different optimizers were trialed in the current pipeline. The first was a random search (RS) algorithm, <sup>[16]</sup> which Ad I t ll S t 2025 2401112 2401112 (2 of 12) © 2025 Th A th ( ) Ad d I t lli t S t bli h d b Wil VCH G bH [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advintellsyst.com](http://www.advintellsyst.com) Figure 1. A) The current SLS 3D printing pipeline is a two-step process. A formulation scientist designs a drug formulation and inputs it into the NN. If it is unprintable, they modify it until it is printable. Once printable, they repeat the printing trials with various parameters. B) Our proposed novel pipeline for SLS 3D printing allows a scientist to input an unknown formulation into the ensemble NN. If unprintable, the optimizer provides a new optimized drug formulation. The parameters for printable formulations are then predicted for the final printing of the medicine. randomly samples from Gaussian noise to generate material proportions to be added to the existing formulation. The second was BO, <sup>[17]</sup> which uses a Gaussian process regressor to model the relationship between material proportions and MSE of the printability, incorporating uncertainty estimates to explore the search space and identify the optimal formulation. The third approach was gradient descent (GD), <sup>[18]</sup> which computes the gradient of the printability MSE score for each material proportion and updates the proportions in the direction that minimizes loss. Finally, a DE algorithm, <sup>[19]</sup> a genetic optimization technique, was used, which generates a population of potential formulations and produces new candidate configurations through vector differences and combinations between distinct members of the population. One hundred and twenty-four unprintable formulations, including one hundred and fifteen materials from our previous publication, <sup>[13c]</sup> were inputted into the four optimizers. All four optimizers led to a significant improvement in printability probability compared to the unoptimized formulations (p < 0.001, one-way analysis of variance (ANOVA) with post-hoc Tukey’s test), as determined by the deep ensemble. Furthermore, BO, GD, and DE performed significantly better than RS (p < 0.05, one-way ANOVA with post-hoc Tukey’s test) (Figure 3A). Although there was no significant difference between BO, GD, and DE, DE slightly outperformed the others, with the highest average printability probability of 89.4%. DE also generated the most reasonable formulations and the fewest “hallucinations” (implausible formulations), as assessed by 3D printing experts. This aligns with the findings of Mendes et al., <sup>[20]</sup> who reported that DE outperformed other optimization algorithms in optimizing fed-batch fermentation in bioreactors. Figure 3B shows the distribution of printability scores before and after DE optimization. Before optimization, most predicted probabilities ranged between 0 and 5%. In contrast, after optimization, most scores were between 95% and 100%, as determined by our deep ensemble. This improvement was achieved as the optimizer systematically removed materials that negatively impacted printability and replaced them with polymers possessing desirable printing properties. For instance, in one formulation, triethyl citrate (a nonprintable liquid) was replaced with Ad I t ll S t 2025 2401112 2401112 (3 of 12) © 2025 Th A th ( ) Ad d I t lli t S t bli h d b Wil VCH G bH [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advintellsyst.com](http://www.advintellsyst.com) Figure 2. Optimizer pipeline for generating new formulations. The optimizer is initialized with an unknown formulation and any material constraints. It iteratively modifies this formulation, querying it with the NN predicting printability. After n loops, the formulation with the highest printability probability is output as the optimal formulation. Figure 3. A) Average printability probability scores before optimization compared to the four optimization algorithms, presented as mean and 95% confidence interval. Statistical significance was assessed using a one-way ANOVA with post-hoc Tukey’s test (*p < 0.05, p < 0.01, *p < 0.001). Statistical significance is shown only in comparison to RS. B) Distribution of printability scores (histogram with overlayed kernel density estimate plot) for unoptimized formulations and formulations optimized through DE. C) t-SNE visualization of printable and unprintable formulations alongside formulations optimized by each algorithm. Ad I t ll S t 2025 2401112 2401112 (4 of 12) © 2025 Th A th ( ) Ad d I t lli t S t bli h d b Wil VCH G bH [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advintellsyst.com](http://www.advintellsyst.com) Eudragit RS PO, a highly printable polymer, while the rest of the formulation remained unchanged. Figure 3C presents a t-distributed stochastic neighbor embedding (t-SNE) plot of real printable formulations, nonprintable formulations, and formulations generated by the different algorithms. DE-generated formulations clustered around both the printable and nonprintable formulations, highlighting that the new formulations were diverse but minimally modified from the original nonprintable formulations. This is desirable, as the goal was to minimize changes to the initial formulation and prioritize materials already included. DE spanned the entire plot, demonstrating its ability to generate diverse formulations, but clustered most closely with real formulations, likely explaining why it had the most realistic formulations and generated the fewest hallucinations. In contrast, the greatest diversity was observed in GD, likely explaining why it had the most hallucinations among all models. Another advantage of this approach is that DE can handle multiobjective optimization problems. <sup>[21]</sup> This adaptability means that our approach can be further extended to optimize additional properties, such as thermal stability, drug release profiles, or costs, making it a more versatile tool for pharmaceutical applications. 2.3. The Deep Ensemble is the Best-Performing SLS Parameter Predictor Having established the optimal formulation for the drug, the next step is identifying the optimal parameters for SLS printing this formulation. To achieve this, we used the printing parameters from the printable formulations in our previous publication. <sup>[13c]</sup> Five different ML models were trained to predict printing temperature and laser scanning speed: eXtreme gradient boosting (XGBoost), random forest (RF), support vector machine regressor (SVM), and the deep ensemble developed by us previously. <sup>[13c]</sup> We tested two featurization methods: a one-hot-encoded vector of the drug formulation composition and the Morgan fingerprint (MFP) of the materials in the formulation, scaled by their material proportions. The latter was previously established as the best featurization method for predicting SLS printability. <sup>[13c]</sup> Model performance was evaluated using 5-fold cross-validation (Table 1) with the mean absolute error (MAE) as the primary metric. An acceptable MAE threshold was set at below 10% of the prediction range, which corresponds to 50 mm s <sup>�1</sup> for laser scanning speed and 30 °C for surface temperature. The root mean squared error (RMSE) was also utilized; however, MAE provides a more balanced measure of overall performance, as it is not disproportionately influenced by outliers. Therefore, MAE was considered the primary error metric. Overall, all models performed within the acceptable range, and no significant differences were observed between models (p > 0.05, one-way ANOVA) or between the two featurization methods (p > 0.05, paired t-test). Since the MFP featurization added an extra processing step without providing a performance advantage, and the formulation vector is already used by the optimizer, we opted to use the formulation composition vector to simplify and streamline the process further. Furthermore, formulation composition has been previously identified as the best Table 1. Cross validation scores for models trained to predict laser scanning speed or temperature, using the one-hot encoded formulation composition or MFP, presented as mean (standard deviation). Formulation MFP <sup>a)</sup> <u>MAE</u> <u>RMSE</u> <u>MAE</u> <u>RMSE</u> Laser scanning speed [mm s <sup>�1</sup> ] XGBoost 44.1 (7.9) 64.5 (15.5) 42.1 (12.0) 61.7 (18.2) RF 42.4 (5.4) 60.4 (9.9) 39.2 (6.0) 59.3 (14.3) KNN 51.4 (6.3) 67.4 (7.8) 41.2 (8.9) 57.2 (14.8) SVM 41.7 (9. 3) 65.2 (18.4) 41.7 (10.1) 65.2 (18.4) Ensemble 45.6 (15.1) 70.2 (25.9) 43.0 (17.6) 67.9 (28.5) Temperature [°C] XGBoost 19.9 (4.7) 26.1 (5.1) 15.8 (5.1) 23.4 (8.0) RF 21.4 (3.2) 27.6 (4.6) 18.4 (3.7) 25.3 (4.0) KNN 15.7 (4.3) 23.1 (5.8) 14.7 (2.9) 21.7 (3.9) SVM 22.5 (4.0) 27.4 (5.0) 22.2 (3.6) 27.0 (4.4) Ensemble 16.7 (2.4) 21.9 (4.3) 20.8 (2.8) 27.3 (4.3) a)Best scores are in bold. feature set for predicting 3D printing parameters in other pharmaceutical printing technologies. <sup>[10,11,22]</sup> To further evaluate model performance, the trained models were tested on an external validation set of 22 formulations. The deep ensemble model performed the best, with percentage MAEs of approximately 8% and 6% for the laser scanning speed and printing temperature, respectively (Figure 4). This aligns with the literature, which shows that NNs outperform traditional ML models for predicting printing parameters. <sup>[13c,22]</sup> While the error in this study is slightly higher than reported in similar research, for example, Elbadawi et al. <sup>[11]</sup> achieved a 4% error for predicting printing temperatures, those studies utilized different printing technologies. Notably, there is no existing research predicting SLS printing parameters, likely due to the complexity of the process, where multiple combinations of printing temperatures and laser scanning speeds can lead to successful SLS printing, depending on the desired medicine properties. This complexity makes the deep ensemble model particularly valuable due to its ability to quantify uncertainty, as described previously. <sup>[23]</sup> The model generates predictions by averaging the outputs of multiple NNs, yielding a mean value and a standard deviation. This standard deviation not only reflects model uncertainty but also defines a range of temperatures or laser scanning speeds that users can trial. An analysis of the marginal coverage (representing the proportion of actual values falling within the model’s 98% confidence interval) showed coverage rates of 73% for laser scanning speed and 78% for temperature. The uncertainty interval is crucial for SLS printing, as it highlights a range of temperatures and laser scanning speeds under which printing is likely to succeed. Users can select the optimal values within this range to match their formulation needs. For example, higher laser scanning speeds may be selected to achieve a faster drug release profile. <sup>[24]</sup> For these reasons, the NN ensemble was chosen as the optimal model for the current pipeline. Ad I t ll S t 2025 2401112 2401112 (5 of 12) © 2025 Th A th ( ) Ad d I t lli t S t bli h d b Wil VCH G bH [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advintellsyst.com](http://www.advintellsyst.com) Figure 4. External validation scores for models trained on the one-hot encoded formulations. A) MAE for models that predict laser scanning speed. B) RMSE for models that predict laser scanning speed. C) MAE for models that predict temperature. D) RMSE for models that predict temperature. 2.4. Successful Printing of Generated SLS Formulations Having validated the optimizer’s and parameter predictors’ success, their utility was tested in practical applications. Fifteen originally nonprintable formulations were inputted into the pipeline, and the DE algorithm modified their compositions to enhance their predicted printability as determined by the ensemble NN. Ensemble NNs then predicted the optimal laser scanning speed and printing temperatures. The newly optimized formulations, along with their predicted parameters (Table 2), were trialed using the SLS printer to assess printability. The pipeline demonstrated significant success, with 80% of the formulations printing successfully, exceeding the performance reported in a previous study exploring the generation of 3D-printed drug formulations, <sup>[14]</sup> in which conditional generative adversarial networks (cGANs) were used to generate drug formulations for fused deposition modeling (FDM) 3D printing. This approach successfully printed 2 of 4 generated formulations out of 9 cGANs. Our superior performance likely results from the difficulty of training cGANs, particularly with small datasets. <sup>[25]</sup> Notably, it only took us approximately one day to generate and print each formulation. A closer analysis of the generated formulations revealed that the optimizer successfully produced heterogeneous formulations encompassing a variety of materials in different combinations. This highlights the model’s ability to generate meaningful and diverse formulations. However, the three nonprintable formulations were still identified as printable by the NN, indicating that the discrepancy arose from the NN rather than the DE optimizer. <sup>[13c]</sup> Since the optimizer relies on the NN’s predictions, the NN acts as a bottleneck in the pipeline, with the quality of the outputted formulations directly dependent on the NN’s scoring accuracy. To address such discrepancies in the future, additional data is likely required to train a more robust NN ensemble. Table 2 presents the suggested parameters and the range of trialed parameters for the nonprintable formulations, none of which led to successful printing. All three nonprintable formulations exhibited a common property not accounted for by the NN - poor powder flow. Good flow is essential for SLS formulations, as the powder bed must be uniformly distributed during printing. <sup>[13a]</sup> In the first nonprintable formulation, the poor flow was likely due to the high proportion of the excipient mannitol, which also caused the burning of the medicine during printing due to repeated sintering of the same layer. The second formulation contained a large proportion of Opadry AMB II, a tablet coating material typically not used in high concentrations. This formulation exhibited burning at higher temperatures and crumbling at lower temperatures. Notably, only two formulations in the training set contained Opadry AMB II, which likely contributed to the model’s inability to correctly classify it as Ad I t ll S t 2025 2401112 2401112 (6 of 12) © 2025 Th A th ( ) Ad d I t lli t S t bli h d b Wil VCH G bH [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advintellsyst.com](http://www.advintellsyst.com) Table 2. Formulations generated through our DE optimizer, with corresponding predictions for printing parameters presented as mean (standard deviation). Formulation <sup>a)</sup> Temperature [°C] Laser scanning speed [mm s <sup>�1</sup> ] <u>Predicted</u> <u>Real</u> <u>Predicted</u> <u>Real</u> Printable 5% Paracetamol, 9% Kollidon SR, 83% Plasdone S-630 77 (8) 80 117 (19) 120 78.5% Ethyl cellulose CP 10, 18.5% PVA 87%–90% hydrolyzed 105 (8) 100 83 (22) 80 97% Kollicoat Protect 83 (7) 120 100 (16) 100 2% Magnesium stearate, 95% Ethyl cellulose (Aqualon N7) 95 (3) 100 57 (15) 100 5% Paracetamol, 92% Soluplus 82 (13) 60 60 (14) 50 32.07% Eudragit RL PO, 64.93% Ethyl cellulose CP 10 83 (11) 100 82 (22) 80 5% Paracetamol, 3% PEO 7M, 89% PEO 1M 36 (7) 50 142 (20) 150 20% Paracetamol, 77% Ethyl cellulose CP 10 96 (12) 120 84 (20) 80 5% Riboflavin, 6% Xylitol, 10% PVP 40000, 76% Mannitol 96 (15) 130 147 (15) 500 3% Chitosan, 28% Eudragit L100-55, 66% Hypromellose acetate succinate Aqoat AS-HG 92 (10) 100 81 (17) 100 40% Stearamide, 57% Ethyl cellulose (Aqualon N50) 78 (20) 100 91 (38) 70 23% Magnesium stearate, 74% PEO 7M 48 (7) 60 44 (15) 40 Nonprintable <sup>b)</sup> 5% Paracetamol, 92% Mannitol 144 (19) 100–140 263 (20) 80–300 42% Opadry AMB II: High Performance Moisture Barrier Film Coating Yellow, 55% HPC Klucel EF 101(23) 50–100 75 (8) 80–100 10% Magnesium stearate, 87% Kollidon CL-M 96 (20) 90–150 77 (20) 80–100 a)All formulations contained 3% Candurin. b)For nonprintable formulations, the range of temperatures and laser scanning speeds trialed are shown. “Predicted” refers to values predicted by the NNs. “Real” refers to the optimum parameter values which was determined through experimental validation. Figure 5. A) KDE plots of the training data’s distributions of printing temperatures and laser scanning speeds. B) KDE plots of the predicted and actual temperature distribution and laser scanning speeds for the DE-optimized formulations. Ad I t ll S t 2025 2401112 2401112 (7 of 12) © 2025 Th A th ( ) Ad d I t lli t S t bli h d b Wil VCH G bH [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advintellsyst.com](http://www.advintellsyst.com) nonprintable. In the third formulation, the poor powder flow prevented the formation of a new powder layer with each iteration. As a result, the same layer was repeatedly sintered, preventing proper printlet formation. For the regression tasks, the MAE remained at approximately 5.6% for temperature and 7.9% for laser scanning speed, highlighting the model’s generalizability. In addition, only a single formulation fell outside the 98% confidence interval of the predicted values for both models, emphasizing that they are well-calibrated and demonstrating approximately 92% prediction accuracy. Model performance was slightly better for temperature predictions than laser scanning speed (Figure 5). This is anticipated due to the smaller range and lower temperature variability. Predictions were least accurate at the highest values for both parameters, reflecting limited data availability in these extremes. Additional data from these underrepresented regions is necessary to improve model performance further. The most challenging case for the model was the formulation containing riboflavin, with which we previously experienced significant difficulty printing. Although this formulation showed the poorest model performance, it represents a notable achievement for the optimizer by successfully predicting the composition of a formulation containing riboflavin, emphasizing its potential in addressing complex cases. This work presents a novel approach establishing a robust pipeline for pharmaceutical formulation generation using AI. However, while the printability of medicines was assessed using a simple binary classification, pharmaceutical manufacturing processes are often more complex. Factors such as drug release, tablet hardness, friability, weight uniformity, and stability are essential pharmacopeial requirements. Therefore, future work should focus on generating new formulations and evaluating them based on their compliance with British Pharmacopoeial requirements. Furthermore, models can be trained to predict these factors and be integrated into the DE optimizer to ensure they are also accounted for in the formulation design process. 3. Conclusion This work represents a significant step towards the optimization of 3D-printed medicines. We developed a novel pipeline for automating the design and selection of printing parameters of drug formulations for SLS 3D printing, addressing the iterative and wasteful nature of traditional drug formulation design. Amongst the various optimization algorithms and ML models tested, a DE optimizer and DL ensembles proved the most effective, forming the foundation of our pipeline. Through an in silico optimization loop, directed by a DE optimizer, the pipeline automatically generates formulations suitable for 3D printing, reducing the necessity for experimental trials. The DL ensemble predicts printability and optimal printing parameters for formulations, providing confidence intervals for these predictions. The effectiveness of this pipeline was demonstrated by successfully printing 80% of the generated formulations, with printing parameters being accurate for 92% of the formulations, and the entire process requiring approximately 1 day to generate and print a new drug formulation. This advancement significantly reduces time, waste generation, and resource demands, as formulation scientists are only required for the final formulation preparation and printing step, rather than being involved in the entire formulation design and parameter selection processes. This allows experts to focus on specialized tasks rather than repetitive processes, increasing efficiency in pharmaceutical development. Importantly, the pipeline is not limited to SLS printing and could potentially be adapted for other 3D printing and formulation platforms, bringing us closer to a streamlined drug formulation process. 4. Experimental Section Materials: The materials used as part of this study to make the drug formulations were AQOAT AS-HG (Shin-Etsu, Tokyo, Japan); Aqualon EC-N50, Aqualon EC-N7, Klucel hydroxypropyl cellulose EF, and Plasdone S-630 (Ashland, Schaffhausen, Switzerland); Candurin gold sheen and polyvinyl alcohol (PVA) 87%–90% hydrolyzed (Merck Life Science Limited, Dorset, UK); chitosan medium molecular weight, magnesium stearate, mannitol, paracetamol, polyethylene oxide (PEO) 1M, polyvinylpyrrolidone (PVP) 40000, stearamide (N,N-ethylenbis), and xylitol (Sigma Aldrich, Gillingham, UK); ethyl cellulose CP 10 (Fisher Scientific Ltd., Loughborough, UK); Eudragit L100-55 and Eudragit RL PO (Evonik, Darmstadt, Germany); Kollicoat Protect, Kollidon CL-M, Kollidon SR, and Soluplus (BASF, Ludwigshafen, Germany); Opadry AMB II: high-performance moisture barrier film coating yellow (Colorcon, Dartford, UK); and PEO) 7M (The Dow Chemical Company, Midland, USA). 3D Printing: Drug Formulation Preparation Process: Formulations generated by our model (Table 3) were prepared by formulation scientists following the procedure outlined by Abdalla et al. <sup>[13c]</sup> Briefly, materials were sieved using a 180 mm sieve and weighed to produce 20 g of the final product. They were mixed with a pestle and mortar until a uniform color was achieved. Before printing, the materials were sieved again using a 180 mm sieve. SLS 3D Printing: SLS printing, done by formulation scientists, followed the procedure outlined by Abdalla et al. <sup>[13c]</sup> Cylindrical discs (10 mm diameter � 3.6 mm height) were designed using Onshape (Version 1.160, Boston, MA, USA) and exported into the Sintratec Central program (Version 1.1, Sintratec Kit, AG, Brugg, Switzerland). The drug formulations were then loaded into the SLS printer (Sintratec Kit, AG, Brugg, Switzerland) to produce the discs, following the standard procedure described in the literature. <sup>[26]</sup> Printing parameters were set as those predicted by our DL models. The surface temperature and laser scanning speed were set as determined by our DL model, and the chamber temperature was set at 20 °C below the surface temperature, as is the standard procedure. To ensure the stability of the final drug product, all drugs we used in this study - whether for printing, model training, or made available to optimizers - were selected based on their stability at the temperatures used for printing. Only drugs that had been previously successfully SLS printed and demonstrated to be thermally stable were included. Additionally, no printing was carried out at temperatures exceeding any drug’s degradation temperature or melting/glass transition temperature. Formulation printability was assessed as per the criteria established by Abdalla et al. <sup>[13c]</sup> Formulations were considered printable if the resulting discs showed no deformations, visible material degradation, burning, or charring, exhibited good structural integrity and shape, and maintained integrity during post-printing processing. Each new formulation (Table 3) was allocated a single day for generation and printing, with the entire process of printing 15 formulations completed in 15 days. Data Curation: Data was utilized from Abdalla et al., <sup>[13c]</sup> which comprised information on 278 pharma-inks made up of 115 materials with varying material compositions and whether they could be printed using a desktop SLS 3D printer (Sintratec Kit, AG, Brugg, Switzerland) into cylindrical discs (10 mm diameter � 3.6 mm height). This data was one-hotencoded for further ML. Alternatively, the simplified molecular-input Ad I t ll S t 2025 2401112 2401112 (8 of 12) © 2025 Th A th ( ) Ad d I t lli t S t bli h d b Wil VCH G bH [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advintellsyst.com](http://www.advintellsyst.com) Table 3. Unoptimized formulations inputted into the DE optimizer and the corresponding optimized formulations outputted. <u>Input</u> <u>formulation</u> <u>Output</u> <u>formulation</u> 3% Candurin, 5% Paracetamol, 47% Kollicoat IR, 20% Kollidon SR, 25% Methyl paraben 3% Candurin, 5% Paracetamol, 9% Kollidon SR, 83% Plasdone S-630 3% Candurin, 82% PVA 87%–90% hydrolyzed, 15% Citric acid monohydrate 3% Candurin, 78.5% Ethyl cellulose CP 10, 18.5% PVA 87%–90% hydrolyzed 3% Candurin, 48.5% Benecel K4M CR, 48.5% Kollicoat Protect 3% Candurin, 97% Kollicoat Protect 3% Candurin, 85% Ethyl cellulose (Aqualon N7), 12% Triethyl citrate 3% Candurin, 2% Magnesium stearate, 95% Ethyl cellulose (Aqualon N7) 3% Candurin, 5% Paracetamol, 92% Benecel A15LV PH 3% Candurin, 5% Paracetamol, 92% Soluplus 3% Candurin, 17% Tween 80, 80% Ethylcellulose CP10 3% Candurin, 32.07% Eudragit RL PO, 64.93% Ethyl cellulose CP 10 3% Candurin, 5% Paracetamol, 44% PEO 1M, 48% PVA Nippon Goshei 3% Candurin, 5% Paracetamol, 3% PEO 7M, 89% PEO 1M 20% Paracetamol only 3% Candurin, 20% Paracetamol, 77% Ethyl cellulose CP 10 5% Riboflavin only 3% Candurin, 5% Riboflavin, 6% Xylitol, 10% PVP 40000, 76% Mannitol 3% Candurin, 97% Chitosan 3% Candurin, 3% Chitosan, 28% Eudragit L100-55, 66% Hypromellose acetate succinate Aqoat AS-HG 3% Candurin, 97% Stearamide 3% Candurin, 40% Stearamide, 57% Ethyl cellulose (Aqualon N50) 3% Candurin, 20% Magnesium stearate, 77% PPG 7M 3% Candurin, 23% Magnesium stearate, 74% PEO 7M 3% Candurin, 5% Paracetmaol, 5% Talc, 38% Benecel K4M, 24% Mannitol, 5% Magnesium stearate, 20% Methyl paraben 3% Candurin, 97% Opadry AMB II: High Performance Moisture Barrier Film Coating Yellow 3% Candurin, 5% Paracetamol, 92% Mannitol 3% Candurin, 42% Opadry AMB II: High Performance Moisture Barrier Film Coating Yellow, 55% HPC Klucel EF 3% Candurin, 10% Tween 80, 87% Kollidon CL-M 3% Candurin, 10% Magnesium stearate, 87% Kollidon CL-M line-entry system (SMILES) notation for each material was obtained from PubChem, and the MFP (2048 bits, radius 2) was computed using Rdkit (Version 2022.9.5). ML Models: All ML models were run on a Windows desktop (Operating System: Windows 11; Processor: AMD Ryzen Threadripper 7960X 24-core 4.2 GHz; RAM Memory: 128 GB, GPU: RTX 4090 24 GB). Python (Version 3.10.4) was used to run the ML models, using the Scikit-learn (Version 1.1.1) package except for XGBoost, which was run through its library (Xgboost Version 1.6.1). The deep ensemble was built and run using PyTorch Lightning (Version 2.0.4). All code is available at: https://github.com/y-babdalla/sls_optimisation. Deep Ensemble: The ensemble NN model proposed by Abdalla et al. <sup>[13c]</sup> was utilized for the printability classification and modified for the regression tasks. Each NN in the ensemble was a residual feed-forward network with N layers, 1D batch normalization after each layer, a hidden size of H, and a rectified linear unit (ReLU) activation function. The networks were trained for the classification tasks using a binary cross entropy loss function, while a MSE loss function was applied for regression tasks. Each NN was trained independently on the entire dataset, using the Adam optimizer with early stopping to prevent overfitting. The networks were initialized with different random weights to ensure diversity among the ensemble members. The final predictions were obtained by averaging the outputs of the individual ensemble members. The ensemble NN took the formulation F as a one-hot-encoded vector of material proportions, where the proportions sum to 1. The model was trained on experimental data with known printability labels, learning to map material proportions to printability predictions through a set of learnable parameters θ. By representing a single formulation as F ¼ <sup>P</sup> ði ¼ 1Þ <sup>S</sup> f i ¼ 1, where f i represents the proportion of the i-th material out of S materials, the model can systematically learn how different material compositions affect printability and printing parameters. For the classification task, the ensemble NN model was designed to predict the printability of a given formulation MθðFÞ. <sup>[13c]</sup> This predictive model took the formulation F and generated a sigmoid probability between 0 and 1 indicating the likelihood of printability. The output probability pðprintablejMθðF ÞÞ provided a quantitative assessment of the formulation’s potential success in printing processes. For the regression task, the model was designed to predict key printing parameters of a given formulation. Instead of returning a probability, the model generated continuous outputs corresponding to the printing temperature T θðF Þ or laser scanning speed LθðF Þ along with their associated standard deviation errors, representing the prediction’s uncertainty. Model Performance: To evaluate model performance, the dataset was split into a training set and a test set. The training set’s hyperparameters (Table 4) were optimized using Bayesian optimization, and model performance was assessed through fivefold cross validation. The optimal set of hyperparameters was then used to train the model on the entire training dataset, and its performance was tested on the external test set. Model performance was evaluated using the MAE and RMSE MAE ¼ <sup><u>1</u></sup> N XN i¼1 jyi � yˆij (1) Equation (1): MAE equation. Where N is the number of samples, yi is the actual values and yˆi is the predicted value. f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f ðyi � yˆiÞ <sup>2</sup> XN i¼1 RMSE ¼ vf f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f uut <u>1</u> XN ðyi � yˆiÞ <sup>2</sup> (2) <u>1</u> N Equation (2): RMSE Equation. Where N is the number of samples, yi is the actual values and yˆi is the predicted value. Model Calibration: The marginal coverage of the ensemble models (defined as the proportion of samples whose true values fall within the 98% confidence interval of the predictions) was calculated to evaluate the model’s calibration. Assuming a normal distribution of predictions, the 98% confidence interval for predictions, C <sup>ˆ</sup> ðXÞ is Cˆ ðXÞ ¼ ½μðXÞ � zf0.99g � σðXÞ, μðXÞ þ zf0.99g � σðXÞ� (3) Equation (3): Confidence interval equation, where μðXÞ is the prediction mean, σðXÞ is the prediction standard deviation, and zf0.99g is the z-score for 98% confidence, The marginal coverage over a dataset with n samples is calculated as Ad I t ll S t 2025 2401112 2401112 (9 of 12) © 2025 Th A th ( ) Ad d I t lli t S t bli h d b Wil VCH G bH [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advintellsyst.com](http://www.advintellsyst.com) Table 4. Model hyperparameter search space. <u>Model</u> <u>Hyperparameter</u> <u>Search</u> <u>space</u> XGBoost max_depth 1–10 learning_rate 0.01–1.0, log-uniform n_estimators 10–1000 min_child_weight 1–10 subsample 0.2–1.0 colsample_bytree 0.2–1.0 RF n_estimators 10–1000 max_depth 1–20 min_samples_split 2–20 min_samples_leaf 1–20 KNN n_neighbors 1–20 weights Uniform, distance p 1,2 SVM C 0.1–100, log-uniform kernel Linear, RBF, poly gamma 0.0001–1.0, log-uniform epsilon 0.01–1.0, log-uniform Deep ensemble ensemble_members 5–10 learning_rate 0.0001–0.1 depth/width 32, 64, 128 hidden_size 1, 2, 3 weight_decay 0.01–0.00001 Cˆ marginal ¼ <sup><u>1</u></sup> N XN i¼1 IfY i ∈ C <sup>ˆ</sup> ðX iÞg (4) formulation F, which could also only contain the desired drug proportion. To address this optimization challenge, we propose four distinct approaches that offer different strategies for exploring and refining the solution space. RS: The RS algorithm provides a straightforward approach to exploring potential formulation configurations. Given a number of iterations, the algorithm randomly samples Gaussian noise within the defined constraints to generate new material proportions. These proportions are added to the original formulation and renormalized to ensure the total sum remains 1. The best-performing formulation is retained, and the process is repeated for the specified number of iterations. The algorithm is outlined in Algorithm 1. Algorithm 1: RS optimization. Input: Initial formulation F, number of iterations N, allowed noise bounds ε Output: Optimized formulation F* F* ← F best_score ← ð1 � pðprintablejMθðF <sup>�</sup> ÞÞÞ <sup>2</sup> For i ← 1 to N: a. noise � Gaussian(�ε, ε) b. Fcandidate ← F* þ noise c. Fcandidate ← Fcandidate/ <sup>P</sup> Fcandidate d. Fcandidate ← ensure_constraints(F, Fcandidate) e. candidate_score ← ð1 � pðprintablejMθðFcandidateÞÞÞ <sup>2</sup> f. If candidate_score < best_score: i. F* ← Fcandidate ii. best_score ← candidate_score end end Return F* Algorithm 2: GD optimization. Input: Initial formulation F, learning rate α, number of iterations N, constraint parameters ε Output: Optimized formulation F* F* ← F best_score ← ð1 � pðprintablejMθðF <sup>�</sup> ÞÞÞ <sup>2</sup> For i ← 1 to N: a. ∇ ← ∇F pðprintablejMθðFÞÞ þnoise b. Fcandidate ← F* þ α ∇ c. Fcandidate ← Fcandidate/ <sup>P</sup> Fcandidate d. Fcandidate ← ensure_constraints(F, Fcandidate) e. candidate_score ← ð1 � pðprintablejMθðFcandidateÞÞÞ <sup>2</sup> f. If candidate_score < best_score: i. F* ← Fcandidate ii. best_score ← candidate_score end end Return F* Equation (4): Marginal coverage equation, where Y iis the true value for input X i and If⋅g is the indicator function (1 if true, 0 if false). Optimization Algorithms: Our methodology consists of two interconnected components aimed at predicting and optimizing the printability of formulations. The first component is the aforementioned ensemble NN model designed to predict the printability of a given formulation Mθ(F ). <sup>[13c]</sup> The output probability pðprintablejMθðF ÞÞ is used to compute the MSE loss ð1 � pðprintablejMθðF <sup>�</sup> ÞÞÞ <sup>2</sup>, which serves as the optimization objective for the optimizer. The second component is an optimization algorithm designed to minimize the MSE of the printability probability of formulations. The optimization problem is structured as a constrained maximization task that seeks to find the optimal material proportions that maximize the printability prediction. The optimization is subject to six primary constraints: first, the total material proportions must sum to 1; second, each material proportion must be between 0 and 1; third, the drug proportion is kept constant to ensure personalization for the individual; fourth, the proportion of Candurin was fixed at 3%, as this is essential for successful printing; fifth, the deviation of any material proportion from its original formulation per iteration is limited by a predefined epsilon value; and sixth, the optimizer was limited to modifying up to n materials per iteration, prioritizing materials already present in the formulation. Mathematically, this can be expressed as a constrained optimization problem that aims to minimize the MSE loss of the printability score (and hence maximize printability) while maintaining these strict constraints. The user provides the initial Ad I t ll S t 2025 2401112 2401112 (10 of 12) © 2025 Th A th ( ) Ad d I t lli t S t bli h d b Wil VCH G bH [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advintellsyst.com](http://www.advintellsyst.com) GD: The GD <sup>[18]</sup> approach offers a more targeted optimization strategy. This method iteratively refines the formulation by computing the gradient of the printability score with respect to material proportions and adding Gaussian noise (to promote exploration). The algorithm updates material proportions in the direction that minimizes MSE loss (maximizes printability) while carefully projecting the solutions to ensure they remain within the defined constraints. This approach utilizes first-order optimization techniques to progressively improve the formulation’s predicted printability. The algorithm is outlined in Algorithm 2. Bayesian Optimization: Bayesian optimization provides a probabilistic and adaptive approach to formulation optimization by leveraging Gaussian process regression with a Matérn kernel to model the relationship between material proportions and MSE of printability. Unlike deterministic methods, this technique constructs a surrogate probabilistic Algorithm 3: Bayesian optimization. Input: Initial formulation F, number of iterations N, acquisition function α(F) Output: Optimized formulation F* D ← {(F,ð1 � pðprintablejMθðF <sup>�</sup> ÞÞÞ <sup>2</sup> )} // Initialize dataset GP ← Train Gaussian Process on D For i ← 1 to N: a. Fnext ← argmaxF α(F, GP) // Optimize acquisition function b. score ← ð1 � pðprintablejMθðFnextÞÞÞ <sup>2</sup> c. D ← D ∪{(Fnext, score)} d. GP ← Update Gaussian Process with D end F* ← argminðF,scoreÞ ∈ Dscore Return F* Algorithm 4: DE optimization. Input: Initial formulation F, population size P, mutation factor MU, crossover rate CR, number of iterations N Output: Optimized formulation F* population ← {randomly generate P formulations near F} fitness ← {ð1 � pðprintablejMθðFcandidateÞÞÞ <sup>2</sup> |Fi ∈ population} For i ← 1 to N: For j ← 1 to P: i. Fa, Fb, Fc ← random distinct vectors from j from population ii. Fdonor ← Fa þ MU - (Fb–Fc) iii. Ftrial ← crossover between Fj and Fdonorwith rate CR iv. Ftrial ← Ftrial/ <sup>P</sup> Ftrial v. Ftrial ← ensure_constraints(F, Ftrial) vi. trial_fitness ← ð1 � pðprintablejMθðFtrialÞÞÞ <sup>2</sup> vii. If trial_fitness < fitness[j]: A. population[j] ← Ftrial B. fitness[j] ← trial_fitness end end F* ← argminFi ∈ populationfitness[Fi] Return F* Table 5. Optimizer hyperparameter search space. <u>Model</u> <u>Hyperparameter</u> <u>Search</u> <u>space</u> RS Number of iterations 3000 Noise scale factor 0.03 Number of materials 6 GD Learning rate 0.03 Number of iterations 4000 Noise scale factor 0.001 Number of materials 6 Bayesian optimization Number of iterations 300 Number of materials 6 DE Population size 100 Mutation Factor 0.4 Crossover rate 0.8 Number of iterations 50 Number of materials 6 model that captures both the MSE of the predicted printability and the uncertainty associated with each candidate formulation. The primary components of this approach include a Gaussian process prior, a likelihood function based on the MSE obtained from the printability-predicting model Mθ, and an acquisition function, the expected improvement (EI), which manages the exploration-exploitation trade-off. At each iteration, the acquisition function α(F) determines the next candidate formulation. The algorithm is outlined in Algorithm 3. DE: DE represents a genetic optimization technique that provides a nuanced approach to formulation optimization. This method maintains a population of potential solutions, dynamically generating new candidate configurations through vector differences between distinct members of the population. The algorithm selects solutions based on their fitness, which in this case is determined by the MSE of the predicted printability. By balancing exploration of new solution regions with exploitation of promising areas, DE can effectively navigate complex, nonlinear optimization landscapes. The exploration-exploitation trade-off is managed through a set of hyperparameters that control the algorithm’s behavior, allowing users to fine-tune the optimization process to suit their specific requirements, consisting of the population size, mutation factor, and crossover rate. The algorithm is outlined in Algorithm 4. Optimizer Hyperparameters: The hyperparameters used for the different optimizers are listed in Table 5. Acknowledgements We thank Drs. Alvaro Goyanes, Fabrizio Fina, and Sarah J. Trenfield and Ms Stephanie Chung for developing the in-house formulations used. The table of contents figure was created on BioRender. This work was funded by University College London Research Excellence Scholarship and the University College London Centre for Digital Innovation Scholarship (YA). Conflict of Interest The authors declare no conflict of interest. Author Contributions Youssef Abdalla: conceptualization (lead); data curation (lead); formal analysis (lead); funding acquisition (lead); investigation (lead); Ad I t ll S t 2025 2401112 2401112 (11 of 12) © 2025 Th A th ( ) Ad d I t lli t S t bli h d b Wil VCH G bH [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advintellsyst.com](http://www.advintellsyst.com) methodology (lead); project administration (lead); resources (lead); software (lead); validation (lead); visualization (lead); writing—original draft (lead); writing—review & editing (lead). Martin Ferianc: conceptualization (supporting); formal analysis (supporting); investigation (supporting); methodology (supporting); software (supporting); writing—review & editing (supporting). Haya Alfassam: data curation (supporting); writing— review & editing (supporting). Atheer Awad: supervision (supporting); writing—review & editing (supporting). Ruochen Qiao: investigation (supporting). Miguel Rodrigues: supervision (supporting). Mine Orlu: supervision (equal); writing—review & editing (supporting). Abdul W. Basit: supervision (equal); writing—review & editing (equal). David Shorthouse: supervision (equal); writing—review & editing (equal). Data Availability Statement The data that support the findings of this study are available on request from the corresponding author. The data are not publicly available due to privacy or ethical restrictions. Keywords automation, autonomous labs, machine learning and artificial intelligence, Pharma 4.0, powder bed fusion 3D printing, precision medications, uncertainty estimations Received: December 18, 2024 Revised: April 14, 2025 Published online: [1] L. Krueger, A. Awad, A. W. Basit, A. Goyanes, J. A. Miles, A. Popat, Nat. Rev. Bioeng. 2024, 2, 801. [2] a) K. Englezos, L. Wang, E. C. K. Tan, L. Kang, Int. J. Pharm. 2023, 635, 122785; b) Lancet 2018, 391. [https://www.thelancet.com/journals/](https://www.thelancet.com/journals/lancet/article/PIIS0140-6736%0x2817%0x2933261-0/fulltext) [lancet/article/PIIS0140-6736(17)33261-0/fulltext.](https://www.thelancet.com/journals/lancet/article/PIIS0140-6736%0x2817%0x2933261-0/fulltext) [3] a) A. Goyanes, C. M. Madla, A. Umerji, G. Duran Pineiro,˜ J. M. Giraldez Montero, M. J. Lamas Diaz, M. Gonzalez Barcia, F. Taherali, P. Sánchez-Pintos, M.-L. Couce, S. Gaisford, A. W. Basit, Int. J. Pharm. 2019, 567, 118497; b) L. Denis, A. K. Jørgensen, B. Do, I. Vaz-Luis, B. Pistilli, A. Rieutord, A. W. Basit, A. Goyanes, M. Annereau, Int. J. Pharm. 2024, 661, 124306. [4] A. Awad, F. Fina, A. Goyanes, S. Gaisford, A. W. Basit, Int. J. Pharm. 2020, 586, 119594. [5] A. Awad, F. Fina, A. Goyanes, S. Gaisford, A. W. Basit, Adv. Drug Deliv. Rev. 2021, 174, 406. [6] I. Seoane-Viano,˜ T. Pérez-Ramos, J. Liu, P. Januskaite, E. Guerra Baamonde, J. González-Ramírez, M. Vázquez-Caruncho, A. W. Basit, A. Goyanes, J. Control Release 2024, 365, 348. [7] A. Awad, A. Goyanes, A. W. Basit, A. S. Zidan, C. Xu, W. Li, R. J. Narayan, R. K. Chen, J. Manuf. Sci. Eng. 2022, 145, 010802. [8] A. Awad, S. J. Trenfield, T. D. Pollard, J. J. Ong, M. Elbadawi, L. E. McCoubrey, A. Goyanes, S. Gaisford, A. W. Basit, Adv. Drug Delivery Rev. 2021, 178, 113958. [9] a) N. Seegobin, Y. Abdalla, G. Li, S. Murdan, D. Shorthouse, A. W. Basit, Int. J. Pharm. 2024, 667, 124905; b) Y. Abdalla, L. E. McCoubrey, F. Ferraro, L. M. Sonnleitner, Y. Guinet, F. Siepmann, A. Hédoux, J. Siepmann, A. W. Basit, M. Orlu, D. Shorthouse, J. Controlled Release 2024, 374, 103; c) A. Favaron, Y. Abdalla, A. W. Basit, M. Orlu, Expert Opin. Drug Delivery, 1. [10] a) J. J. Ong, B. M. Castro, S. Gaisford, P. Cabalar, A. W. Basit, G. Pérez, A. Goyanes, Int. J. Pharm.: X 2022, 4, 100120; b) P. Carou-Senra, J. J. Ong, B. M. Castro, I. Seoane-Viano,˜ L. Rodríguez-Pombo, P. Cabalar, C. Alvarez-Lorenzo, A. W. Basit, G. Pérez, A. Goyanes, Int. J. Pharm.: X 2023, 5, 100181. [11] M. Elbadawi, B. Muniz Castro, F. K. H. Gavins, J. J. Ong, S. Gaisford,˜ G. Pérez, A. W. Basit, P. Cabalar, A. Goyanes, Int. J. Pharma. 2020, 590, 119837. [12] a) S. Obeid, M. Madžarevi´c, M. Krkobabi´c, S. Ibri´c, Int. J. Pharma. 2021, 601, 120507; b) M. Elbadawi, T. Gustaffson, S. Gaisford, A. W. Basit, Int. J. Pharma. 2020, 590, 119868. [13] a) M. Madžarevi´c, Ð. Medarevi´c, S. Pavlovi´c, B. Ivkovi´c, J. Ðuriš, S. Ibri´c, Pharmaceutics 2021, 13, 1969; b) Y. Abdalla, M. Elbadawi, M. Ji, M. Alkahtani, A. Awad, M. Orlu, S. Gaisford, A. W. Basit, Int. J. Pharma. 2023, 633, 122628; c) Y. Abdalla, M. Ferianc, A. Awad, J. Kim, M. Elbadawi, A. W. Basit, M. Orlu, M. Rodrigues, Int. J. Pharma. 2024, 661, 124440. [14] M. Elbadawi, H. Li, S. Sun, M. E. Alkahtani, A. W. Basit, S. Gaisford, Appl. Mater. Today 2024, 36, 102061. [15] T. Erps, M. Foshey, M. K. Lukovi´c, W. Shou, H. H. Goetzke, H. Dietsch, K. Stoll, B. von Vacano, W. Matusik, Sci. Adv. 2021, 7, eabf7435. [16] J. Bergstra, Y. Bengio, J. Mach. Learn. Res. 2012, 13, 281. [17] W. Chen, T. Paraschivescu, X. Can, Adv. Neural Inf. Process. Syst. 2012, 4, 2951. [18] R. Sebastian, arXiv preprint arXiv:1609.04747 2016, 1065. [19] R. Storn, K. Price, J. Global Optim. 1997, 11, 341. [20] R. Mendes, I. Rocha, J. P. Pinto, E. C. Ferreira, M. Rocha, Adv. Differ. Evol. 2008, 299. [https://link.springer.com/chapter/10.1007/978-3-](https://link.springer.com/chapter/10.1007/978-3-540-68830-3_13) [540-68830-3_13.](https://link.springer.com/chapter/10.1007/978-3-540-68830-3_13) [21] B. V. Babu, R. Angira, Comput. Chem. Eng. 2006, 30, 989. [22] B. Muniz˜ Castro, M. Elbadawi, J. J. Ong, T. Pollard, Z. Song, S. Gaisford, G. Pérez, A. W. Basit, P. Cabalar, A. Goyanes, J. Controlled Release 2021, 337, 530. [23] B. Lakshminarayanan, A. Pritzel, C. Blundell, Advances in Neural Information Processing Systems 2017, p. 30. [24] S. J. Trenfield, X. Xu, A. Goyanes, M. Rowland, D. Wilsdon, S. Gaisford, A. W. Basit, Int. J. Pharm. X 2023, 5, 100148. [25] T. Karras, M. Aittala, J. Hellsten, S. Laine, J. Lehtinen, T. Aila, ArXiv 2020, abs/2006.06676. [26] F. Fina, A. Goyanes, S. Gaisford, A. W. Basit, Int. J. Pharm. 2017, 529, 285. Ad I t ll S t 2025 2401112 2401112 (12 of 12) © 2025 Th A th ( ) Ad d I t lli t S t bli h d b Wil VCH G bH

섹션 본문

섹션 본문이 없습니다.

참고문헌 25건

  1. Differential Evolution – A Simple and Efficient Heuristic for global Optimization over Continuous Spaces Journal of Global Optimization · Springer Science+Business Media · 1997 10.1023/a:1008202821328
  2. Modified differential evolution (MDE) for optimization of non-linear chemical processes Computers & Chemical Engineering · Elsevier BV · 2006 10.1016/j.compchemeng.2005.12.020
  3. Differential Evolution for the Offline and Online Optimization of Fed-Batch Fermentation Processes Studies in computational intelligence · Springer Nature · 2008 10.1007/978-3-540-68830-3_13
  4. Advances in Neural Information Processing Systems 29 2016
  5. Selective laser sintering (SLS) 3D printing of medicines International Journal of Pharmaceutics · Elsevier BV · 2017 10.1016/j.ijpharm.2017.06.082
  6. Automated therapy preparation of isoleucine formulations using 3D printing for the treatment of MSUD: First single-centre, prospective, crossover study in patients International Journal of Pharmaceutics · Elsevier BV · 2019 10.1016/j.ijpharm.2019.118497
  7. 3D printing: Principles and pharmaceutical applications of selective laser sintering International Journal of Pharmaceutics · Elsevier BV · 2020 10.1016/j.ijpharm.2020.119594
  8. 3D printing tablets: Predicting printability and drug dissolution from rheological data International Journal of Pharmaceutics · Elsevier BV · 2020 10.1016/j.ijpharm.2020.119868
  9. M3DISEEN: A novel machine learning approach for predicting the 3D printability of medicines International Journal of Pharmaceutics · Elsevier BV · 2020 10.1016/j.ijpharm.2020.119837
  10. Predicting drug release from diazepam FDM printed tablets using deep learning approach: Influence of process parameters and tablet surface/volume ratio International Journal of Pharmaceutics · Elsevier BV · 2021 10.1016/j.ijpharm.2021.120507
  11. Advances in powder bed fusion 3D printing in drug delivery and healthcare Advanced Drug Delivery Reviews · Elsevier BV · 2021 10.1016/j.addr.2021.04.025
  12. Machine learning predicts 3D printing performance of over 900 drug delivery systems Journal of Controlled Release · Elsevier BV · 2021 10.1016/j.jconrel.2021.07.046
  13. Connected healthcare: Improving patient care using digital health technologies Advanced Drug Delivery Reviews · Elsevier BV · 2021 10.1016/j.addr.2021.113958
  14. Accelerated discovery of 3D printing materials using data-driven multiobjective optimization Science Advances · American Association for the Advancement of Science · 2021 10.1126/sciadv.abf7435
  15. Understanding the Effect of Energy Density and Formulation Factors on the Printability and Characteristics of SLS Irbesartan Tablets—Application of the Decision Tree Model Pharmaceutics · Multidisciplinary Digital Publishing Institute · 2021 10.3390/pharmaceutics13111969
  16. A Review of State-of-the-Art on Enabling Additive Manufacturing Processes for Precision Medicine Journal of Manufacturing Science and Engineering · ASM International · 2022 10.1115/1.4056199
  17. Machine learning using multi-modal data predicts the production of selective laser sintered 3D printed drug products International Journal of Pharmaceutics · Elsevier BV · 2023 10.1016/j.ijpharm.2023.122628
  18. 3D printing for personalised medicines: implications for policy and practice International Journal of Pharmaceutics · Elsevier BV · 2023 10.1016/j.ijpharm.2023.122785
  19. Visualizing disintegration of 3D printed tablets in humans using MRI and comparison with in vitro data Journal of Controlled Release · Elsevier BV · 2023 10.1016/j.jconrel.2023.11.022
  20. Artificial intelligence generates novel 3D printing formulations Applied Materials Today · Elsevier BV · 2024 10.1016/j.apmt.2024.102061
  21. Developing an innovative 3D printing platform for production of personalised medicines in a hospital for the OPERA clinical trial International Journal of Pharmaceutics · Elsevier BV · 2024 10.1016/j.ijpharm.2024.124306
  22. Clinical translation of 3D printed pharmaceuticals Nature Reviews Bioengineering · Springer Science and Business Media LLC · 2024 10.1038/s44222-024-00217-x
  23. Smart laser Sintering: Deep Learning-Powered powder bed fusion 3D printing in precision medicine International Journal of Pharmaceutics · Elsevier BV · 2024 10.1016/j.ijpharm.2024.124440
  24. Machine learning of Raman spectra predicts drug release from polysaccharide coatings for targeted colonic delivery Journal of Controlled Release · Elsevier BV · 2024 10.1016/j.jconrel.2024.08.010
  25. Optimising the production of PLGA nanoparticles by combining design of experiment and machine learning International Journal of Pharmaceutics · Elsevier BV · 2024 10.1016/j.ijpharm.2024.124905