Petra Záhonyi, Dániel Fekete, Edina Szabó, Zsombor Kristóf Nagy, Brigitta Nagy
{"title":"Explainable artificial neural network as a soft sensor to predict the moisture content in a continuous granulation line","authors":"Petra Záhonyi, Dániel Fekete, Edina Szabó, Zsombor Kristóf Nagy, Brigitta Nagy","doi":"10.1016/j.ejps.2025.107173","DOIUrl":null,"url":null,"abstract":"<div><div>The application of artificial neural networks (ANNs) has the potential to fundamentally change the pharmaceutical industry, making manufacturing more agile, robust, efficient and reliable. Although ANNs’ application as data-driven soft sensors has a particular potential, the black-box nature of most models creates mistrust and prevents their widespread application. Therefore, this study focuses on the development of an explainable ANN used as a soft sensor to monitor an integrated, continuous manufacturing process based on twin-screw granulation. Our goal was to estimate the moisture content, a critical quality attribute of granules only based on the applied process parameters without any direct measurements. Two separate ANNs – a multilayer perceptron (MLP) and a Nonlinear Autoregressive with Exogenous Inputs (NARX) – were built and compared with a near-infrared (NIR) spectra-based method. The validation of the methods – carried out by performing off-line loss-on-drying measurements – revealed that the accuracy of the ANNs and the NIR models was comparable, and the moisture content could be determined with a root mean square error of prediction below 1 % in all cases. Additionally, the explainability of an MLP was also investigated by SHAP analysis, revealing which parameters impacted the prediction and strength of their impact, making the technology transparent and providing valuable insight into the model. This study highlights the potential of ANNs applied as data-driven soft sensors, offering a viable, orthogonal alternative to traditional analytical methods that is cost-efficient and enhances process understanding.</div></div>","PeriodicalId":12018,"journal":{"name":"European Journal of Pharmaceutical Sciences","volume":"212 ","pages":"Article 107173"},"PeriodicalIF":4.7000,"publicationDate":"2025-06-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"European Journal of Pharmaceutical Sciences","FirstCategoryId":"3","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0928098725001721","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"PHARMACOLOGY & PHARMACY","Score":null,"Total":0}
引用次数: 0
Abstract
The application of artificial neural networks (ANNs) has the potential to fundamentally change the pharmaceutical industry, making manufacturing more agile, robust, efficient and reliable. Although ANNs’ application as data-driven soft sensors has a particular potential, the black-box nature of most models creates mistrust and prevents their widespread application. Therefore, this study focuses on the development of an explainable ANN used as a soft sensor to monitor an integrated, continuous manufacturing process based on twin-screw granulation. Our goal was to estimate the moisture content, a critical quality attribute of granules only based on the applied process parameters without any direct measurements. Two separate ANNs – a multilayer perceptron (MLP) and a Nonlinear Autoregressive with Exogenous Inputs (NARX) – were built and compared with a near-infrared (NIR) spectra-based method. The validation of the methods – carried out by performing off-line loss-on-drying measurements – revealed that the accuracy of the ANNs and the NIR models was comparable, and the moisture content could be determined with a root mean square error of prediction below 1 % in all cases. Additionally, the explainability of an MLP was also investigated by SHAP analysis, revealing which parameters impacted the prediction and strength of their impact, making the technology transparent and providing valuable insight into the model. This study highlights the potential of ANNs applied as data-driven soft sensors, offering a viable, orthogonal alternative to traditional analytical methods that is cost-efficient and enhances process understanding.
期刊介绍:
The journal publishes research articles, review articles and scientific commentaries on all aspects of the pharmaceutical sciences with emphasis on conceptual novelty and scientific quality. The Editors welcome articles in this multidisciplinary field, with a focus on topics relevant for drug discovery and development.
More specifically, the Journal publishes reports on medicinal chemistry, pharmacology, drug absorption and metabolism, pharmacokinetics and pharmacodynamics, pharmaceutical and biomedical analysis, drug delivery (including gene delivery), drug targeting, pharmaceutical technology, pharmaceutical biotechnology and clinical drug evaluation. The journal will typically not give priority to manuscripts focusing primarily on organic synthesis, natural products, adaptation of analytical approaches, or discussions pertaining to drug policy making.
Scientific commentaries and review articles are generally by invitation only or by consent of the Editors. Proceedings of scientific meetings may be published as special issues or supplements to the Journal.