Research on Forage Hyperspectral Imagery Identification Based on Dual-Attention Auto-Encoding Dense Convolution Network
Abstract
1. Introduction
- We acquired high-resolution forage HSI images in the field and constructed a forage hyperspectral dataset.
- We propose a novel method that integrates preprocessing into the network. By calculating feature importance, reducing data dimensionality, and removing noise, the proposed method achieves preprocessing effects within the model.
- DAEDN not only exploits the advantages of dense connections and feature reuse but also enhances search capability and data utilization efficiency through the attention-based encoder mechanism. Furthermore, it strengthens data representation in both channel and spatial dimensions.
2. Experiment Data
3. Methods
3.1. Dual-Attention Auto-Encoding Dense Convolution Network
3.1.1. Dual-Attention Mechanism
3.1.2. Auto-Encoding
3.1.3. Dense Block
3.2. Comparison Method
3.3. Experimental Evaluation Parameters
4. Experiment Results and Discussion
4.1. Dataset and Parametric Analysis
4.1.1. Dataset Division
4.1.2. Learning Rate
4.1.3. Batch Size
4.2. Experiment Results
4.3. Comparative Analysis of the Convolution Neural Network Models
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Qu, P.; Dong, G.; Chen, J.; Xiao, J.; De Boeck, H.J.; Chen, J.; Jiang, S.; Batkhishig, O.; Legesse, T.G.; Xin, X.; et al. Soil environmental anomalies dominate the responses of net ecosystem productivity to heatwaves in three Mongolian grasslands. Sci. Total Environ. 2024, 944, 173742. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, J.; Zhang, L.; Liu, X.; Yang, X. Quantitative evaluation of soil water balance under a ridge-furrow rainwater harvesting system in Chinese rainfed agroecosystem. J. Sci. Food Agric. 2024, 104, 8201–8211. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Pirnajmedin, F.; Jaškūnė, K.; Majidi, M. Adaptive strategies to drought stress in grasses of the poaceae family under climate change: Physiological, genetic and molecular perspectives: A review. Plant Physiol. Biochem. 2024, 213, 108814. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zang, Z.; Li, Y.; Tang, F.; Zhao, W. Microbial network complexity supersedes diversity in predicting soil multifunctionality during dryland grassland restoration: Implications for degraded calcareous ecosystems. Agric. Ecosyst. Environ. 2026, 411, 110588. [Google Scholar] [CrossRef] [Scilit]
- Li, T.; Cui, L.; Xu, Z.; Hu, R.; Joshi, P.; Song, X.; Tang, L.; Xia, A.; Wang, Y.; Guo, D.; et al. Quantitative Analysis of the Research Trends and Areas in Grassland Remote Sensing: A Scientometrics Analysis of Web of Science from 1980 to 2020. Remote Sens. 2021, 13, 1279. [Google Scholar] [CrossRef] [Scilit]
- Beebe, G.; Knapp, P.L.; Crouch, D.C.; Maddox, D.; Davidson, B.; Stambaugh, M.; Dey, D.C. Goats and oaks: Applicability of targeted browsing to promote forage quality and conservation outcomes in woodland communities in the Central Hardwood Region of the United States. Agrofor. Syst. 2026, 100, 152. [Google Scholar] [CrossRef] [Scilit]
- Dias, M.C.; Borba, A. Precision Tools for Forage Assessment and Nutritional Decision Support in Grazing-Ruminant Systems: A Narrative Review. Agriculture 2026, 16, 1198. [Google Scholar] [CrossRef] [Scilit]
- Culqui, T.J.; Marin, A.N.; Fernandez, G.D.; Taboada-Mitma, V.H.; Cruz-Luis, J.; Neyra, H.; Anchayhua, J.Y.; Quichua-Baldeon, R.; Sánchez-Fuentes, T.; Olano, Y.M.; et al. Prediction of biomass and nutritional quality of tropical pastures using multispectral analysis and machine learning models. Smart Agric. Technol. 2026, 14, 102229. [Google Scholar] [CrossRef] [Scilit]
- Villegas, M.D.; Trujillo, C.; Rao, M.I.; Murgueitio, E.; Chará, J.; Rivera, J.E.; Moorby, J.; Sotelo, M.; Cardoso, J.A.; Oberson, A.; et al. Forage production and nitrogen dynamics in silvopastoral systems with Leucaena diversifolia in Urochloa grass-based pastures. Agric. Ecosyst. Environ. 2026, 410, 110546. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Indu, I.; Kumar, B.; Shashikumara, P.; Gupta, G.; Dikshit, N.; Chand, S.; Yadav, P.K.; Ahmed, S.; Singhal, R.K. Forage crops: A repository of functional trait diversity for current and future climate adaptation. Crop Pasture Sci. 2022, 74, 961–977. [Google Scholar] [CrossRef] [Scilit]
- Dong, S.; Shang, Z.; Gao, J.; Boone, R. Enhancing sustainability of grassland ecosystems through ecological restoration and grazing management in an era of climate change on Qinghai-Tibetan Plateau. Agric. Ecosyst. Environ. 2022, 287, 106684. [Google Scholar] [CrossRef] [Scilit]
- Ragalzi, C.M.; de Oliveira, R.G.; Ribeiro, A.G.; Pereira, C.H.; Jank, L.; Santos, M.F.; Resende, R.T. A spatial-based approach applied to early selection stages in a forage breeding program. Euphytica 2023, 219, 58. [Google Scholar] [CrossRef] [Scilit]
- Wang, J.; Cai, Z.; Jin, C.; Peng, D.; Zhai, Y.; Qi, H.; Bai, R.; Guo, X.; Yang, J.; Zhang, C. Species classification and origin identification of Lonicerae japonicae flos and Lonicerae flos using hyperspectral imaging with support vector machine. J. Food Compos. Anal. 2024, 132, 106356. [Google Scholar] [CrossRef] [Scilit]
- Yang, C.; Kong, Y.; Wang, X.; Cheng, Y. Hyperspectral Image Classification Based on Adaptive Global–Local Feature Fusion. Remote Sens. 2024, 16, 1918. [Google Scholar] [CrossRef] [Scilit]
- Zhu, C.; Zhang, T.; Wu, Q.; Li, Y.; Zhong, Q. An Implicit Transformer-based Fusion Method for Hyperspectral and Multispectral Remote Sensing Image. Int. J. Appl. Earth Obs. Geoinf. 2024, 131, 103955. [Google Scholar] [CrossRef] [Scilit]
- Ali, K.M.; Amin, B.; Maud, R.A.; Bhatti, F.A.; Sukhia, K.N.; Khurshid, K. Hyperspectral target detection using self-supervised background learning. Adv. Space Res. 2024, 74, 628–646. [Google Scholar] [CrossRef] [Scilit]
- Xiao, T.; Yang, L.; Zhang, D.; Cui, T.; Zhang, X.; Deng, Y.; Li, H.; Wang, H. Early detection of nicosulfuron toxicity and physiological prediction in maize using multi-branch deep learning models and hyperspectral imaging. J. Hazard. Mater. 2024, 474, 134723. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Siripatrawan, U.; Makino, Y. Assessment of food safety risk using machine learning-assisted hyperspectral imaging: Classification of fungal contamination levels in rice grain. Microb. Risk Anal. 2024, 27–28, 100295. [Google Scholar] [CrossRef] [Scilit]
- Liu, Y.; Zhao, X.; Song, Z.; Yu, J.; Jiang, D.; Zhang, Y.; Chang, Q. Detection of apple mosaic based on hyperspectral imaging and three-dimensional Gabor. Comput. Electron. Agric. 2024, 222, 109051. [Google Scholar] [CrossRef] [Scilit]
- Dmitriev, V.; Kozoderov, V.; Dementyev, O.; Safonova, A.N. Combining Classifiers in the Problem of Thematic Processing of Hyperspectral Aerospace Images. Optoelectron. Instrum. Data Process. 2018, 54, 213–221. [Google Scholar] [CrossRef] [Scilit]
- Corbari, L.; Capodici, F.; Ciraolo, G.; Topouzelis, K. Marine plastic detection using PRISMA hyperspectral satellite imagery in a controlled environment. Int. J. Remote Sens. 2023, 44, 6845–6859. [Google Scholar] [CrossRef] [Scilit]
- Xu, H.; Yao, W.; Cheng, L.; Li, B. Multiple Spectral Resolution 3D Convolutional Neural Network for Hyperspectral Image Classification. Remote Sens. 2021, 13, 1248. [Google Scholar] [CrossRef] [Scilit]
- Qing, Y.; Huang, Q.; Feng, L.; Qi, Y.; Liu, W. Multiscale Feature Fusion Network Incorporating 3D Self-Attention for Hyperspectral Image Classification. Remote Sens. 2022, 14, 742. [Google Scholar] [CrossRef] [Scilit]
- Xue, X.; Chen, Z.; Wu, H.; Gao, H.; Nie, J.; Li, X. Identification of EightPterocarpusSpecies and TwoDalbergiaSpecies Using Visible/Near-Infrared (Vis/NIR) Hyperspectral Imaging (HSI). Forests 2023, 14, 1259. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Q.; Sun, Z.; Shu, H. Research on Vehicle Lane Change Warning Method Based on Deep Learning Image Processing. Sensors 2022, 22, 3326. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Bae, H.S.; Lee, H.J.; Lee, S.G. Voice Recognition-Based on Adaptive MFCC and Deep Learning for Embedded Systems. J. Inst. Control Robot. Syst. 2016, 22, 797–802. [Google Scholar] [CrossRef] [Scilit]
- Segarra, D.A.; Paredes, G.A.L. Deep Learning-based Natural Language Processing Methods Comparison for Presumptive Detection of Cyberbullying in Social Networks. Int. J. Adv. Comput. Sci. Appl. 2021, 12, 796–803. [Google Scholar] [CrossRef] [Scilit]
- Zhang, C.; Li, G.; Du, S.; Tan, W.; Gao, F. Three-dimensional densely connected convolutional network for hyperspectral remote sensing image classification. J. Appl. Remote Sens. 2019, 13, 016519. [Google Scholar] [CrossRef] [Scilit]
- Ma, H.; Celik, T. FER-Net: Facial expression recognition using densely connected convolutional network. Electron. Lett. 2019, 55, 184–186. [Google Scholar] [CrossRef] [Scilit]
- Li, H.; Zhou, H.; Pan, L.; Du, Q. Gabor feature-based composite kernel method for hyperspectral image classification. Electron. Lett. 2018, 54, 628–630. [Google Scholar] [CrossRef] [Scilit]
- Kuang, P.; Ma, T.S.; Chen, Z.W.; Li, F. Image super-resolution with densely connected convolutional networks. Appl. Intell. 2019, 49, 125–136. [Google Scholar] [CrossRef] [Scilit]
- Liu, G.; Wang, G.; Bi, W.; Liu, H.; Yang, H. Cloud detection algorithm for remote sensing images based on DenseNet and attention mechanism. Remote Sens. Nat. Resour. 2022, 34, 88–96. [Google Scholar]
- Liang, L.; Li, J.; Zhang, S. Hyperspectral Image Classification Method Based on Multi-scale Densenet and Bi-RNN Joint Network. IOP Conf. Ser. Earth Environ. Sci. 2021, 783, 012087. [Google Scholar] [CrossRef] [Scilit]
- Li, S.; Wang, M.; Cheng, C.; Gao, X.; Ye, Z.; Liu, W. Spectral-Spatial-Sensorial Attention Network with Controllable Factors for Hyperspectral Image Classification. Remote Sens. 2024, 16, 1253. [Google Scholar] [CrossRef] [Scilit]
- Zhang, H.; Tu, K.; Lv, H.; Wang, R. Hyperspectral Image Classification Based on 3D–2D Hybrid Convolution and Graph Attention Mechanism. Neural Process. Lett. 2024, 56, 117. [Google Scholar] [CrossRef] [Scilit]
- Sun, Q.; Sun, Y.; Pan, C. AIDB-Net: An Attention-Interactive Dual-Branch Convolutional Neural Network for Hyperspectral Pansharpening. Remote Sens. 2024, 16, 1044. [Google Scholar] [CrossRef] [Scilit]
- Zhang, L.; Lin, H.; Zeng, F. Attention-based DenseNet network for multi-source remote sensing classification. IOP Conf. Ser. Earth Environ. Sci. 2021, 865, 012002. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Wang, T.; You, Y.; Wang, D.; Gao, J.; Liang, T. A transformer-based image detection method for grassland situation of alpine meadows. Comput. Electron. Agric. 2023, 210, 107919. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Pu, J.; Miao, D.; Zhang, L.; Zhang, L.; Du, X. SCGRFuse: An infrared and visible image fusion network based on spatial/channel attention mechanism and gradient aggregation residual dense blocks. Eng. Appl. Artif. Intell. 2024, 132, 107898. [Google Scholar] [CrossRef] [Scilit]
- Peng, D.; Zhai, C.; Zhang, Y.; Guan, H. High-resolution optical remote sensing image change detection based on dense connection and attention feature fusion network. Photogramm. Rec. 2023, 38, 498–519. [Google Scholar] [CrossRef] [Scilit]
- Li, S.; Deng, M.; Justin, L.; Ayan, S.; George, B. Imaging through glass diffusers using densely connected convolutional networks. Optica 2018, 5, 803–813. [Google Scholar] [CrossRef] [Scilit]
- Yang, W.; Liu, C.; Zeng, S.; Duan, X.; Zhang, C.; Tao, W. Rapid identification of moldy peanuts based on three-dimensional hyperspectral object detection. J. Food Compos. Anal. 2024, 133, 106400. [Google Scholar] [CrossRef] [Scilit]
- Zhong, Y.; Hu, X.; Luo, C.; Wang, X.; Zhao, J.; Zhang, L. WHU-Hi: UAV-borne hyperspectral with high spatial resolution (H2) benchmark datasets and classifier for precise crop identification based on deep convolutional neural network with CRF. Remote Sens. Environ. 2020, 250, 112012. [Google Scholar] [CrossRef] [Scilit]
- He, J.; He, J.; Liu, G.; Li, W.; Li, Z.; Li, Z. Inversion analysis of soil nitrogen content using hyperspectral images with different preprocessing methods. Ecol. Inform. 2023, 78, 102381. [Google Scholar] [CrossRef] [Scilit]
- Martinez-Vega, B.; Tkachenko, M.; Matkabi, M.; Ortega, S.; Fabelo, H.; Balea-Fernandez, F.; La Salvia, M.; Torti, E.; Leporati, F.; Callico, G.M.; et al. Evaluation of Preprocessing Methods on Independent Medical Hyperspectral Databases to Improve Analysis. Sensors 2022, 22, 8917. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Pang, B. Classification of images using EfficientNet CNN model with convolutional block attention module (CBAM) and spatial group-wise enhance module (SGE). In International Conference on Image, Signal Processing, and Pattern Recognition (ISPP 2022); SPIE: Bellingham, WA, USA, 2022. [Google Scholar] [CrossRef] [Scilit]
- Cao, W.; Feng, Z.; Zhang, D.; Huang, Y. Facial Expression Recognition via a CBAM Embedded Network. Procedia Comput. Sci. 2020, 174, 463–477. [Google Scholar] [CrossRef] [Scilit]
- Yin, M.; Chen, Z.; Zhang, C. A CNN-Transformer Network Combining CBAM for Change Detection in High-Resolution Remote Sensing Images. Remote Sens. 2023, 15, 2406. [Google Scholar] [CrossRef] [Scilit]
- Zhang, X.; Li, D.; Liu, X.; Sun, T.; Lin, X.; Ren, Z. Research of segmentation recognition of small disease spots on apple leaves based on hybrid loss function and CBAM. Front. Plant Sci. 2023, 14, 1175027. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zheng, Z.; Zhang, S.; Song, H.; Yan, Q. Deep clustering using 3D attention convolutional autoencoder for hyperspectral image analysis. Sci. Rep. 2024, 14, 4209. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhou, B.; Zhang, X.; Chen, X.; Ren, M.; Feng, Z. HyperRefiner: A refined hyperspectral pansharpening network based on the autoencoder and self-attention. Int. J. Digit. Earth 2023, 16, 3268–3294. [Google Scholar] [CrossRef] [Scilit]
- Li, W.; Chen, H.; Liu, Q.; Liu, H.; Wang, Y.; Gui, G. Attention Mechanism and Depthwise Separable Convolution Aided 3DCNN for Hyperspectral Remote Sensing Image Classification. Remote Sens. 2022, 14, 2215. [Google Scholar] [CrossRef] [Scilit]
- Wei, X.; Yang, J.; Lv, M.; Chen, W.; Ma, X.; Long, M.; Xia, S. ISAR High-Resolution Imaging Method With Joint FISTA and VGGNet. IEEE Access 2021, 9, 86685–86697. [Google Scholar] [CrossRef] [Scilit]
- Liu, Y.; Liu, J.; Zhao, X.; Pan, X.; Yan, W. Research on identification and classification of grassland forage based on deep learning and attention mechanisms. IET Image Process. 2023, 17, 2628–2639. [Google Scholar] [CrossRef] [Scilit]
- Liu, Y.; Pan, X.; Liu, J.; Zhang, S.; Yan, W. Research on near-ground forage hyperspectral imagery classification based on fusion preprocessing process. Int. J. Digit. Earth 2023, 16, 4707–4725. [Google Scholar] [CrossRef] [Scilit]














| Num | Forage | Sample Size |
|---|---|---|
| 1 | Agropyron mongolianum | 2000 |
| 2 | Old wheat awn | 2000 |
| 3 | Festuca rubra | 2000 |
| 4 | Oats | 2000 |
| 5 | Yellow flower hybrid alfalfa | 2000 |
| 6 | Wheatgrass glabra | 2000 |
| 7 | Elymus canadensis | 2000 |
| 8 | Bromegrass | 2000 |
| 9 | Melilotoides erect | 2000 |
| 10 | Festuca dahurica | 2000 |
| Forage | 3DCNN | VGG-16 | 3DSECNN | CAD | DAEDN |
|---|---|---|---|---|---|
| Agropyron mongolianum | 85.54 ± 2.08 | 92.03 ± 2.44 | 95.77 ± 1.13 | 98.11 ± 1.03 | 100 ± 1.16 |
| Old wheat awn | 83.07 ± 1.58 | 89.76 ± 2.91 | 93.31 ± 0.97 | 93.85 ± 0.55 | 97.82 ± 0.93 |
| Festuca rubra | 90.55 ± 3.54 | 84.53 ± 0.50 | 94.00 ± 1.56 | 94.78 ± 1.23 | 97.75 ± 0.90 |
| Oats | 86.47 ± 1.92 | 85.99 ± 0.76 | 93.86 ± 2.31 | 91.60 ± 1.15 | 100 ± 2.05 |
| Yellow flower hybrid alfalfa | 88.20 ± 1.13 | 90.55 ± 1.25 | 91.73 ± 3.10 | 93.38 ± 2.36 | 96.22 ± 1.44 |
| Wheatgrass glabra | 85.42 ± 0.64 | 93.54 ± 1.40 | 89.57 ± 2.84 | 97.41 ± 0.87 | 98.36 ± 1.67 |
| Elymus canadensis | 80.58 ± 2.67 | 88.18 ± 0.78 | 95.83 ± 1.19 | 98.56 ± 1.06 | 100 ± 1.82 |
| Bromegrass | 89.26 ± 1.75 | 88.23 ± 0.65 | 97.27 ± 0.87 | 95.53 ± 1.44 | 97.61 ± 0.77 |
| Melilotoides erect | 91.31 ± 2.44 | 90.11 ± 1.10 | 93.41 ± 1.32 | 92.34 ± 2.58 | 98.58 ± 0.45 |
| Festuca dahurica | 86.74 ± 7.81 | 84.31 ± 1.57 | 95.50 ± 1.55 | 95.08 ± 2.71 | 99.22 ± 1.80 |
| OA | 85.67 ± 1.25 | 89.60 ± 0.63 | 94.36 ± 1.32 | 95.17 ± 0.53 | 98.31 ± 0.95 |
| AA | 83.79 ± 1.31 | 87.39 ± 1.30 | 92.85 ± 1.75 | 93.59 ± 0.72 | 96.10 ± 0.82 |
| Precision | 84.64 ± 0.53 | 90.14 ± 1.58 | 93.75 ± 0.71 | 95.32 ± 0.66 | 95.49 ± 0.57 |
| Recall | 86.77 ± 0.80 | 89.22 ± 1.20 | 94.55 ± 1.04 | 94.88 ± 0.40 | 96.12 ± 0.42 |
| Kappa | 83.57 ± 0.57 | 87.15 ± 1.15 | 91.29 ± 1.17 | 91.25 ± 1.26 | 98.44 ± 0.83 |
| Time (n/epochs, min) | 17.26 ± 3.82 | 16.33 ± 2.24 | 11.67 ± 2.25 | 5.15 ± 2.13 | 3.82 ± 1.36 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Liu, Y.; Chen, C.; Liu, J.; Pan, X.; Wu, R. Research on Forage Hyperspectral Imagery Identification Based on Dual-Attention Auto-Encoding Dense Convolution Network. Agronomy 2026, 16, 1285. https://doi.org/10.3390/agronomy16131285
Liu Y, Chen C, Liu J, Pan X, Wu R. Research on Forage Hyperspectral Imagery Identification Based on Dual-Attention Auto-Encoding Dense Convolution Network. Agronomy. 2026; 16(13):1285. https://doi.org/10.3390/agronomy16131285
Chicago/Turabian StyleLiu, Yilei, Chen Chen, Jiangping Liu, Xin Pan, and Rigeng Wu. 2026. "Research on Forage Hyperspectral Imagery Identification Based on Dual-Attention Auto-Encoding Dense Convolution Network" Agronomy 16, no. 13: 1285. https://doi.org/10.3390/agronomy16131285
APA StyleLiu, Y., Chen, C., Liu, J., Pan, X., & Wu, R. (2026). Research on Forage Hyperspectral Imagery Identification Based on Dual-Attention Auto-Encoding Dense Convolution Network. Agronomy, 16(13), 1285. https://doi.org/10.3390/agronomy16131285

