Abstract
Standard matrix factorization (MF) techniques often struggle with sparse datasets where direct user-item interactions are limited. This paper presents Higher Order Matrix Factorization (HOMF), a novel approach that leverages graph transition probabilities to capture multi-step relationships. By factorizing a polynomial of the transition matrix, HOMF uncovers deep implicit similarities that traditional methods overlook. Our evaluation across movie recommendation and biological datasets demonstrates that HOMF significantly outperforms state-of-the-art baselines, particularly in highly sparse environments, while maintaining computational efficiency through a recursive sampling algorithm.
Introduction
Matrix factorization is a cornerstone of modern recommender systems, used to predict missing entries in sparse user-item interaction matrices. However, its effectiveness is often hampered by the "sparsity problem"—when users have very few ratings, the model lacks sufficient data to generate robust embeddings. While incorporating side information (e.g., social networks or item metadata) can mitigate this, there is also significant untapped potential in the implicit structural relationships within the data itself. For instance, two users who have not rated the same items might still be connected through a chain of intermediate "bridge" users and items. Standard MF struggles to capture these higher-order interactions efficiently without making the problem computationally explosive.
Methodology: Higher Order Matrix Factorization (HOMF)
The core innovation of HOMF lies in modeling the user-item matrix as a graph and analyzing higher-order interactions through random walks.
The Transition Matrix and Polynomials
The authors construct a row-normalized adjacency matrix $A$, where each entry $A_{ij}$ represents the probability of a random walker moving from node $i$ to node $j$ in a single step. To capture deeper relationships, they factorize a polynomial of this matrix: $$f_T(A) = \frac{1}{T} \sum_{t=1}^T A^t$$ This function represents the average probability of reaching node $j$ from node $i$ within $T$ steps, effectively aggregating information from multiple "hops" across the graph. This approach allows the model to "look beyond the first hop" and identify similarities between nodes that are not directly connected.
Theoretical Justification: Low-Rank Structure
A key theoretical insight provided by the authors is the behavior of the matrix eigenvalues as the walk length $T$ increases. They demonstrate that the eigenvalues of the resulting matrix $f_T(A)$ decay more rapidly for larger $T$. This rapid decay justifies the use of a low-rank factorization, as the higher-order information is naturally concentrated in a lower-dimensional subspace.
Computational Efficiency
Directly computing powers of $A$ is computationally prohibitive as the matrix quickly becomes dense. To maintain scalability, the authors developed a coordinate descent algorithm utilizing a recursive column-sampling method. This approach allows for "on-the-fly" computation using sparse matrix-vector multiplications, ensuring that the algorithm remains efficient even for large-scale datasets. For the ML-1M dataset, increasing the walk length from $T=2$ to $T=8$ only added about 15 seconds of computation time.
Key Insights: Random Walks as Similarity
The fundamental insight of HOMF is that higher-order transition probabilities serve as a powerful proxy for similarity. If two items have a high probability of being reached within a few steps of a random walk starting from the same set of users, they are implicitly similar.
As shown in the visualization above, the embeddings generated by HOMF successfully cluster items with thematic similarities. For example, Star Wars is positioned near other high-profile science fiction and adventure films like The Matrix and Back to the Future. This clustering occurs even if many users haven't rated all these films, thanks to the multi-hop connections captured by the transition polynomial.
Experimental Results
The authors evaluated HOMF on three diverse datasets: MovieLens 1M (ML-1M), FilmTrust (including social networks), and a Gene-Disease association dataset.
Performance and Scalability
- Recommendation Accuracy: On ML-1M, HOMF consistently outperformed standard MF and CoFactor (which only considers second-order information). Interestingly, this linear algebraic approach also outperformed complex Graph Convolutional Neural Networks (MGCNN) in several sparse scenarios.
- Biological Discovery: In the Gene-Disease domain, HOMF achieved an AUC of 0.630, a substantial improvement over standard MF (0.546) and GRALS (0.572), which relies heavily on side information.
- Scalability: The algorithm showed near-linear speedup when parallelized across multiple processors, proving the recursive sampling method is highly scalable for real-world applications.
The quality of these embeddings is further evidenced by the clustering of other genres. As seen in Figure 6, Pulp Fiction is grouped with other highly-rated crime dramas like The Godfather and L.A. Confidential, validating the model's ability to capture nuanced item characteristics from sparse interaction data.
Discussion and Future Work
While HOMF shows significant promise, it is sensitive to hyperparameters such as the walk length $T$. If $T$ is too large, a "washing out" effect can occur where distant nodes become too similar, reducing discriminative power. Future work could involve learning optimal coefficients ($\theta_t$) for each power of the matrix rather than using a simple average, potentially allowing the model to automatically tune itself to the specific connectivity of a dataset.
Conclusion
HOMF offers a mathematically grounded and computationally efficient way to exploit higher-order structural information in sparse matrices. By moving beyond first-hop interactions, the method provides a robust alternative to complex deep learning models, particularly when direct data is scarce. Its success across both recommendation and biological domains highlights its versatility as a general-purpose matrix completion tool.
Summary updated