Abstract:For the difficult problems of the continuity and dynamic monitoring of CO2 emission fluxes in agricultural ecosystems, as well as the high cost associated with acquiring actual samples, focusing on greenhouse-grown tomatoes, multispectral remote sensing images were utilized to obtain vegetation indices and texture features. The research optimized the model input layer through three variable selection methods: support vector machine-recursive feature elimination (SVM-RFE), Pearson correlation coefficient (PCC) method, and grey relational analysis (GRA). By using static chamber-gas chromatography observations of crop canopy CO2 emission fluxes as ground-truth values, the inversion models for agricultural ecosystem CO2 emission flux were constructed by employing extreme gradient boosting (XGBoost), support vector machines (SVM) and random forest (RF) algorithms. To enhance predictive performance and generalization ability of the models, it integrated generative adversarial networks (GAN) to augment the sample set. The results demonstrated that all three inversion models can achieve rapid inversion of CO2 emission fluxes and the inversion effects from high to low were XGBoost, SVM and RF. Notably, utilizing selected texture features and vegetation indices as the model input layer through variable selection significantly enhanced the inversion accuracy. Among different machine learning algorithms, the XGBoost model exhibited optimal inversion performance, with R2p ranging from 0.565 to 0.762, RMSEp from 0.266mg/(m2·h) to 0.861mg/(m2·h) and MAEp from 0.222mg/(m2·h) to 0.793mg/(m2·h) across test sets. Regarding variable selection methods, the model inversion performed best when variables filtered through SVR-RFE were used as input layers, with the XGBoost-SVR-RFE combination showing superior results. Overall, integrating GAN into nine coupled models improved their robustness and reliability, with all models having R2p/R2c above 0.85, where the GANXGBoost-SVR-RFE inversion model demonstrated the highest robustness. Subsequently, temporal-spatial distribution maps of CO2 emission flux in agricultural ecosystems were created, revealing emission patterns throughout the entire growth period of tomatoes. This research can offer a theoretical basis for dynamic monitoring and scientific quantification of CO2 emission flux in agricultural ecosystems.