Time Series Link Prediction Using NMF

Faith Wavinya Mutinda, Atsuhiro Nakashima, Koh Takeuchi, Yuya Sasaki, Makoto Onizuka

Introduction

In dynamic environments like e-commerce and social networks, data is rarely static. Predicting future "links"—such as a customer's next purchase or a researcher's next collaboration—is a critical challenge for modern recommendation systems. This paper introduces a robust framework for time-series link prediction that integrates Non-negative Matrix Factorization (NMF) with classical time-series forecasting to capture evolving relationships in dynamic bipartite graphs.

While link prediction in static graphs is well-established, time-series prediction is significantly more complex due to "temporal drift." Existing methods often fail to account for seasonal trends or long-term shifts in user behavior. Furthermore, many algorithms struggle with predicting "hidden links"—entirely new interactions that have never appeared in the training history—focusing instead on "missing links" within existing data.

Proposed Methodology

The researchers propose a three-step pipeline designed to maintain feature consistency across time steps, addressing the common issue of latent feature "shuffling" in standard NMF.

Overview of the proposed time-series link prediction framework, illustrating the transition from time division to NMF feature extraction and forecasting.
  1. Consistent Feature Extraction: To ensure that latent features remain comparable over time, the authors first apply NMF to an average matrix of the entire history. These results serve as the initialization for NMF at each individual time step. This "initialization trick" ensures that "Feature 1" consistently represents the same underlying concept throughout the timeline.
  2. Temporal Forecasting: The sequence of latent features is treated as a univariate time series. The framework evaluates three models: Holt-Winters (for seasonality), Vector Auto-Regressive (VAR, for linear trends), and Long Short-Term Memory (LSTM, for complex non-linear dependencies).
  3. Ensemble Learning: To improve stability and accuracy, an ensemble approach combines predictions from various feature counts ($K$) and seasonality parameters, mitigating the need for exhaustive manual tuning.

Experimental Evaluation

The model was evaluated on two distinct real-world datasets:

  • POS (Point-of-Sales): 24 months of supermarket transaction data, characterized by high periodicity and seasonal shopping habits.
  • DBLP: 17 years of academic publication data, representing a more stationary dataset without strong seasonality.

Key Results and Insights

The proposed Prop.LSTM (NMF + LSTM) variant consistently outperformed baseline methods across both datasets.

ROC curves for the POS dataset, demonstrating that the Prop.LSTM approach achieves a superior AUC of 0.9442 compared to traditional baselines.
  • Superior Accuracy: On the POS dataset, the NMF+LSTM approach reached an AUC of 0.9442, significantly exceeding the baseline (0.9201) and standard TSVD methods (0.8832).
  • Predicting Hidden Links: One of the most significant findings was the model's ability to predict new interactions. In the DBLP dataset, the method achieved an AUC of 0.8206 for hidden links, whereas traditional forecasting methods without NMF-based latent structure analysis often fell below 0.72.
  • The Power of NMF: Unlike Singular Value Decomposition (SVD), NMF produces non-negative results that are more interpretable for count-based data (like purchases) and better at capturing the "parts-based" structure of the graph.

Conclusion and Future Work

By combining the structural decomposition of NMF with the predictive power of LSTMs, this framework offers a significant advancement in dynamic link prediction. While currently focused on structural graph data, future work could integrate node attributes (e.g., user demographics) or explore more advanced architectures like Bidirectional LSTMs to further enhance predictive performance.

Summary updated

BibTeX
@article{mutinda2019time,
  author = {Faith Wavinya Mutinda and Atsuhiro Nakashima and Koh Takeuchi and Yuya Sasaki and Makoto Onizuka},
  title = {{Time Series Link Prediction Using NMF}},
  journal = {J. Inf. Process.},
  year = {2019},
  doi = {10.2197/ipsjjip.27.752},
}
Figure