Deciphering “False Maturity” in Mountain Coffee: A Multimodal Hyperspectral Framework for Non-Destructive Sugar Content Assessment
Abstract
1. Introduction
2. Materials and Methods
2.1. Data Collection Site and Equipment Description
2.2. Acquisition of Physicochemical Indices and Environmental Factors
2.2.1. Determination of Fruit Sugar Content
2.2.2. Measurement of Leaf Physiological Indices
2.2.3. Collection of Micro-Topographic Environmental Data
2.3. Hyperspectral Data Extraction and Preprocessing
2.4. Feature Selection Algorithms
2.5. Source-Environment-Sink Multimodal Feature Fusion Framework
2.6. Model Construction and Evaluation
3. Results
3.1. Differences in Color Indices and Spectral Features
3.2. Quantitative Regression Prediction Results for Sugar Content
3.3. Multimodal Classification Models and Ablation Experiments
3.4. Analysis of Key Factors Influencing Quality Differentiation
4. Discussion
4.1. Mechanism of Color-Quality Asynchrony in Mountain Coffee
4.2. Multimodal Fusion and Model Performance Optimization
4.3. Topographic Drivers of Fruit Quality Variation
4.4. Research Limitations
5. Conclusions
- (1)
- Quantitatively confirming the risk of misclassification in industrial sorting due to “false maturity.” The spectral differences between high- and low-sugar fruits are highly concentrated in the red and red-edge regions (maximized at 676 nm), which confirms from a physical optics perspective the unreliability of harvesting decisions relying solely on external color in complex habitats.
- (2)
- Multimodal fusion significantly enhances discrimination accuracy. Compared to the single-spectrum model (mean accuracy of 75.93%), the fully fused MLP model incorporating topographic and physiological features effectively demonstrates the potential to mitigate environmental noise interference, improving the mean classification accuracy to 77.22% with a mean AUC of 0.827.
- (3)
- Establishing a topography-aware calibration strategy for coffee quality assessment. Correlation analysis confirms that micro-topographic slope () is the key driving factor for the spatial differentiation of fruit sugar content, while plant chlorophyll A content () exhibits a corresponding physiological response trend. This study provides preliminary theoretical and data support for the intelligent sorting of raw materials and demonstrates the potential to ensure the post-harvest flavor consistency of mountainous crops.
6. Patents
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| HSI | Hyperspectral Imaging |
| MLP | Multilayer Perceptron |
| UVE | Uninformative Variable Elimination |
| PLSR | Partial Least Squares Regression |
| SVM | Support Vector Machine |
| RF | Random Forest |
| AUC | Area Under the Curve |
| ROC | Receiver Operating Characteristic |
References
- Abalo, R. Coffee and Caffeine Consumption for Human Health. Nutrients 2021, 13, 2918. [Google Scholar] [CrossRef]
- Myo, H.; Khat-Udomkiri, N. Optimization of ultrasound-assisted extraction of bioactive compounds from coffee pulp using propylene glycol as a solvent and their antioxidant activities. Ultrason. Sonochem. 2022, 89, 106127. [Google Scholar] [CrossRef] [PubMed]
- Li, Z.; Zhou, B.; Zheng, T.; Zhao, C.; Shen, X.; Wang, X.; Qiu, M.; Fan, J. Integrating Metabolomics and Proteomics Technologies Provides Insights into the Flavor Precursor Changes at Different Maturity Stages of Arabica Coffee Cherries. Foods 2023, 12, 1432. [Google Scholar] [CrossRef]
- Baptistella, J.L.C.; Assoni, G.; da Silva, M.S.; Mazzafera, P. Variation in Soluble Sugars in Arabica Coffee Cherry Fruits. Plants 2024, 13, 1853. [Google Scholar] [CrossRef]
- Bauer, F.; Firth, L.B.; Knights, A.M.; Griffin, J.N.; Foggo, A.; Brown, A.; Hanley, M.E. Topographic and biogenic complexity drive the spatio-temporal formation of microclimate on intertidal eco-engineered seawalls. Mar. Pollut. Bull. 2026, 224, 119104. [Google Scholar] [CrossRef] [PubMed]
- Febrianto, N.A.; Zhu, F. Coffee bean processing: Emerging methods and their effects on chemical, biological and sensory properties. Food Chem. 2023, 412, 135489. [Google Scholar] [CrossRef]
- Akter, T.; Bhattacharya, T.; Kim, J.-H.; Kim, M.S.; Baek, I.; Chan, D.E.; Cho, B.-K. A comprehensive review of external quality measurements of fruits and vegetables using nondestructive sensing technologies. J. Agric. Food Res. 2024, 15, 101068. [Google Scholar] [CrossRef]
- Okere, E.E.; Arendse, E.; Ambaw Tsige, A.; Perold, W.J.; Opara, U.L. Pomegranate Quality Evaluation Using Non-Destructive Approaches: A Review. Agriculture 2022, 12, 2034. [Google Scholar] [CrossRef]
- Li, Q.; Luo, W.; Li, X.; Zhang, H.; Li, J.; Li, J. Structured-illumination reflectance imaging for detection of early decay in dekopon fruit coupled with fast demodulation and deep learning. Postharvest Biol. Technol. 2026, 240, 114429. [Google Scholar] [CrossRef]
- Jiang, H.; Liu, L.; Chen, Q. Rapid determination of acidity index of peanuts by near-infrared spectroscopy technology: Comparing the performance of different near-infrared spectral models. Infrared Phys. Technol. 2022, 125, 104308. [Google Scholar] [CrossRef]
- Liu, H.; Tian, L.; Wang, L.; Zhang, Z.; Li, J.; Liu, X.; Zheng, B.; Ma, H.; Wang, Y.; Li, J. Real-time grading of roasted tobacco using near infrared spectroscopy technology. Microchem. J. 2024, 204, 110963. [Google Scholar] [CrossRef]
- Wang, R.; Fang, Y.; Luo, W.; Chen, M.; Li, Z.; Yu, Y.; Ren, Z.; Huang, Y.; Dong, H. Quantitative analysis of camellia oil binary adulteration using near infrared spectroscopy combined with chemometrics. Microchem. J. 2025, 217, 115018. [Google Scholar] [CrossRef]
- Aghdamifar, E.; Rasooli Sharabiani, V.; Taghinezhad, E.; Rezvanivand Fanaei, A.; Szymanek, M. Non-destructive method for identification and classification of varieties and quality of coffee beans based on soft computing models using VIS/NIR spectroscopy. Eur. Food Res. Technol. 2023, 249, 1599–1612. [Google Scholar] [CrossRef]
- Li, X.; Xiong, X.; Guo, Y.; Wang, W.; Yang, B.; He, X.; Liu, Y. Simultaneous detection of surface defects and prediction of internal SSC of kumquats based on hyperspectral imaging technology. Infrared Phys. Technol. 2026, 153, 106321. [Google Scholar] [CrossRef]
- Medina–García, M.; Amigo, J.M.; Martínez-Domingo, M.A.; Valero, E.M.; Jiménez–Carvelo, A.M. Strategies for analysing hyperspectral imaging data for food quality and safety issues—A critical review of the last 5 years. Microchem. J. 2025, 214, 113994. [Google Scholar] [CrossRef]
- Tessaro, L.; Mutz, Y.d.S.; Orsolini, D.; Calvini, R.; Souza, N.d.O.; Silva, G.M.; Ulrici, A.; Nunes, C.A. A Systematic Review of Imaging Techniques for the Botanical and Geographical Classification of Coffee. Foods 2026, 15, 821. [Google Scholar] [CrossRef] [PubMed]
- Fass, E.; Shlomi, E.; Ziv, C.; Glickman, O.; Helman, D. Machine learning models based on hyperspectral imaging for pre-harvest tomato fruit quality monitoring. Comput. Electron. Agric. 2025, 229, 109788. [Google Scholar] [CrossRef]
- Wang, Q.; Lu, J.; Wang, Y.; Peng, K.; Gao, Z. Phenotyping of navel orange based on hyperspectral imaging technology. Comput. Electron. Agric. 2025, 237, 110642. [Google Scholar] [CrossRef]
- Wang, X.; Han, J.; Liu, C.; Feng, T. Non-destructive assessment of apple internal quality using rotational hyperspectral imaging. Front. Plant Sci. 2024, 15, 1432120. [Google Scholar] [CrossRef] [PubMed]
- Wang, F.; Zhao, C.; Yang, H.; Jiang, H.; Li, L.; Yang, G. Non-destructive and in-site estimation of apple quality and maturity by hyperspectral imaging. Comput. Electron. Agric. 2022, 195, 106843. [Google Scholar] [CrossRef]
- Park, J.-J.; Cho, J.-S.; Lee, G.; Park, S.-K.; Yun, D.-Y.; Kim, H.J.; Choi, J.-H.; Park, K.-J.; Lim, J.-H. Hyperspectral imaging-based quality assessment of salted radish with spectral feature selection. Food Biosci. 2025, 69, 106912. [Google Scholar] [CrossRef]
- Liu, Y.; Wei, C.; Yoon, S.C.; Ni, X.; Wang, W.; Liu, Y.; Wang, D.; Wang, X.; Guo, X. Development of Multimodal Fusion Technology for Tomato Maturity Assessment. Sensors 2024, 24, 2467. [Google Scholar] [CrossRef]
- Vega, F.E.; Ziska, L.H.; Simpkins, A.; Infante, F.; Davis, A.P.; Rivera, J.A.; Barnaby, J.Y.; Wolf, J. Early growth phase and caffeine content response to recent and projected increases in atmospheric carbon dioxide in coffee (Coffea arabica and C. canephora). Sci. Rep. 2020, 10, 5875. [Google Scholar] [CrossRef]
- Yao, K.; Sun, J.; Chen, C.; Xu, M.; Zhou, X.; Cao, Y.; Tian, Y. Non-destructive detection of egg qualities based on hyperspectral imaging. J. Food Eng. 2022, 325, 111024. [Google Scholar] [CrossRef]
- Zhang, Y.; Guan, M.; Wang, L.; Cui, X.; Li, T.; Zhang, F. In Situ Nondestructive Detection of Nitrogen Content in Soybean Leaves Based on Hyperspectral Imaging Technology. Agronomy 2024, 14, 806. [Google Scholar] [CrossRef]
- Chen, Y.; Zheng, X.; Li, T.; Wang, W.; Ma, Y.; Hu, P.; Cao, J.; Du, P.; Abd El-Aty, A.M. Multi-indicator adaptive prediction model for mutton based on hyperspectral imaging technology. Food Control 2026, 183, 111924. [Google Scholar] [CrossRef]
- Liu, Q.; Yu, C.; Ma, Y.; Zhang, H.; Yan, L.; Fan, S. Prediction of Key Quality Parameters in Hot Air-Dried Jujubes Based on Hyperspectral Imaging. Foods 2025, 14, 1855. [Google Scholar] [CrossRef]
- Abd-Elnaby, M.; Alfonse, M.; Roushdy, M. Classification of breast cancer using microarray gene expression data: A survey. J. Biomed. Inform. 2021, 117, 103764. [Google Scholar] [CrossRef]
- Mao, Y.; Li, H.; Wang, Y.; Fan, K.; Shen, J.; Zhang, J.; Han, X.; Song, Y.; Bi, C.; Sun, L.; et al. Low temperature response index for monitoring freezing injury of tea plant. Front. Plant Sci. 2023, 14, 1096490. [Google Scholar] [CrossRef] [PubMed]
- Cheng, H.; Zhang, Z.; Cheng, Y.; Guan, J. Potential of hyperspectral imaging for nondestructive determination of alpha-farnesene and conjugated trienol content in ‘Yali’ pear. Spectrochim. Acta A Mol. Biomol. Spectrosc. 2024, 321, 124688. [Google Scholar] [CrossRef] [PubMed]
- Li, Q.; Zhou, W.; Wang, Q.; Fu, D. Research on Online Nondestructive Detection Technology of Duck Egg Origin Based on Visible/Near-Infrared Spectroscopy. Foods 2023, 12, 1900. [Google Scholar] [CrossRef] [PubMed]
- Blumenthal, P.; Steger, M.C.; Quintanilla Bellucci, A.; Segatz, V.; Rieke-Zapp, J.; Sommerfeld, K.; Schwarz, S.; Einfalt, D.; Lachenmeier, D.W. Production of Coffee Cherry Spirits from Coffea arabica Varieties. Foods 2022, 11, 1672. [Google Scholar] [CrossRef]
- Song, J.-Y.; Qin, Z.-S.; Xue, C.-W.; Bian, L.-F.; Yang, C. Fruit grading system by reconstructed 3D hyperspectral full-surface images. Postharvest Biol. Technol. 2024, 212, 112898. [Google Scholar] [CrossRef]
- Li, L.; Wu, D.; Wang, T.; Wang, Y. Effect of topography on spatiotemporal patterns of soil moisture in a mountainous region of Northwest China. Geoderma Reg. 2022, 28, e00456. [Google Scholar] [CrossRef]
- Wang, B.; Cheng, W.; Xu, H.; Wang, R.; Song, K.; Bao, A.; Shi, Q. Vegetation differentiation characteristics and control mechanisms in the Altay region based on topographic gradients. Ecol. Indic. 2024, 160, 111838. [Google Scholar] [CrossRef]
- Neukam, D.; Ahrends, H.; Luig, A.; Manderscheid, R.; Kage, H. Integrating Wheat Canopy Temperatures in Crop System Models. Agronomy 2016, 6, 7. [Google Scholar] [CrossRef]
- An, X.; Tan, T.; Song, Z.; Guo, X.; Zhang, X.; Zhu, Y.; Wang, D. Physiological response of anthocyanin synthesis to different light intensities in blueberry. PLoS ONE 2023, 18, e0283284. [Google Scholar] [CrossRef] [PubMed]
- Ma, Y.; Xie, Y.; Ha, R.; Cao, B.; Song, L. Effects of Elevated CO2 on Photosynthetic Accumulation, Sucrose Metabolism-Related Enzymes, and Genes Identification in Goji Berry (Lycium barbarum L.). Front. Plant Sci. 2021, 12, 643555. [Google Scholar] [CrossRef]
- Burger, H.F.; Hylander, K.; Ayalew, B.; van Dam, N.M.; Mendesil, E.; Schedl, A.; Shimales, T.; Zewdie, B.; Tack, A.J.M. Bottom-up and top-down drivers of herbivory on Arabica coffee along an environmental and management gradient. Basic Appl. Ecol. 2022, 59, 21–32. [Google Scholar] [CrossRef]
- Yang, Z.-X.; Li, Y.; Wang, R.-F.; Hu, P.; Su, W.-H. Deep Learning in Multimodal Fusion for Sustainable Plant Care: A Comprehensive Review. Sustainability 2025, 17, 5255. [Google Scholar] [CrossRef]
- Chen, T.; Wei, C.K.; Li, T.; Zhang, H.L.; Ni, Z.J.; Khan, M.R.; Wei, Z.J. Effects of Reducing Sugars on the Structural and Flavor Properties of the Maillard Reaction Products of Lycium barbarum Seed Meal. Foods 2023, 12, 4346. [Google Scholar] [CrossRef]
- Fan, L.; Yu, J.; Zhang, P.; Xie, M. Prediction of Strawberry Quality during Maturity Based on Hyperspectral Technology. Agronomy 2024, 14, 1450. [Google Scholar] [CrossRef]
- Zhang, J.; Zhang, H.; Zhang, Y.; Yin, J.; Zhan, B.; Liu, X.; Luo, W. Qualitative and quantitative analysis of Nanfeng mandarin quality based on hyperspectral imaging and deep learning. Food Control 2025, 167, 110831. [Google Scholar] [CrossRef]
- Mishra, P.; Asaari, M.S.M.; Herrero-Langreo, A.; Lohumi, S.; Diezma, B.; Scheunders, P. Close range hyperspectral imaging of plants: A review. Biosyst. Eng. 2017, 164, 49–67. [Google Scholar] [CrossRef]
- Jin, S.; Liu, X.; Wang, J.; Pan, L.; Zhang, Y.; Zhou, G.; Tang, C. Hyperspectral imaging combined with fluorescence for the prediction of microbial growth in chicken breasts under different packaging conditions. LWT 2023, 181, 114727. [Google Scholar] [CrossRef]
- Li, Y.; Yao, T.; Pan, Y.; Mei, T. Contextual Transformer Networks for Visual Recognition. IEEE Trans. Pattern Anal. Mach. Intell. 2023, 45, 1489–1500. [Google Scholar] [CrossRef]
- Xu, X.; Lv, G.; Sun, Y.; Hu, Y.; Nian, F. Hierarchical cross-modal contextual attention network for visual grounding. Multimed. Syst. 2023, 29, 2073–2083. [Google Scholar] [CrossRef]
- van Voorn, G.A.K.; Boer, M.P.; Truong, S.H.; Friedenberg, N.A.; Gugushvili, S.; McCormick, R.; Bustos Korts, D.; Messina, C.D.; van Eeuwijk, F.A. A conceptual framework for the dynamic modeling of time-resolved phenotypes for sets of genotype-environment-management combinations: A model library. Front. Plant Sci. 2023, 14, 1172359. [Google Scholar] [CrossRef]
- Du, J.; Niu, J.; Gao, Z.; Chen, X.; Zhang, L.; Li, X.; van Doorn, N.S.; Luo, Z.; Zhu, Z. Effects of rainfall intensity and slope on interception and precipitation partitioning by forest litter layer. Catena 2019, 172, 711–718. [Google Scholar] [CrossRef]
- Zhang, D.; Zhao, Y.; Qi, H.; Shan, L.; Chen, G.; Ning, T. Effects of Micro-Topography and Vegetation on Soil Moisture on Fixed Sand Dunes in Tengger Desert, China. Plants 2024, 13, 1571. [Google Scholar] [CrossRef] [PubMed]
- Gxasheka, M.; Gajana, C.S.; Dlamini, P. The role of topographic and soil factors on woody plant encroachment in mountainous rangelands: A mini literature review. Heliyon 2023, 9, e20615. [Google Scholar] [CrossRef] [PubMed]
- Todorova, D.; Aleksandrov, V.; Anev, S.; Sergiev, I. Comparative Study of Photosynthesis Performance of Herbicide-Treated Young Triticale Plants during Drought and Waterlogging Stress. Agronomy 2023, 13, 1992. [Google Scholar] [CrossRef]
- Falchi, R.; Bonghi, C.; Drincovich, M.F.; Famiani, F.; Lara, M.V.; Walker, R.P.; Vizzotto, G. Sugar Metabolism in Stone Fruit: Source-Sink Relationships and Environmental and Agronomical Effects. Front. Plant Sci. 2020, 11, 573982. [Google Scholar] [CrossRef] [PubMed]
- Khan, H.; Farooque, A.A.; Acharya, B.; Abbas, F.; Esau, T.J.; Zaman, Q.U. Delineation of Management Zones for Site-Specific Information about Soil Fertility Characteristics through Proximal Sensing of Potato Fields. Agronomy 2020, 10, 1854. [Google Scholar] [CrossRef]







| Preprocessing Method | Optimal Components | R2 | RMSE | RPD | RER |
|---|---|---|---|---|---|
| 2nd-Der | 3 | 0.222 | 1.671 | 1.14 | 5.75 |
| 1st-Der | 1 | 0.215 | 1.680 | 1.13 | 5.71 |
| Detrend | 5 | 0.200 | 1.695 | 1.12 | 5.66 |
| Normalize | 4 | 0.184 | 1.712 | 1.11 | 5.61 |
| SNV | 7 | 0.174 | 1.722 | 1.11 | 5.57 |
| MSC | 2 | 0.173 | 1.724 | 1.10 | 5.57 |
| Raw | 3 | 0.163 | 1.733 | 1.10 | 5.54 |
| MA | 3 | 0.163 | 1.733 | 1.10 | 5.54 |
| SG-Smooth | 3 | 0.163 | 1.734 | 1.10 | 5.54 |
| Method | Selected Bands | R2 | RMSE | RPD | RER |
|---|---|---|---|---|---|
| UVE | 30 | 0.310 | 1.574 | 1.21 | 6.10 |
| SPA | 4 | 0.252 | 1.639 | 1.16 | 5.86 |
| CARS | 90 | 0.239 | 1.654 | 1.15 | 5.80 |
| Full-Spectrum | 290 | 0.222 | 1.671 | 1.14 | 5.75 |
| Model | R2 | RMSE | RPD | RER |
|---|---|---|---|---|
| PLSR | 0.269 | 1.621 | 1.17 | 5.92 |
| Lasso | 0.241 | 1.651 | 1.15 | 5.81 |
| Ridge | 0.234 | 1.659 | 1.15 | 5.79 |
| Random Forest | 0.220 | 1.674 | 1.14 | 5.73 |
| Model | Accuracy (%) | AUC | F1-Score |
|---|---|---|---|
| MLP (proposed) | 76.85 | 0.8250 | 0.6667 |
| Random Forest | 75.93 | 0.8072 | 0.6389 |
| Logistic Regression | 74.07 | 0.8015 | 0.6818 |
| Gradient Boosting | 73.15 | 0.7665 | 0.6329 |
| XGBoost | 72.22 | 0.7912 | 0.6429 |
| LightGBM | 71.30 | 0.7835 | 0.6265 |
| SVM (RBF) | 68.52 | 0.7169 | 0.6304 |
| Decision Tree | 65.74 | 0.6456 | 0.5647 |
| K-NN (k = 5) | 63.89 | 0.6908 | 0.4935 |
| Scenario | Description | Mean AUC | Mean Accuracy (%) | Paired t-Test p-Value | Significance |
|---|---|---|---|---|---|
| A | Fruit spectrum only | 0.832 | 75.93 | - | Reference |
| B | Spectrum + Environment | 0.818 | 75.56 | 0.424 | Not Sig |
| C | Full fusion (Spectrum + Env + Leaf) | 0.827 | 77.22 | 0.017 | * (Significant) |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Zhao, H.; Wang, Z.; Deng, L.; Yang, H.; Zheng, L.; Jian, G.; Cai, J.; Zhang, Y.; Cao, Z. Deciphering “False Maturity” in Mountain Coffee: A Multimodal Hyperspectral Framework for Non-Destructive Sugar Content Assessment. Foods 2026, 15, 2149. https://doi.org/10.3390/foods15122149
Zhao H, Wang Z, Deng L, Yang H, Zheng L, Jian G, Cai J, Zhang Y, Cao Z. Deciphering “False Maturity” in Mountain Coffee: A Multimodal Hyperspectral Framework for Non-Destructive Sugar Content Assessment. Foods. 2026; 15(12):2149. https://doi.org/10.3390/foods15122149
Chicago/Turabian StyleZhao, Hongbo, Zhijia Wang, Linrui Deng, Huijuan Yang, Luoyi Zheng, Guangyao Jian, Jiyuan Cai, Yuanhao Zhang, and Zhiyong Cao. 2026. "Deciphering “False Maturity” in Mountain Coffee: A Multimodal Hyperspectral Framework for Non-Destructive Sugar Content Assessment" Foods 15, no. 12: 2149. https://doi.org/10.3390/foods15122149
APA StyleZhao, H., Wang, Z., Deng, L., Yang, H., Zheng, L., Jian, G., Cai, J., Zhang, Y., & Cao, Z. (2026). Deciphering “False Maturity” in Mountain Coffee: A Multimodal Hyperspectral Framework for Non-Destructive Sugar Content Assessment. Foods, 15(12), 2149. https://doi.org/10.3390/foods15122149

