Litcius/Paper detail

Accurate prediction of wood moisture content using terahertz time-domain spectroscopy combined with machine learning algorithms

Min Yu, Jia Yan, Jiawei Chu, Hang Qi, Peng Xu, Shengquan Liu, Liang Zhou, Gao Junlan

2025Industrial Crops and Products18 citationsDOIOpen Access PDF

Abstract

Terahertz waves, being highly sensitive to moisture, thus have significant potential in wood moisture content detection. This study utilized terahertz time-domain spectroscopy (THz-TDS) to acquire spectral signals from poplar wood samples with varying moisture contents and extract their absorption coefficients. Classical machine learning algorithms (PLSR, DT, and RF), regularization algorithms (LR, RR, and ENR), and gradient boosting decision trees algorithms (CatBoost, LightGBM, and XGBoost) were then applied to develop predictive models for wood moisture content. Feature selection of the absorption coefficients was performed using the Competitive Adaptive Reweighted Sampling (CARS) method, while grid search and cross-validation were employed to optimize model hyperparameters. The impact of feature selection and hyperparameter optimization on prediction accuracy was assessed, and the Shapley Additive exPlanation (SHAP) method was applied to interpret the optimal model. Results indicated a positive correlation between wood moisture content and the THz absorption coefficient. The gradient boosting decision tree algorithms demonstrated superior predictive accuracy over classical machine learning and regularization algorithms. Feature selection and hyperparameter optimization significantly improved the model's predictive performance. Among these, the XGBoost algorithm provided the best model for predicting wood moisture content, achieving a coefficient of determination (R²) greater than 0.96 in the test set. SHAP analysis provided valuable insights into the contribution of specific terahertz frequencies and identified the 0.286 THz frequency as crucial for predicting wood moisture content. This study demonstrates that terahertz time-domain spectroscopy, combined with machine learning algorithms, offers a fast and accurate method for detecting wood moisture content.

Topics & Concepts

Water contentSpectroscopyAlgorithmTerahertz radiationTime domainDomain (mathematical analysis)Content (measure theory)Computer scienceMaterials scienceEnvironmental scienceMathematicsPhysicsEngineeringOptoelectronicsComputer visionMathematical analysisGeotechnical engineeringQuantum mechanicsTerahertz technology and applicationsSpectroscopy and Chemometric AnalysesAdvanced Chemical Sensor Technologies
Accurate prediction of wood moisture content using terahertz time-domain spectroscopy combined with machine learning algorithms | Litcius