Mango Moisture Content Prediction via a Lightweight Transformer Using Near-Infrared Spectroscopy

Rapid and accurate prediction of mango moisture content using near-infrared spectroscopy (NIRS) is crucial for assessing fruit maturity and processing. Existing convolutional neural network (CNN)-based NIRS analysis methods require manual design of convolution kernels and network architectures, resulting in insufficient adaptability in feature extraction. To address this, a lightweight Transformer model is proposed in this paper. The model directly maps NIRS spectral data into pseudo-sequences and leverages the self-attention mechanism to automatically capture global features. To validate its performance, comparisons were made between Multilayer Perceptron (MLP), CNN, and the proposed model on four datasets. Experimental results show that the lightweight Transformer achieves the best performance after first derivative (FD) preprocessing (highest R<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> =0.94), with average R<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> improvements of 0.20 and 0.03 over CNN and MLP models, respectively. This study not only confirms the efficiency of NIRS technology in nondestructive mango detection but also provides a new method for lightweight monitoring of the physicochemical properties of agricultural products.

Authors

Institutions

Publication Details

Published
2025-08-22
DOI
https://doi.org/10.1109/ccris65764.2025.11192867
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Mango Moisture Content Prediction via a Lightweight Transformer Using Near-Infrared Spectroscopy

Lingzhen Kong, Huawei He, Jiong Hu, Mengmeng Hu
Spectroscopy and Chemometric Analyses
article

Mango Moisture Content Prediction via a Lightweight Transformer Using Near-Infrared Spectroscopy

Lingzhen Kong, Huawei He, Jiong Hu, Mengmeng Hu
article en

Abstract

Rapid and accurate prediction of mango moisture content using near-infrared spectroscopy (NIRS) is crucial for assessing fruit maturity and processing. Existing convolutional neural network (CNN)-based NIRS analysis methods require manual design of convolution kernels and network architectures, resulting in insufficient adaptability in feature extraction. To address this, a lightweight Transformer model is proposed in this paper. The model directly maps NIRS spectral data into pseudo-sequences and leverages the self-attention mechanism to automatically capture global features. To validate its performance, comparisons were made between Multilayer Perceptron (MLP), CNN, and the proposed model on four datasets. Experimental results show that the lightweight Transformer achieves the best performance after first derivative (FD) preprocessing (highest R<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> =0.94), with average R<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> improvements of 0.20 and 0.03 over CNN and MLP models, respectively. This study not only confirms the efficiency of NIRS technology in nondestructive mango detection but also provides a new method for lightweight monitoring of the physicochemical properties of agricultural products.

Chongqing Technology and Business University (CN), Chongqing University of Technology (CN)
Openalex Percentile: Top 67%
Spectroscopy and Chemometric Analyses
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.