|
|
|
|
|
|
InvertResNet: A Qualitative Analysis Method for Drug Products Based on Deep Learning and Near-Infrared Spectroscopy |
HUANG Tian-yu1, YANG Hui-hua1, 2, LI Ling-qiao1* |
1. School of Computer Science and Information Security, Guilin University of Electronic Technology, Guilin 541004, China
2. School of Intelligent Engineering and Automation, Beijing University of Posts and Telecommunications, Beijing 100876, China
|
|
|
Abstract Classification or qualitative analysis is a key technique for drug traceability and authentication applications. However, in practical applications, we often face technical challenges such as the nonlinear characteristics of near-infrared spectral data, insufficient sample size, data noise interference, and complex preprocessing processes. Traditional machine learning methods cannot fully capture the deep information in spectral data, resulting in limited classification performance. With the rapid development of deep learning technology, its automatic feature extraction and processing capabilities provide a new solution for near-infrared spectral data analysis. In this study, a convolutional neural network named InvertResNet is proposed: the method first converts one-dimensional spectral data into two-dimensional pseudo-images and fills the data with bilinear interpolation during the conversion process to ensure the completeness of the two-dimensionalized spectral data; InvertResNet introduces an inverted residual structure based on the classical convolutional neural network (CNN) framework. By first expanding and then compressing the feature dimensions, the model's depth and width are optimized, effectively suppressing the noise interference and improving the feature extraction and expression capabilities while maintaining the lightweight characteristics. The method adopts a two-dimensional transformation that solves the problem of insufficient data length and preserves the spectral data's local and global spatial correlation, thus enhancing the model's ability to recognize complex patterns and nonlinear information. To evaluate the performance of InvertResNet, this study first utilizes the strawberry puree near-infrared spectral dataset to carry out a preliminary validation of the method, and the results show that it has demonstrated good adaptability and preliminary effectiveness in strawberry puree spectral data processing, which has laid a solid foundation for subsequent in-depth research. Thereafter, the research focus shifts to the publicly available near-infrared spectral classification dataset of pharmaceuticals. On this dataset, the method of this thesis was compared with the traditional partial least squares (PLS), support vector machine (SVM), random forest (RF), standard convolutional neural network (CNN), Swin-Transformer model (SwinTR), GhostNetV2, and SpectraTr model based on the Transformer architecture. Comparative test experiments were conducted. The results show that InvertResNet outperforms traditional algorithms such as PLS and standard CNN structures at different training sample ratios. At low training sample ratios, InvertResNet achieves a classification accuracy of 95.97%, which is significantly better than PLS-DA (79.39%), SVM (68.44%), RF (67.74%), CNN (91.94%), SwinTR (92.74%) and GhostNetV2 (89.91%). With the increase of training samples, the classification accuracy of InvertResNet further improves and reaches 100% under the condition of a high percentage of training samples, which still shows a clear advantage over other models, such as 98.39% for CNN, 98.38% for SwinTR and 98.39% for GhostNetV2. In summary, InvertResNet, with its innovative inverted residual structure and two-dimensional spectral data variation and enhancement method, performs well in the near-infrared spectral analysis of pharmaceuticals, significantly improves the classification accuracy, and has a broad application prospect in the field of near-infrared spectral analysis.
|
Received: 2025-01-21
Accepted: 2025-04-11
|
|
Corresponding Authors:
LI Ling-qiao
E-mail: 54pe@163.com
|
|
[1] Badman C, Cooney C L, Florence A, et al. Journal of Pharmaceutical Sciences, 2019, 108(11): 3521.
[2] Yu L X, Kopcha M. International Journal of Pharmaceutics, 2017, 528(1-2): 354.
[3] O'Connor T F, Yu L X, Lee S L. International Journal of Pharmaceutics, 2016, 509(1-2): 492.
[4] Peterson J J, Snee R D, McAllister P R, et al. Journal of Quality Technology, 2009, 41(2): 111.
[5] Mühlebach S, Borchard G, Yildiz S. Nanomedicine, 2015, 10(4): 659.
[6] Ekeigwe A A. AAPS Open, 2019, 5(1): 3(https://doi.org/10.1186/s41120-019-0032-X).
[7] Sorato M M, Davari M, Kebriaeezadeh A. The Journal of Medicine Access, 2024, 8: 1.
[8] Mensah G B, Mijwil M M, Adamopoulos I. Babylonian Journal of Artificial Intelligence, 2024, 2024: 14.
[9] Kumar A, Gupta G D, Raikwar S. Current Pharmaceutical Design, 2024, 30(6): 407.
[10] Rafiq H, Hartung J, Schober T, et al. Plants, 2024, 13(6): 833.
[11] Tian S, Zhang J, Zhang Z, et al. Infrared Physics & Technology, 2019, 100: 117.
[12] Paudel D, Caffe-Treml M, Krishnan P. Cereal Foods World, 2018, 63(1): 17.
[13] Miao X, Miao Y, Gong H, et al. Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy, 2021, 257: 119700.
[14] Chen W, Li H, Zhang F, et al. Infrared Physics & Technology, 2021, 115: 103732.
[15] Sharma G, Chowdhury S R. Journal of Medical Systems, 2018, 42(12): 244.
[16] He K, Zhong M, Du W. Chemometrics and Intelligent Laboratory Systems, 2020, 196: 103909.
[17] Webster G T, Soriano-Disla J M, Kirk J, et al. Talanta, 2016, 160: 410.
[18] Xu X, Fu C, Gao Y, et al. Agriculture, 2024, 14(3): 466.
[19] Huang J D, Wang H, Power U, et al. Sensors, 2024, 24(1): 308.
[20] Huang X, Luo Y P, Xia L. Chemometrics and Intelligent Laboratory Systems, 2019, 194: 103872.
[21] Mishra P, Roger J M, Marini F, et al. Chemometrics and Intelligent Laboratory Systems, 2021, 212: 104190.
[22] Acquarelli J, Van Laarhoven T, Gerretzen J, et al. Analytica Chimica Acta, 2017, 954: 22.
[23] Jiang D, Qi G, Hu G, et al. Infrared Physics &Technology, 2020, 111: 103494.
[24] Fu P, Wen Y, Zhang Y, et al. Journal of Innovative Optical Health Sciences, 2022, 15(03): 2250021.
[25] Holland J K, Kemsley E K, Wilson R H. Journal of the Science of Food and Agriculture, 1998, 76(2): 263.
[26] Domnik J A N, Holland A. 35th Bled eConference Digital Restructuring and Human (Re) action, 2022: 695.
[27] Dong Q. Computational Intelligence and Neuroscience, 2022, 2022(1): 5314671.
[28] Li X, Fan P, Li Z, et al. Journal of Spectroscopy, 2021, 2021(1): 1508267.
[29] Liu Z, Lin Y, Cao Y, et al. Swin Transformer: Hierarchical Vision Transformer Using Shifter Windows, Proceedings of the IEEE/CVF International Conference on Computer Vision. 2021: 10012.
[30] Tang Y, Han K, Guo J, et al. GhostNetV2: Enhance Cheap Operation With Long-Range Attention, in Advances in Neural Information Processing Systems, 2022, 35: 9969.
|
[1] |
ZOU Liang1, KOU Shao-ping1, REN Ke-long1, YUAN Guang-fu2, XU Zhi-bin3, XU Shi-fan1, WU Jing-tao4*. A Collaborative Detection Method for Coal Ash Content and Calorific
Value Based on A-Unet3+ and Portable NIR Spectrometer[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(08): 2210-2217. |
[2] |
SHU Qin-da1, ZHANG Jia-hui2*, WANG Qi3, YUE Bao-hua3, LI Qian-qian1*. Construction of a NIR Solid-State Composite Seasoning Freshness AI Model Based on Consumer Sensory Evaluation Ability Assessment[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(08): 2228-2233. |
[3] |
XU Qing1, TANG Jia-wei2, LIU Xue-meng3, GUO Jing-xing4, ZHU Li-jun1, ZHOU Qing-qing1, WANG Liang2, LU Guang-ming1*. Diagnostic Method for Brain Glioma Grading Based on Convolutional Neural Networks and Raman Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(08): 2247-2252. |
[4] |
LU Yang1*, GU Fu-qian1, GU Ying-nan2*, XU Si-yuan1, WANG Peng3, 4. Early Detection of Northern Corn Leaf Blight Using Hyperspectral Images Combined With One-Dimensional Convolutional Neural Networks[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(08): 2302-2310. |
[5] |
WANG Jia-ying1, ZHU Yu-ting1, BAI Hao1, CHEN Ke-ming1, ZHAO Yan-ru1, 2, 3, WU Ting-ting1, 2, 3, MA Guo-ming4, YU Ke-qiang1, 2, 3*. Detecting the Metal Elements and Soil Organic Matter in Farmland by Dual-Modality Spectral Technologies[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(08): 2317-2325. |
[6] |
ZHANG Gui-yu1, 2, 3, ZHANG Lei1, 2, 3*, TUO Xian-guo1, 3*, WANG Yi-bo1, 3, XIANG Xing-rui1, 3, YAN Jun1, 3. Rapid Near-Infrared Detection of Base Baijiu Using Shapley Additive
Explanation Algorithm[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(08): 2393-2400. |
[7] |
HU Shao-wen, HUANG Lang-xin*, YU Li-hui, WU Zhi-ping, LI Huai-yu, SHI Wei-li, LUO Hong-yu. Intelligent Recognition of Pure Milk Based on Near Infrared Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(07): 1827-1833. |
[8] |
LAN Xi-hua, WANG Zhi-guo*, LUAN Xiao-li, LIU Fei. Rapid Detection for Xylose Content Using Near-Infrared Spectroscopy Technology[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(07): 1916-1923. |
[9] |
YANG Guang-hui1, 3, ZHANG Yong-li1, 2, 3*, WANG Mei-pan1, 3, LIU Yan-de4, JIANG Xiao-gang4, SUN Jing2, 3, ZHOU Xin-qun2, 3, HAN Tai-lin1*. Determination of Soluble Solids Content in Fresh Corn by Near Infrared
Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(07): 1932-1939. |
[10] |
MA Yao-an1, HUANG Yu-ting1, ZHANG Jian-hao1, QU Dong-ming1, HU Bei-bei2, LIU Bi-ye2, YANG Guang1, SUN Hui-hui1*. K-Means-CNN-Based Classification Study of Mixed Alloy Samples of Complex Grades[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(07): 1946-1952. |
[11] |
TAN Fang-ping1, LU Tong-suo1, 2*. Study of Near-Infrared Fingerprints of Ganoderma Lucidum in Different Growth Environments[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(07): 1968-1978. |
[12] |
JU Wei-liang1, YANG Wei1, 2, SONG Ya-mei1, LIU Nan1, LI Hao1, LI Min-zan1, 2*. Prediction of Soil Total Nitrogen Based on NIR Spectroscopy and BiGRU Model With Attention Mechanism[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(07): 2017-2025. |
[13] |
MAO Ya-chun, XIA An-ni*, CAO Wang, LIU Jing, WEN Jie, HE Li-ming, CHEN Xuan-he. Rapid Inversion of Gold Ore Grades Based on Hyperspectral Data and Stacking Ensemble Learning Algorithm[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(07): 2061-2067. |
[14] |
LI Xiao-xing1, 2, XIAO Jin-feng1*, ZHANG Hong-ming2*, LÜ Bo2, 3*, YIN Xiang-hui1, ZHAO Ming4, MA Fei5, FU Jia2, HU Yan1, 2, LI Zhi-hao1, 2, WANG Fu-di2, SHEN Yong-cai6, DAI Shu-yu7. Study on Improving Stability of Near-Infrared Spectra by Normal
Distribution Screening Method[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(06): 1566-1577. |
[15] |
CHEN Bei, JIANG Si-yuan, ZHENG En-rang. Research on the Wavelength Attention 1DCNN Algorithm for Quantitative Analysis of Near-Infrared Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(06): 1598-1604. |
|
|
|
|