News|Articles|February 12, 2025

Advancing Near-Infrared Spectroscopy and Machine Learning for Personalized Medicine

Researchers have developed a novel approach to improve the accuracy of near-infrared spectroscopy (NIRS or NIR) in quantifying highly porous, patient-specific drug formulations. By combining machine learning with advanced Raman imaging, the study enhances the precision of non-destructive pharmaceutical analysis, paving the way for better personalized medicine.

Traditional pharmaceutical manufacturing relies on large-scale batch production with quality control based on destructive chemical analysis. However, with the rise of personalized medicine, small-batch, patient-tailored drug products require alternative quantification techniques that are rapid and non-invasive. A new study published in the International Journal of Pharmaceutics explores the use of near-infrared (NIR) spectroscopy combined with chemometric modeling and stimulated Raman imaging to improve drug dose quantification for additively manufactured medications (1). NIR, when combined with AI, has great potential for improved analytical use in many applications (1,2).

Conducted by Ilari Ahola, Teemu Tomberg, Claus Cornett, Clare Strachan, Jukka Rantanen, and Natalja Genina from the University of Copenhagen and the University of Helsinki, the study focuses on optimizing non-destructive analysis for porous, inkjet-printed antidepressant drug formulations (1).

Enhancing NIRS Accuracy with Machine Learning

One of the key challenges in using NIR for porous drug products is the impact of structural variability, residual solvents, and fluctuating material density on spectral readings. The study addressed these issues by implementing a spinning NIR measurement setup and post-print drying to mitigate inconsistencies in quantification (1).

Additionally, researchers applied machine learning (ML), specifically support vector regression (SVR), to improve predictive accuracy. Their results demonstrated that SVR outperformed traditional linear partial least squares (PLS) regression by reducing prediction errors by 19%. However, when drug samples were categorized into subtypes based on their structural properties, linear PLS models performed equally or better than non-linear models. This finding underscores the importance of tailoring analytical models to specific sample characteristics (1).

Stimulated Raman Imaging Validates Structural Complexity

To further investigate the structural challenges affecting NIR accuracy, the team utilized stimulated Raman scattering (SRS) microscopy. Unlike conventional Raman imaging, SRS offers faster imaging speeds and improved signal strength, allowing researchers to visualize the distribution of the active pharmaceutical ingredient (API) within the porous matrix. This approach confirmed that structural differences among sample subtypes significantly influenced NIR performance, validating the need for targeted modeling strategies (1).

Implications for Personalized Medicine

The findings have significant implications for patient-specific drug manufacturing. The tunable modular design (TMD) approach, previously proposed by the researchers, integrates freeze-dried polymeric modules with inkjet printing to create customized antidepressant doses. Given that antidepressant tapering requires precise, often sub-milligram dosage adjustments, robust and reliable quantification is essential (1).

By incorporating advanced spectroscopic analysis and ML, this study presents a viable pathway for improving real-time, non-destructive quality control in personalized pharmaceuticals. The combination of NIR and SRS microscopy provides a comprehensive understanding of porous drug matrices, enabling more accurate and reproducible dose quantification (1).

As additive manufacturing gains traction in pharmaceutical applications, the need for efficient, precise, and scalable analytical methods grows. This research highlights the potential of integrating spectroscopy with ML to enhance drug quantification, offering a powerful tool for personalized medicine. Future studies may explore further refinements in modeling techniques and the application of these findings to a broader range of drug formulations.

References

(1) Ahola, I.; Tomberg, T.; Cornett, C.; Strachan, C.; Rantanen, J.; Genina, N. Understanding the Complexity of Near-Infrared Quantification of Highly Porous Patient-Tailored Drug Products Using Chemometrics and Stimulated Raman Imaging. Int. J. Pharm. 2025, 671, 125205. DOI: 10.1016/j.ijpharm.2025.125205

(2) Workman, Jr., J. NIR Spectroscopy with AI Proves to be a Powerful Combination for Tea Classification. Spectroscopy. Available at: https://www.spectroscopyonline.com/view/nir-spectroscopy-with-ai-proves-to-be-a-powerful-combination-for-tea-classification (accessed 2025-01-29).


Related to this article

Scientist With Portable Spectrometer in Natural Field Setting ©  By Tika -chronicles-stock.adobe.com
The bulky bench-top NIR spectrometer is quietly being dismantled and rebuilt as a wafer-scale photonic chip, a self-calibrating algorithm, and a sensor small enough to ride in a shirt pocket. What once demanded a grating, a moving mirror, and a climate-controlled lab now fits inside a handheld module, a bioreactor probe, or a drone payload, and it increasingly figures out what it is looking at on its own.
Human body wireframe on glowing platform undergoing futuristic body scan. © sergray(noAIelemens) -chronicles-stock.adobe.com
Jurgen Popp, Thomas Mayerhofer, and colleagues at Leibniz IPHT and Friedrich Schiller University Jena introduce the Personalized Optical Digital Twin (PODT), a Photonics21 contribution to Europe's Virtual Human Twin ecosystem that connects molecular photonics—Raman blood analysis, coherent Raman tissue imaging, and multimodal endomicroscopy—with longitudinal physiology and clinical data. Drawing on the published multicenter INTELLIGENCE trials, the authors argue that technical feasibility and clinical utility must be evaluated separately as the field moves toward Europe's FP10 research agenda.
Artist’s conception of a futuristic laser-based instrument ©  MD AL AMIN-chronicles-stock.adobe.com
Raman spectroscopy is shedding its bulky, benchtop reputation as chip-scale spectrometers, tip-enhanced probes, and AI-native detectors push the technique into pockets, production lines, and single molecules. The result is an instrument category being rebuilt from the optics up, faster, smaller, deeper, and smarter than the Raman systems of even five years ago.
Peter R. Griffiths (1942–2026): A Life Devoted to Infrared and Vibrational Spectroscopy
Peter R. Griffiths, a pioneering figure in Fourier transform infrared (FT-IR) spectroscopy who authored or coauthored more than 300 scientific papers and numerous books over five decades, died August 29, 2026, at age 84. This tribute traces his career from Oxford and Digilab through Ohio University and the University of Idaho, his landmark books and the Handbook of Vibrational Spectroscopy, and his many honors, including the 2023 Ellis R. Lippincott Award and 2024 Optica Fellowship.