NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bayesian aggregation improves traditional single image crop classification approaches

Ivan Matvienko, Mikhail Gasanov, Anna Petrovskaia, Raghavendra Belur Jana, Maria Pukalchik, Ivan V. OseledetsarXiv 2020

Abstract

In precision agriculture, accurate crop type mapping is essential for food security and market analysis. While multi-temporal satellite data is the standard, frequent cloud cover often limits its availability. This study investigates single-image crop classification using the Farmpins dataset from South Africa. We compare traditional machine learning models with a U-Net deep learning architecture and introduce a Bayesian aggregation strategy to refine pixel-level predictions into field-level classifications. Our results show that Bayesian aggregation consistently outperforms standard majority voting, with Gradient Boosting achieving a peak overall accuracy of 77.4%.

Introduction

Identifying crop types through satellite imagery is a cornerstone of modern agricultural management. Traditionally, researchers rely on multi-temporal "signatures"—sequences of images capturing the growth cycle of crops. However, in regions prone to persistent cloud cover or snow, obtaining a complete time series is often impossible. This necessitates effective single-image classification methods. Single-image tasks are inherently more difficult as they lack the temporal context that distinguishes crops with similar peak-season spectral profiles.

Methodology

The study evaluates several classification frameworks and a novel aggregation technique to bridge the gap between pixel-level noise and field-level consistency.

Model Architectures

The researchers tested three classical machine learning algorithms: K-Nearest Neighbors (KNN), Random Forest (RF), and Gradient Boosting (GB). Additionally, they implemented a Deep Learning approach using a U-Net architecture enhanced with Squeeze-and-Excitation (SE) blocks. The SE blocks allow the model to perform channel-wise feature recalibration, improving its ability to focus on the most informative spectral bands.

U-Net architecture with Squeeze-and-Excitation (SE) blocks.

Handling Class Imbalance

The dataset exhibited significant class imbalance, with some crops like Vineyard being much more prevalent than others like Dates. To mitigate this, the authors employed Synthetic Minority Over-sampling Technique (SMOTE) and Random Over/Under-Sampling (ROS/RUS) to ensure the models did not bias towards majority classes.

Bayesian Aggregation

The core innovation is the use of Bayesian aggregation to convert pixel-wise predictions into field-wise results. While standard approaches often use "majority voting" (assigning the most frequent pixel label to the entire field), Bayesian aggregation sums the log-odds of predictions across all pixels within a known field boundary. A smoothing factor ($\alpha$) is applied to the raw probabilities to prevent outliers or high-confidence errors from skewing the final result.

Data and Preprocessing

The study utilized the Farmpins Crop Classification dataset, consisting of Sentinel-2B imagery (13 spectral bands) covering 2,497 labeled fields in South Africa. The data includes nine crop classes, such as Lucerne, Maize, and Cotton. Preprocessing involved upsampling to 10m resolution and calculating vegetation indices like NDVI and EVI to enhance spectral features. Fields smaller than 0.5 hectares were excluded to maintain data quality.

Results and Discussion

The experimental results highlight the importance of spatial constraints in agricultural classification.

The Power of Field-Level Grouping

The transition from pixel-wise to field-wise classification provided the most significant performance gains. This confirms that the prior knowledge—that a physical field contains a single crop—is a critical constraint for improving accuracy in noisy satellite data.

Aggregation Performance

Bayesian aggregation proved superior to both majority voting and simple averaging. As shown in the results, it provided a consistent boost of approximately 1.5% over majority voting.

Comparison of overall accuracy across different aggregation strategies.

Interestingly, while the U-Net+SE model performed best at the pixel level (70.1% accuracy), it was surpassed by Gradient Boosting (GB) once field-level aggregation was applied. The GB model with Bayesian aggregation achieved the highest overall accuracy of 77.4% and a macro F1-score of 0.66. This suggests that for single-image tasks, robust feature engineering combined with sophisticated aggregation can outperform complex neural networks.

Conclusion

This research demonstrates that single-image crop classification is a viable alternative when multi-temporal data is unavailable. The introduction of Bayesian aggregation provides a mathematically grounded method for field-level refinement that outperforms traditional voting schemes. Future work will focus on testing the generalizability of these models across different geographic regions and optimizing the smoothing parameters for varying levels of atmospheric noise.

Summary updated

BibTeX
@misc{matvienko2020bayesian,
  author = {Ivan Matvienko and Mikhail Gasanov and Anna Petrovskaia and Raghavendra Belur Jana and Maria Pukalchik and Ivan V. Oseledets},
  title = {{Bayesian aggregation improves traditional single image crop classification approaches}},
  year = {2020},
  eprint = {2004.03468},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.03468},
}
Figure