Abstract
Just as user preferences change with time, item reviews also reflect those same preference changes. In a nutshell, if one is to sequentially incorporate review content knowledge into recommender systems, one is naturally led to dynamical models of text. In the present work we leverage the known power of reviews to enhance rating predictions in a way that (i) respects the causality of review generation and (ii) includes, in a bidirectional fashion, the ability of ratings to inform language review models and vice-versa, language representations that help predict ratings end-to-end. Moreover, our representations are time-interval aware and thus yield a continuous-time representation of the dynamics. We provide experiments on real-world datasets and show that our methodology is able to outperform several state-of-the-art models. Source code for all models can be found at [1].
Introduction
Traditional recommender systems (RS) often struggle with two main issues: they are frequently static, assuming user tastes and item features are invariant, or they ignore the rich context within review text, focusing solely on numerical ratings. While some modern models incorporate reviews, they often violate causality by using the text of the review they are attempting to predict. Furthermore, existing dynamic models typically treat time as discrete steps rather than a continuous flow.
The Dynamic Review-based Recommenders (DRR) framework addresses these limitations by jointly modeling the evolution of user preferences and item characteristics. By combining temporal rating data with review text in a time-interval aware manner, DRR tracks the "why" (text) alongside the "when" (time) to improve rating prediction while maintaining strict causality.
Methodology
The DRR architecture consists of three interacting components designed to capture the co-evolution of users and items:
- Dynamic Model of Review Sequences: Two independent LSTMs (one for users, one for items) process sequences of past interactions. These models incorporate the "inter-review time," allowing for a continuous-time representation of dynamics.
- Dynamic Model of Review Content: This component translates unstructured text into latent representations. The authors propose two versions: DRR-BoW (Bag-of-Words) and DRR-LM (an autoregressive language model using a gated attention mechanism to identify relevant words).
- Rating Model: A Factorization Machine (FM) combines the temporal vectors from the LSTMs with the summary representations from the language model to predict the next rating ($y_{t+1}$).
The framework distinguishes between Causal (C) models, which only use past data, and Non-Causal (NC) models, which are used to evaluate the performance gain from "future" information.
Experimental Results
The model was evaluated using four "5-core" subcategories from the Amazon dataset: Automotive (A), Digital Music (DM), Tools and Home (TH), and Pet Supplies (PS). DRR was tested against static baselines (PMF), dynamic baselines without text (RRN), and static models with text (DeepCoNN, AHN).
Key Findings
- Superior Accuracy: In almost all datasets, DRR variants outperformed the Recurrent Recommender Network (RRN), proving that adding text dynamics to temporal dynamics provides a significant boost.
- Causal Performance: The causal version (DRR-BoW) outperformed several non-causal competitors in the Digital Music and Pet Supplies categories, achieving MSEs of 0.7723 and 1.1734, respectively. This demonstrates that competitive results are possible without violating chronological order.
- Visualizing Preference Shifts: The gated attention mechanism allows for the observation of preference evolution. For example, in the 'Pet Supplies' dataset, the model captured a transition from focusing on "smell" to prioritizing "Country of Origin."
Conclusion
DRR provides a robust framework for incorporating review text into dynamic recommendation tasks. By respecting causality and modeling time continuously, it offers a more realistic and effective approach for production environments. Future work will focus on managing training complexity and incorporating global dynamics that affect all users simultaneously.
Summary updated