Skip to content
DraconiticResearch
Search Sources API
203,234 studies31 sourcesUpdated 3 min ago
PreprintCC BY 4.0arXiv

Hybrid Machine Learning-Assisted Raman Spectroscopy with Generative Feature Augmentation for Pharmaceutical Identification

Abstract

Rapid and reliable identification of pharmaceutical residues is important for safeguarding public health, ensuring food safety, and enabling practical Raman-based screening. In this study, we propose HyMLRaman, a hybrid Raman spectroscopy framework that combines deep spectral feature extraction, generative models, and classical machine-learning classifiers to identify six pharmaceutical compounds, including amoxicillin, chloramphenicol, ciprofloxacin, tetracycline, ibuprofen, and paracetamol. Raman spectra are converted into spectral images and encoded with several deep neural-network backbones, among which EfficientNet-B3 yields the most effective representation. The resulting 1536-dimensional embeddings are then used to train downstream classifiers, including SVM, KNN, logistic regression, random forest, XGBoost, and ANN, using stratified 10-fold cross-validation. The hybrid EfficientNet-B3--SVM configuration achieves the strongest baseline performance, reaching 96.31% accuracy and a macro-F1 score of 96.36%, outperforming the standalone CNN baseline. To address limited-data conditions, a generative model, a DDPM-based feature augmentation, is introduced in a PCA-reduced EfficientNet-B3 latent space. The low-data ablation results show that DDPM augmentation provides selective benefits, particularly for KNN with reduced training fractions, and that its effect remains classifier-dependent. Finally, an application-level Raman Pharmaceutical Analyzer demonstrates the feasibility of embedding the trained model into an interactive Raman analysis workflow. These results suggest that HyMLRaman provides a practical and interpretable route for rapid Raman-based pharmaceutical screening.

Related

  1. Machine-learning-enhanced Optical Photothermal infrared (O-PTIR) spectroscopy for rapid simultaneous identification of multiple metabolites to monitor biotransformations: proof of concept on Brewer's spent grain (BSG)
    Paul Lagneaux, Muhammad Hassan, Pascale Winckler +1
    Analytica Chimica ActaPeer-reviewedCC BY 4.0Full textGeneral biochemistryGeneral biologyHAL
  2. SV-Cine: Diagnosis-Conditioned Segmentation of Single Ventricle Physiology via Generative Data Augmentation
    Lila Cunge
    arXivPreprintarXiv licenceFull textBiological & medical physicsarXiv
  3. Generative marginal learning for finite-size molecular simulation with application to stress calculation
    Cheng Yuan
    arXivPreprintCC BY-NC-ND 4.0Full textComputational physicsStatistical & nonlinear physicsarXiv
  4. Generative learning of time series with holographic quantum circuit sampling
    Bingzhi Zhang, Matthew W. Lee, Tom Finke +1
    arXivPreprintarXiv licenceFull textQuantum physics & quantum informationarXiv
  5. Verifiable Sampling for Delegated Generative Quantum Machine Learning
    Matteo Inajetovic, Anna Pappa, Petros Wallden
    arXivPreprintarXiv licenceFull textQuantum physics & quantum informationarXiv
BibTeX
@misc{binh2026hybrid,
  title = {{Hybrid Machine Learning-Assisted Raman Spectroscopy with Generative Feature Augmentation for Pharmaceutical Identification}},
  author = {Quach Thi Thai Binh and Ton Nu Quynh Trang and Thang B. Phan and Vu Thi Hanh Thu and Nguyen Tuan Hung},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2610.02224},
  eprint = {2610.02224},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.02224},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Hybrid Machine Learning-Assisted Raman Spectroscopy with Generative Feature Augmentation for Pharmaceutical Identification
AU  - Quach Thi Thai Binh
AU  - Ton Nu Quynh Trang
AU  - Thang B. Phan
AU  - Vu Thi Hanh Thu
AU  - Nguyen Tuan Hung
PY  - 2026
DA  - 2026/10/01
PB  - arXiv
DO  - 10.48550/arxiv.2610.02224
UR  - https://arxiv.org/abs/2610.02224
AB  - Rapid and reliable identification of pharmaceutical residues is important for safeguarding public health, ensuring food safety, and enabling practical Raman-based screening. In this study, we propose HyMLRaman, a hybrid Raman spectroscopy framework that combines deep spectral feature extraction, generative models, and classical machine-learning classifiers to identify six pharmaceutical compounds, including amoxicillin, chloramphenicol, ciprofloxacin, tetracycline, ibuprofen, and paracetamol. Raman spectra are converted into spectral images and encoded with several deep neural-network backbones, among which EfficientNet-B3 yields the most effective representation. The resulting 1536-dimensional embeddings are then used to train downstream classifiers, including SVM, KNN, logistic regression, random forest, XGBoost, and ANN, using stratified 10-fold cross-validation. The hybrid EfficientNet-B3--SVM configuration achieves the strongest baseline performance, reaching 96.31% accuracy and a macro-F1 score of 96.36%, outperforming the standalone CNN baseline. To address limited-data conditions, a generative model, a DDPM-based feature augmentation, is introduced in a PCA-reduced EfficientNet-B3 latent space. The low-data ablation results show that DDPM augmentation provides selective benefits, particularly for KNN with reduced training fractions, and that its effect remains classifier-dependent. Finally, an application-level Raman Pharmaceutical Analyzer demonstrates the feasibility of embedding the trained model into an interactive Raman analysis workflow. These results suggest that HyMLRaman provides a practical and interpretable route for rapid Raman-based pharmaceutical screening.
ER  -