Abstract
Inferring the underlying graph topology that characterizes structured data is pivotal to many graph-based models when pre-defined graphs are not available. This paper focuses on learning graphs in the case of sequential data in dynamic environments. For sequential data, we develop an online version of classic batch graph learning method. To better track graphs in dynamic environments, we assume graphs evolve in certain patterns such that dynamic priors might be embedded in the online graph learning framework. When the information of these hidden patterns is not available, we use history data to predict the evolution of graphs. Furthermore, dynamic regret analysis of the proposed method is performed and illustrates that our online graph learning algorithms can reach sublinear dynamic regret. Experimental results support the fact that our method is superior to the state-of-art methods.
Introduction
In many fields, from social science to finance, understanding the hidden network structure connecting data points is crucial. Traditional graph learning methods are typically batch processes, requiring all data to be collected before calculating a static graph. However, real-world data often arrives in streams, and the underlying relationships evolve over time—such as shifting user connections or changing stock correlations during market volatility. This paper addresses the challenge of tracking these "moving targets" by integrating evolutionary patterns, or "dynamic priors," directly into the learning process.
Methodology
The proposed approach builds on Online Mirror Descent (OMD). The method, Online Graph Learning with Priors (OGLP), operates in two stages at each time step:
- Update Step: Upon receiving new data, the algorithm calculates a gradient based on a smoothness assumption—the principle that connected nodes should have similar values—and updates the current graph estimate.
- Prediction Step: The algorithm employs a dynamic model ($\Phi$) to predict the graph's state in the next time slot. This can involve Explicit Priors (e.g., autoregressive models) or Data-Driven Priors, where the next state is estimated using an iterative approximation based on the Hessian and gradient of the loss function.
Theoretical analysis confirms that OGLP achieves sublinear dynamic regret, ensuring the algorithm's performance remains bounded relative to an ideal sequence of graphs over time.
Experimental Results
The researchers evaluated OGLP using synthetic models (Autoregressive, Transition, Social Network, and Switching) and real-world pharmaceutical stock data from the COVID-19 pandemic period.
Synthetic Performance
In all synthetic tests, OGLP consistently achieved lower relative error in edge weights compared to the state-of-the-art baseline, OGLPG. Notably, in the "Switching" model—where the graph structure undergoes sudden jumps—OGLP demonstrated a significantly faster recovery to a low-error state.
Real-World Application: Stock Market Tracking
The model was applied to the closing prices of 10 major pharmaceutical companies from August 2019 to July 2021. OGLP successfully detected a massive spike in temporal variation in March 2020, corresponding to the onset of the pandemic. Compared to the baseline, OGLP was more sensitive to these structural market changes and stabilized more quickly after the initial shock.
Discussion and Conclusion
Key insights include the significant reduction in regret provided by dynamic priors and the utility of the Hessian for proactive learning when evolution patterns are unknown. A trade-off exists between stability and agility, controlled by the forgetting factor ($\gamma$).
While effective, the data-driven prediction step introduces computational overhead due to iterative updates. Future work may explore more complex, non-linear dynamic models to further enhance prediction accuracy in highly volatile environments.
Summary updated