Skip to content

About

No description or website provided.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

Leveraging transfer learning and leaf spectroscopy for leaf trait prediction with broad spatial, species, and temporal applicability

Fujiang Ji a, Fa Li a, Hamid Dashti a, Dalei Hao b, Philip A. Townsend a, Ting Zheng a, Hangkai You a, Min Chen a, c

a Department of Forest and Wildlife Ecology, University of Wisconsin- Madison, Madison, WI, USA;
b Atmospheric, Climate, & Earth Sciences Division, PacificNorthwest National Laboratory, Richland, WA, USA;
c Data Science Institute, University of Wisconsin- Madison, Madison, WI, USA.

Pape

Summary

  • Accurate and reliable prediction of leaf traits is crucial for understanding plant adaptations to environmental variation, monitoring terrestrial ecosystems, and enhancing comprehension of functional diversity and ecosystem functioning.

  • Various approaches (e.g., statistical, physical models) have been developed to estimate leaf traits through hyperspectral remote sensing and leaf spectroscopy. However, the absence of high-performing, transferable, and stable models across various domains of space, plant functional types (PFTs) and seasons hinder our ability to quantify and comprehend spatiotemporal variations in leaf traits.

  • This study proposes robust and highly transferable models for better predicting leaf traits with hyperspectral reflectance. Three datasets were assembled, pairing common leaf traits — chlorophyll (Chla+b, µg/cm2), carotenoids (Ccar, µg/cm2), leaf mass per area (LAM, g/m2), equivalent water thickness (EWT, g/m2) — with leaf spectra measurements collected across diverse geographic locations in the U.S. and Europe, PFTs, and seasons.

  • Through comparison with other state-of-the-art statistical models, including partial-least squares regression (PLSR) and Gaussian Process Regression (GPR), as well as pure physical models, we found that the proposed transfer learning models achieved better predictive performance and higher transferability.

  • Objectives:

    • (1) Do our proposed transfer learning models for predicting leaf traits have better performance than other state-of-the-art statistical models like PLSR and GPR, and the pure RTMs?
    • (2) Are the transfer learning models more transferable across different geographic locations, PFTs, and seasons than other models?
    • (3) How the inconsistency and the quantity of real observations used for fine-tuning influence the performance of transfer learning models?
  • Conclusions:

    • Numerous models have been developed to predict leaf traits based on leaf spectroscopy, each of which has its limitations. The absence of universally high-performing, transferable, and stable models across different domains hinder our ability to quantify and comprehend spatiotemporal variations in leaf traits and their responses to environmental changes and biodiversity in terrestrial ecosystems.
    • In this study, we ensembled three types of datasets, with significant variability in leaf traits and leaf spectra across different locations, PFTs, and seasons. Our proposed transfer learning models, incorporating domain knowledge from RTMs and limited observational data, achieved better predictive performance compared to other statistical models and pure RTMs.
    • The transfer learning models exhibited higher transferability than statistical models. Our study underscores that transfer learning models can harness the advantages of both RTMs and statistical models and represent a promising approach for effectively predicting leaf traits.

Three datasets

Leaf traits/ datasets Spectro-radiometers Spatial dataset PFT dataset Temporal dataset
Chla+b (µg/cm2) ASD FieldSpec 3/4/Pro • 1600 samples. 8 sites (200 samples for each site).
• Foreoptic type: integrating sphere, leaf clip, and contact probe.
• 3000 samples. DBF, CPR, GRA (1000 samples each).
• Foreoptic type: integrating sphere, leaf clip, contact probe.
• 608 samples.
• Early: 71;
• Peak: 278;
• Post-peak: 259
• Foreoptic: integrating sphere.
Ccar (µg/cm2) ASD FieldSpec 3/4/Pro • 1000 samples. 5 sites.
• Foreoptic: integrating sphere, leaf clip.
• 2100 samples. DBF, CPR, GRA (700 each).
• Foreoptic: integrating sphere, leaf clip, contact probe.
• 634 samples.
• Early: 71;
• Peak: 278;
• Post-peak: 285;
• Foreoptic: integrating sphere.
EWT (g/m2) SVC HR-1024i • 400 samples. 4 sites.
• Foreoptic: integrating sphere, leaf clip.
• 540 samples. DBF, GRA, CPR.
• Foreoptic: integrating sphere, leaf clip.
N/A
LMA (g/m2) ASD FieldSpec 3/4/Pro • 4800 samples. 12 sites.
• Foreoptic: integrating sphere, leaf clip, contact probe.
• 1400 samples. 7 PFTs (200 each).
• Foreoptic: integrating sphere, leaf clip, contact probe.
• 626 samples.
• Early: 278;
• Peak: 303;
• Post-peak: 45;
• Foreoptic: integrating sphere.

Fig.1.Spatial distribution of leaf trait samples in the spatial dataset.

Modeling approaches

Fig.2.Overall workflow for estimating leaf traits based on various models.

Requirements

Usage

  • Clone this repository and set environment
    git clone https://github.com/FujiangJi/transfer_learning_models.git
    conda env create -f environment.yml
    conda activate py37
    
  • Leaf trait estimation
    Navigate to the directory src_code and execute the code in the following steps after updating the input/output paths:
    • Construct Look-up Table: Based on PROSPECT and Leaf-SIP models to construct paired RTM synthetic reflectance and leaf traits.
      • Runing on the local PC:
        python 1_LUT_construction.py
        
      • Runing on the high-performance computing (HPC) cluster (Linux OS): go to directory scripts
        sbatch 1_LUT_bash.sh
        
    • Pre-train DNN models: Pre-train the RTMs synthetic reflectance and leaf traits using DNN models.
      • Runing on the local PC:
        python 2_pretrain_DNN.py
        
      • Runing on the high-performance computing (HPC) cluster (Linux OS): go to directory scripts
        sbatch 2_pretrain_bash.sh
        
    • Train statistical models (GPR, PLSR): Train the statistical models -- GPR, PLSR -- using different portion of observation data (10% - 80%).
      • Runing on the local PC:
        python 3_partial_obs_GPR_PLSR.py
        
      • Runing on the high-performance computing (HPC) cluster (Linux OS): go to directory scripts
        sbatch 3_partial_obs_GPR_PLSR_bash.sh
        
    • Fine-tune pre-trained DNN model: Fine-tune the pre-trined DNN models using different portion of observation data (10% - 80%).
      • Runing on the local PC:
        python 4_fine_tune_DNN.py
        
      • Runing on the high-performance computing (HPC) cluster (Linux OS): go to directory scripts
        sbatch 4_fine_tune_DNN_bash.sh
        
    • Leave one site out: Test the spatial transferability of statistical models and transfer learning models.
      • Runing on the local PC:
        python 5_GPR_PLSR_spatial_CV.py
        python 6_spatial_fine_tune.py
        
      • Runing on the high-performance computing (HPC) cluster (Linux OS): go to directory scripts
        sbatch 5_GPR_PLSR_spatial_CV_bash.sh
        sbatch 6_spatial_fine_tune_bash.sh
        
    • Leave one PFT out: Test the PFTs transferability of statistical models and transfer learning models.
      • Runing on the local PC:
        python 7_GPR_PLSR_PFTs_CV.py
        python 8_PFTs_fine_tune.py
        
      • Runing on the high-performance computing (HPC) cluster (Linux OS): go to directory scripts
        sbatch 7_GPR_PLSR_PFTs_CV_bash.sh
        sbatch 8_PFTs_fine_tune_bash.sh
        
    • Leave one season out: Test the temporal transferability of statistical models and transfer learning models.
      • Runing on the local PC:
        python 9_GPR_PLSR_temporal_CV.py
        python 10_temporal_fine_tune.py
        
      • Runing on the high-performance computing (HPC) cluster (Linux OS): go to directory scripts
        sbatch 9_GPR_PLSR_temporal_CV_bash.sh
        sbatch 10_temporal_fine_tune_bash.sh
        
    • Pure radiative transfer models inversion: Estimating leaf traits using pure RTMs.
      • Runing on the local PC:
        python 11_pure_PROSPECT_estimation.py
        python 12_pure_LeafSIP_estimation.py
        
      • Runing on the high-performance computing (HPC) cluster (Linux OS): go to directory scripts
        sbatch 11_pure_PROSPECT_estimation_bash.sh
        sbatch 12_pure_LeafSIP_estimation_bash.sh
        
  • Description of files
    • datasets directory: include the three type of datasets used in this study.
    • src_code directory:
    • saved_ML_model directory: saved for the pre-trained DNN models, statistical models and the transfer learning models.

Reference

In case you use our framework and code in your research, Please cite our paper:

  • If you have any questions, please feel free to reach me at fujiang.ji@wisc.edu.
    Ji, F., Li, F., Dashti, H., Hao, D., Townsend, P.A., Zheng, T., You, H., Chen, M., 2025. 
    Leveraging transfer learning and leaf spectroscopy for leaf trait prediction with broad 
    spatial, species, and temporal applicability. Remote Sens Environ 326, 114818. https://doi.org/10.1016/J.RSE.2025.114818.
    

Contact

fujiang.ji@wisc.edu
min.chen@wisc.edu

Credits

  • The datasets used in this study were subsets of the compiled dataset from previous study (Ji et al, New Phytologist, 2024)[Link], and the original data was from the EcoSIS Spectral Library, available at https://ecosis.org/.
  • This study is supported by the National Aeronautics and Space Administration (NASA) through Remote Sensing Theory, Commercial SmallSat Data Scientific Analysis (CSDSA) and Terrestrial Ecology programs.
  • We acknowledge high-performance computing support from the UW-Madison Center for High Throughput Computing (CHTC) in the Department of Computer Sciences.

About

No description or website provided.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages