High-Dimensional Differential Parameter Inference in Exponential Family using Time Score Matching

Daniel James Williams, Leyang Wang, Qizhen Ying, Song Liu, Mladen Kolar

Abstract

This paper addresses differential inference in time-varying parametric probabilistic models, like graphical models with changing structures. Instead of estimating a high-dimensional model at each time and estimating changes later, we directly learn the differential parameter, i.e., the time derivative of the parameter. The main idea is treating the time score function of an exponential family model as a linear model of the differential parameter for direct estimation. We use time score matching to estimate parameter derivatives. We prove the consistency of a regularized score matching objective and demonstrate the finite-sample normality of a debiased estimator in high-dimensional settings. Our methodology effectively infers differential structures in high-dimensional graphical models, verified on simulated and real-world datasets. The code reproducing our experiments can be found at: https://github.com/Leyangw/tsm.

Introduction

In dynamic systems ranging from finance to social networks, the underlying data-generating processes are often non-static. Traditional approaches to modeling these changes involve either estimating full models at discrete time points and differencing them or employing fused-lasso techniques to encourage sparsity in changes. However, these methods face significant hurdles in high-dimensional settings. When a model is complex but its dynamics are sparse, modeling the static components is computationally wasteful. Moreover, many powerful models, such as truncated Gaussians, possess intractable normalizing constants that render standard maximum likelihood estimation (MLE) infeasible. This paper proposes a paradigm shift: directly learning the "differential parameter"—the time derivative of the model parameters ($\partial_t \theta$)—thereby bypassing the need to model static parts or calculate normalizing constants.

Methodology

The proposed framework leverages Time Score Matching (TSM) within the Exponential Family of distributions. The key insight is that the "time score function"—the derivative of the log-density with respect to time—is a linear function of the differential parameter for exponential families.

By minimizing a weighted Fisher-Hyvärinen divergence, the authors derive an objective function that isolates parameter changes. This approach is implemented via two variants:

  1. SparTSM: Employs an $\ell_1$ penalty (Lasso) to identify changing parameters in high-dimensional spaces.
  2. SparTSM+: A debiased version using a Newton-step update to achieve asymptotic normality, enabling statistical inference such as confidence intervals and p-value testing.
Comparison of SparTSM (top) directly estimating the differential parameter versus Loggle (bottom) estimating the parameter itself.

A crucial advantage is that the error bounds for this method depend on the sparsity of the derivative ($\partial_t \theta$) rather than the sparsity of the base model ($\theta$). This allows for accurate inference even in dense models, provided the changes themselves are sparse.

Experimental Results

The methodology was evaluated on synthetic Gaussian Graphical Models (GGM), Truncated GGMs, and real-world US Senate voting data. Truncated GGMs serve as a critical test case due to their intractable normalizing constants.

ROC curves for change detection in Truncated Gaussian Graphical Models.

As shown in the results, SparTSM achieves an AUC of 0.733 on Truncated GGMs, whereas the state-of-the-art "Loggle" method fails completely, performing no better than random chance (AUC ≈ 0.5). Furthermore, the debiased SparTSM+ estimator demonstrated superior statistical power compared to an "Oracle" method in high-dimensional contexts. In real-world application to the 109th US Senate data, the model successfully visualized increasing partisanship, identifying tight party-exclusive voting blocks as the congressional term progressed.

Conclusion

This work provides a robust and computationally efficient framework for differential inference in high-dimensional exponential families. By focusing on the time score, the method handles unnormalized models and sparse dynamics with high precision. Future work includes extending this framework beyond the exponential family and exploring the use of neural networks to parameterize the score function for greater flexibility.

Summary updated

BibTeX
@inproceedings{williams2025high,
  author = {Daniel James Williams and Leyang Wang and Qizhen Ying and Song Liu and Mladen Kolar},
  title = {{High-Dimensional Differential Parameter Inference in Exponential Family using Time Score Matching}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=ZAblNqZMU8},
}
Figure