Abstract
Matrix factorization (MF) is a classical collaborative filtering algorithm for recommender systems. It decomposes the user-item interaction matrix into a product of low-dimensional user representation matrix and item representation matrix. In typical recommendation scenarios, the user-item interaction paradigm is usually a two-stage process and requires static clustering analysis of the obtained user and item representations. The above process, however, is time and computationally intensive, making it difficult to apply in real-time to e-commerce or Internet of Things environments with billions of users and trillions of items. To address this, we propose a unified matrix factorization method based on dynamic multi-view clustering (MFDMC) that employs an end-to-end training paradigm. Specifically, in each view, a user/item representation is regarded as a weighted projection of all clusters. The representation of each cluster is learnable, enabling the dynamic discarding of bad clusters. Furthermore, we employ multi-view clustering to represent multiple roles of users/items, effectively utilizing the representation space and improving the interpretability of the user/item representations for downstream tasks. Extensive experiments show that our proposed MFDMC achieves state-of-the-art performance on real-world recommendation datasets. Additionally, comprehensive visualization and ablation studies interpretably confirm that our method provides meaningful representations for downstream tasks of users/items.
Introduction
Matrix Factorization (MF) remains a cornerstone of collaborative filtering, decomposing massive interaction matrices into latent vectors that represent user preferences and item features. However, traditional MF implementations face significant hurdles in real-world applications. First, interpretability is often lacking, as latent vectors are typically opaque strings of numbers. Second, efficiency is compromised when performing static clustering on top of MF results, which is computationally expensive at scale. Finally, redundancy in latent spaces often leads to underutilized representation capacity.
To address these challenges, we introduce MFDMC (Matrix Factorization with Dynamic Multi-view Clustering), a framework that merges recommendation and clustering into a single end-to-end process. By dynamically organizing the latent space into meaningful clusters during training, MFDMC provides both high accuracy and transparent representations.
Methodology
The core of the MFDMC model lies in treating user and item representations not as monolithic vectors, but as weighted projections of learnable clusters across multiple "views."
Multi-view Representation
The latent vector is divided into $v$ views. In each view, a user or item is assigned to clusters representing specific roles or interests. For instance, one view might capture genre preferences while another captures stylistic nuances like humor or tone.
Dynamic Clustering and Optimization
Unlike static models, MFDMC employs a dynamic pruning mechanism. After an initial warm-up period, the model calculates the mean weight of each cluster. Clusters with weights falling below a predefined threshold ($\psi$) are discarded, ensuring the model utilizes only the most informative representation space. The objective function is tripartite:
- Cluster Loss ($\mathcal{L}_1$): Encourages cluster centers to spread out, maximizing latent space utility.
- Weight Loss ($\mathcal{L}_2$): Utilizes an entropy-based mapping function to reduce uncertainty in cluster assignments, sharpening the distinct "roles" of users and items.
- Rating Loss ($\mathcal{L}_3$): A standard Root Mean Square Error (RMSE) objective to ensure high recommendation accuracy.
Experimental Evaluation
MFDMC was evaluated against six diverse real-world datasets, including MovieLens (100k & 1M), Amazon-video, Epinions, Books-across, and Jester.
Performance Results
MFDMC consistently outperformed classic methods such as FunkMF, PMF, and BiasedMF. On the MovieLens-100k benchmark, MFDMC achieved an RMSE of 0.911, a notable improvement over FunkMF’s 0.938. Furthermore, the model demonstrated high dimensionality efficiency; MFDMC with a latent dimension of 12 often matched or exceeded the performance of competing models using dimensions as high as 60.
Interpretability and Insights
A key advantage of MFDMC is its inherent interpretability. By analyzing the items grouped within specific clusters, we observed that clusters naturally align with semantic categories without explicit supervision.
As shown in the visualization, clusters in a specific view can represent categories like "Animation" or "Children's Comedy." This allows the system to explain why a recommendation was made based on the user's weighted association with these interpretable clusters. Additionally, t-SNE visualizations in computer vision tasks confirmed the method's ability to group similar geometric features, proving its versatility beyond text-based recommendation.
Conclusion and Future Work
MFDMC offers a compelling path toward explainable AI in recommendation systems without sacrificing predictive accuracy. While the model currently requires careful hyperparameter tuning regarding the number of views and pruning thresholds, it successfully addresses the efficiency and interpretability gaps in traditional matrix factorization. Future work will explore extending this dynamic multi-view approach to a broader range of recommendation architectures and tasks.
Summary updated