Ultra Fast Warm Start Solution for Graph Recommendations

Viacheslav Yusupov, Maxim V. Rakhuba, Evgeny Frolov

Abstract

Graph Neural Networks (GNNs) have become a cornerstone of modern recommender systems due to their ability to capture complex structural relationships between users and items. However, they face significant challenges in "warm-start" scenarios, where user profiles must be updated rapidly in response to new interactions. Traditional methods, such as full model retraining or iterative fine-tuning via Stochastic Gradient Descent (SGD), are often too computationally expensive for real-time applications. This paper presents a "Linear Folding-In" approach specifically designed for the UltraGCN framework. By deriving a closed-form mathematical solution for user embeddings, this method achieves up to a 30x speedup over SGD-based updates while simultaneously improving recommendation accuracy and item diversity.

1. Introduction

In dynamic environments like e-commerce and streaming services, the ability to provide instantaneous recommendations based on a user's most recent activity is critical. This is known as the warm-start problem. While sequential models (e.g., RNNs or Transformers) are designed for rapid updates, Graph Neural Networks (GNNs) typically require expensive global computations to maintain their high-quality structural insights.

Currently, practitioners generally choose between two suboptimal paths for updating GNN-based recommenders:

  1. Full Retraining: Re-optimizing the entire graph, which is computationally prohibitive for frequent updates.
  2. Iterative Fine-tuning: Using SGD to update specific user vectors, which is faster but still requires multiple passes over the data and sensitive hyperparameter tuning.

This research introduces a third path: a linear, exact solution that allows for "on-the-fly" updates during live inference.

2. Methodology: Linear Folding-In

The authors focus on UltraGCN, a simplified GCN variant that skips explicit message passing in favor of a constraint-based loss function. By leveraging the linear properties of UltraGCN's architecture, the researchers adapted the "Folding-In" technique—a method originally used in Latent Semantic Analysis—to the graph recommendation context.

2.1 The Closed-Form Solution

Instead of iteratively searching for the optimal user embedding ($e_u$), the problem is framed as a linear optimization task. The authors derived an exact solution where the new user embedding is calculated via a single matrix-vector multiplication:

$$e_u^T = \frac{1}{\beta_u}(a_u^T B_I^{-1})V^+$$

Where:

  • $a_u$: The vector representing the user's recent interactions.
  • $V^+$: The pre-computed pseudo-inverse of the item embeddings.
  • $B_I, \beta_u$: Scaling factors derived from the graph's node degrees to account for structural importance.

Because the item embeddings ($V^+$) and scaling factors ($B_I$) can be pre-computed and stored, the update for a user becomes a simple arithmetic operation that can be executed in milliseconds during a live session.

3. Experimental Setup

The efficiency and effectiveness of the Linear Folding-In method were evaluated across four diverse datasets:

  • MovieLens-1M (ML-1M): A standard benchmark for movie recommendations.
  • Amazon Beauty: A sparse dataset characterized by consumer product reviews.
  • Amazon Books: A large-scale dataset containing over 91,000 items.
  • Million Songs Dataset (MSD): A high-density dataset for music discovery.

The researchers employed a time-based split (80% training, 10% warm-start interactions, and 10% testing) to simulate real-world production environments where the model must adapt to new user behavior.

4. Key Results and Insights

4.1 Speed and Scalability

The Linear Folding-In method demonstrated a massive efficiency leap, achieving up to a 30x speedup compared to SGD. On the Amazon Books dataset, the update time per user was reduced from approximately 5 seconds (SGD) to just 0.145 seconds. This linear scalability ensures the method remains viable even as item catalogs grow into the millions.

4.2 Accuracy and Diversity

Counter-intuitively, the exact linear solution often outperformed iterative SGD in recommendation quality. Across all datasets, the proposed method achieved superior or competitive scores in Hit Rate (H@10) and Normalized Discounted Cumulative Gain (NDCG@10).

Furthermore, the method significantly improved item coverage. While SGD-based updates often suffer from popularity bias—drifting toward frequently clicked "blockbuster" items—the Folding-In approach focuses strictly on the individual user's interaction history relative to the global graph structure, resulting in more diverse and personalized suggestions.

5. Conclusion and Future Work

The Linear Folding-In approach provides a robust solution for the warm-start problem in graph-based recommenders, offering a rare combination of extreme speed and improved accuracy. While the current implementation is tailored to UltraGCN, the underlying logic suggests potential for other simplified GNN architectures.

Future research directions include extending this closed-form logic to "cold-start" scenarios (users with zero history) and developing "Dual Folding-In" techniques to handle the simultaneous addition of new items and users in real-time.

Summary updated

BibTeX
@inproceedings{yusupov2025ultra,
  author = {Viacheslav Yusupov and Maxim V. Rakhuba and Evgeny Frolov},
  title = {{Ultra Fast Warm Start Solution for Graph Recommendations}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2025},
  doi = {10.1145/3746252.3760932},
}
Figure