Mahmoud Elsayed, Islam H. El Azab, Hassan E. Abd Elsalam, Hussein A. K. Kyhoiesh
{"title":"Deep Learning Outperforms Descriptor-Based Classification of Food Items Using Chromatography–Mass Spectrometry Data","authors":"Mahmoud Elsayed, Islam H. El Azab, Hassan E. Abd Elsalam, Hussein A. K. Kyhoiesh","doi":"10.1002/rcm.70134","DOIUrl":null,"url":null,"abstract":"<div>\n \n \n <section>\n \n <h3> Rationale</h3>\n \n <p>Food classification and adulteration detection are challenged by the complexity of chemical matrices. Traditional descriptor-based methods fail to capture interactions in chromatography–mass spectrometry (CMS) data. This study compares a convolutional neural network (CNN) against a random forest (RF) baseline using engineered descriptors to classify 15 food items to demonstrate deep learning advantage for objective, scalable food authentication.</p>\n </section>\n \n <section>\n \n <h3> Methods</h3>\n \n <p>Three thousand CMS spectra is computationally simulated (200 per class) based on FooDB compound profiles. Six engineered descriptors (mean intensity, standard deviation, spectral entropy, etc.) are extracted for RF training. A SimpleCNN with two convolutional layers (32/64 filters, kernel size 5) followed by max-pooling, a fully connected layer (128 units, dropout 0.3), and softmax output is trained (Adam, lr = 0.001, 50 epochs). t-SNE and K-means (<i>k</i> = 5) visualize the chemical space, while adulteration are simulated by mixing corn syrup into honey spectra (10%–50% v/v).</p>\n </section>\n \n <section>\n \n <h3> Results</h3>\n \n <p>The CNN achieves 93.1% accuracy, significantly outperforming RF (87.3%). t-SNE reveales five coherent clusters (silhouette coefficient = 0.71; Davies–Bouldin index = 0.43). Adulteration detection reaches 94.2% sensitivity and 96.8% specificity. The chemical similarity network identified novel pairings (e.g., chocolate–coffee, cosine similarity = 0.804) consistent with shared Maillard reaction products.</p>\n </section>\n \n <section>\n \n <h3> Conclusion</h3>\n \n <p>End-to-end deep learning on CMS fingerprints substantially surpasses descriptor-based classification to provide a robust pipeline for food authentication, adulteration screening, and data-driven pairing discovery. Validation on experimentally acquired spectra remains a necessary next step.</p>\n </section>\n </div>","PeriodicalId":225,"journal":{"name":"Rapid Communications in Mass Spectrometry","volume":"40 19","pages":""},"PeriodicalIF":1.8000,"publicationDate":"2026-07-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Rapid Communications in Mass Spectrometry","FirstCategoryId":"92","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/rcm.70134","RegionNum":3,"RegionCategory":"化学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"BIOCHEMICAL RESEARCH METHODS","Score":null,"Total":0}
引用次数: 0
Abstract
Rationale
Food classification and adulteration detection are challenged by the complexity of chemical matrices. Traditional descriptor-based methods fail to capture interactions in chromatography–mass spectrometry (CMS) data. This study compares a convolutional neural network (CNN) against a random forest (RF) baseline using engineered descriptors to classify 15 food items to demonstrate deep learning advantage for objective, scalable food authentication.
Methods
Three thousand CMS spectra is computationally simulated (200 per class) based on FooDB compound profiles. Six engineered descriptors (mean intensity, standard deviation, spectral entropy, etc.) are extracted for RF training. A SimpleCNN with two convolutional layers (32/64 filters, kernel size 5) followed by max-pooling, a fully connected layer (128 units, dropout 0.3), and softmax output is trained (Adam, lr = 0.001, 50 epochs). t-SNE and K-means (k = 5) visualize the chemical space, while adulteration are simulated by mixing corn syrup into honey spectra (10%–50% v/v).
Results
The CNN achieves 93.1% accuracy, significantly outperforming RF (87.3%). t-SNE reveales five coherent clusters (silhouette coefficient = 0.71; Davies–Bouldin index = 0.43). Adulteration detection reaches 94.2% sensitivity and 96.8% specificity. The chemical similarity network identified novel pairings (e.g., chocolate–coffee, cosine similarity = 0.804) consistent with shared Maillard reaction products.
Conclusion
End-to-end deep learning on CMS fingerprints substantially surpasses descriptor-based classification to provide a robust pipeline for food authentication, adulteration screening, and data-driven pairing discovery. Validation on experimentally acquired spectra remains a necessary next step.
期刊介绍:
Rapid Communications in Mass Spectrometry is a journal whose aim is the rapid publication of original research results and ideas on all aspects of the science of gas-phase ions; it covers all the associated scientific disciplines. There is no formal limit on paper length ("rapid" is not synonymous with "brief"), but papers should be of a length that is commensurate with the importance and complexity of the results being reported. Contributions may be theoretical or practical in nature; they may deal with methods, techniques and applications, or with the interpretation of results; they may cover any area in science that depends directly on measurements made upon gaseous ions or that is associated with such measurements.