Abstract
Most neural recommendation models assume that the different dimensions of a user or item's embedding are independent. This paper introduces ConvNCF, which breaks this assumption by using an outer product to create a 2D "interaction map" of all possible dimension correlations. A Convolutional Neural Network (CNN) is then employed to extract deep, high-order patterns from this map. ConvNCF provides a more expressive recommendation engine that consistently outperforms state-of-the-art methods like NeuMF on real-world datasets.
Introduction
In Collaborative Filtering (CF), users and items are represented as latent vectors or embeddings. To predict user preferences, traditional methods typically employ an inner product or a Multi-Layer Perceptron (MLP) on concatenated vectors. However, these approaches often ignore the correlations between different dimensions of the embeddings. For instance, a specific user dimension representing a genre preference might interact uniquely with an item dimension representing a thematic element. ConvNCF explicitly models these interactions, capturing complex, non-linear relationships that simpler models overlook.
Methodology
The ConvNCF framework consists of two primary stages designed to capture inter-dimension correlations:
1. The Outer Product Layer
Instead of simple summation or concatenation, ConvNCF performs an outer product between the user embedding ($f^U(u)$) and item embedding ($f^I(i)$). This operation produces a $K \times K$ Interaction Map ($\mathbf{E}$), where $K$ is the embedding size. Each cell $(k_1, k_2)$ in this matrix represents the correlation between the $k_1$-th dimension of the user and the $k_2$-th dimension of the item.
2. Convolutional Layers
The resulting Interaction Map is treated as a 2D image. A stack of convolutional layers (a "tower" structure) is applied to this map. CNNs are inherently suited for finding spatial patterns, allowing the model to summarize local correlations into higher-order, global features for final prediction ($\hat{y}_{ui}$).
The following table defines the key symbols used in the ConvNCF framework to formalize these operations:
The framework supports multiple embedding generation strategies, including ConvNCF-MF (ID-based), ConvNCF-FISM (item-history based), and ConvNCF-SVD++ (a hybrid approach).
Experimental Setup
The model was evaluated on two large-scale datasets:
- Gowalla: A location-based social network dataset (~1.2 million check-ins, ~54,000 users).
- Yelp: A business review dataset (~730,000 ratings, ~25,000 users/items).
Evaluation followed a "leave-one-out" protocol, where the model's ability to rank the user's most recent interaction against 999 random negative items was measured using metrics like NDCG@10.
Key Insights
- Dimension Correlation: Explicitly modeling "cross-talk" between dimensions provides a richer signal than treating them as independent.
- CNN Efficiency: While MLPs are universal function approximators, CNNs are more efficient for this task. A 6-layer CNN with ~20,000 parameters outperformed an MLP with over 8 million parameters, demonstrating the power of local connectivity for interaction maps.
- Pre-training: Initializing ConvNCF with embeddings from simpler models like Matrix Factorization (MF) significantly accelerates convergence and improves final accuracy.
Results
ConvNCF-SVD++ achieved state-of-the-art performance across both datasets:
- Accuracy: On the Yelp dataset, it improved NDCG@10 by nearly 5% over NeuMF.
- Robustness: Performance improved steadily with more feature maps, indicating resistance to overfitting even as complexity increased.
- Parameter Efficiency: Shared weights in convolutional layers make the model significantly more parameter-efficient than standard deep neural networks used in recommendation.
Conclusion and Future Work
ConvNCF demonstrates that treating recommendation as a visual pattern recognition task on interaction maps is highly effective. Future research may incorporate content-aware features (e.g., images or text) or explore advanced architectures like Attention Mechanisms and Residual Connections to further enhance performance.
Summary updated