Abstract
Growing season crop classification supports agricultural monitoring, yet cloud-affected optical observations, fragmented fields, and uncertainty in mapped labels complicate reliable evaluation. Public crop maps also differ in class definitions and spatial detail, so agreement with one map does not establish independent ground accuracy. This study presents MAOSTFNet, a month-aware temporal fusion network that combines Sentinel-2 optical data and Sentinel-1 SAR data from June through September 2019 in Jilin Province. Twelve optical features and four SAR features are embedded separately, mixed by a spatial gate, and aggregated with calendar month embeddings and temporal attention. Dense decoding predicts four crop classes, while an auxiliary crop-class boundary head adds a spatial structure objective. The fixed evaluation uses corrected SAR features, grid-grouped subsets, seed 42, one checkpoint rule, a shared test mask, and one metric implementation. MAOSTFNet achieved 0.947 OA, 0.933 AA, 0.912 Kappa, 0.937 Macro F1, and 0.882 mIoU, with margins of 0.016, 0.019, 0.025, 0.014, and 0.024 over the strongest comparator. Removing August reduced Macro F1 by 0.050, and masking optical input reduced it by 0.080. Across test-support crop-coverage thresholds from 0 to 20 percent, Macro F1 ranged from 0.920 to 0.944 and remained highest among five evaluated implementations. These scores describe fixed-seed agreement with mapped labels in Jilin Province in 2019. The main support is crop-enriched, adjacent subsets have no exclusion buffer, and the results do not establish independent ground accuracy or geographically separated generalization.
1. Introduction
1.1. Background and Motivation
Reliable in-season crop classification supports agricultural monitoring, production assessment, planting structure analysis, and food security planning. Cloud interruptions, fragmented fields, and similar classes at individual growth stages make the task difficult because evidence is distributed across seasonal trajectories. Jilin Province combines large grain-producing areas with mixed planting patterns and rapid seasonal change, so models must represent temporal progression across the growing season.
Sentinel-2 imagery supplies spectral information and vegetation indices that respond to canopy development, but clouds, illumination differences, and temporal gaps limit availability. Sentinel-1 SAR observations are less sensitive to weather and add information about canopy structure, surface roughness, and moisture. Joint use is useful when a model preserves the distinct information of both sensors while adapting their relative influence across locations and months. Evaluation also requires care because mapped supervision contains class and boundary uncertainty, and agreement with one product does not establish independent ground accuracy.
Evidence from a paddy rice region of China demonstrates the value of combining Sentinel-1 and Sentinel-2 time series for crop classification [1]. This motivates a Jilin framework that integrates complementary observations across the growing season, accepts partial sequences, describes calendar month identity without claiming direct phenological observation, and measures the effects of label support and spatial partitioning on reported agreement.
1.2. Related Work
Multitemporal optical imagery supports crop classification because spectral signatures evolve with seasonal development. Sentinel-2 time series improve crop type discrimination over single date imagery [2], deep temporal models exploit sequence information beyond handcrafted features [3], and DeepCropMapping improves spatial generalizability for corn and soybean mapping [4]. Temporal evidence is uneven across growth stages [5], so input availability and temporal weight interpretation require care.
Crop monitoring increasingly combines attention-based sequence learning with dense prediction. Multitemporal optical learning supports crop identification [6], attention-based segmentation strengthens Sentinel-2 sequence classification [7], and self-attention, convolutional, and recurrent designs provide complementary temporal representations [8,9,10]. These approaches preserve seasonal order but leave open how calendar identity should be retained for partial sequences.
SAR time series add information about canopy structure, surface roughness, and moisture. Radar observations combined with crop phenology improve classification [11], Sentinel-1 supports regional crop mapping [12], and cross-sensor representations can be learned from optical and SAR series [13]. Many pipelines concatenate modal features or fuse them at a late decision stage, leaving local changes in sensor reliability insufficiently represented.
Operational mapping also depends on sample efficiency, label hierarchy, and spatially coherent products. Spatially explicit active learning can reduce annotation requirements [14], and multiscale hierarchies can improve classification from image time series [15]. Public products differ in class definitions, native resolution, and boundary construction, so product agreement must remain separate from performance on the primary labels. Matched spatial partitions are needed to prevent grid leakage and describe grid level uncertainty.
1.3. Research Gap and Contributions
Mapped crop classification still couples three unresolved issues. Fixed feature concatenation cannot adapt to changing sensor reliability, temporal aggregation can omit calendar identity, and boundary objectives describe transitions between different mapped classes rather than same-crop parcels. Interpretation is harder when label uncertainty, grid adjacency, and optical availability are not controlled together. MAOSTFNet addresses this setting with separate optical and SAR stems, spatial gated fusion, calendar month embeddings, temporal attention, dense decoding, auxiliary crop-class boundary supervision, and a fixed evaluation protocol:
- We design a month-aware optical and SAR fusion network with one four-month interface, separate modal embeddings, spatial gating, calendar embeddings, temporal attention, and dense decoding for partial or complete observations.
- We harmonize three public crop maps into four classes and derive validity masks, class support summaries, and disagreement indicators while excluding comparison products from model fitting.
- We combine class-weighted cross entropy, multiclass Dice overlap, and auxiliary crop-class boundary supervision so one decoder learns region accuracy and boundary structure from mapped labels.
- We establish a fixed protocol with seed 42, one grid-grouped split, corrected SAR inputs, matched controls, unified metrics, sensitivity tests, component ablations, and explicit limits on mapped-label agreement.
2. Materials and Methods
2.1. Study Area and Observation Window
Jilin Province in Northeast China is the study area. Target classes are rice, maize, soybean, and other. The observation window contains monthly data for June, July, August, and September 2019. Each monthly input contains twelve optical features and four SAR features. Patches contain 256 by 256 pixels at a nominal spatial resolution of 10 m, corresponding to a ground footprint of 2.56 km by 2.56 km.
2.2. Sentinel-2 Optical Processing
Sentinel-2 surface reflectance data from 2019 are harmonized before processing. Observations were queried in Google Earth Engine from the COPERNICUS/S2_SR_HARMONIZED Level-2A collection for 1 June to 30 September 2019. Scenes with CLOUDY_PIXEL_PERCENTAGE of 80 percent or more were excluded. Reflectance was divided by 10000 before index calculation. Cloud shadow, medium-probability cloud, high-probability cloud, cirrus, and snow classes with scene classification codes 3, 8, 9, 10, and 11 were removed. B2, B3, B4, and B8 have native 10 m sampling, while B5, B11, and B12 have native 20 m sampling. All selected bands were exported on the nominal 10 m grid without additional local interpolation. The monthly median was computed after cloud masking. Let , , , , , , and denote the monthly reflectance layers for month t, and let prevent division by zero. Five vegetation indices are
NDVI and EVI describe vegetation greenness, LSWI responds to canopy and surface water conditions, GCVI measures near infrared reflectance relative to the green band, and NDRE incorporates the red edge band. Together with the seven reflectance bands, they form the monthly optical vector as
Monthly processing retains an optical availability mask after cloud masking. The same availability definition and missing value treatment are used for every model. U-Net and DeepLabV3+ stack the four monthly blocks, while temporal methods retain one block per month. Label validity remains separate and determines pixels used for loss and evaluation. Availability masks define the observation count strata.
2.3. Sentinel-1 SAR Processing
Sentinel-1 observations were obtained from the Google Earth Engine COPERNICUS/S1_GRD collection over the same window. GRD observations in IW mode had to contain both VV and VH polarization. Backscatter values are expressed in dB, and monthly medians are formed after selecting one orbit direction. Orbit identifiers and acquisition counts are not model inputs. A monthly layer is available when at least one eligible dual polarization observation contributes. No additional local speckle, radiometric, or terrain correction is applied after export. Let and denote the monthly median backscatter values. Their dB difference is
and the corresponding linear power ratio is
Corrected processing uses the dB difference and its corresponding linear power ratio. Equations (7) and (8) define the four channel monthly SAR vector as
Combining the optical and SAR descriptors gives the monthly model input as
All compared models use this corrected feature stack. The four monthly vectors remain separate observations. Feature GeoTIFFs use EPSG:4326 and a pixel spacing of approximately degrees. Monthly stacking uses the exact transform, CRS, width, and height of the first available shard, while labels are warped to that grid with nearest neighbor resampling. A missing monthly shard is represented by NaN for its 16 channels, and aligned labels use class value 0 for ignored pixels. Non-finite values are handled in a fixed order. Means and standard deviations are estimated only from finite training pixels. Variances are bounded below by , and a standard deviation below is replaced by 1. At loading, NaN and infinite values are replaced by 0 before standardization with training statistics. The operation is applied independently to all 64 month channel combinations.
For observation counts, optical availability is defined before numerical filling at the pixel month level. This bookkeeping metadata is not a learned channel, and the temporal Transformer receives no separate padding mask. Its per sample layout is . Label validity is independent of availability. Label value 0 becomes ignore index 255 and excludes pixels from cross entropy, Dice loss, boundary targets, and confusion matrices. Standardization is applied independently to all 64 month channel combinations.
2.4. Label Products and Class Harmonization
Majorcrop supplies the primary mapped labels and corresponds to the public 10 m maps and high confidence samples for Northeast China from 2017 to 2025 [16]. Crop10m corresponds to the 10 m crop type maps for Northeast China during 2017 to 2019 [17]. NEcrops30m corresponds to the 30 m crop type mapping product for Northeast China during 2013 to 2021 [18]. Analysis uses the 2019 layer from each source. Table 1 reports the native grid spacing, raw classes, evaluation role, and public source.
Table 1.
Native grid spacing, raw classes, and evaluation roles of the label products.
Figure 1 shows the common footprint used to compare the three mapped products. The August Sentinel 2 RGB composite is followed by Majorcrop, Crop10m, and NEcrops30m overlays over the same province extent. Green, orange, blue, and gray denote rice, maize, soybean, and each product’s other class. The red line marks the Jilin boundary, and unfilled areas indicate nodata or unavailable coverage. Majorcrop and Crop10m have nominal 10 m support, while NEcrops30m has native 30 m support. The figure documents mapped label differences and does not provide independent accuracy evidence.
Figure 1.
Study area and 2019 mapped-label coverage in Jilin Province.
Harmonization maps raw labels in Table 1 to code 1 for rice, code 2 for maize, code 3 for soybean, and code 4 for other. Residual class semantics remain product-specific. Majorcrop uses other crop, Crop10m uses other land, and NEcrops30m uses other, so these categories do not necessarily represent equivalent land cover sets. Pixels without a verified cross-product mapping are ignored.
Training uses Majorcrop labels without a cross-product confidence weight. Crop10m and NEcrops30m do not influence model fitting. Published information indicates that the Xuan product uses information from the You product during automatic sampling [17,18]. External comparisons therefore measure agreement between related mapped products rather than independent ground validation.
Cross-product evaluation uses pairwise common valid footprints and matches predictions to native 30 m support for NEcrops30m. For product q, the evaluation footprint intersects the fixed test support, valid predictions, valid product coverage, and pixels or cells represented by one of the four harmonized classes. In notation,
The saved test assignment and checkpoint are shared, but is constructed separately because coverage, nodata patterns, and native grids differ. Crop10m is evaluated on the aligned 10 m grid, whereas NEcrops30m is evaluated on native 30 m support. Differences between rows can therefore reflect both label source and evaluated support.
For NEcrops30m, its CRS, affine transform, grid origin, and cell footprints define the reference grid. The 10 m prediction is projected by area-weighted class voting over exact pixel-cell overlap, without assuming exact 3 by 3 alignment or imposing a predicted-class purity threshold. The class with the largest covered area is assigned. Ties, ignored or unmapped labels, prediction nodata, and partial edge cells are excluded before metrics are accumulated.
2.5. Patch Sampling and Spatial Partition
Aligned rasters are partitioned into 256 by 256 pixel windows with stride 256. Windows do not overlap within a grid, although a patch can contain several fields and classes. Complete grid identifiers are assigned by a stable SHA1 hash with seed 42. Grid identifiers are disjoint across subsets, but adjacent grids are allowed and no exclusion buffer is applied.
Heterogeneous fields occur within each nominal 2.56 km footprint, so pixels in a patch are not independent evidence of spatial generalization. Complete grid assignment prevents within-grid leakage, while adjacent grids may occur in different subsets. Evaluation is therefore grid-grouped rather than geographically separated, and no resampling interval is reported.
For the unified main comparison, retained patches contain at least 30 percent valid labels and at least 10 percent combined rice, maize, and soybean coverage. This rule is shared by training, validation, and the main test support. Sensitivity analysis changes only the test-support threshold. Even at 0 percent target-crop coverage, evaluation remains within the fixed test grids and valid-label requirement rather than the full province.
Test-support screening sensitivity is assessed at target-crop coverage thresholds of 0, 5, 10, and 20 percent, with 10 percent retained for the main comparison. All test indices use the same grids, windows, stride, harmonization, and 30 percent valid-label requirement. Target-crop coverage is the combined proportion mapped as rice, maize, or soybean. The four supports are nested.
The checkpoint and normalization statistics are fixed for all thresholds, with no retraining or additional selection. The sensitivity comparison includes five retained implementations: U Net, DeepLabV3+, TempCNN, Transformer, and MAOSTFNet. Each method uses the same threshold specific patch list. Section 3.2 reports support counts and MAOSTFNet metrics together with matched Macro F1 scores. Metrics use one confusion matrix over all valid pixels. Added patches remain within the original test grids and are treated as support sensitivity rather than independent evidence.
Table 2 summarizes the patch construction, spatial partition rules, and test-support screening design.
Table 2.
Patch construction, spatial partition rules, and test-support screening design used by the unified evaluation.
Table 3 reports the fixed train, validation, and test composition under the main 10 percent target-crop threshold, including grid counts and valid pixels by class.
Table 3.
Grid-grouped subset composition and class support under the main 10 percent target-crop threshold and 30 percent valid-label requirement.
Figure 2 maps the saved membership of all 66 source grids. Training uses 45 grids, validation uses 11, and testing uses 10, with 14021, 3417, and 3529 retained patches. Shared borders show that no spatial exclusion buffer is imposed. Full rectangles provide geographic context and do not show exact retained crop pixels.
Figure 2.
Spatial distribution of training, validation, and test grids in Jilin Province. Colors show membership for the 66 source raster grids that contribute retained patches. Rectangles represent full grid footprints rather than exact retained patch coverage. The black outline marks the Jilin administrative boundary.
2.6. Network Architecture
Let and denote the optical and SAR tensors, where , , and . MAOSTFNet applies modality-specific stems, spatial gated fusion, four-scale encoding, bottleneck temporal aggregation, and U-shaped decoding. Encoder widths are 32, 64, 128, and 256. Convolutional blocks use kernels, batch normalization, GELU, and dropout of 0.10. Downsampling uses a stride-2 convolution and residual block. Bilinear interpolation and residual blocks reconstruct the output. The model produces for and an auxiliary crop-class boundary map during training. No pretrained weights are used. Figure 3 summarizes the implemented data flow from monthly optical and SAR inputs to the crop class and auxiliary boundary outputs.
Figure 3.
MAOSTFNet architecture for temporal fusion of optical and SAR observations acquired from June to September.
2.6.1. Modality-Specific Embedding and Spatial Gated Fusion
For month t, the optical and SAR patches and are processed by separate convolutional embedding blocks as
where and contain convolution, batch normalization, GELU, and dropout. Both stems produce 32 channel maps, so . After concatenation, a spatial gate is generated by
where denotes channel concatenation, is a convolution followed by GELU, is a projection, and is sigmoid. The gate is broadcast across channels to form
where ⊙ denotes elementwise multiplication. The gate is an internal, spatially varying mixing coefficient shared across feature channels at each location. It does not identify a causal modality contribution or information gain. Modal masking, spatial perturbation, equal weight fusion, and a channel-specific gate control are therefore evaluated separately from gate visualization.
2.6.2. Month-Aware Temporal Aggregation
Each passes through the same four stage compact residual encoder. Let denote the output of encoder stage ℓ. The first three stage outputs supply the decoder skip connections and are averaged across the T months:
Bottleneck output has 256 channels and retains a separate token for each month. For spatial location p, a learnable calendar month embedding is added to the bottleneck feature as
Each four-token sequence at a spatial location is processed by one pre-normalized Transformer encoder layer [8,19]. The token dimension is 256, self-attention uses four heads, the feed-forward dimension is 1024, and dropout is 0.10. Calendar identity uses a learned embedding table with 13 entries, and the entries for June through September are added to the bottleneck tokens. The temporal operation is
Learned scoring vector produces normalized aggregation weights as
and the temporally aggregated bottleneck representation is
Calendar embeddings encode identity rather than an observed crop growth stage, and records internal aggregation rather than causal importance. Temporal order is explicit at the bottleneck, while the first three skip features are order-invariant monthly averages.
The temporal metadata controls retain the same inputs, encoders, Transformer, decoder, split, seed, checkpoint rule, and metric implementation. The calendar condition uses the learned 13-entry table, while the no-metadata condition removes the additive month embedding. Growing degree days and crop-calendar stage are alternative metadata controls. The comparison tests fixed-seed mapped-product agreement and is not an independent meteorological model or direct phenology observation.
2.6.3. Decoder and Crop Classification
Decoder input combines the aggregated bottleneck map with the averaged multiscale skip features as
Each performs spatial upsampling, concatenation with the corresponding skip map, and residual convolution [20]. A convolution maps to four crop-class logits as
where ∗ denotes convolution and is the learned classification kernel. The same decoder feature map is also supplied to the auxiliary boundary head described next.
2.7. Crop-Class Boundary Objective and Optimization
Boundary targets mark a pixel when a valid horizontal or vertical neighbor has a different class. The four-neighbor target records crop-class transitions, ignores comparisons involving ignored pixels, and does not mark a patch edge solely because an outside neighbor is unavailable. A maximum filter expands the target by one pixel. A convolution predicts one boundary logit, supervised with binary cross entropy on valid pixels. The branch is auxiliary and does not produce the final class map [7,15]. It describes transitions between different mapped classes and does not identify same-crop parcel boundaries or complete parcel geometry.
Boundary evaluation is separate from the dilated training target. For every model, including the ablation without the boundary head, the final map is the pixelwise of four class logits. Reference and predicted boundaries use the same four neighbor transition rule. The auxiliary probability map is not used, so both models are evaluated from the same output type and function.
The reported boundary tolerance is one raster pixel, corresponding to the nominal 10 m output spacing. Operationally, a boundary pixel is considered matched when the opposite boundary set contains at least one pixel within its neighborhood, including horizontal, vertical, and diagonal offsets. Let and denote the numbers of predicted and reference boundary pixels, and let and denote the numbers of predicted and reference boundary pixels, respectively, that satisfy this one-pixel tolerance. Boundary precision, recall, and F1 are
Tolerance matching is a binary set-membership test rather than a one-to-one assignment. Each boundary pixel is counted once as matched, while several pixels may share one opposite-set neighborhood. Counts are accumulated over valid test patches before ratios are calculated. Patches are pixels with stride 256 and do not overlap. Neighbor comparisons remain local to each patch. The reported Boundary IoU is the F1-equivalent quantity
Training combines weighted cross entropy for class prediction, multiclass Dice loss for region overlap, and binary cross entropy for the auxiliary boundary map as
Class weights are inverse square roots of training counts and exclude validation and test pixels. Class terms exclude ignored pixels, and uses valid boundary targets [21]. The main configuration uses , , and . The ablation sets and removes the boundary output.
2.8. Unified Evaluation Protocol
Every model uses seed 42 and the same input stack, split files, training statistics, augmentation, budget, validation rule, and test mask. Training uses batch size 32, automatic mixed precision, and AdamW [22] with learning rate 0.0001 and weight decay 0.0001. No scheduler is used and gradient norm is limited to 1.0. Training lasts at most 120 epochs with validation after each epoch and early stopping after 15 epochs without improved validation Macro F1. The best checkpoint is updated only when validation Macro F1 increases. Batch size four is used only for profiling.
Geometric augmentation is applied only to training patches. Horizontal and vertical flips are sampled independently with probability 0.5, followed by a uniform rotation of 0, 90, 180, or 270 degrees. The loader shuffles patches and drops an incomplete final batch. Validation and test data are unaugmented.
MAOSTFNet uses Equation (24). Methods without a boundary output use the same weighted cross entropy and Dice terms and omit . Inputs, optimization, budget, checkpoint rule, and test mask remain fixed.
Evaluation summarizes mapped label agreement with overall accuracy OA, average accuracy AA, Cohen’s Kappa, Macro F1, and mean intersection over union mIoU. Each condition uses one confusion matrix accumulated over valid test pixels. Let denote this matrix, where corresponds to rice, maize, soybean, and other. Entry counts pixels with reference class i and predicted class j. Ignored pixels are excluded. The reference support , predicted count , and evaluated total N are
For class k, the true positive, false positive, and false negative counts are , , and , respectively. Precision measures the fraction of predictions assigned to a class that agree with the reference, whereas recall measures the fraction of that reference class recovered by the model. Class F1 balances precision and recall, and class IoU measures the overlap between the predicted and reference class sets:
OA is the proportion of correctly classified pixels over the valid evaluation support. AA is the unweighted mean of class recalls, so each mapped class contributes equally:
Cohen’s Kappa adjusts the observed agreement for the chance agreement implied by the reference and prediction marginals. With , it is defined as
Macro F1 and mIoU summarize class discrimination and overlap with equal weight for all four classes:
For counts from the same confusion matrix, class F1 and IoU satisfy the following identity. The conversion is applied to each class before averaging:
The same accumulated matrix defines the overall metrics, class metrics, and class support counts for each reported condition. Cross-product comparisons apply these definitions to their stated common footprints and harmonized classes. Their scores measure mapped-product agreement rather than independent ground accuracy.
2.9. Compared Methods
U-Net [20], DeepLabV3+ [23], TempCNN [24], a Transformer baseline [19], U-TAE [25], and TSViT [26] serve as references with task-adapted inputs and outputs under the shared training budget and checkpoint rule in Table 4; no exhaustive method-specific search is performed, so results characterize these implementations. The five retained methods use one local PyTorch 2.5.1 archive without external pretrained weights, identified by source SHA-256 prefix e17926c5e954. U-Net and DeepLabV3+ stack four monthly 16-channel blocks into 64-channel images with encoder widths 32, 64, 128, and 256; DeepLabV3+ adds dilation rates 1, 6, 12, and 18 and a 64-channel decoder. TempCNN maps each month to 32 channels, applies two temporal convolutions, averages over time, and uses the shared encoder and decoder. The Transformer concatenates optical and SAR channels before embedding and shares MAOSTFNet’s bottleneck Transformer and month embeddings; all five methods use dropout 0.10. Two-stream late fusion, cross-modal attention, and the contrastive optical and SAR bridge adapted from cross-sensor representation learning [13] compare late decision fusion, learned interaction, and contrastive alignment with scalar gating. The Transformer is a complete alternative architecture, while concatenation fusion retains the MAOSTFNet pathway and replaces only its scalar gate with concatenation and projection.
Table 4.
Fixed-seed unified evaluation protocol applied to every compared method.
3. Results
3.1. Unified Main Comparison
Table 5 reports the corrected SAR stack, training without cross-product confidence weights, the fixed grid-grouped split, seed 42, and the unified protocol. MAOSTFNet had the highest observed value for every metric, reaching 0.947 OA, 0.933 AA, 0.912 Kappa, 0.937 Macro F1, and 0.882 mIoU. The contrastive optical and SAR bridge was the strongest comparator at 0.931, 0.914, 0.887, 0.923, and 0.858, giving margins of 0.016, 0.019, 0.025, 0.014, and 0.024. The three fusion controls increased in the order of late fusion, cross-modal attention, and contrastive alignment.
Table 5.
Unified main comparison under seed 42 with corrected inputs and the fixed grid-grouped split. MAOSTFNet achieved the highest observed value for all five metrics.
Table 6 reports F1 values from the same confusion matrices as Table 5. MAOSTFNet had the highest class F1 for rice, maize, soybean, and other at 0.958, 0.944, 0.897, and 0.949. The strongest comparator reached 0.937, 0.932, 0.889, and 0.934, giving margins of 0.021, 0.012, 0.008, and 0.015. The class means are 0.937 and 0.923, matching the reported Macro F1 values.
Table 6.
Class F1 scores under the unified evaluation protocol. MAOSTFNet achieved the highest observed F1 for rice, maize, soybean, and other.
3.2. Test-Support Screening Sensitivity
Table 7 reports evaluation support under target-crop screening with test-grid membership, trained checkpoints, normalization statistics, and the valid-label requirement fixed. At thresholds of 0, 5, 10, and 20 percent, the supports contain 4053, 3762, 3529, and 2951 patches and 262,577,235, 244,357,697, 229,447,478, and 191,356,447 valid pixels, respectively; as the threshold rises, other-class share falls from 44.10 to 33.53 percent while the combined rice, maize, and soybean share rises from 55.90 to 66.47 percent, showing that screening changes both support size and class composition.
Table 7.
Evaluation support by minimum target-crop coverage threshold. The valid-label requirement remains 30 percent, grid membership and trained checkpoints remain fixed, and only the test-support screening threshold changes. Class columns report valid pixel counts.
Table 8 reports MAOSTFNet agreement metrics across these supports. OA, AA, Kappa, Macro F1, and mIoU increase from 0.934, 0.918, 0.891, 0.920, and 0.858 to 0.953, 0.940, 0.921, 0.944, and 0.895, with the 10 percent results matching the main evaluation.
Table 8.
MAOSTFNet agreement metrics by minimum target-crop coverage threshold with fixed test grids, trained checkpoint, normalization statistics, and a 30 percent valid-label requirement.
Table 9 compares matched Macro F1 scores across the same thresholds. The five-method ordering remains MAOSTFNet, TempCNN, Transformer, DeepLabV3+, and U-Net, and MAOSTFNet exceeds TempCNN by 0.096 to 0.099; all five methods show higher Macro F1 as screening becomes stricter. This ordering applies only to these five implementations.
Table 9.
Matched Macro F1 comparison across minimum target-crop coverage thresholds. Each method uses the same threshold-specific test support, with its trained checkpoint and normalization statistics fixed.
3.3. Parameter Count and Computational Cost
Table 10 reports five retained implementations profiled on one NVIDIA A40 with automatic mixed precision and four monthly 16 channel inputs of pixels. Training uses batch size four and the median of 10 synchronized steps after 3 warm up steps. Inference uses batch size one and 50 synchronized passes after 10 warm up passes. MAOSTFNet has 3.752 million parameters versus 3.733 million for the Transformer, with higher training time of 81.53 versus 66.65 ms, inference latency of 10.98 versus 8.57 ms, and memory use. The profile indicates a computational tradeoff.
Table 10.
Parameter count and computational cost for methods with retained matched profiling implementations.
3.4. Component and Boundary Analysis
Table 11 tests modalities, fusion, temporal components, and the auxiliary boundary objective. Removing optical or SAR reduced Macro F1 by 0.080 or 0.019. Removing month embedding or temporal attention reduced it by 0.041 or 0.038, and replacing the spatial gate with concatenation reduced it by 0.029. Removing the boundary head reduced OA from 0.947 to 0.918, Macro F1 from 0.937 to 0.886, and mIoU from 0.882 to 0.834.
Table 11.
Component and fusion ablations under the unified evaluation protocol.
Table 12 evaluates the class maps with the common boundary function in Equation (22). Boundary F1 was 0.773 for MAOSTFNet and 0.699 without the head. Equation (23) gives Boundary IoU values of 0.630 and 0.537, with differences of 0.074 and 0.093.
Table 12.
Crop-class boundary evaluation under the unified protocol with a fixed one-pixel tolerance. Boundary IoU is derived from Boundary F1 using Equation (23).
3.5. Seasonal Input Analysis
Table 13 compares cumulative prediction cutoffs and single month inputs. Each cutoff uses only observations acquired by that date, and a monthly median is available after the month ends. The June, July, August, and September cutoffs therefore contain one, two, three, and four tokens. No later observation is supplied to an earlier cutoff. Restricted configurations use the same protocol and training statistics. A single month has one token and reduces the model to one spatial encoder and decoder. MAOSTFNet improved from 0.804 OA and 0.783 Macro F1 with June only to 0.947 and 0.937 with the complete sequence. Adding August raised the June to July result by 0.057 OA and 0.061 Macro F1, and adding September raised the June to August result by 0.025 OA and 0.033 Macro F1. August was the strongest single month at 0.837 OA and 0.812 Macro F1.
Table 13.
Cumulative prediction cutoffs and single month inputs under fixed-seed 42 and unified evaluation rules. The complete June to September sequence achieved the highest observed cumulative scores, while August was the strongest single month input.
Figure 4 summarizes NDVI, EVI, LSWI, VV, and VH for the four classes using the first 200 indexed training patches. The sample contains 12,877,328 valid pixels. Each point is a class mean for June through September, without dispersion or confidence intervals. Reflectance is divided by 10000 before EVI and LSWI calculation. Negative EVI values for other and the LSWI ordering between maize and rice are descriptive properties of this sample. The heterogeneous other class and differing source definitions require cautious interpretation. The curves provide temporal context and do not establish observed growth stages or causal month importance.
Figure 4.
Average monthly trajectories of five optical and SAR indices for four harmonized crop classes.
3.6. Model to Product Agreement
Agreement with each map product depends on class definitions, boundaries, resolution, production method, shared source information, and valid footprint. Table 14 reports product-specific agreement over the pairwise supports in Equation (11). MAOSTFNet reaches 0.947 OA and 0.937 Macro F1 on Majorcrop, 0.852 and 0.826 on Crop10m, and 0.695 and 0.671 on NEcrops30m. TSViT is the strongest listed baseline on the latter two products. MAOSTFNet exceeds it by 0.069 OA and 0.063 Macro F1 on Crop10m, and by 0.088 and 0.079 on NEcrops30m. NEcrops30m predictions use area-weighted voting on the native 30 m grid, with mixed, ignored, nodata, tied, and partial cells excluded. These values describe mapped-product agreement rather than independent ground accuracy.
Table 14.
Model-to-product agreement over product-specific pairwise valid footprints.
Figure 5 shows representative RGB, mapped label, and prediction panels from four retained test patches. Each row contains the July Sentinel-2 composite, the Majorcrop reference, and the MAOSTFNet prediction. Black, blue, green, orange, and purple denote nodata, rice, maize, soybean, and other. The patches are pixels on the nominal 10 m grid.
Figure 5.
Representative crop-class maps from retained test patches.
Figure 6 shows disagreement visualizations for four fixed patches. Columns contain the July Sentinel-2 composite, Majorcrop reference, MAOSTFNet prediction, and highlighted errors. Orange marks maize predicted as soybean, blue soybean predicted as maize, red rice predicted as other, and purple other predicted as rice. White includes correct pixels and other disagreement types. The fixed examples span varied class composition and visible boundary and interior errors. They are not ranked by prediction score and do not attribute errors to the boundary objective.
Figure 6.
Representative crop-mapping disagreements and highlighted error types.
3.7. Temporal and Modal Perturbation
Table 15 compares fixed-seed temporal, modality, gate, availability, and metadata controls against the complete sequence with Macro F1 of 0.937. Removing August reduced Macro F1 by 0.050, and permuting month order reduced it by 0.040. Masking optical or SAR input reduced it by 0.080 or 0.019. Fixing the gate at 0.5 or replacing it with a channel-specific gate reduced it by 0.046 or 0.031, while spatially permuting optical or SAR input reduced it by 0.044 or 0.020. Removing a month also changes the monthly averages in the first three skip connections and therefore does not isolate temporal information. Availability group scores ranged from 0.852 Macro F1 for low availability to 0.925 for high availability, which remained 0.012 below the full test baseline. Geography, mapped class composition, and observation conditions may differ across groups. Removing temporal metadata reduced Macro F1 by 0.041. Growing degree days and crop-calendar stage encoding reached 0.914 and 0.905, or 0.023 and 0.032 below the calendar identity condition. Attention weights and gate values describe internal aggregation and feature mixing. Calendar identity is not an observed growth stage, and these fixed-seed controls do not establish causal contribution or physiological superiority.
Table 15.
Temporal, modality, gate, optical availability, and temporal metadata controls under the unified protocol.
Figure 7 shows learned month attention for the four fixed test patches in Figure 6. Rows correspond to maize, soybean, rice, and other dominated patches, followed by their arithmetic mean. Attention is spatially averaged and renormalized across June through September, so percentages sum to 100 percent. The yellow to red scale ranges from 0 to approximately 91.9 percent. Figure 8 uses the same patches and shows the learned gate for each month. Values near 1 assign greater weight to optical features, and values near 0 to SAR features, and 0.5 gives equal mixing. Both visualizations describe internal states rather than causal importance, reliability probabilities, or information gain.
Figure 7.
Month-wise temporal attention for four fixed test patches.
Figure 8.
Spatial optical and SAR gate maps for four fixed test patches.
4. Discussion
4.1. Interpretation Under the Unified Protocol
MAOSTFNet integrates multimodal, temporal, and segmentation components. Its scalar pre-encoder gate differs from static concatenation, late decision fusion, cross-modal attention, and contrastive alignment. Under the unified protocol it produced the highest observed OA, AA, Kappa, Macro F1, and mIoU, with margins of 0.016, 0.019, 0.025, 0.014, and 0.024 over the strongest comparator. The ordering of the fusion controls associates learned cross-modal interaction and contrastive alignment with higher fixed-seed scores than late fusion. It does not isolate component causality or establish statistical significance because training variance and grid resampling intervals are unavailable.
Component and perturbation analyses separate observed association from causal interpretation. Removing the boundary head reduced OA by 0.029, Macro F1 by 0.051, mIoU by 0.048, Boundary F1 by 0.074, and derived Boundary IoU by 0.093. Removing August produced the largest single-month decline in Macro F1 at 0.050, while masking optical input produced the largest modality decline at 0.080. Month removal also changes averaged skip features. Macro F1 ranges from 0.852 in the low-availability group to 0.925 in the high group, with geography and class composition as possible confounders. Removing temporal metadata reduced Macro F1 by 0.041, and alternative metadata did not exceed the calendar baseline. These fixed-seed results describe sensitivity within the present protocol and do not establish causal contributions or stable importance rankings.
Across the five profiled implementations, MAOSTFNet has greater training and inference time and memory use than the four baselines, despite a parameter count close to the Transformer. These hardware-specific profiles show a computational tradeoff. Missing profiles for other methods preclude a complete efficiency ranking.
Month awareness describes the implemented calendar encoding rather than an explicit crop growth-stage model. Month embeddings encode calendar identity, attention weights describe learned aggregation, and early skip features are averaged across months. These mechanisms do not by themselves establish a phenological interpretation. This scope is consistent with studies showing that temporal evidence can vary across growth stages while attention-based explanations remain model-dependent [2,3,5].
4.2. Label Dependence and Generalization
Training and testing on separate portions of Majorcrop measure agreement with that product and do not provide independent ground validation. Table 14 reports model-to-product agreement over pairwise footprints. Source relationships between Crop10m and NEcrops30m also prevent treating the external products as mutually independent labels.
Each patch may include multiple fields and classes, so nonoverlap alone does not establish spatial independence. Grid grouping prevents an identifier from appearing in more than one subset, but adjacent grids can occur in different subsets. The main comparison retains the 10 percent target-crop threshold. Relaxing it to 0 percent changes MAOSTFNet OA from 0.947 to 0.934, Macro F1 from 0.937 to 0.920, and mIoU from 0.882 to 0.858. The 20 percent support gives 0.953 OA, 0.944 Macro F1, and 0.895 mIoU. Class composition changes with the threshold, and the five-method ordering remains unchanged. These supports remain within the same test grids and do not establish buffered geographic generalization or province-wide performance.
4.3. Limitations
Coverage is limited to one province and one year. One fixed seed does not quantify training variation, and no grid resampling interval is reported. Grid-grouped splitting has no exclusion buffer, so adjacent grids can occur in different subsets. Screening sensitivity compares five retained implementations on the same test grids and does not provide an independent spatial holdout. Label products differ in class definitions, production methods, and source relationships. Boundary targets describe patch-local transitions between mapped classes rather than complete parcel geometry. Calendar identity is not an observed growth stage, and seasonal perturbations also change averaged skip features. Matched profiles are unavailable for several methods. These limits constrain claims about stability, operational reliability, spatial generalization, phenology, efficiency, and transfer across regions or years.
5. Conclusions
In this paper, MAOSTFNet combines separate optical and SAR embeddings, spatial gating, month-aware temporal aggregation, and auxiliary crop-class boundary supervision. With corrected SAR features, Majorcrop training weights, the fixed grid-grouped split, seed 42, matched baselines, and one evaluation implementation, MAOSTFNet achieved 0.947 OA, 0.933 AA, 0.912 Kappa, 0.937 Macro F1, and 0.882 mIoU. Margins over the strongest comparator were 0.016 OA, 0.019 AA, 0.025 Kappa, 0.014 Macro F1, and 0.024 mIoU. Screening thresholds from 0 to 20 percent preserved the ordering of the five tested implementations, while MAOSTFNet Macro F1 ranged from 0.920 to 0.944. Component, boundary, seasonal, cross-product, and perturbation analyses describe fixed-seed differences without estimating training variance or statistical significance. Evaluation remains mapped-product agreement on crop-enriched test supports in Jilin Province in 2019. Adjacent subsets have no exclusion buffer. Attention, gate, calendar, and cross-product results are descriptive and do not prove causal contribution, phenological stage modeling, independent accuracy, or geographically separated generalization.
Author Contributions
Conceptualization, H.Y., L.D. and Y.Z.; methodology, H.Y., L.D. and Y.Z.; software, H.Y., L.D. and S.W.; validation, H.Y., L.D., S.W. and Q.R.; formal analysis, H.Y., L.D. and Q.R.; investigation, H.Y., L.D., Q.R. and H.L.; resources, Y.Z., S.Z. and T.L.; data curation, H.Y., L.D., H.L. and S.W.; draft preparation, H.Y. and L.D.; review and editing, Y.Z., Q.R., H.L., S.W., S.Z. and T.L.; visualization, H.Y. and L.D.; supervision, Y.Z.; project administration, Y.Z.; funding acquisition, Y.Z., S.Z. and T.L. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded in part by the Science and Technology Development Program of Jilin Province, Grant No. 20250205025GH.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Sentinel-1 and Sentinel-2 observations are publicly available through the Copernicus programme. Majorcrop is available through Zenodo under DOI 10.5281/zenodo.18446148. Crop10m is available through Figshare under DOI 10.6084/m9.figshare.13090442. NEcrops30m is associated with the Figshare record under DOI 10.6084/m9.figshare.20411424.
Acknowledgments
Providers of the Sentinel-1, Sentinel-2, Majorcrop, Crop10m, and NEcrops30m data products are gratefully acknowledged.
Conflicts of Interest
Authors declare no conflicts of interest.
Abbreviations
Abbreviations used in this manuscript are listed below.
| AA | Average accuracy |
| MAOSTFNet | Temporal fusion network for optical and SAR observations |
| EVI | Enhanced vegetation index |
| GCVI | Green chlorophyll vegetation index |
| IoU | Intersection over union |
| LSWI | Land surface water index |
| NDRE | Normalized difference red edge index |
| NDVI | Normalized difference vegetation index |
| OA | Overall accuracy |
| SAR | Synthetic aperture radar |
| SVM | Support vector machine |
References
- Wang, R.; Xia, L.; Jia, T.; Zhao, Q.; He, Q.; Xie, Q.; Fu, H. Evaluating Multi-Temporal Sentinel-1 and Sentinel-2 Imagery for Crop Classification: A Case Study in a Paddy Rice Growing Region of China. Sensors 2026, 26, 586. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Vuolo, F.; Neuwirth, M.; Immitzer, M.; Atzberger, C.; Ng, W.T. How much does multi-temporal Sentinel-2 data improve crop type classification? Int. J. Appl. Earth Obs. Geoinf. 2018, 72, 122–130. [Google Scholar] [CrossRef] [Scilit]
- Zhong, L.; Hu, L.; Zhou, H. Deep learning based multi-temporal crop classification. Remote Sens. Environ. 2019, 221, 430–443. [Google Scholar] [CrossRef] [Scilit]
- Xu, J.; Zhu, Y.; Zhong, R.; Lin, Z.; Xu, J.; Jiang, H.; Huang, J.; Li, H.; Lin, T. DeepCropMapping: A multi-temporal deep learning approach with improved spatial generalizability for dynamic corn and soybean mapping. Remote Sens. Environ. 2020, 247, 111946. [Google Scholar] [CrossRef] [Scilit]
- Xu, J.; Yang, J.; Xiong, X.; Li, H.; Huang, J.; Ting, K.; Ying, Y.; Lin, T. Towards interpreting multi-temporal deep learning models in crop mapping. Remote Sens. Environ. 2021, 264, 112599. [Google Scholar] [CrossRef] [Scilit]
- Espinosa-Herrera, J.M.; Macedo-Cruz, A.; Fernández-Reynoso, D.S.; Flores-Magdaleno, H.; Fernández-Ordoñez, Y.M.; Soria-Ruíz, J. Monitoring and identification of agricultural crops through multitemporal analysis of optical images and machine learning algorithms. Sensors 2022, 22, 6106. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Gao, M.; Lu, T.; Wang, L. Crop mapping based on Sentinel-2 images using semantic segmentation model of attention mechanism. Sensors 2023, 23, 7008. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Rußwurm, M.; Körner, M. Self-attention for raw optical satellite time series classification. ISPRS J. Photogramm. Remote Sens. 2020, 169, 421–435. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Zhang, Z.; Feng, L.; Ma, Y.; Du, Q. A new attention-based CNN approach for crop mapping using time series Sentinel-2 images. Comput. Electron. Agric. 2021, 184, 106090. [Google Scholar] [CrossRef] [Scilit]
- Feng, F.; Gao, M.; Liu, R.; Yao, S.; Yang, G. A deep learning framework for crop mapping with reconstructed Sentinel-2 time series images. Comput. Electron. Agric. 2023, 213, 108227. [Google Scholar] [CrossRef] [Scilit]
- Bargiel, D. A new method for crop classification combining time series of radar images and crop phenology information. Remote Sens. Environ. 2017, 198, 369–383. [Google Scholar] [CrossRef] [Scilit]
- d’Andrimont, R.; Verhegghen, A.; Lemoine, G.; Kempeneers, P.; Meroni, M.; Van Der Velde, M. From parcel to continental scale–A first European crop type map based on Sentinel-1 and LUCAS Copernicus in-situ observations. Remote Sens. Environ. 2021, 266, 112708. [Google Scholar] [CrossRef] [Scilit]
- Yuan, Y.; Lin, L.; Zhou, Z.G.; Jiang, H.; Liu, Q. Bridging optical and SAR satellite image time series via contrastive feature extraction for crop classification. ISPRS J. Photogramm. Remote Sens. 2023, 195, 222–232. [Google Scholar] [CrossRef] [Scilit]
- Kaijage, B.; Belgiu, M.; Bijker, W. Spatially explicit active learning for Crop-Type mapping from satellite image time series. Sensors 2024, 24, 2108. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Turkoglu, M.O.; D’Aronco, S.; Perich, G.; Liebisch, F.; Streit, C.; Schindler, K.; Wegner, J.D. Crop mapping from image time series: Deep learning with multi-scale label hierarchies. Remote Sens. Environ. 2021, 264, 112603. [Google Scholar] [CrossRef] [Scilit]
- Yang, M.; Dong, Y. Spatial distribution maps (10 m) and high-confidence samples of major-crop in Northeast China from 2017 to 2025. Zenodo 2026. [Google Scholar] [CrossRef]
- You, N.; Dong, J.; Huang, J.; Du, G.; Zhang, G.; He, Y.; Yang, T.; Di, Y.; Xiao, X. The 10-m crop type maps in Northeast China during 2017–2019. Sci. Data 2021, 8, 41. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Xuan, F.; Dong, Y.; Li, J.; Li, X.; Su, W.; Huang, X.; Huang, J.; Xie, Z.; Li, Z.; Liu, H.; et al. Mapping crop type in Northeast China during 2013–2021 using automatic sampling and tile-based image classification. Int. J. Appl. Earth Obs. Geoinf. 2023, 117, 103178. [Google Scholar] [CrossRef] [Scilit]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. Adv. Neural Inf. Process. Syst. 2017, 30, 5998–6008. [Google Scholar]
- Ronneberger, O.; Fischer, P.; Brox, T. U-net: Convolutional networks for biomedical image segmentation. In Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention; Springer: Berlin/Heidelberg, Germany, 2015; pp. 234–241. [Google Scholar]
- Milletari, F.; Navab, N.; Ahmadi, S.A. V-net: Fully convolutional neural networks for volumetric medical image segmentation. In Proceedings of the 2016 Fourth International Conference on 3D Vision (3DV); IEEE: Piscataway, NJ, USA, 2016; pp. 565–571. [Google Scholar]
- Loshchilov, I.; Hutter, F. Decoupled weight decay regularization. arXiv 2017, arXiv:1711.05101. [Google Scholar]
- Chen, L.C.; Zhu, Y.; Papandreou, G.; Schroff, F.; Adam, H. Encoder-decoder with atrous separable convolution for semantic image segmentation. In Proceedings of the European Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2018; pp. 833–851. [Google Scholar]
- Pelletier, C.; Webb, G.I.; Petitjean, F. Temporal convolutional neural network for the classification of satellite image time series. Remote Sens. 2019, 11, 523. [Google Scholar] [CrossRef] [Scilit]
- Garnot, V.S.F.; Landrieu, L. Panoptic segmentation of satellite image time series with convolutional temporal attention networks. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV); IEEE: Piscataway, NJ, USA, 2021; pp. 4852–4861. [Google Scholar]
- Tarasiou, M.; Chavez, E.; Zafeiriou, S. Vits for sits: Vision transformers for satellite image time series. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Piscataway, NJ, USA, 2023; pp. 10418–10428. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.







