Improved STA-BiLSTM for tea withering moisture content: detection and prediction model

Accurately predicting the moisture content of tea leaves during the withering process is crucial for ensuring process stability and maintaining tea quality. However, the withering process exhibits complex spatiotemporal characteristics and environmental interferences, posing significant challenges to deep learning methods. To address this, we propose a novel Spatiotemporal Attention-based Bidirectional Long Short-Term Memory (STA-BiLSTM) model integrated with XGBoost for moisture content prediction. First, a portable dielectric constant-based detection device was developed to acquire feature data. Compared to hyperspectral or near-infrared spectroscopy, this device offers advantages in cost-effectiveness (using low-cost capacitive and temperature/humidity sensors), portability (310 mm × 210 mm × 25 mm, 3D-printed resin casing), and industrial applicability (real-time monitoring with a capacitance range of 10–200 pF and ± 0.1% RH humidity accuracy). Its reliability was validated through extensive experiments, achieving a moisture content detection range of 9%–28% with bulk density compensation. The maximum relevance minimum redundancy (mRMR) algorithm identified seven key features (e.g., capacitance, temperature, bulk density) from high-dimensional data. A BiLSTM network extracted temporal dependencies, while a spatiotemporal attention mechanism adaptively focused on critical features and time steps. Finally, XGBoost was integrated as a post-processing ensemble layer to enhance robustness against noise and outliers in industrial environments. Specifically, XGBoost processes the STA-BiLSTM output by leveraging its regularization and gradient-boosted trees to suppress sensor noise and improve generalization. Experiments on a real-world dataset demonstrated that STA-BiLSTM-XGBoost achieved superior performance (RMSE: 0.022, R2: 0.967) over baseline models, validating its effectiveness for industrial tea withering applications.

Authors

Institutions

Publication Details

Journal
Journal of Food Measurement & Characterization
Published
2025-04-01
DOI
https://doi.org/10.1007/s11694-025-03229-2
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Improved STA-BiLSTM for tea withering moisture content: detection and prediction model

Z. Zheng, Minghao Duan, Li Zhou, J.C. Wu et al.
Journal of Food Measurement & Characterization
Spectroscopy and Chemometric Analyses
article

Improved STA-BiLSTM for tea withering moisture content: detection and prediction model

Z. Zheng, Minghao Duan, Li Zhou, J.C. Wu, Bin Chen, Bo Guo, Junhua Song
article en

Abstract

Accurately predicting the moisture content of tea leaves during the withering process is crucial for ensuring process stability and maintaining tea quality. However, the withering process exhibits complex spatiotemporal characteristics and environmental interferences, posing significant challenges to deep learning methods. To address this, we propose a novel Spatiotemporal Attention-based Bidirectional Long Short-Term Memory (STA-BiLSTM) model integrated with XGBoost for moisture content prediction. First, a portable dielectric constant-based detection device was developed to acquire feature data. Compared to hyperspectral or near-infrared spectroscopy, this device offers advantages in cost-effectiveness (using low-cost capacitive and temperature/humidity sensors), portability (310 mm × 210 mm × 25 mm, 3D-printed resin casing), and industrial applicability (real-time monitoring with a capacitance range of 10–200 pF and ± 0.1% RH humidity accuracy). Its reliability was validated through extensive experiments, achieving a moisture content detection range of 9%–28% with bulk density compensation. The maximum relevance minimum redundancy (mRMR) algorithm identified seven key features (e.g., capacitance, temperature, bulk density) from high-dimensional data. A BiLSTM network extracted temporal dependencies, while a spatiotemporal attention mechanism adaptively focused on critical features and time steps. Finally, XGBoost was integrated as a post-processing ensemble layer to enhance robustness against noise and outliers in industrial environments. Specifically, XGBoost processes the STA-BiLSTM output by leveraging its regularization and gradient-boosted trees to suppress sensor noise and improve generalization. Experiments on a real-world dataset demonstrated that STA-BiLSTM-XGBoost achieved superior performance (RMSE: 0.022, R2: 0.967) over baseline models, validating its effectiveness for industrial tea withering applications.

Journal of Food Measurement & CharacterizationVol. 19(5)
Wuyi University (CN)
Natural Science Foundation of Fujian Province
Zero hunger
Openalex Percentile: Top 93%
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.