首页|期刊导航|华南农业大学学报|基于PPO算法的自适应光谱数据增强框架:一种预测龙眼TSS含量的新方法

基于PPO算法的自适应光谱数据增强框架:一种预测龙眼TSS含量的新方法OA

An adaptive spectral data augmentation framework based on PPO algorithm:A novel method for predicting longan TSS content

中文摘要英文摘要

[目的]龙眼成熟度的快速、准确判别对采收期调控至关重要.总可溶性固形物(Total soluble solids,TSS)含量是其核心评价指标,但传统检测方法耗时且无法满足实时需求.近红外光谱(Near-infrared spectroscopy,NIRS)作为无损监测技术具备应用潜力,然而农业场景中数据匮乏导致的小样本问题,严重制约了其建模精度与实际应用效果.本文旨在解决这一技术瓶颈,实现龙眼 TSS 含量的快速无损检测.[方法]本研究创新性地提出一种基于近端策略优化算法的自适应光谱数据增强框架.该框架将增强策略选择过程建模为强化学习任务,智能体通过动态组合噪声添加、平移与缩放等变换操作,生成可有效提升下游 CatBoost 模型预测精度的高质量样本数据;同时引入 Z-score 离群值筛选机制,以确保数据的物理合理性.[结果]在含有 400 个样本的龙眼 TSS 含量数据集上,所提框架测试集决定系数(Coefficient of determination,R2)达 0.755 6,平均绝对误差(Mean absolute error,MAE)为 1.696 1,相对预测偏差(Relative predictive deviation,RPD)为 1.604 4,优于PCA+SVR(R2=0.122 7)、PCA+RFR(R2=0.621 8)等基线模型及单一固定增强策略;过拟合差距(训练集与验证集R2 差值)仅为 0.144 3,在提升预测精度的同时,有效提升了模型鲁棒性.[结论]本研究为解决农业光谱分析中的小样本难题提供了一种智能化、自适应且稳定可靠的新方案,具有重要的理论意义与广阔的应用前景.

[Objective]Rapid and accurate assessment of longan maturity is crucial for harvest time regulation.The content of total soluble solids(TSS)serves as the core evaluation index,yet traditional detection methods are time-consuming and fail to meet real-time requirements.Near-infrared spectroscopy(NIRS),as a non-destructive monitoring technology,holds significant application potential.However,the small-sample problem caused by data scarcity in agricultural scenarios severely restricts its modeling accuracy and practical applicability.This study aims to address this technical bottleneck and achieve rapid non-destructive detection of TSS content in longan.[Method]This study innovatively proposed an adaptive spectral data augmentation framework based on the proximal policy optimization(PPO)algorithm.The framework formulated the selection of augmentation strategies as a reinforcement learning process.The agent dynamically combined actions such as noise addition,translation and scaling to generate high-quality samples that enhanced the prediction performance of the downstream CatBoost model.Meanwhile the Z-score outlier filtering mechanism was introduced to ensure the physical rationality of the data.[Result]On longan TSS dataset of 400 samples,the coefficient of determination(R2)of the proposed framework on the test set reached 0.755 6 and the mean absolute error(MAE)was 1.696 1,and the relative predictive deviation(RPD)was 1.604 4.It was superior to baseline models such as PCA+SVR(R2=0.122 7),PCA+RFR(R2=0.621 8),as well as the single fixed augmentation strategy.Meanwhile,its overfitting gap(the difference in R2 between the training set and validation set)was only 0.144 3,which effectively improved the prediction accuracy and enhanced the model robustness.[Conclusion]This study provides an intelligent,adaptive,stable,and reliable novel solution for addressing the small-sample challenge in agricultural spectral analysis,with significant theoretical implications and broad application potential.

黄彬洋;聂博轩;孙贺光;胡珊;王一伟;兰玉彬;邓小玲

华南农业大学 人工智能与低空技术学院/国家精准农业航空施药技术国际联合研究中心/广东省智慧农业工程技术中心,广东 广州 510642华南农业大学 园艺学院,广东 广州 510642华南农业大学 人工智能与低空技术学院/国家精准农业航空施药技术国际联合研究中心/广东省智慧农业工程技术中心,广东 广州 510642华南农业大学 人工智能与低空技术学院/国家精准农业航空施药技术国际联合研究中心/广东省智慧农业工程技术中心,广东 广州 510642华南农业大学 人工智能与低空技术学院/国家精准农业航空施药技术国际联合研究中心/广东省智慧农业工程技术中心,广东 广州 510642华南农业大学 人工智能与低空技术学院/国家精准农业航空施药技术国际联合研究中心/广东省智慧农业工程技术中心,广东 广州 510642华南农业大学 人工智能与低空技术学院/国家精准农业航空施药技术国际联合研究中心/广东省智慧农业工程技术中心,广东 广州 510642

农业科技

龙眼总可溶性固形物近红外光谱小样本问题近端策略优化自适应数据增强

LonganTotal soluble solidsNear-infrared spectroscopySmall-sample problemProximal policy optimizationAdaptive data augmentation

《华南农业大学学报》 2026 (4)

627-637,11

岭南现代农业实验室科研项目(NT2021009)

10.7671/j.issn.1001-411X.202509022

评论