Abstract:Aiming to address the challenge that wide-width maize planters face in independently regulating seeding rates according to inter-row soil nutrient heterogeneity during variable-rate seeding, a lightweight real-time generation algorithm for local soil organic matter (SOM) distribution maps was proposed based on generative adversarial network (GAN), referred to as lightweight local soil organic matter distribution maps real-time generation algorithm (L-LSA). The algorithm integrated a parallel architecture of dilated convolutions and standard convolutional residual blocks to enable collaborative extraction of global and local features from soil data points. These high-dimensional features were progressively upsampled and refined through a multi-layer deconvolutional residual network to generate high-precision local SOM distribution maps. To enhance boundary accuracy of the generated maps, the training process introduced a self-reconstruction task to improve the model’s edge-awareness capabilities. Additionally, it incorporated a gradient-penalized discriminator loss and a mean squared error (MSE) generator loss to jointly optimize the network parameters, ensuring that the generated images achieved high consistency with ground-truth maps in both pixel-wise accuracy and overall distribution. To verify the feasibility and advantages of variable-rate seeding strategies based on the L-LSA algorithm, a performance evaluation was conducted. The results showed that although increasing planter width slightly affected the map generation performance when using the test dataset as input, the overall accuracy remained high. The relative error (RE) stayed below 2.5%, the root mean squared error (RMSE) was controlled under 1.0g/kg, and the response time remained stable within 10ms. Field validation experiments further demonstrated that the L-LSA algorithm outperformed traditional Kriging interpolation methods, reducing prediction errors at map boundaries by up to 1.67 percentage points and in central regions by up to 0.75 percentage points, with an overall accuracy improvement of over 0.93 percentage points. This effectively addressed the limitation of Kriging in boundary regions and improved overall mapping precision. Moreover, seeding accuracy evaluation using the L-LSA-generated global seeding prescription maps for 4-row, 6-row, and 8-row maize planters revealed accuracy improvements of 1.33, 3.46, and 2.33 percentage points, respectively, compared with sensor-based variable-rate seeding strategies. These findings demonstrated that the proposed approach significantly enhanced the precision of variable-rate seeding operations. The research result can provide a technically effective method for high-precision local soil information mapping and offered a direction for variable-rate seeding decision-making.