[Paper Review] On Convolutional Vision Transformers for Yield Prediction
This paper evaluates the Convolutional Vision Transformer (CvT) for soybean yield prediction using low-resolution remote sensing histograms, comparing it to XGBoost and CNNs. Despite leveraging global attention and convolutional inductive biases, CvT underperforms both XGBoost and CNNs in terms of RMSE and R², suggesting local feature learning is more critical than global context in histogram-based yield modeling.
While a variety of methods offer good yield prediction on histogrammed remote sensing data, vision Transformers are only sparsely represented in the literature. The Convolution vision Transformer (CvT) is being tested to evaluate vision Transformers that are currently achieving state-of-the-art results in many other vision tasks. CvT combines some of the advantages of convolution with the advantages of dynamic attention and global context fusion of Transformers. It performs worse than widely tested methods such as XGBoost and CNNs, but shows that Transformers have potential to improve yield prediction.
Motivation & Objective
- To assess the performance of Convolutional Vision Transformers (CvT) in soybean yield prediction using remote sensing data.
- To compare CvT's performance against established methods like XGBoost and CNNs on county-level soybean yield data.
- To investigate whether vision transformers can effectively model low-resolution spectral histograms for agricultural yield regression.
- To evaluate the impact of architectural choices in CvT, such as stride in key/value projection, on prediction accuracy and efficiency.
- To explore the potential of vision transformers in early-season yield prediction using in-year data.
Proposed method
- The study uses histogramized remote sensing data from USDA and MODIS, with 34×32 pixel resolution per county.
- CvT models (CvT-13 and CvT-W24) are trained on these histograms, combining convolutional feature extraction with multi-head self-attention.
- Key and value projections in the multi-head attention mechanism use a stride of 2 to reduce sequence length and computational cost.
- The models are evaluated using RMSE and R² metrics on test data from 2018–2021, including both end-of-year and in-year predictions.
- Hyperparameter ablation is performed, particularly on the stride of key/value projections, to assess trade-offs between performance and efficiency.
- Comparisons are made against XGBoost (Huber et al., 2022) and a CNN (You et al., 2017), using identical data and evaluation protocols.
Experimental results
Research questions
- RQ1Can the Convolutional Vision Transformer (CvT) achieve competitive performance in soybean yield prediction compared to XGBoost and CNNs?
- RQ2How does the choice of stride in key/value projection affect the performance and efficiency of CvT on low-resolution histogram data?
- RQ3Does the global attention mechanism of CvT provide an advantage over local receptive fields in histogram-based yield modeling?
- RQ4Can vision transformers achieve strong performance in early-season yield prediction using in-year data?
- RQ5What are the limitations of applying vision transformers to low-resolution spectral histograms in agricultural regression tasks?
Key findings
- CvT-W24 achieved the best performance among the tested CvT variants, but still underperformed XGBoost and CNNs in both RMSE and R² metrics.
- The small CvT-13 model with a stride-1 projection for keys and values achieved better performance than its larger counterpart, despite higher computational cost.
- XGBoost achieved the lowest RMSE (4.37) and highest R² (0.79) on average across 2018–2021, outperforming both CNN and CvT-W24.
- On in-year prediction (days 49–201), XGBoost maintained superior performance with an average RMSE of 5.33 and R² of 0.66, while CvT-13 had an average RMSE of 8.83 and R² of 0.21.
- The CNN model performed worse than XGBoost but better than CvT-W24, indicating that local feature learning is more effective than global attention in this context.
- The study concludes that the low-resolution nature of the input histograms may limit the ability of vision transformers to exploit long-range dependencies, reducing their advantage in this task.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.