Abstract
Social media platforms struggle with the "cold-start" problem and data sparsity when delivering personalized content. This paper introduces SocialRec, a hybrid recommendation framework that dynamically weights user demographics, post history, and multi-tiered engagement metrics (e.g., likes vs. shares). By fusing traditional Matrix Factorization with a Neural Matrix Factorization (NeuMF) architecture—combining linear and non-linear modeling—SocialRec provides highly accurate recommendations even for new users. Experimental results on synthetic and survey data demonstrate a Hit Rate of 0.80 and an NDCG of 0.60, outperforming standalone models.
Introduction
The modern social media experience is defined by the "feed," yet platforms face significant challenges in content discovery. Traditional Collaborative Filtering and Content-Based Filtering often fail when interaction data is sparse or when new users join the platform (the cold-start problem). Furthermore, these systems frequently treat all user interactions as equal, ignoring the fact that a "share" or a "comment" indicates a much stronger preference than a simple "like."
The SocialRec Framework
SocialRec addresses these limitations by integrating three distinct data streams into a unified recommendation engine.
The system operates through several key components:
- Weighted Dynamic Demographics: Unlike static models, SocialRec calculates weights for demographic attributes (age, gender, occupation) based on their correlation with specific content categories.
- Hybrid Matrix Factorization: The system generates separate interaction matrices for user history ($R_{dh}$) and user engagement ($R_e$). These are aggregated to form a holistic user profile, $R_{dhe}$.
- Engagement Weighting: Interactions are not binary. The model assigns higher weights to high-intent actions like sharing or commenting compared to passive reactions.
Neural Matrix Factorization (NeuMF)
At the heart of SocialRec is the Neural Matrix Factorization (NeuMF) layer. This architecture is designed to capture both linear and complex non-linear relationships between users and posts.
As shown in Figure 3, the model fuses:
- Generalized Matrix Factorization (GMF): Uses an element-wise product of user and item latent vectors to model linear interactions.
- Multi-Layer Perceptron (MLP): Employs standard neural layers with ReLU activation to learn deep, non-linear patterns in user behavior.
The final output is a predicted score $\hat{r}_{up}$, which is trained against actual target interactions using log loss.
Results and Discussion
The authors evaluated SocialRec using a synthetic dataset of 500 users and 2,000 posts, supplemented by survey data to calibrate demographic weights. Performance was measured using Hit Rate (HR) and Normalized Discounted Cumulative Gain (NDCG).
The hybrid NeuMF model achieved an HR of 0.80 and an NDCG of 0.60, significantly outperforming individual GMF and MLP components. Crucially, the system demonstrated effective cold-start mitigation; by leveraging weighted demographic similarity, it could generate functional recommendations for users with zero prior history.
Conclusion
SocialRec represents a significant step toward more nuanced social media recommendations. By treating demographics as dynamic features and weighting engagement by intensity, the system provides a more accurate reflection of user intent. Future work will focus on scaling the model to real-world datasets and incorporating temporal dynamics to account for shifting user interests over time.
Summary updated