Learning From Limited Temporal Data: Dynamically Sparse Historical Functional Linear Models With Applications to Earth Science

Joseph Janssen, Shizhe Meng, Asad Haris, Stefan Schrunner, Jiguo Cao, William J Welch, Nadja Kunz, Ali AmeliEnvionmetrics 2025

TL;DR

This paper introduces a novel method for modeling the complex, time-varying relationships between two variables, specifically applied to understanding rainfall-runoff processes in hydrology. By allowing the "memory" of the system (how far back in time a cause affects the effect) to change dynamically, their approach offers more realistic and interpretable insights than previous static models, as demonstrated on real-world hydrological data.

What Problem Does This Paper Address?

Scientists and statisticians often want to understand how one time-varying variable influences another. In fields like hydrology, this means understanding how rainfall (the cause) leads to streamflow (the effect). Traditional models often assume that the influence of past rainfall on current streamflow is constant over time. However, in reality, this relationship is dynamic: the time it takes for rainfall to affect streamflow can change due to factors like soil moisture, temperature, and season. Previous "sparse functional historical linear models" could identify which past rainfall events were important, but they assumed the duration of this influence (the "lag") was fixed. This paper addresses the limitation of static lag by developing a method that can estimate a time-varying lag, making the models more realistic and interpretable for complex systems like hydrology.

Methods

The core innovation is the development of a "Dynamically Sparse Historical Functional Linear Model" (HFLM-DS). Key methodological contributions include:

  • Dynamic Sparsity: Instead of assuming a fixed time lag (δ), the model estimates a time-dependent lag, δ(t). This is achieved by using a hierarchical, nested group lasso approach to identify which coefficients (representing the influence of past rainfall at different times) are truly zero at any given time.
  • Whittaker Smoothing: The authors replace the "tent-like" basis functions used in prior work with Whittaker basis functions. This allows for higher resolution estimates of both the coefficient function and the time-varying lag, while also being computationally more efficient than increasing the number of tent-like bases.
  • Simplified Framework: The model simplifies the historical functional linear model framework by using a rectangular coefficient structure and incorporating Whittaker smoothing, making it more tractable.
  • Autocorrelated Error Handling: The paper addresses the issue of autocorrelated errors in time series data, which is common in hydrology, by using an autoregressive distributed lag model followed by deconvolution, which is computationally more efficient than traditional methods like Cochrane-Orcutt or Prais-Winsten.

Datasets

The paper uses two real-world hydrological datasets:

  • Koksilah River (British Columbia, Canada): Data from this catchment was used to demonstrate the model's application.
  • Withlacoochee River (Florida, United States): Data from this catchment was also used for demonstration.

The rainfall data for both catchments was sourced from EMDNA (Tang et al., 2021), a high-quality climate dataset.

Key Insights and Ideas

  • Dynamic Lag is Crucial for Hydrology: The ability to estimate a time-varying lag is essential for accurately modeling rainfall-runoff processes, as the system's "memory" changes significantly with seasons and antecedent conditions.
  • Interpretable Hydrological Phases: The model successfully identified distinct hydrological phases (wetting, wet, drying, dry) in the studied catchments, aligning with expert knowledge.
  • Whittaker Basis Efficiency: Using Whittaker basis functions offers a computationally efficient way to achieve high-resolution coefficient and lag estimates, overcoming limitations of previous methods.
  • Model Robustness: The method demonstrates robustness across different noise levels and autocorrelation structures, even when predictive accuracy (R²) is relatively low.

Key Results

  • Koksilah River: The model achieved an R² of 0.82 on the test set. The estimated dynamic lag δ(t) showed distinct peaks corresponding to summer and fall, with a lag of around 3 days in winter and 18 days in summer, reflecting known hydrological behaviors.
  • Withlacoochee River: The model achieved an R² of 0.55 on the test set. Despite a different hydrological regime (dryer), the model still identified distinct phases and a positive relationship between rainfall and streamflow.
  • Simulation Studies: The method consistently recovered ground-truth coefficient functions (β-R² > 0.9) and dynamic time lags with high accuracy across various noise and autocorrelation levels. Even with R² < 0.4 and highly autocorrelated errors, the model could still draw accurate conclusions.

Limitations and Future Work

  • Sparsity Assumption for New Features: The algorithm can incorporate multiple features, but these new features must also adhere to the sparsity and smoothness assumptions. For example, including snowfall in a snow-rich catchment might violate sparsity assumptions if snowfall contributes to streamflow over extended periods (weeks to months).
  • Year-to-Year Variability: The current model assumes catchment behavior is consistent across years. Future work could extend the method to capture year-to-year relationship variability or estimate coefficient functions before and after known changes (e.g., land-use changes, climate shifts).
  • Adaptive Smoothness: The authors suggest exploring adaptive smoothness, similar to the adaptive lasso, to allow for varying smoothness across different days or lags.
  • Time-Varying AR Terms and Heteroscedasticity: Incorporating time-varying AR terms or accounting for heteroscedasticity in the error model could further improve the extraction of filtering functions.
  • Spatial Extension: Extending the methods to spatial analysis could be valuable, allowing for the identification of impactful spatial areas and their influence on the response.
  • Alternative Sparsity Methods: Exploring causal inference and conditional independence frameworks, such as using partial correlation or transfer entropy for sparsity selection, could offer alternative approaches.
  • Hyperparameter Selection: Further research into optimal methods for choosing hyperparameters, particularly the sparsity threshold q, is suggested.

Summary updated

BibTeX
@inproceedings{janssen2025learning,
  author = {Joseph Janssen and Shizhe Meng and Asad Haris and Stefan Schrunner and Jiguo Cao and William J Welch and Nadja Kunz and Ali Ameli},
  title = {{Learning From Limited Temporal Data: Dynamically Sparse Historical Functional Linear Models With Applications to Earth Science}},
  booktitle = {Envionmetrics},
  year = {2025},
  url = {https://openreview.net/forum?id=SrJlU3NhNj},
}
Figure