AgriFM: A Multi-source Temporal Remote Sensing Foundation Model for Agriculture Mapping

Wenyuan Li, Shunlin Liang, Keyan Chen, Yongzhe Chen, Han Ma +5 more
5/27/2025
34 citations
cs.CVcs.LG
transformer-attention

Official code: flyakon/AgriFM (77 stars, Python, Apache-2.0, last commit 2026-06-16).

Abstract

Accurate crop mapping fundamentally relies on modeling multi-scale spatiotemporal patterns, where spatial scales range from individual field textures to landscape-level context, and temporal scales capture both short-term phenological transitions and full growing-season dynamics. Transformer-based remote sensing foundation models (RSFMs) offer promising potential for crop mapping due to their innate ability for unified spatiotemporal processing.

Show full abstract

However, current RSFMs remain suboptimal for crop mapping: they either employ fixed spatiotemporal windows that ignore the multi-scale nature of crop systems or completely disregard temporal information by focusing solely on spatial patterns. To bridge these gaps, we present AgriFM, a multi-source remote sensing foundation model specifically designed for agricultural crop mapping. Our approach begins by establishing the necessity of simultaneous hierarchical spatiotemporal feature extraction, leading to the development of a modified Video Swin Transformer architecture where temporal down-sampling is synchronized with spatial scaling operations. This modified backbone enables efficient unified processing of long time-series satellite inputs. AgriFM leverages temporally rich data streams from three satellite sources including MODIS, Landsat-8/9 and Sentinel-2, and is pre-trained on a global representative dataset comprising over 25 million image samples supervised by land cover products. The resulting framework incorporates a versatile decoder architecture that dynamically fuses these learned spatiotemporal representations, supporting diverse downstream tasks. Comprehensive evaluations demonstrate AgriFM's superior performance over conventional deep learning approaches and state-of-the-art general-purpose RSFMs across all downstream tasks. Codes will be available at https://github.com/flyakon/AgriFM.

View on arXivView PDF

Code Implementations(1)

flyakon/AgriFMOfficial100%
Apache-2.0

Implement code of paper "AgriFM: A Multi-source Temporal Remote Sensing Foundation Model for Agriculture mapping"

7715PythonMay 27, 20255 months agoApache-2.0

Similar Papers

Cite this paper

@article{li2025agrifm,
  title  = {AgriFM: A Multi-source Temporal Remote Sensing Foundation Model for Agriculture Mapping},
  author = {Wenyuan Li and Shunlin Liang and Keyan Chen and Yongzhe Chen and Han Ma and Jianglei Xu and Yichuan Ma and Shikang Guan and Husheng Fang and Zhenwei Shi},
  year   = {2025},
  eprint = {2505.21357},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.21357v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.21357.svg)](https://codeofpaper.com/paper/2505.21357)

Discussion