SSL-GAT: A self-supervised learning-based graph attention network for agricultural machinery trajectory operation mode identification

Authors

  • Weixin Zhai 1. College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China
  • Zekun Lyu 1. College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China
  • Zhichao Li 1. College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China
  • Jiawen Pan 1. College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China; 2. College of Computer and Information Sciences, Fujian Agriculture and Forestry University, Fuzhou 350002, China; 3. Center for Artificial Intelligence in Agriculture, Fujian Agriculture and Forestry University, Fuzhou 350002, China; 4. Department of Geography, Ghent University, Krijgslaan 281 S8, 9000, Ghent, Belgium
  • Defang Li 5. Weichai Lovol Intelligent Agricultural Technology CO., LTD, Weifang 261206, China
  • Deming Sun 5. Weichai Lovol Intelligent Agricultural Technology CO., LTD, Weifang 261206, China
  • Usmon Mamur Mahmadyorzoda 6. Tajik Agrarian University named after Shirinsho Shotemur, Dushanbe 734003, Republic of Tajikistan
  • Nozim Numon Alizoda 6. Tajik Agrarian University named after Shirinsho Shotemur, Dushanbe 734003, Republic of Tajikistan

Abstract

In the agricultural domain, agricultural machinery trajectory operation mode identification is essential for spatiotemporal trajectory processing. Its goal is to classify machinery trajectories into road travel or field operations by extracting latent spatiotemporal features. However, conventional models lack effective feature enhancement and ignore the varying importance of trajectory points, thereby weakening feature representation and reducing identification accuracy. To overcome these challenges, a self-supervised learning-based GAT is proposed for identifying agricultural machinery trajectory operation modes. First, to enhance trajectory feature representation, a multi-dimensional feature enhancement module is introduced based on statistical methods. To mitigate the impact of redundant features on model performance, a bidirectional feature fusion module is subsequently proposed that captures both interpoint and intrapoint dependencies, thereby enhancing spatiotemporal representations and suppressing irrelevant information. Next, to capture the importance of trajectory points, a graph attention network (GAT) with a masked attention mechanism is introduced. Finally, to reduce the dependence on labeled data and improve the model’s feature learning capability, self-supervised learning is used as a pretraining step for the GAT. To evaluate SSL-GAT, experiments are conducted on two real-world paddy and wheat harvester datasets. For the paddy dataset, SSL-GAT reaches 95.92% accuracy and a 92.42% F1-score, exceeding those of GAN-BiLSTM by 4.67% and 5.24%, respectively. On the wheat dataset, it achieves 93.92% accuracy and a 90.72% F1-score, with gains of 5.58% and 4.49% over GAN-BiLSTM. These results collectively demonstrate that our SSL-GAT model achieves superior performance, establishing it as a new state-of-the-art model in agricultural machinery trajectory operation mode identification.      

Keywords: agricultural machinery trajectory operation mode identification; multi-dimensional feature enhancement module; bidirectional feature fusion module; attention mechanism; self-supervised learning

DOI: 10.25165/j.ijabe.20261902.9966

 

Citation: Zhai W X, Lyu Z, Li Z C, Pan J W, Li D F, Sun D M, et al. SSL-GAT: A self-supervised learning-based graph attention network for agricultural machinery trajectory operation mode identification. Int J Agric & Biol Eng, 2026; 19(2): 282–293.

References

[1] Zhai W X, Xu Z, Pan J W, Guo Z, Wu C C. A general image classification model for agricultural machinery trajectory mode recognition. Computers and Electronics in Agriculture, 2024; 227: 109629.

[2] Wu C C, Li D, Zhang X Q, Pan J W, Quan L, Yang L L, et al. China’s agricultural machinery operation big data system. Computers and Electronics in Agriculture, 2023; 205: 107594.

[3] Zhai W X, Xiong X Y, Mo G Z, Xiao Y Z, Wu C C, Xu Z, et al. A bagging-SVM field-road trajectory classification model based on feature enhancement. Computers and Electronics in Agriculture, 2024; 217: 108635.

[4] Pan J W, Wu C C, Zhai W X. A hybrid genetic slime mould algorithm for parameter optimization of field-road trajectory segmentation models. Information Processing in Agriculture, 2024; 11(4): 590–602.

[5] Zhai W X, Xu Z, Liu J M, Xiong X Y, Pan J W, Chung S, et al. Feature deformation network with multi-range feature enhancement for agricultural machinery operation mode identification. Int J Agric & Biol Eng, 2024; 17(4): 265–275.

[6] Pan J W, Guo Z, Wu C C, Zhai W X. Parameter optimization of the field-road trajectory segmentation model based on the chaos sensing slime mould algorithm. Soft Computing, 2024; 28(19): 11065–11132.

[7] Sun Q, Xia J H, Foster J, Falkmer T, Lee H. Pursuing precise vehicle movement trajectory in urban residential area using multi-GNSS RTK tracking. Transportation Research Procedia, 2017; 25: 2356–2372.

[8] Zhai W X, Kuang X R, Cheng X Y, Pan J W, Wu C C. Reconstruction of missing points in agricultural machinery trajectory based on bidirectional adjacent information. Computers and Electronics in Agriculture, 2024; 220: 108920.

[9] Zhai W X, Ni Z X, Xu Z, Pan J W, Wu C C. T2R-pix2pix: A method for constructing rural thematic road network based on pix2pix. Computers and Electronics in Agriculture, 2025; 230: 109911.

[10] Song X P, Potapov P V, Krylov A, King L, Di Bella C M, Hudson A, et al. National-scale soybean mapping and area estimation in the United States using medium resolution satellite imagery and field survey. Remote Sensing of Environment, 2017; 190: 383–395.

[11] Rodias E, Berruto R, Busato P, Bochtis D, Sørensen C G, Zhou K. Energy savings from optimised in-field route planning for agricultural machinery. Sustainability, 2017; 9(11): 1956.

[12] Liu Y, Shi L, Gao Y, Kou C, Yang S. Research on the optimized management of agricultural machinery allocation path based on teaching and learning optimization algorithm. Tehnički vjesnik - Technical Gazette, 2022; 29(2): 456–463.

[13] Li H C, Gao F, Zuo G C. Research on the agricultural machinery path tracking method based on deep reinforcement learning. Scientific Programming, 2022; 2022: 6385972.

[14] Liu L, Chen T, Yang S G, Wang X L. Analysis on the mode of trans-regional allocation of agricultural machinery. American Journal of Plant Sciences, 2020; 11(7): 1049.

[15] Li D, Liu X, Zhou K, Sun R Z, Wang C T, Zhai W X, et al. Discovering spatiotemporal characteristics of the trans-regional harvesting operation using big data of GNSS trajectories in China. Computers and Electronics in Agriculture, 2023; 211: 108003.

[16] Lacour S, Burgun C, Perilhon C, Descombes G, Doyen V. A model to assess tractor operational efficiency from bench test data. Journal of Terramechanics, 2014; 54: 1–18.

[17] Lee J W, Kim J S, Kim K U. Computer simulations to maximise fuel efficiency and work performance of agricultural tractors in rotovating and ploughing operations. Biosystems Engineering, 2016; 142: 1–11.

[18] Bochtis D D, Sørensen C G C, Busato P. Advances in agricultural machinery management: A review. Biosystems Engineering, 2014; 126: 69–81.

[19] Sopegno A, Calvo A, Berruto R, Busato P, Bocthis D. A web mobile application for agricultural machinery cost analysis. Computers and Electronics in Agriculture, 2016; 130: 158–168.

[20] Molari G, Mattetti M, Lenzini N, Fiorati S. An updated methodology to analyse the idling of agricultural tractors. Biosystems Engineering, 2019; 187: 160–170.

[21] Pagare V, Nandi S, Khare D K. Appraisal of optimum economic life for farm tractor: A case study. Economic Affairs, 2019; 64(1): 111–118.

[22] Bhat S A, Huang N F. Big data and AI revolution in precision agriculture: Survey and challenges. IEEE Access, 2021; 9: 110209–110222.

[23] Kamilaris A, Kartakoullis A, Prenafeta-Boldú F X. A review on the practice of big data analysis in agriculture. Computers and Electronics in Agriculture, 2017; 143: 23–37.

[24] Liakos K G, Busato P, Moshou D, Pearson S, Bochtis D. Machine learning in agriculture: A review. Sensors, 2018; 18(8): 2674.

[25] Pan C Y, Zhai W X. AMGFormer: A multilevel GNSS recording autoencoder for agricultural machinery trajectory operation mode identification. Computers and Electronics in Agriculture, 2025; 237: 110638.

[26] Zhai W X, Guo Z, Pan J W, Xu J W, Wu C C. Addressing local sparsity in massive agricultural machinery trajectories: A BiLSTM-GRU approach. Computers and Electronics in Agriculture, 2024; 226: 109376.

[27] Zhai W X, Zhang X Y, Liu J M, Pan J W, Wu C C. A dual-level interactive cascade network for agricultural machinery trajectory operation mode identification. Computers and Electronics in Agriculture, 2025; 238: 110788.

[28] Hao F Q, Zhao X Y, Bian C X, Kong H, Dong X J, Bai J Q. VEBiLSTM: A Neural network for field-road classification using enhanced spatiotemporal features. In: Neural Information Processing, 2025; 15291: 245–258.

[29] Poteko J, Eder D, Noack P O. Identifying operation modes of agricultural vehicles based on GNSS measurements. Computers and Electronics in Agriculture, 2021; 185: 106105.

[30] Kotsiantis S B. Decision trees: A recent overview. Artificial Intelligence Review, 2011; 39(4): 261–283.

[31] Chen Y, Zhang X Q, Wu C C, Li G Y. Field-road trajectory segmentation for agricultural machinery based on direction distribution. Computers and Electronics in Agriculture, 2021; 186: 106180.

[32] Chen Y, Li G Y, Zhang X Q, Jia J P, Zhou K, Wu C C. Identifying field and road modes of agricultural machinery based on GNSS recordings: A graph convolutional neural network approach. Computers and Electronics in Agriculture, 2022; 198: 107082.

[33] Xiao Y Z, Mo G Z, Xiong X Y, Pan J W, Hu B B, Wu C C, et al. DR-XGBoost: An XGBoost model for field-road segmentation based on dual feature extraction and recursive feature elimination. Int J Agric & Biol Eng, 2023; 16(3): 169–179.

[34] Zhai W X, Mo G Z, Xiao Y Z, Xiong X Y, Wu C C, Zhang X Q, et al. GAN-BiLSTM network for field-road classification on imbalanced GNSS recordings. Computers and Electronics in Agriculture, 2024; 216: 108457.

[35] Tolstikhin I, Houlsby N, Kolesnikov A, Beyer L. MLP-Mixer: An all-MLP architecture for vision. 2021; arXiv e-press, arXiv: 2105.01601. doi: 10.48550/arXiv.2105.01601.

[36] Veličković P, Cucurull G, Casanova A, Romero A, Liò P, Bengio Y. Graph Attention Networks. 2018; arXiv e-press, arXiv: 1710.10903. doi: 10.48550/arXiv.1710.10903.

[37] Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez A N, et al. Attention is all you need. Advances in Neural Information Processing Systems, 2017; 30. Available: https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html. Accessed on [2025-12-03].

[38] Liu X, Zhang F J, Hou Z Y, Mian L, Wang Z Y, Zhang J, et al. Self-supervised learning: Generative or contrastive. IEEE Transactions on Knowledge and Data Engineering, 2021; 35(1): 857–876.

[39] Liu Y X, Jin M, Pan S R, Zhou C, Zheng Y, Xia F, et al. Graph self-supervised learning: A survey. IEEE Transactions on Knowledge and Data Engineering, 2023; 35(6): 5879–5900.

[40] Kingma D P, Ba J. Adam: A method for stochastic optimization. 2017; arXiv e-press, arXiv: 1412.6980. doi: 10.48550/arXiv.1412.6980.

Downloads

Published

2026-05-21

How to Cite

(1)
Zhai, W.; Lyu, Z.; Li, Z.; Pan, J.; Li, D.; Sun, D.; Mahmadyorzoda, U. M.; Alizoda, N. N. SSL-GAT: A Self-Supervised Learning-Based Graph Attention Network for Agricultural Machinery Trajectory Operation Mode Identification. Int J Agric & Biol Eng 2026, 19, 282-293.

Issue

Section

Information Technology, Sensors and Control Systems

Most read articles by the same author(s)