Abstract
Collaborative Filtering (CF) is a cornerstone of modern recommendation systems, yet it remains highly susceptible to the "data sparsity" problem. When user-item rating matrices are largely empty, traditional algorithms struggle to identify meaningful patterns. This paper presents Codebook Transfer (CBT), a novel transfer learning framework designed to mitigate sparsity by borrowing knowledge from a dense auxiliary domain (e.g., movies) to improve recommendations in a sparse target domain (e.g., books). Unlike prior methods, CBT does not require overlapping users or items, instead transferring abstract, cluster-level rating patterns encoded in a "codebook."
Introduction
The effectiveness of Collaborative Filtering is often limited by the "long tail" of user interactions; most users only rate a small fraction of available items. In a typical real-world scenario, a rating matrix might be over 99% sparse. While standard Matrix Factorization or k-Nearest Neighbors methods fail in these conditions, human preference patterns often exhibit cross-domain similarities. For instance, the way a specific demographic group (e.g., students) rates a genre of movies (e.g., sci-fi) may share structural similarities with how they rate related book genres. CBT leverages this intuition to transfer knowledge across domains that are otherwise entirely disjoint.
The Codebook Transfer (CBT) Framework
The CBT approach operates in three distinct phases: Codebook Construction, Codebook Transfer, and Rating Prediction.
1. Codebook Construction
First, the algorithm analyzes a dense auxiliary domain (the "source"). Using Orthogonal Nonnegative Matrix Tri-Factorization (ONMTF), it simultaneously clusters users and items. This process compresses the dense matrix into a $k \times l$ matrix called a codebook. This codebook represents the "essence" of the domain—how different user clusters interact with different item clusters.
2. Codebook Transfer and Reconstruction
The core innovation of CBT is the ability to map a sparse target domain to this pre-existing codebook. The algorithm identifies which user and item clusters in the target domain correspond to those in the codebook by minimizing reconstruction error on the observed ratings.
As shown in the reconstruction process, the target matrix is approximated by the product of the target user-cluster membership matrix ($U_{tgt}$), the transferred codebook ($B$), and the target item-cluster membership matrix ($V_{tgt}^T$). This allows the system to "fill in" the missing values in the target domain based on the structural templates learned from the auxiliary domain.
3. Rating Prediction
Once the target matrix is reconstructed and densified, standard memory-based CF techniques (such as Pearson Correlation) are applied to the filled matrix to generate final recommendations. By operating on a dense, reconstructed matrix rather than the original sparse one, the accuracy of the recommendations is significantly improved.
Experimental Evaluation
The authors evaluated CBT using three datasets: EachMovie (as the dense auxiliary source), and MovieLens and Book-Crossing (as target domains). They tested performance across varying levels of sparsity, denoted as "Given5," "Given10," and "Given15" (representing the number of ratings provided per user).
Key Results
- Superior Accuracy: CBT consistently outperformed baselines such as standard Pearson Correlation (PCC) and cluster-based smoothing (CBS). In the highly sparse "Given5" scenario for MovieLens, CBT achieved a Mean Absolute Error (MAE) of 0.840, compared to 0.930 for PCC.
- Cross-Domain Success: The method proved effective even when transferring knowledge between entirely different media types. For the Book-Crossing dataset (Given5), CBT reached an MAE of 0.614, significantly better than the 0.677 achieved by PCC.
- Resilience to Sparsity: The performance gap between CBT and traditional methods was most pronounced when data was at its sparsest, proving its utility for "cold-start" or emerging recommendation platforms.
Conclusion
Codebook Transfer offers a robust solution to the sparsity problem by shifting the focus from individual user-item interactions to aggregate, cluster-level patterns. By treating the codebook as a universal basis for human preference, CBT enables effective cross-domain collaboration between disparate datasets. Future research may explore "soft" clustering memberships to capture more nuanced user tastes and methods to automatically detect the relatedness of domains to prevent "negative transfer."
Summary updated