Youhua Bu , Jianing Luo , Qingji Tian , Jiabao Li , Mengke Cao , Shanghong Yang , Wenchuan Guo
{"title":"Nondestructive detection of internal quality in multiple peach varieties by Vis/NIR spectroscopy with multi-task CNN method","authors":"Youhua Bu , Jianing Luo , Qingji Tian , Jiabao Li , Mengke Cao , Shanghong Yang , Wenchuan Guo","doi":"10.1016/j.postharvbio.2025.113579","DOIUrl":null,"url":null,"abstract":"<div><div>Accurate prediction of the firmness (FI), soluble solids content (SSC), and dry matter content (DMC) of multiple peach varieties is essential for improving market value. However, traditional machine learning methods require training separate models for each quality index, increasing model complexity. To address this, we proposed a multi-task convolutional neural network (MT-CNN) model based on visible/near-infrared (Vis/NIR) spectroscopy. Quality index (FI, SSC, and DMC) and Vis/NIR spectra were measured for four peach varieties (‘Beijing 8’, ‘Baixue’, ‘Shahong’, and ‘Jinchun’), and both single-task (ST) and multi-task models were developed. Important spectral features contributing to the predictions of the MT-CNN models were identified using gradient-weighted class activation mapping (Grad-CAM). The results indicated that both ST-CNN and MT-CNN models achieved good performance. Compared to the ST-CNN model, the MT-CNN model reduced the average <em>RMSE</em><sub><em>p</em></sub> for FI and DMC prediction across four peach varieties by 0.0256 N and 0.0719 %, respectively, while the average <em>RMSE</em><sub><em>p</em></sub> for SSC increased by only 0.0192 %. Additionally, the global MT-CNN model established based on four peach varieties showed significant improvements, achieving <em>RMSE</em><sub><em>p</em></sub> values of 9.4648 N, 0.5904 %, and 0.7628 % for FI, SSC, and DMC, with <em>R</em> values of 0.9496, 0.9615, and 0.9522, and all <em>RPD</em> values exceeding 3. Overall, the proposed MT-CNN model effectively predicted multiple quality of peaches with strong robustness across different varieties.</div></div>","PeriodicalId":20328,"journal":{"name":"Postharvest Biology and Technology","volume":"227 ","pages":"Article 113579"},"PeriodicalIF":6.8000,"publicationDate":"2025-04-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Postharvest Biology and Technology","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0925521425001917","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRONOMY","Score":null,"Total":0}
引用次数: 0
Abstract
Accurate prediction of the firmness (FI), soluble solids content (SSC), and dry matter content (DMC) of multiple peach varieties is essential for improving market value. However, traditional machine learning methods require training separate models for each quality index, increasing model complexity. To address this, we proposed a multi-task convolutional neural network (MT-CNN) model based on visible/near-infrared (Vis/NIR) spectroscopy. Quality index (FI, SSC, and DMC) and Vis/NIR spectra were measured for four peach varieties (‘Beijing 8’, ‘Baixue’, ‘Shahong’, and ‘Jinchun’), and both single-task (ST) and multi-task models were developed. Important spectral features contributing to the predictions of the MT-CNN models were identified using gradient-weighted class activation mapping (Grad-CAM). The results indicated that both ST-CNN and MT-CNN models achieved good performance. Compared to the ST-CNN model, the MT-CNN model reduced the average RMSEp for FI and DMC prediction across four peach varieties by 0.0256 N and 0.0719 %, respectively, while the average RMSEp for SSC increased by only 0.0192 %. Additionally, the global MT-CNN model established based on four peach varieties showed significant improvements, achieving RMSEp values of 9.4648 N, 0.5904 %, and 0.7628 % for FI, SSC, and DMC, with R values of 0.9496, 0.9615, and 0.9522, and all RPD values exceeding 3. Overall, the proposed MT-CNN model effectively predicted multiple quality of peaches with strong robustness across different varieties.
期刊介绍:
The journal is devoted exclusively to the publication of original papers, review articles and frontiers articles on biological and technological postharvest research. This includes the areas of postharvest storage, treatments and underpinning mechanisms, quality evaluation, packaging, handling and distribution of fresh horticultural crops including fruit, vegetables, flowers and nuts, but excluding grains, seeds and forages.
Papers reporting novel insights from fundamental and interdisciplinary research will be particularly encouraged. These disciplines include systems biology, bioinformatics, entomology, plant physiology, plant pathology, (bio)chemistry, engineering, modelling, and technologies for nondestructive testing.
Manuscripts on fresh food crops that will be further processed after postharvest storage, or on food processes beyond refrigeration, packaging and minimal processing will not be considered.