Abstract
Personalized recommendation systems are a solution for information overload. In real-world recommendation systems, data is dynamic; thus, system responsiveness is severely impacted if recalculations occur after every change. Delayed updates in time-sensitive situations can significantly degrade recommendation accuracy. While incremental calculation methods for collaborative filtering, clustering, and unweighted bipartite algorithms have progressed, research on incremental computation for weighted bipartite algorithms remains limited. This paper proposes a personalized recommendation algorithm where recommendation rankings are effectively influenced by the frequency and intensity of user choices. Using student borrowing records from a college library, we model a recommendation system that improves learning efficiency through personalized resource discovery.
Introduction
Personalized recommendation systems are essential for navigating information overload, but they face a major hurdle: dynamic data. In practical applications, users constantly interact with items. Standard algorithms often require a "global recalculation"—re-running the entire model every time a new data point arrives—which is computationally expensive and slow for large-scale systems. While incremental versions of collaborative filtering and unweighted bipartite networks exist, there has been a gap in research regarding weighted bipartite networks. In these networks, the frequency or intensity of an interaction (e.g., a student borrowing the same book multiple times) is a crucial signal of interest. This research introduces a method to update these weighted models efficiently without sacrificing real-time performance.
Methodology
The system is modeled as a bipartite graph where users and items are nodes, and edges represent interactions. Unlike binary models, this approach uses weights to represent the strength of a user's preference. The core innovation is the incremental update logic. Instead of re-computing the entire propagation matrix, which determines how interest flows from a user to potential recommendations, the authors derived mathematical formulas to calculate the "delta" ($\delta$)—the specific change caused by a new interaction.
Updates are categorized into four distinct types based on the state of the network:
- Type I: An existing user interacts with an item they have chosen before (increasing weight).
- Type II: An existing user interacts with a new item.
- Type III: A new user interacts with an existing item.
- Type IV: A user interacts with an item that triggers complex changes across other related nodes.
Experimental Results
The algorithm was validated using a real-world dataset of student borrowing records (8,000 books, 15,757 students, and 399,899 records). Multiple borrows of the same book were treated as increased edge weight, signaling stronger interest.
The results highlight a dramatic improvement in efficiency and quality:
- Massive Speedup: For the weighted model, the incremental algorithm reduced computation time from 6,978 minutes (global recalculation) to just 734 minutes—a time saving of approximately 89.5%.
- Superior Accuracy: The weighted bipartite approach showed a higher F1 measure than the unweighted version, particularly for the "Top-N" recommendations most visible to users.
Discussion and Conclusion
By isolating local changes, the system can stay updated in milliseconds rather than hours. While "Type IV" updates are the most computationally heavy, the study found that in high-speed scenarios, minor approximations here can further boost speed with manageable impact on accuracy.
To mitigate potential error accumulation over thousands of incremental updates, the authors suggest periodic global recalculations during low-traffic periods. Future work will explore matrix decomposition techniques to further reduce initial propagation complexity and investigate scaling for user bases in the millions.
Summary updated