Hostname: page-component-76d6cb85b7-2r2wp Total loading time: 0 Render date: 2026-07-10T10:49:51.269Z Has data issue: false hasContentIssue false

Explainable machine learning highlights the role of diffuse radiation in ecosystem carbon uptake of boreal forest

Published online by Cambridge University Press:  06 July 2026

Topi Markus Laanti*
Affiliation:
Institute for Atmospheric and Earth System Research, University of Helsinki, Finland
Aino Aarne
Affiliation:
Institute for Atmospheric and Earth System Research, University of Helsinki, Finland
Maxime Durand
Affiliation:
Faculty of Biological and Environmental Science, University of Helsinki , Finland
Steffen Manfred Noe
Affiliation:
Institute of Forestry and Engineering, Estonian University of Life Sciences , Estonia
Victoria Miles
Affiliation:
Nansen Environmental and Remote Sensing Center , Norway
Dmitrii Krasnov
Affiliation:
Institute of Forestry and Engineering, Estonian University of Life Sciences , Estonia
Markku Kulmala
Affiliation:
Institute for Atmospheric and Earth System Research, University of Helsinki, Finland
Keijo Heljanko
Affiliation:
Department of Computer Science, University of Helsinki , Finland Helsinki Institute for Information Technology HIIT , Finland
Anna Lintunen
Affiliation:
Institute for Atmospheric and Earth System Research, University of Helsinki, Finland
Ekaterina Ezhova
Affiliation:
Institute for Atmospheric and Earth System Research, University of Helsinki, Finland
*
Corresponding author: Topi Markus Laanti; Email: topi.m.laanti@helsinki.fi

Abstract

Boreal forests play a critical role in the global carbon cycle as they are one of the largest terrestrial carbon sinks globally. In this study, we employ explainable machine learning (ML) techniques to investigate the influence of environmental and vegetation variables on net ecosystem exchange (NEE), focusing specifically on the effects of diffuse radiation. We utilize a sub-hourly resolution data set including satellite and in-situ observations from three boreal or hemiboreal forest research stations across the latitudes 58–68° N to capture latitudinal variability in forest carbon uptake. Using SHAP (Shapley Additive Explanations) values, we identify key drivers influencing NEE and quantify their importance across various ML model architectures. Photosynthetically active radiation (PAR), diffuse radiation, normalized difference vegetation index, and soil temperature were identified as the variables having the largest explanatory power for NEE across the ML models. ML models using only these variables result in $ {R}^2\approx 0.8 $ and RMSE$ \approx 2.3 $ $ \mu \mathrm{mol}\;{\mathrm{m}}^{-2}\hskip0.1em {\mathrm{s}}^{-1} $. Further analysis of SHAP values indicates that higher diffuse radiation (DiffPAR) is associated with more negative NEE (stronger carbon sink). SHAP analysis highlights this effect much more clearly than raw DiffPAR measurements, because it accounts for interactions with other environmental factors. This suggests that the diffuse radiation effect emerges from interactions between DiffPAR and co-varying environmental factors (such as cloudiness and total PAR). Cases identified by SHAP ($ \mathrm{DiffPAR}\ \mathrm{SHAP}<-2 $) have a median NEE $ 1.55\mu \mathrm{mol},{\mathrm{m}}^{-2},{\mathrm{s}}^{-1} $ more negative than cases with raw $ \mathrm{DiffPAR}\ge 400 $. When applied to ML models, SHAP uncovers nonlinear, context-dependent interactions between diffuse radiation and other drivers of NEE without assuming a priori relationships.

Information

Type
Application Paper
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Open Practices
Open data
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Table 1. List of input variables used for model trainingTable 1. long description.

Figure 1

Table 2. Summary of data sets: time periods and number of observationsTable 2. long description.

Figure 2

Table 3. Final hyperparameter choices for models trained with full input set versus reduced input setTable 3. long description.

Figure 3

Table 4. Model performance metrics for full input set versus reduced input setTable 4. long description.

Figure 4

Figure 1. Beeswarm summary plots of SHAP values showing the influence of input variables on NEE predictions across models and input configurations. PAR, DiffPAR, NDVI, and soil temperature consistently show the strongest effects. Despite variations in model type and input set, overall SHAP patterns remain similar, indicating robust relationships between input variables and NEE.Figure 1. long description.

Figure 5

Figure 2. SHAP dependence plots for the reduced input XGBoost model, showing how PAR, DiffPAR, NDVI, and soil temperature influence NEE predictions. Each subfigure plots a variable against its SHAP value, with color indicating a second interacting variable. The plots reveal seasonal and interaction effects, such as stronger PAR and DiffPAR contributions to carbon uptake under high NDVI or moderate soil temperatures, and that soil temperature acts more as a modulating factor than a primary driver.Figure 2. long description.

Figure 6

Figure 3. Alternative view of the DiffPAR–SHAP relationship (as in subfigure 2b), restricted to observations with NDVI >0.8$ >0.8 $ to reduce the influence of seasonal variation, and colored by diffuse fraction (3a) and soil temperature (3b). Subfigure 3a confirms that points with high DiffPAR and low PAR correspond to overcast conditions (high diffuse fraction). Subfigure 3b shows no clear pattern with soil temperature, indicating that the observed diffuse radiation effect on NEE is not driven by temperature.Figure 3. long description.

Figure 7

Figure 4. Comparison of reduced input XGBoost interpretation (4a) versus traditional data grouping (4b) for assessing the effect of DiffPAR. In 4a, data points with DiffPAR SHAP below −2 show lower NEE, supporting the model’s attribution of enhanced carbon uptake to diffuse radiation. In contrast, 4b shows a weaker relationship when NEE is grouped solely by raw DiffPAR thresholds, highlighting how SHAP reveals interaction-driven effects not apparent in direct data plots.Figure 4. long description.

Supplementary material: File

Laanti et al. supplementary material

Laanti et al. supplementary material
Download Laanti et al. supplementary material(File)
File 2.6 MB

Author comment: Explainable machine learning highlights the role of diffuse radiation in ecosystem carbon uptake of boreal forest — R0/PR1

Comments

Dear Editor,

Please find attached the manuscript entitled «Explainable Machine Learning Highlights the Role of Diffuse Radiation in Ecosystem Carbon Uptake of Boreal Forest» by Laanti et al., which we would like to submit for publication in «Environmental Data Science» as an application article.

Boreal forests are among the largest terrestrial carbon sinks globally. While the basic mechanisms of forest carbon cycling and their climatic drivers are well understood, it is not well known how different variables affect net ecosystem exchange (NEE), due to their strong covariations, nonlinear responses, and interactions. Solar radiation, which includes both direct and diffuse components, is the major limiting factor for NEE but still there is limited understanding on how, for example, the effect of diffuse radiation can be distinguished from the effects of other variables.

Machine learning (ML) methods are widely used to model carbon dioxide fluxes using climatic and biological variables as input parameters. However, these models often operate as black boxes, making it difficult to measure how different variables contribute to the predictions. Here we elucidate how the models handle the variables by applying SHAP (SHapley Additive exPlanations), a model-agnostic method that decomposes each prediction made by an ML model into additive feature contributions for a given sample.

By using SHAP values to analyze three different ML models trained to model NEE using data from three boreal forest sites (two research stations in Finland and one in Estonia) we explore how the different variables interact with NEE as well as with each other. We found that higher contribution of diffuse radiation as seen by the model is associated with more negative NEE (a stronger carbon sink) than suggested by simple analyses of diffuse radiation alone.

ML models and SHAP values continue to gain popularity and have been extensively applied to modeling the carbon cycle. However, our study highlights how SHAP can be used for a more detailed analysis, which has not been demonstrated by other studies employing SHAP. Therefore, we believe our study will be of interest to the readers.

This manuscript has neither been published previously nor is under consideration by another journal. Please do not hesitate to contact us with any questions or comments.

Best regards,

Topi Laanti

Review: Explainable machine learning highlights the role of diffuse radiation in ecosystem carbon uptake of boreal forest — R0/PR2

Conflict of interest statement

Reviewer declares none.

Comments

This manuscript presents a well-designed and carefully executed study with clear relevance to the field. The objectives are well defined, the methodology is appropriate and robust, and the results are clearly presented and supported by the data.

The manuscript makes a meaningful contribution by linking high-resolution flux measurements with explainable machine-learning analysis, and the conclusions are well supported by the results. The study is technically sound and of clear interest to both researchers and practitioners working on ecosystem carbon dynamics.

The manuscript includes equations to define VPD are numbered that are not referenced later elsewhere in the text. For clarity and consistency, the authors may consider either referencing these equations explicitly where relevant or removing the equation numbering.

Review: Explainable machine learning highlights the role of diffuse radiation in ecosystem carbon uptake of boreal forest — R0/PR3

Conflict of interest statement

Reviewer declares none.

Comments

This manuscript presents a careful and well-executed application of explainable machine learning to investigate the role of diffuse radiation in shaping net ecosystem exchange (NEE) across three boreal/hemiboreal forest sites. The study combines high-resolution flux-tower data, robust model training procedures, and SHAP-based interpretation in a scientifically responsible way.

The methodology is sound and the ecological question is meaningful. In particular, the DiffPAR SHAP–based stratification is potentially a novel and valuable contribution. However, the manuscript would benefit from clearer positioning of its core contribution and from strengthening validation and interpretation aspects, particularly under correlated predictors and pooled site analysis.

Please see my comments below to further strengthen the paper:

- A significant portion of the results demonstrates that SHAP recovers well-established ecological relationships (e.g., dominant role of PAR, temperature dependence of respiration, NDVI as seasonal proxy). While this serves as an important model sanity check, it is not always clear how this relates to the primary novelty of the study. In contrast, the DiffPAR SHAP–based grouping (Section 3.4) appears to provide the most novel insight, suggesting that SHAP-based stratification isolates interaction-driven diffuse radiation effects more effectively than raw thresholding. The manuscript would benefit from explicitly clarifying whether the main contribution is (methodological by demonstrating SHAP as a tool for ecosystem process analysis or ecological by quantifying diffuse radiation fertilization across sites and seasons or conceptual by showing that model-attributed regimes outperform threshold-based grouping).

- The SHAP plots (e.g., Fig. 2 and Appendix Fig. A2) are a strong aspect of the manuscript and clearly visualize context-dependent interactions. However, several predictors (PAR, DiffPAR, NDVI, soil temperature, VPD) are inherently correlated and encode overlapping radiation and seasonal regimes. While SHAP explains how the model distributes attribution, it does not by itself isolate marginal effects under correlated predictors. This is mentioned, but not further elaborated. It remains somewhat unclear to what extent the strong DiffPAR SHAP signal reflects an independent diffuse-radiation mechanism or a broader weather or seasonality regime learned jointly by the model. Maybe an additional robustness analysis (e.g., retraining without PAR or seasonality proxies, reporting SHAP interaction values) would be helpful or a clearer conceptual discussion acknowledging the regime-identification versus mechanism-isolation distinction.

- The pooling of data across sites is reasonable for increasing generalization. However, the manuscript uses a random 75/25 split. Given the strong temporal structure of somendata, this may introduce temporal leakage, as training and test sets could contain adjacent time points from the same seasons or years. This can artificially inflate performance estimates. In addition, Hyytiälä dominates the dataset which raises the possibility that the reported R2 may be partly driven by site imbalance rather than true cross-site generalization.This should be either discussed or maybe an analyses about the performance under a blocked split (e.g., year-wise split) or across individual sites would be helpful.

- The discussion connecting diffuse radiation effects to potential future changes in cloudiness or aerosol regimes is interesting but somewhat speculative. Given that SHAP explains model behavior rather than causal mechanisms, the broader climate implications could be framed more cautiously as hypothesis-generating rather than predictive.

Overall, this is a thoughtful and technically careful study that fits well within the scope of the journal.

Recommendation: Explainable machine learning highlights the role of diffuse radiation in ecosystem carbon uptake of boreal forest — R0/PR4

Comments

We thank the authors for their patience in the progress of finding suitable reviewers to ensure a fair and informative process. Please find below the reviewer comments.

Decision: Explainable machine learning highlights the role of diffuse radiation in ecosystem carbon uptake of boreal forest — R0/PR5

Comments

No accompanying comment.

Author comment: Explainable machine learning highlights the role of diffuse radiation in ecosystem carbon uptake of boreal forest — R1/PR6

Comments

Dear Editor-in-Chief and Editor,

Please find attached the revised version of our manuscript, together with a detailed response to the reviewers’ comments. The manuscript examines the drivers of net ecosystem exchange in boreal and hemiboreal forests using explainable machine learning, with a particular focus on the role of diffuse radiation. We thank the reviewers for their constructive comments and have revised the manuscript accordingly. We hope that the revised manuscript and our responses adequately address all comments.

Sincerely,

Topi Laanti

Review: Explainable machine learning highlights the role of diffuse radiation in ecosystem carbon uptake of boreal forest — R1/PR7

Conflict of interest statement

Reviewer declares none.

Comments

The authors carefully addressed all my comments. The argumentation regarding the splits is convincing and reasonable. I have no further comments.

Recommendation: Explainable machine learning highlights the role of diffuse radiation in ecosystem carbon uptake of boreal forest — R1/PR8

Comments

No accompanying comment.

Decision: Explainable machine learning highlights the role of diffuse radiation in ecosystem carbon uptake of boreal forest — R1/PR9

Comments

No accompanying comment.