Introduction
Modern recommender systems are evolving beyond simple numerical ratings, increasingly leveraging the rich textual data found in user reviews. However, reviews are inherently multifaceted; a single laptop review might praise the screen resolution while criticizing the battery life. To provide accurate and explainable recommendations, systems must disentangle these "aspects" to understand specific user preferences and item performance.
The Aspect-based Rating Prediction Model (AspeRa) addresses this challenge. It bridges the gap between high-accuracy "black box" models and interpretable topic models by jointly learning user/item representations and rating predictions in a shared semantic space.
The AspeRa Architecture
AspeRa combines end-to-end deep learning with interpretable topic modeling. Its core engine is based on the Neural Attention-Based Aspect Extraction Model (ABAE), which uses self-attention to weigh word importance and reconstructs sentence embeddings as linear combinations of learned aspect embeddings.
The model employs a dual-headed architecture that processes pairs of reviews simultaneously. During training, it optimizes two primary objectives:
- MSE Loss: Predicts ratings via the dot product of user and item embeddings.
- Max-Margin Loss: A contrastive loss that forces user and item embeddings into a shared aspect space, aligning user preferences directly with item features.
A critical component of AspeRa is its initialization. The authors found that initializing the aspect matrix using k-means clustering on Skip-Gram Negative Sampling (SGNS) embeddings trained on the review corpus significantly outperformed generic initializations like GloVe.
Experimental Results
AspeRa was evaluated on the Amazon Instant Videos and Toys & Games datasets. The results demonstrate that forcing interpretability does not have to come at the cost of predictive accuracy.
Rating Prediction Performance
AspeRa significantly outperformed state-of-the-art baselines such as DeepCoNN, NARRE, and TransRev. On the Toys & Games dataset, AspeRa (SGNS) achieved an MSE of 0.571, a substantial improvement over the next best model, NARRE (0.769). Similarly, on Instant Videos, it reached 0.660 MSE, compared to TransRev's 0.884.
Interpretability and Topic Coherence
Beyond predictive power, AspeRa extracts highly coherent and interpretable aspects. Qualitative analysis revealed aspects capturing specific domains like "movie genres" or "sentiment." Quantitative metrics (PMI and NPMI) confirmed that AspeRa's topics are as coherent as those produced by dedicated topic models like OnlineLDA, while providing the added benefit of rating prediction.
Conclusion and Future Work
AspeRa demonstrates that contrastive learning and attention mechanisms can effectively align user and item representations in a human-readable space. While the joint optimization makes the model more complex to tune, the gains in both accuracy and explainability are significant. Future research will focus on better disentangling sentiment from topical features and developing visualization tools for automated user profiling.
Summary updated