Bridging Deep Learning and Ecological Interpretability: A Spatial Mamba Framework for NDVI Prediction in Forest-Steppe Ecotones Under Climate Variability
Haoran Huang, Yuhang Jiang, Xiaoyan Xu, Xinbai Ouyang, Zirui Guo, Shaowei Ning, Yuliang Zhou, Lei Luo, Juliang JinForest-steppe ecotones exhibit pronounced spatiotemporal heterogeneity and complex climate–vegetation interactions, posing significant challenges for vegetation dynamics prediction. Existing models often struggle to capture long-range temporal dependencies, preserve spatial continuity across heterogeneous transition zones, and provide ecologically interpretable insights. To address these limitations, we developed a bidirectional Geo-Spatial Mamba (Geo-S-Mamba) architecture with a multi-objective loss function incorporating spatial continuity constraints based on the first law of geography. The model was trained using multi-source geospatial datasets and independently validated during 2019–2023. The results show that Geo-S-Mamba achieved an R2 of 0.93. Moreover, both the bidirectional mechanism and the spatial-continuity loss improved the PSDI by approximately 0.08. The model effectively captured annual variations in NDVI and covariation among vegetation groups. Post hoc symmetric causal learning based on Pearl’s structural causal theory indicated that precipitation was the primary driver of grassland vegetation dynamics. Temperature and radiation influenced NDVI mainly through boundary-dependent effects. Overall, this framework can estimate changes in the spatial distribution of plant communities across heterogeneous environments and provides a scientific basis for further research on forest–steppe ecotones.