Dynamic Collaborative Filtering for Matrix- and Tensor-based Recommender Systems

Albert Saiapin, Ivan V. Oseledets, Evgeny FrolovarXiv 2023 · DOI

Abstract

Recommender systems in production environments face a "continuous data flow" problem, where new user interactions must be incorporated without the prohibitive cost of full daily retraining. This paper introduces TIRecA, a tensor-based model that utilizes dynamical integrators to update incrementally. By treating recommendation as a dynamical system, TIRecA achieves training speeds 10–20 times faster than traditional baselines while maintaining comparable accuracy and handling new users or items on the fly.

Introduction: The Continuous Data Flow Problem

In real-world applications, user-item interaction data arrives as a constant stream. Most state-of-the-art models, particularly deep learning architectures like SASRec, require expensive full retraining to integrate this new information. Furthermore, the introduction of entirely new users or items often necessitates structural changes to neural embeddings, which is both disruptive and slow. There is a critical need for models that can refine parameters seamlessly within a continuous stream without resorting to "brute force" retraining.

Methodology: Incremental Updates via Dynamical Integrators

The proposed approach shifts away from deep learning toward Low-Rank Tensor Decomposition, specifically the Tucker Decomposition framework. This framework represents data as a three-dimensional tensor (User × Item × Sequence Position).

The core innovation is the application of Dynamical Integrators:

  • Projector-Splitting Integrator (PSI): Employed in matrix-based models (PSIRec) to update embeddings using only new data increments.
  • Tucker Integrator (TI): Used in the tensor-based model (TIRecA) to project data derivatives onto the tangent space of the tensor manifold, enabling efficient sequential pattern updates.
Figure 1: Flowchart of the incremental update process for matrix and tensor factors.

By treating recommendation as a dynamical system, the model "nudges" parameters to account for new interactions rather than re-calculating the entire latent space. While the mathematically rigorous Tucker Integrator (TIRec) can be computationally heavy due to SVD calculations, the authors introduced TIRecA, which simplifies the update logic to achieve massive speedups with negligible loss in quality.

Experimental Evaluation

The models were evaluated on four diverse datasets: MovieLens 20M, Amazon Beauty, Amazon Toys and Games, and Steam. To simulate production environments, datasets were divided into "chunks" representing temporal steps (e.g., days), testing the models' ability to handle incremental updates and "cold start" scenarios where new entities are added mid-stream.

Key Results: Speed and Stability

The primary advantage of TIRecA is its computational efficiency. As shown in the performance dynamics, TIRecA consistently outperforms both standard SVD and more complex tensor baselines.

Figure 6: Computational time dynamics showing the significant speed advantage of TIRecA compared to other baselines.
  • Massive Speedup: TIRecA is 10–20 times faster than general matrix and tensor baselines, sometimes reaching 25x speedup over non-optimized versions.
  • Accuracy Parity: Despite the speed, TIRecA matches the Hit Rate (HR@5) and Mean Reciprocal Rank (MRR@5) of strong baselines like PureSVD.
  • Stability: Using the Weighted Jaccard Index (WJI), the authors demonstrated that integrator-based updates provide more stable recommendations over time compared to retraining from scratch, preventing radical shifts in suggestions based on single new interactions.

Conclusion and Future Work

TIRecA demonstrates that properly optimized factorization models remain highly competitive in the era of deep learning, offering a pragmatic solution for high-velocity data environments. While incremental updates are efficient, the authors note that periodic "hard resets" may still be necessary to prevent long-term model drift. Future research directions include hybridizing these fast tensor integrators with neural architectures and expanding the model to higher-dimensional tensors to incorporate richer contextual metadata.

Summary updated

BibTeX
@misc{saiapin2023dynamic,
  author = {Albert Saiapin and Ivan V. Oseledets and Evgeny Frolov},
  title = {{Dynamic Collaborative Filtering for Matrix- and Tensor-based Recommender Systems}},
  year = {2023},
  eprint = {2312.10064},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.10064},
}
Figure