Abstract
Personalized Review Generation (PRG) aims to automatically produce product reviews tailored to specific users and items. Traditional models often generate generic, uninformative text due to a lack of factual grounding and high-level aspect modeling. We present a Knowledge-Enhanced PRG model that leverages Heterogeneous Knowledge Graphs (HKG) and Capsule Graph Neural Networks (Caps-GNN) to generate informative, aspect-aware reviews. By decomposing the task into aspect-level planning and word-level generation with a copy mechanism, our model significantly outperforms state-of-the-art baselines in both quantitative metrics and human-evaluated informativeness.
Introduction
Generating personalized reviews is a complex task that requires balancing linguistic fluency with factual accuracy and user-specific preferences. Current Recurrent Neural Network (RNN) and GAN-based approaches frequently suffer from two primary flaws: a lack of informativeness, resulting in "safe" but generic text, and poor preference modeling, where models fail to capture the specific product aspects (e.g., a movie's director versus its visual effects) that a particular user values.
To address these challenges, this research introduces a framework that bridges the gap between unstructured text and structured knowledge. By integrating external knowledge bases, the model grounds its generation in reality while maintaining a personalized touch.
Methodology
The core of the proposed system is a multi-stage architecture designed to capture both high-level intent and low-level factual details.
Heterogeneous Knowledge Graph (HKG)
Rather than using a standard knowledge graph, the authors construct an HKG that unifies users, items, entities (attributes), and words. This structure allows the model to map users to their preferred items and items to their specific attributes, while also linking those attributes to descriptive language commonly found in reviews. This creates a shared semantic space for recommendation and generation.
Capsule Graph Neural Network (Caps-GNN)
To model user preferences across various product features, the system employs a Capsule Graph Neural Network. Unlike standard graph networks that produce flat vectors, capsules represent specific "aspects" or properties. This routing mechanism is ideal for identifying which parts of a product's knowledge graph are most relevant to a specific user's writing style and interests.
Two-Stage Generation and Copy Mechanism
The generation process is split into two distinct phases:
- Aspect Sequence Generation: The model first determines the sequence of topics to discuss (e.g., mentioning the actor before the plot) using adaptive aspect capsules.
- Sentence Generation: Conditioned on the selected aspect, the model generates words. A KG-based copy mechanism allows the decoder to directly extract specific entities or related words from the HKG, ensuring that factual details like names or genres are accurately represented.
Experimental Results
The model was evaluated on three large-scale datasets: Amazon Electronics (221k reviews), Amazon Books (853k reviews), and IMDb Movies (1.15M reviews), all aligned with the KB4Rec dataset.
Quantitative Performance
The proposed model consistently outperformed strong baselines, including ACF and LeakGAN. On the IMDb Movie dataset, the model achieved a BLEU-1 score of 31.39 and a ROUGE-L of 0.327, compared to ACF’s 29.46 and 0.303.
Human Evaluation and Informativeness
Human trials highlighted the model's ability to produce content-rich reviews. It scored 3.53/5.0 for informativeness, a significant improvement over the ACF baseline (2.68). Furthermore, the model demonstrated superior aspect coverage, mentioning an average of 2.853 real-world aspects per review, proving its ability to discuss specific product features rather than relying on generic sentiment.
Conclusion
By integrating structured knowledge with capsule-based aspect modeling, this research provides a robust solution to the problem of generic text in personalized review generation. While the integration of complex knowledge can occasionally impact the absolute fluency of the text, the gains in factual grounding and personalization represent a significant step forward. Future work will explore incorporating linguistic resources like WordNet to further enhance the natural flow and variety of the generated reviews.
Summary updated