FADConv: A Frequency-Aware Dynamic Convolution for Farmland Non-agriculturalization Identification and Segmentation

Tan Shu, Li ShenarXiv 2025 · DOI

Abstract

Cropland non-agriculturalization refers to the conversion of arable land into non-agricultural uses such as forests, residential areas, and construction sites. This phenomenon not only directly leads to the loss of cropland resources but also poses systemic threats to food security and agricultural sustainability. Accurate identification of cropland and non-cropland areas is crucial for detecting and addressing this issue. Traditional CNNs employ static convolution layers, while dynamic convolution studies demonstrate that adaptively weighting multiple convolutional kernels through attention mechanisms can enhance accuracy. However, existing dynamic convolution methods relying on Global Average Pooling (GAP) for attention weight allocation suffer from information loss, limiting segmentation precision. This paper proposes Frequency-Aware Dynamic Convolution (FADConv) and a Frequency Attention (FAT) module to address these limitations. Building upon the foundational structure of dynamic convolution, we designed FADConv by integrating 2D Discrete Cosine Transform (2D DCT) to capture frequency domain features and fuse them. FAT module generates high-quality attention weights that replace the traditional GAP method, making the combination between dynamic convolution kernels more reasonable. Experiments on the GID and Hi-CNA datasets demonstrate that FADConv significantly improves segmentation accuracy with minimal computational overhead. For instance, ResNet18 with FADConv achieves 1.9% and 2.7% increases in F1-score and IoU for cropland segmentation on GID, with only 58.87M additional MAdds. Compared to other dynamic convolution approaches, FADConv exhibits superior performance in cropland segmentation tasks.

Introduction

The conversion of arable land into non-agricultural uses—like forests or construction sites—poses a major threat to global food security. While deep learning has improved our ability to monitor this via remote sensing, high-resolution imagery presents a unique challenge: "homogeneous regions" (like a large field) and "ambiguous boundaries" (where a field meets a road) are often misidentified.

Existing solutions often use Dynamic Convolutions, which adaptively weight multiple convolutional kernels based on the input. However, these models typically rely on Global Average Pooling (GAP) to determine those weights. Mathematically, GAP only captures the "DC component" (the average brightness) of an image, effectively acting as a low-pass filter that discards the mid- and high-frequency information—like textures and sharp edges—essential for precise land-cover segmentation.

Methods

The authors introduce Frequency-Aware Dynamic Convolution (FADConv). Its core innovation is the Frequency Attention (FAT) module, which replaces the standard GAP-based attention mechanism. As shown in Figure 1, the module operates in three stages:

  1. Frequency Extraction: Instead of averaging the whole feature map, the module applies a 2D Discrete Cosine Transform (2D DCT). This decomposes the image into various frequency components.
  2. Frequency Fusion: A learnable network integrates these multi-frequency components (low, medium, and high). This allows the model to "weigh" the importance of different textures and patterns rather than just looking at average intensity.
  3. Dynamic Kernel Generation: These high-quality frequency weights ($w_1, \dots, w_n$) are used to combine multiple "expert" convolutional kernels into one optimized final kernel for that specific input.
Architecture of the Frequency-Aware Dynamic Convolution (FADConv) module.

Because the 2D DCT is a fixed linear transformation and the fusion network is lightweight, FADConv adds very little computational overhead (measured in MAdds) compared to standard dynamic convolutions.

Key Insights: Frequency vs. Spatial Averaging

A critical observation of this work is that GAP is a special case of DCT. Specifically, the traditional GAP method is mathematically equivalent to the "Direct Current" (DC) component of a DCT. By utilizing more of the DCT spectrum, FADConv generalizes the existing attention mechanism.

The DCT is famous for "energy compaction," where most useful information is concentrated in a few low-to-medium frequency coefficients. As illustrated in Figure 2, while GAP attention maps are uniform (effectively losing all spatial detail), the frequency-based maps capture significant structural and textural information that aids in precise boundary identification.

Comparison of attention maps generated by Global Average Pooling (GAP) versus the proposed Frequency Attention (FAT) module.

Experimental Results

The model was evaluated on two primary agricultural remote sensing datasets: the GID (Gaofen Image Dataset) and the Hi-CNA Dataset. Experimental results show that "frequency awareness" consistently outperforms "spatial averaging":

  • Accuracy Boost: On the GID dataset, a ResNet18 backbone using FADConv saw a 1.9% increase in F1-score and a 2.7% increase in IoU for cropland segmentation compared to the baseline.
  • Efficiency: FADConv achieved these gains with only 58.87M additional MAdds, making it much more efficient than other dynamic convolution variants like ODConv, which often require significantly more computation for similar accuracy.
  • Generalization: When the authors took existing dynamic convolution frameworks (like ODConv or KernelWarehouse) and replaced their GAP modules with the FAT module, those models also saw performance improvements, proving the versatility of the frequency-based approach.

Conclusion

FADConv provides a robust and efficient method for identifying farmland non-agriculturalization by leveraging frequency-domain information. By replacing the information-limiting GAP with the Frequency Attention module, the model better handles the complex textures of satellite imagery. While optimal configurations for frequency components may vary by dataset, the approach significantly enhances segmentation precision with minimal overhead. Future work may involve automating the selection of frequency components or exploring multi-temporal data for real-time change detection.

Summary updated

BibTeX
@misc{shu2025fadconv,
  author = {Tan Shu and Li Shen},
  title = {{FADConv: A Frequency-Aware Dynamic Convolution for Farmland Non-agriculturalization Identification and Segmentation}},
  year = {2025},
  eprint = {2504.03510},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.03510},
  howpublished = {arXiv},
}
Figure