WGAN-GP augmented hyperspectral framework for pest infestation grading in stored Astragalus membranaceus

To address the issues of poor model generalization caused by sample scarcity and class imbalance in hyperspectral detection of storage Astragalus pests, this study proposes a detection method that integrates near-infrared hyperspectral imaging with Wasserstein Generative Adversarial Network with Gradient Penalty (WGAN-GP) data augmentation. By constructing a dataset containing 1023 samples, the study systematically compared four generative models: Variational Autoencoder (VAE), Generative Adversarial Network (GAN), WGAN, and WGAN-GP. The results showed that WGAN-GP performed best in terms of Root Mean Square Error (RMSE), Maximum Mean Discrepancy (MMD), and Sliced Wasserstein Distance (SWD) evaluation metrics, and the generated data highly overlapped with the real data in Principal Component Analysis (PCA) and t-distributed Stochastic Neighbor Embedding (t-SNE) visualizations. Through systematic optimization, the optimal data augmentation ratio was determined to be 0.75 times, under which the performance of five classifiers—Convolutional Neural Network (CNN), Support Vector Machine (SVM), Random Forest (RF), Transformer, and Partial Least Squares-Discriminant Analysis (PLS-DA)—was significantly improved. This study confirms that WGAN-GP data augmentation can effectively address the challenges of small sample sizes and class imbalance, providing a reliable technical solution for intelligent and non-destructive pest grading of Astragalus and other traditional Chinese medicinal materials. • Developed a WGAN-GP augmented NIR-HSI framework for pest grading in A. membranaceus . • Synthetic spectra improved CNN pest classification accuracy from 0.7362 to 0.8839. • Provides a non-destructive, scalable solution for functional food storage pest monitoring.

Authors

Publication Details

Journal
Journal of Food Composition and Analysis
Published
2025-12-11
DOI
https://doi.org/10.1016/j.jfca.2025.108781
Citations
1
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
1.75
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

WGAN-GP augmented hyperspectral framework for pest infestation grading in stored Astragalus membranaceus

Dianxuan Wang, Duangsamorn Suthisut, Peng Li, Jiaheng Zhang et al.
1 citations
Journal of Food Composition and Analysis
Smart Agriculture and AI
1.75
article

WGAN-GP augmented hyperspectral framework for pest infestation grading in stored Astragalus membranaceus

Dianxuan Wang, Duangsamorn Suthisut, Peng Li, Jiaheng Zhang, Lei Yan, Jianhua Lü, Chao Zhao, Chunqi Bai
article en
1 citations

Abstract

To address the issues of poor model generalization caused by sample scarcity and class imbalance in hyperspectral detection of storage Astragalus pests, this study proposes a detection method that integrates near-infrared hyperspectral imaging with Wasserstein Generative Adversarial Network with Gradient Penalty (WGAN-GP) data augmentation. By constructing a dataset containing 1023 samples, the study systematically compared four generative models: Variational Autoencoder (VAE), Generative Adversarial Network (GAN), WGAN, and WGAN-GP. The results showed that WGAN-GP performed best in terms of Root Mean Square Error (RMSE), Maximum Mean Discrepancy (MMD), and Sliced Wasserstein Distance (SWD) evaluation metrics, and the generated data highly overlapped with the real data in Principal Component Analysis (PCA) and t-distributed Stochastic Neighbor Embedding (t-SNE) visualizations. Through systematic optimization, the optimal data augmentation ratio was determined to be 0.75 times, under which the performance of five classifiers—Convolutional Neural Network (CNN), Support Vector Machine (SVM), Random Forest (RF), Transformer, and Partial Least Squares-Discriminant Analysis (PLS-DA)—was significantly improved. This study confirms that WGAN-GP data augmentation can effectively address the challenges of small sample sizes and class imbalance, providing a reliable technical solution for intelligent and non-destructive pest grading of Astragalus and other traditional Chinese medicinal materials. • Developed a WGAN-GP augmented NIR-HSI framework for pest grading in A. membranaceus . • Synthetic spectra improved CNN pest classification accuracy from 0.7362 to 0.8839. • Provides a non-destructive, scalable solution for functional food storage pest monitoring.

Journal of Food Composition and AnalysisVol. 149
Openalex Percentile: Top 11%
Smart Agriculture and AI
1.75
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.