天津农学院学报 ›› 2026, Vol. 33 ›› Issue (5): 84-91.doi: 10.19640/j.cnki.jtau.2026.05.013

• • 上一篇    下一篇

基于深度学习的颗粒饲料中铜、锌含量的近红外光谱反演研究

杨博涵1a, 高源1b, 何志霞2, 华旭峰1a,通信作者, 乔之怡1b,通信作者   

  1. 1.天津农学院 a.计算机与信息工程学院,天津 300392;b.水产学院,天津 300392;
    2.天津市农业生态环境监测与农产品质量检测中心,天津 300402
  • 收稿日期:2025-03-31 发布日期:2026-11-02
  • 通讯作者: 华旭峰(1973—),男,教授,学士,主要从事深度学习、智慧农业的研究。E-mail:huaxufeng@tjau.edu.cn。乔之怡(1977—),女,副教授,硕士,主要从事水生生态学方面的研究。E-mail:zhiyiqiao@tjau.edu.cn。
  • 作者简介:杨博涵(2001—),男,硕士在读,主要从事深度学习、智慧农业方面的研究。E-mail:1963271994@qq.com。
  • 基金资助:
    天津市科技计划项目(23ZYCGSN00170)

Research on near-infrared spectroscopy inversion of copper and zinc contents in granular feed based on deep learning

Yang Bohan1a, Gao Yuan1b, He Zhixia2, Hua Xufeng1a,Corresponding Author, Qiao Zhiyi1b,Corresponding Author   

  1. 1. Tianjin Agricultural university, a. College of Computer and Information Engineering, b. College of Fisheries, Tianjin 300392, China;
    2. Tianjin Agricultural Environment Monitoring and Agricultural Product Quality Testing Center, Tianjin 300402, China
  • Received:2025-03-31 Published:2026-11-02

摘要: 颗粒饲料的重金属污染已成为威胁动物源性食品安全和生态环境平衡的重要问题。为解决颗粒饲料中重金属(铜、锌)含量近红外光谱反演分析中的关键问题,特别是提升深度学习模型对光谱数据长程相关性的学习能力,本文提出了一种基于并行输入的空洞卷积神经网络(PIN-DCNN)模型。该模型通过并行输入结构处理不同波段的数据,引入空洞卷积扩大感受野,以提升长程特征捕获能力。为确保数据质量,采用Savitzky-Golay一阶导数平滑法和Pareto Scaling对光谱数据进行预处理,并使用预处理后的近红外光谱数据集对模型进行训练和测试。PIN-DCNN模型对铜、锌含量进行反演预测,决定系数R²分别达到0.94和0.94,均方根误差RMSE分别为280 mg/kg和410 mg/kg。与PLSR、SVR、BPNN及1D-CNN相比,PIN-DCNN在各项评价指标上均表现出显著优势。本文模型通过并行输入和空洞卷积策略,有效提升了光谱数据的特征提取能力,特别是对长程相关性的学习能力。该模型在颗粒饲料重金属含量近红外光谱反演分析中取得了较好的预测效果,为实现光谱特征的有效提取和重金属元素的预测反演提供了新思路。

关键词: 颗粒饲料, 近红外光谱反演, 并行输入, 空洞卷积

Abstract: :Heavy metal pollution in granular feed is a major, threat for the safety of animal-derived food and the balance of the ecological environment. This paper aims to solve the key problems in the near-infrared spectroscopy inversion analysis of the contents of heavy metals(copper and zinc)in granular feed, especially to improve the learning ability of deep learning models for the long-range correlations in spectral data. A parallel input-based dilated convolutional neural network(PIN-DCNN)model was proposed. This model processed data of different bands through a parallel input structure and introduces dilated convolutions to expand the receptive field, so as to enhance the ability to capture long-range features. The Savitzky-Golay first derivative smoothing method and Pareto Scaling were used to preprocess the spectral data to ensure the data quality. The preprocessed near-infrared spectroscopy dataset was used to train and test the model. The PIN-DCNN model was employed for the inversion prediction of the contents of copper and zinc. With the results that the Determination Coefficients(R2)reached 0.94 and 0.94 respectively, and the Root Mean Square Errors(RMSE)were 280 mg/kg and 410 mg/kg respectively. Compared with PLSR, SVR, BPNN, and 1D-CNN, PIN-DCNN shows significant advantages in all evaluation indexes. Through the strategies of parallel input and dilated convolution, the model in this paper effectively improves the feature extraction ability of spectral data, especially the learning ability for long-range correlations. The model performs remarkably well in the near-infrared spectroscopy inversion analysis of the heavy metal contents in granular feed, so it provides new ideas for the effective extraction of spectral features and the prediction and inversion of heavy metal elements.

Key words: granular feed, near-infrared spectroscopy inversion, parallel input architecture, dilated convolution

中图分类号: