TL;DR
Transformer-based multimodal architectures outperform recurrent and convolutional networks for sub-field crop yield prediction without trading off transparency. By probing internal representations, comparing attention-attribution techniques (Attention Rollout vs. Generic Attention), and introducing an intrinsic modality-importance metric, the authors demonstrate how to explain multimodal remote-sensing models both temporally and across modalities.
What Problem Does This Paper Address?
Predicting crop yield at high spatial resolution (sub-field level, 10m) requires combining heterogeneous data streams: high-frequency satellite imagery, meteorological time series, soil chemical properties, and elevation models. While multimodal deep learning handles these diverse data types well, the resulting models are typically treated as black boxes.
Standard post-hoc explainability methods like Shapley Value Sampling (SVS) are computationally prohibitive and treat the model as opaque, ignoring the architecture's internal mechanics. This paper addresses how to harness the intrinsic mechanics of Transformer architectures (self-attention and intermediate representations) to build faithful, multi-level explanations for multimodal agricultural forecasting.
Methods
The authors benchmark several temporal encoders (1D-CNN, LSTM, Attention-LSTM, and Transformers) and intermediate fusion strategies (Concatenation, Scaled Dot-Product Attention, and Cross-Attention). Focusing on the best-performing Transformer architecture, they introduce a multi-pronged explainability framework:
- Representation Probing: Linear classifier probes evaluate the linear separability of learned features across encoder layers, while Singular Vector Canonical Correlation Analysis (SVCCA) compares representational geometry across model configurations.
- Intrinsic Temporal Attribution: Evaluates Attention Rollout (AR)—which multiplies attention matrices across layers—and Generic Attention (GA)—which incorporates backpropagated gradients—against model-agnostic Shapley Value Sampling (SVS).
- Attribution Interpretation via Decision Trees: Trains shallow surrogate decision trees to predict temporal AR attributions from raw weather features, extracting explicit agronomic thresholds.
- Weighted Modality Activations: Exploits the final linear regression layer following concatenation fusion ($y = \sum_m \mathbf{w}^m \mathbf{z}_i^m + b$) to formulate an intrinsic per-modality relevance score ($R_i^m$), contrasted against aggregated SVS feature attributions.
Datasets
The study evaluates extensive real-world harvesting datasets from combine harvesters across Argentina (2017–2023), rasterized to 10m resolution:
- Corn: 1,003,133 pixels (147 fields, 21 farms).
- Soybean: 2,103,250 pixels (289 fields, 29 farms).
- Wheat: 497,651 pixels (61 fields, 13 farms).
Input Modalities: - Satellite: Sentinel-2 optical imagery (12 spectral bands, 10–60m spatial resolution, ~5-day cadence). - Weather: ERA5 reanalysis (min, mean, max temperature, daily precipitation, 30km resolution). - Soil: SoilGrids (8 static properties such as organic carbon, nitrogen, pH, 250m resolution). - Topography: SRTM digital elevation model (5 static terrain attributes, 30m resolution).
Key Insights and Ideas
- Interpretability Without Performance Compromise: A 4-layer, single-head Transformer using simple concatenation fusion performed on par with or better than complex multi-head/cross-attention setups. Simpler architectures avoid multi-head averaging, substantially facilitating intrinsic interpretation.
- Modality-Specific Layer Dynamics: Linear probing reveals that satellite representations require multiple Transformer layers to disentangle complex multi-band temporal signals. In contrast, weather data achieves linear separability almost immediately in early layers, with SVCCA showing the top 5 singular vectors capture nearly 100% of weather variance.
- Attention Rollout Outperforms Generic Attention: Generic Attention relies on gradients and exhibits high sensitivity to minor pixel-level variations within the same field. Attention Rollout provides smoother, more consistent within-field attributions and correlates substantially higher with Shapley values.
- Uncovering Weather Triggers: Shallow decision trees revealed that the model assigns disproportionately high attention (attribution spikes up to 0.063 vs. a baseline of 0.003) to extreme, cold-temperature events occurring within the 18 days directly preceding harvest.
Key Results
- Predictive Performance: On the corn test set, the Transformer achieved the best subfield-level performance ($R^2 = 0.46$, MAE = $1.90\text{ t/ha}$), outperforming LSTM ($R^2 = 0.41$, MAE = $2.00\text{ t/ha}$) and 1D-CNN ($R^2 = 0.28$, MAE = $2.24\text{ t/ha}$). At the field level, the Transformer achieved an $R^2$ of $0.70$ (MAE = $0.98\text{ t/ha}$).
- Modality Attribution Discrepancy: Modality attribution revealed divergent perspectives between methods:
- Post-hoc Shapley values (SVS) attributed 72.3% of importance to satellite data and 24.6% to weather.
- Intrinsic weighted modality activations attributed 37.8% to soil, 28.0% to satellite, and 24.0% to weather. This highlights that SVS reflects non-linear cross-feature dependencies throughout the network, whereas weighted activations reflect how the final linear head directly leverages latent representations.
Limitations and Future Work
- Absence of Ground-Truth Interpretability Baselines: Evaluating whether SVS or intrinsic weighted activations is "correct" remains open; model attributions reflect network mechanics rather than pure agronomic causality.
- Resolution Mismatch: Weather (30km) and soil (250m) inputs have much lower spatial resolution than satellite data (10–60m), resulting in identical static/weather vectors across entire fields.
- Fusion Scope: The intrinsic modality relevance formulation currently relies on concatenation fusion followed by an MLP layer; generalizing this to complex cross-attention fusion heads requires further exploration.
Summary updated