Abstract
Recommendation systems rely heavily on matrix completion to predict user preferences. However, traditional models often struggle with the "cold start" problem—predicting ratings for unseen users or items—and the inherent discreteness of rating data. This paper introduces Deep Matrix Factorization (DMF), a neural network architecture designed for extendability, and its discrete counterpart, DMF-D. By employing a two-branch network and a novel "soft" quantization technique, the proposed methods demonstrate superior performance on standard benchmarks, particularly in handling previously unseen data partitions.
Introduction
Matrix completion serves as the core engine for modern recommendation engines. In a typical scenario, a sparse matrix represents user-item interactions, where the objective is to predict missing entries. Despite the success of deep learning in this domain, two significant challenges remain: extendability and discretization.
Most existing models are transductive, meaning they learn embeddings for specific User IDs and Item IDs. Consequently, when a new user joins the platform, the system often requires complete retraining to incorporate the new ID. Furthermore, while real-world ratings are discrete (e.g., 1-5 stars), most models treat them as continuous variables. This leads to sub-optimal "round-after-training" strategies where the model is unaware of the discrete nature of the target during the learning process.
Methodology
Deep Matrix Factorization (DMF)
To address the extendability gap, the authors propose DMF, which replaces static lookup tables with a dynamic mapping. The architecture consists of a two-branch neural network that processes row vectors $X_i$ (user rating patterns) and column vectors $Y_j$ (item rating patterns).
These inputs pass through multiple fully connected layers to generate low-dimensional latent factors $U_i$ and $V_j$. Unlike traditional matrix factorization that uses a dot product, DMF utilizes cosine similarity to calculate the final rating. The authors argue that cosine similarity, which bounds the output between [-1, 1], provides a more stable training signal when scaled to the target rating range. This inductive approach allows the model to generalize to new users or items by simply processing their initial rating vectors through the trained network, effectively solving the "cold start" problem for users with at least some initial interaction data.
Discrete DMF (DMF-D)
For discrete rating prediction, the authors introduce a piecewise smooth function $G_{\lambda,b}$ that approximates a step function. To overcome the vanishing gradient problem—where a standard rounding function has a gradient of zero almost everywhere—they utilize a sum of sigmoids to create a "soft" staircase.
During training, a "steepness" parameter $\lambda$ is gradually increased. This allows the model to start learning on a smooth optimization landscape and slowly "harden" into a discrete step function by the end of the training cycle. This joint optimization ensures that the latent factors are specifically tuned to produce the best possible integer-like outputs, rather than relying on post-hoc rounding.
Experimental Results
The models were evaluated using the MovieLens 1M (ML-1M) dataset, which contains 1 million ratings from approximately 6,000 users on 4,000 movies. A key contribution of this work is the systematic evaluation across different matrix partitions, categorized into four areas:
- Area I: Standard "seen users, seen items" training set.
- Area II & III: Scenarios involving unseen rows (users) or unseen columns (items).
- Area IV: The most challenging scenario, representing interactions between a new user and a new item.
As shown in the results, DMF significantly outperforms baselines like U-Autorec in Area II, achieving an RMSE of 0.883 compared to 0.976. Notably, DMF is the only model in the comparison capable of producing predictions for Area IV without retraining, achieving a respectable RMSE of 0.904. In the discrete domain, DMF-D outperformed specialized models such as ODMC and RankK, achieving an RMSE of 0.898 and an MAE of 0.625, demonstrating the efficacy of the soft quantization approach.
Conclusion
Deep Matrix Factorization provides a robust framework for recommendation systems by enabling inductive learning and direct optimization for discrete ratings. By mapping rating patterns rather than IDs, DMF offers a practical solution for dynamic environments where new users and items are frequently added. While future work should address scalability to industrial-scale datasets and sensitivity to hyperparameter schedules, DMF represents a significant advancement in flexible and accurate matrix completion.
Summary updated