Convolutional Neural Network-Based Outlier Detection in Optical Coherence Tomography (OCT) Measurements for Pharmaceutical Applications
Purpose Optical coherence tomography (OCT) is a fast and robust process analytical technology (PAT) for the in-line monitoring of pharmaceutical coating processes. During early process and formulation development, however, when detection settings, formulations, or process parameters are not yet optimized, a fraction of the acquired B-scans may correspond to misdetections rather than to genuine process outliers. Separating these misdetections from true outliers by manual image inspection is reliable but laborious and time-consuming. The purpose of this work is to automate this task in order to accelerate OCT-based process and formulation development. Methods A ResNet-18 convolutional neural network, pretrained on ImageNet-1K, was fine-tuned to classify OCT B-scans of oral solid dosage forms as correct or incorrect detections. The data were acquired in-line during fluidized-bed and drum coating trials using an ultra-high-resolution OCT (UHR-OCT) unit. The model was validated on 146 previously unseen images, and gradient-weighted class activation mapping (Grad-CAM) was used to confirm that the classification relied on diagnostically meaningful image regions. Results The model reached a validation accuracy of 95.9% with balanced performance across both classes. Applied to full measurement campaigns of several thousand B-scans, it reduced the outlier-review effort from hours or days to minutes and reliably separated true process outliers from misdetections, thereby lowering the scatter of the reported coating-thickness data. Conclusion AI-assisted classification makes OCT data evaluation substantially faster and easier, particularly under the challenging, non-optimized conditions typical of early development. Once a process is established for routine production, such misdetections largely disappear, so the tool primarily serves to de-risk and accelerate process and product development.
Authors
- Gert Breitfuß (ORCID: https://orcid.org/0000-0002-3365-3855)
- Stephan Sacher (ORCID: https://orcid.org/0000-0003-0536-4199)
- Johannes Khinast (ORCID: https://orcid.org/0000-0002-2076-1822)
- Vanessa Herndler
- Rúben Martins Fraga (ORCID: https://orcid.org/0009-0009-3174-6116)
- Johannes Gruenwald
- Daniel Pröll
- Daniel Unger
- Michela Beretta
Institutions
- Graz University of Technology (AT)
- Research Center Pharmaceutical Engineering (Austria) (AT)
Publication Details
- Journal
- Journal of Pharmaceutical Innovation
- Published
- 2026-12-03
- DOI
- https://doi.org/10.1007/s12247-026-11159-9
- Primary Topic
- Optical Coherence Tomography Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Royal College of Physicians of Edinburgh
- Österreichische Forschungsförderungsgesellschaft
- Steirische Wirtschaftsförderungsgesellschaft