A warm spring makes northern forests grow faster in spring. It also dries the soil, and dry soil makes the following summer hotter and drier near the ground. So when researchers ask how much a warm spring changes productivity in late summer or autumn, they run into a trap that clinical epidemiologists already know well. Soil moisture is a result of the spring warmth, and it also partly causes the summer heat. If you adjust for soil moisture, you cut out part of the spring effect you are trying to measure. If you leave it out, the summer-heat estimate is confounded. Current legacy-effect studies adjust for soil moisture with partial correlations. That can give the wrong magnitude, and possibly the wrong sign, for exactly the quantities they report.
We propose treating each satellite grid cell in each year as a patient in a retrospective cohort. Spring and summer temperature anomalies are two treatments given one after the other, soil moisture and vapor-pressure deficit are the confounders that change over time, and autumn gross primary productivity (the carbon plants fix by photosynthesis) is the outcome. We then estimate the joint effect of spring-and-summer heat regimes with a marginal structural model. This is a regression on counterfactual outcomes, fitted after reweighting the data so that treatment history is independent of measured confounder history. The weights come from kernel optimal balancing rather than inverse propensity weights. The concrete test is whether this estimate agrees better than current methods with eddy-covariance towers, and whether it resolves the published disagreement among satellite products about the sign of the legacy effect.
Core Claim
The motivating result comes from Direct and Legacy Effects of Spring Temperature Anomalies on Seasonal Productivity in Northern Ecosystems. That study correlated spring temperature anomalies with summer and autumn GPP from three satellite products (GOSIF, NIRv, FluxSat) over 2001–2018. It controlled for concurrent temperature, vapor-pressure deficit (VPD) and ERA5-Land soil moisture, and found negative legacies in temperate forests and positive ones in the Arctic. It also found that the autumn sign in North America flips depending on the product: GOSIF gives a positive legacy, while NIRv and FluxSat give negative ones.
We claim that part of this confusion comes from the estimand, not only from the sensors. A partial correlation that conditions on summer soil moisture estimates something closer to a direct effect that excludes the soil-drying pathway. That pathway is the mechanism the paper itself proposes. The partial correlation also leaves summer temperature confounded by soil state.
Separating these requires a method built for treatment–confounder feedback. Optimal balancing of time-dependent confounders for marginal structural models provides one: Kernel Optimal Weighting (KOW). KOW chooses weights by convex optimization so that confounder histories are balanced across treatment histories, with a penalty that prevents extreme weights. The paper validated it on the Multicenter AIDS Cohort Study and political advertising data, and reports that it recovered a significant treatment effect where standard inverse-probability weights gave estimates too noisy to be significant. Nobody in the file has applied this to ecological exposures.
The target is the marginal structural model
$$E\left[Y^{(a_1,a_2)}\right] = \beta_0 + \beta_1 a_1 + \beta_2 a_2 + \beta_3 a_1 a_2,$$
The symbols are defined as follows:
- $Y^{(a_1,a_2)}$ is the autumn GPP anomaly a cell-year would have had under spring heat regime $a_1$ and summer heat regime $a_2$.
- The coefficient $\beta_1$ is the total spring legacy, including the soil-drying pathway.
- The coefficient $\beta_2$ is the summer effect, deconfounded from soil state.
- The coefficient $\beta_3$ is the compounding of the two.
Research Program
We would build the cohort from the data used in the spring-legacy study. The inputs are 0.05° GOSIF, NIRv and FluxSat GPP for 2001–2018, and ERA5-Land temperature, VPD and 0–7 cm soil moisture. MODIS land cover and Köppen–Geiger maps define biome strata.
Exposures are spring and summer temperature anomalies, coded as the top tercile against the rest. This mirrors the binary regimes in cohort studies and lets us check positivity (the requirement that every regime is observed across the confounder range) biome by biome. A continuous-dose version follows once the binary design is validated.
Confounders enter at two stages:
- Before spring: the prior-year autumn GPP, the winter soil moisture, and the cell's climatology.
- Between spring and summer: late-spring and early-summer soil moisture and VPD. These are the variables affected by spring exposure that also influence summer exposure.
We fit three sets of weights: KOW, stabilized inverse-probability weights, and a variant of KOW that balances only pre-spring confounders. The last one is the ablation that isolates the time-dependent ingredient. We estimate the model separately by biome. Confidence intervals come from a spatial block bootstrap over ecoregions, because neighboring cells share weather and are not independent.
Two design choices come from the clinical cohort literature:
- Index on the biological clock. Timing to intubation COVID-19 patients: can we put it off until tomorrow? showed that indexing from symptom onset rather than hospital admission changes the estimated per-day penalty of delayed intubation. It reports an adjusted hazard ratio of 1.018 per day. By analogy, we define "spring" by each cell's green-up date rather than calendar months. The calendar-month definition is kept as a sensitivity analysis.
- Accept that confounding may remain. Long-Term Survival in Men With High Grade Prostate Cancer: A Comparison Between Conservative Treatment, Radiation Therapy and Radical Prostatectomy—A Propensity Scoring Approach balanced observational groups with propensity scores. It also documented missing comorbidity records as a remaining weakness. Our equivalent weaknesses are unmeasured confounders such as cloudiness, diffuse radiation and deep-soil water, which is why the checks below include a negative control.
Ground truth has two sources. The first is FLUXNET2015 towers co-located with grid cells. At these towers GPP is partitioned from measured carbon exchange, so tower-based marginal structural model estimates are independent of any satellite retrieval.
The second is a semi-synthetic benchmark. We fit simple state-space models to tower and ERA5 series, in the spirit of the low-dimensional controlled dynamics in Physics Informed Modeling of Ecosystem Respiration via Dynamic Mode Decomposition with Control Input. That paper found respiration governed by four to six dominant modes and ran "virtual interventions" by swapping drivers, though not with a formal counterfactual estimand. Our fitted models include an explicit feedback from soil moisture to summer temperature. Simulating from them produces data where the true $\beta_1$, $\beta_2$ and $\beta_3$ are known.
Relation to Prior Work
Three lines of ecological work motivate the proposal but do not solve it:
- Partial correlation. Direct and Legacy Effects of Spring Temperature Anomalies on Seasonal Productivity in Northern Ecosystems supplies the question, the data and the sign contradiction. We keep its data and replace its partial correlations.
- Historical temperature trajectories. Footprint of temperature changes in the temperate and boreal forest carbon balance showed that historical temperature trajectories explain cross-site forest carbon balance better than current temperature. Spring warming over 1980–2002 explained about 84% of cross-site variation in net ecosystem productivity after dropping four Siberian sites. The authors had to correct manually for stand age. This is the site-selection confounding that our within-cell, across-year design avoids.
- Short memory at daily scale. Understanding and Modeling Climate Impacts on Photosynthetic Dynamics with FLUXNET Data and Neural Networks found a roughly two-week memory in daily GPP at four towers. That result constrains us. Any seasonal legacy must be carried by slow state variables such as soil water, not by fast plant physiology. This is why soil moisture is the central time-dependent confounder.
On the methods side, Modern causal inference approaches to investigate biodiversity-ecosystem functioning relationships reviews fixed-effects panel regression in ecology. It reports that in 151 grassland plots, adjusting for confounding reversed the sign of the richness–productivity relationship. It also states that fixed effects cannot handle confounders that vary in both space and time. Soil moisture under a given cell in a given year is exactly such a confounder, so we address the case that review leaves open. KOW supplies the estimator; our contribution is to specify the ecological cohort and validate it.
Baselines
Naive reference. The unadjusted correlation between spring anomaly and autumn GPP anomaly within each biome. This is the "do nothing" point, and it shows how much adjustment changes anything.
Partial correlation. The published method: partial correlation controlling for concurrent temperature, VPD and soil moisture, run on identical cells, years and products. No reported numerical effect size for these legacy correlations was found on Lacuna; the file reports only signs by region and biome. So "beating" this baseline means two things:
- lower bias and root-mean-square error against the known effects in the semi-synthetic data;
- closer agreement with tower-based estimates at co-located cells.
Two-way fixed-effects regression. Cell and year fixed effects plus lagged spring and summer anomalies, following the approach reviewed by Runge. This is the strongest conventional ecological competitor, because it removes stable site differences and regional year shocks. We run it in two versions, with and without soil moisture as a covariate, so its dependence on that choice is visible.
Stabilized inverse-probability-weighted model. The same outcome model and confounder sets as our method, with logistic propensity models given the same covariates and the same tuning budget.
Flexible sequential-regression g-computation. This fits outcome models stage by stage with gradient boosting and simulates the regimes. It is a real competitor with no ecological precedent in the file. We give it the same covariates and cross-validation budget as the weighting methods.
KOW benchmark numbers. For KOW itself, the file reports only that it had the lowest mean squared error in simulations against inverse-probability weights, stabilized weights and covariate-balancing propensity scores. No numerical value is given. It also reports that on MACS, KOW stabilized estimates that inverse-probability weighting could not. No reported result was found on Lacuna for any of these estimators on ecological data.
Ablation. KOW balancing only pre-spring confounders. If it matches full KOW, the time-dependent structure does not matter here, and the proposal's central claim fails.
Why not just…?
Why not just drop soil moisture from the regression and read off the total spring effect? For $\beta_1$ alone, this might nearly work, and we will report it. It fails for the joint question. Soil moisture must be adjusted for to estimate the summer effect, and must not be adjusted for to estimate the spring effect. A single regression cannot do both, whereas the weighting approach can. The semi-synthetic benchmark includes the soil-to-temperature feedback, so it will show directly how much bias each regression choice introduces in $\beta_2$ and $\beta_3$. If that bias turns out negligible, we will say so.
Why not just use two-way fixed effects with distributed lags? Fixed effects remove confounders that are constant within a cell or within a year. The file's own causal review says they cannot remove confounders that vary in both at once, and soil state in a particular cell-year is such a confounder. The fixed-effects baseline, run in both versions, measures the gap.
Why not just train an LSTM or similar sequence model and simulate warm springs? The FLUXNET study shows these models predict about two weeks ahead well and degrade beyond that. Predictive accuracy also does not establish that a simulated intervention is unconfounded. The flexible g-computation baseline is essentially the principled version of this idea. It is a genuine threat, and if it matches KOW on bias with narrower intervals, we should recommend it instead.
Why not just use inverse propensity weights? KOW's authors document weight explosion when propensities approach 0 or 1. Arctic and desert-edge cells, where warm springs are rare or near-universal, create exactly that situation. We will report the effective sample size and maximum weight for each method, so this is checked rather than assumed.
Decisive Checks
The first check is the semi-synthetic benchmark. Our method should have the lowest bias in $\beta_2$ and $\beta_3$ and should not be worse on $\beta_1$.
The second is agreement with towers. At FLUXNET-co-located cells, the satellite-based estimates from our method should match tower-based estimates more closely than the partial-correlation estimates do.
The third is a negative control. Autumn anomalies should show no effect on the same year's spring GPP, which lies in their past. A nonzero estimate flags unmeasured confounding such as cloudiness.
The fourth, and most informative, is agreement across products. Under a single estimand with balanced confounders, do GOSIF, NIRv and FluxSat agree on the sign of the autumn legacy in North America?
- If they converge, the published contradiction was largely an estimand artifact.
- If they still disagree after balance is verified, the disagreement is a retrieval problem in the sensors. That too is a useful and clean answer.
References
- Direct and Legacy Effects of Spring Temperature Anomalies on Seasonal Productivity in Northern Ecosystems
- Optimal balancing of time-dependent confounders for marginal structural models
- Timing to intubation COVID-19 patients: can we put it off until tomorrow?
- Long-Term Survival in Men With High Grade Prostate Cancer: A Comparison Between Conservative Treatment, Radiation Therapy and Radical Prostatectomy—A Propensity Scoring Approach
- Physics Informed Modeling of Ecosystem Respiration via Dynamic Mode Decomposition with Control Input
- Footprint of temperature changes in the temperate and boreal forest carbon balance
- Understanding and Modeling Climate Impacts on Photosynthetic Dynamics with FLUXNET Data and Neural Networks
- Modern causal inference approaches to investigate biodiversity-ecosystem functioning relationships