Abstract
This work proposes an algorithmic framework to learn time-varying graphs from online data. The generality offered by the framework renders it model-independent, i.e., it can be theoretically analyzed in its abstract formulation and then instantiated under a variety of model-dependent graph learning problems. This is possible by phrasing (time-varying) graph learning as a composite optimization problem, where different functions regulate different desiderata, e.g., data fidelity, sparsity or smoothness. Instrumental for the findings is recognizing that the dependence of the majority (if not all) data-driven graph learning algorithms on the data is exerted through the empirical covariance matrix, representing a sufficient statistic for the estimation problem. Its user-defined recursive update enables the framework to work in non-stationary environments, while iterative algorithms building on novel time-varying optimization tools explicitly take into account the temporal dynamics, speeding up convergence and implicitly including a temporal-regularization of the solution. We specialize the framework to three well-known graph learning models, namely, the Gaussian graphical model (GGM), the structural equation model (SEM), and the smoothness-based model (SBM), where we also introduce ad-hoc vectorization schemes for structured matrices (symmetric, hollows, etc.) which are crucial to perform correct gradient computations, other than enabling to work in low-dimensional vector spaces and hence easing storage requirements. After discussing the theoretical guarantees of the proposed framework, we corroborate it with extensive numerical tests in synthetic and real data.
1. Introduction
Graph Topology Identification (GTI) is a fundamental task in signal processing and machine learning, yet most existing methods assume a static network or require batch processing of all available data. In real-world scenarios—such as financial markets, biological systems, or sensor grids—networks are inherently non-stationary, with structures that evolve over time. Furthermore, data often arrives sequentially, necessitating online processing to avoid the high latency associated with batch methods.
This paper addresses the need for an algorithmic framework that is model-independent, computationally efficient, and adaptive to non-stationary environments. By leveraging time-varying optimization tools, the proposed framework tracks evolving graph topologies with significantly reduced computational overhead compared to traditional offline solvers.
2. Methodology
The core of the proposed approach is a general Prediction-Correction (PC) framework. Rather than solving a full optimization problem from scratch at each time step, the algorithm follows the optimal trajectory of the solution through two primary phases: prediction and correction.
2.1 Recursive Covariance Update
A key insight of this work is that most graph learning algorithms interact with data primarily through the empirical covariance matrix. By updating this matrix using an exponentially-weighted moving average (EWMA), the framework can adapt to changing dynamics by gradually discounting older, less relevant data. This recursive update allows the model to function in non-stationary environments.
2.2 Prediction-Correction Framework
As detailed in Algorithm 1, the framework operates in two stages:
- Prediction Step: Before new data arrives, the algorithm uses a Taylor expansion (incorporating the gradient and Hessian of the cost function) to estimate how the graph will change in the next instant.
- Correction Step: Upon the arrival of new data, a lightweight proximal-gradient update refines the predicted estimate.
2.3 Structured Vectorization
To maintain mathematical rigor and efficiency, the authors introduce specialized vectorization schemes ($h$-space and $hh$-space). These schemes handle constraints like symmetry and "hollowness" (no self-loops), reducing the dimensionality of the problem and ensuring correct gradient computations for structured matrices.
3. Experimental Evaluation
The framework was validated across three models: the Gaussian Graphical Model (GGM), the Structural Equation Model (SEM), and the Smoothness-Based Model (SBM). Testing involved both synthetic and real-world datasets:
- Synthetic Data: Random graphs with piecewise constant (sudden jumps) and smooth (gradual decay) evolution patterns.
- Stock Price Data: Historical closing prices for seven pharmaceutical companies (e.g., Pfizer, Moderna) during the COVID-19 pandemic (2019–2021).
- Temperature Monitoring: Hourly data from 25 weather stations across Ireland over four years.
- Epilepsy Study: Electro-corticography (ECoG) time series from a 76-electrode grid implanted in a patient's brain, capturing the transition into a seizure.
4. Results and Discussion
The PC algorithm demonstrated a massive computational advantage, performing updates approximately 3,000 times faster than standard offline solvers (e.g., CVX). While CVX took ~3.6 seconds per update, the PC method required only ~0.001 seconds. Despite this speed, the Normalized Squared Error (NSE) remained consistently low, indicating that the online approximation serves as a high-fidelity surrogate for the offline optimal solution.
In real-world applications, the model successfully identified the "decoupling" of vaccine manufacturers like Moderna and Novavax from traditional pharmaceutical giants during key clinical trial phases. Additionally, in the epilepsy study, the "Graph Temporal Deviation" metric spiked exactly at the onset of the seizure, providing a clear indicator of network alteration.
5. Conclusion
This work provides a versatile and efficient framework for online graph learning. By treating the problem as a time-varying optimization task, the authors achieve real-time tracking with minimal computational cost. While the current formulation requires strong convexity and relies on the covariance matrix as a sufficient statistic, it offers a powerful tool for tracking dynamic networks. Future research will explore extensions to directed graphs and distributed implementations for large-scale sensor networks where data cannot be centralized.
Summary updated