Explainable Recommendation with Personalized Review Retrieval and Aspect Learning

Hao Cheng, Shuo Wang, Wensheng Lu, Wei Zhang, Mingyang Zhou, Kezhong Lu, Hao Liao

Abstract

Explainable recommendation systems aim to provide both accurate item suggestions and transparent justifications. However, existing models often suffer from data scarcity, leading to generic or "hallucinated" explanations. We present ERRA (Explainable Recommendation by personalized Review retrieval and Aspect learning), a multi-task framework that leverages a training corpus as a knowledge base to retrieve relevant review snippets and identifies user-specific product aspects. Our approach significantly improves both rating prediction accuracy and the quality of generated explanations across multiple real-world datasets.

Introduction

The dual goal of modern recommendation systems is to predict user preferences and provide meaningful explanations for those predictions. A common pitfall in current explainable models is the "generic explanation" problem. When a user has a limited review history, models often default to vague statements like "The food was good," failing to capture the specific nuances that drive a user's decision. Furthermore, these models frequently overlook the specific "aspects" (e.g., battery life, service quality) that individual users prioritize.

The ERRA Framework

ERRA addresses these challenges through a multi-task learning framework built on a Transformer architecture. The model incorporates two primary enhancement components:

  1. Retrieval Enhancement: ERRA treats the entire training corpus as a dynamic knowledge base. Using Sentence-BERT for encoding and Faiss for efficient similarity search, the model retrieves relevant sentences from other users or items to supplement the target user's limited history.
  2. Aspect Enhancement: The model extracts and prioritizes specific product aspects that align with a user's historical preferences. By matching these against the features of the recommended item, ERRA ensures the generated explanation is grounded in relevant attributes.
The ERRA model architecture, illustrating the integration of aspect learning and review retrieval within a multi-layer Transformer.

The architecture employs a joint Transformer that processes retrieved sentences and aspects to simultaneously predict ratings via an MLP and generate explanatory text through greedy decoding. An Aspect Discriminator further ensures that the output text accurately reflects the targeted product features.

Experimental Evaluation

The researchers evaluated ERRA on three diverse datasets: Yelp (restaurants), Amazon (cell phones), and TripAdvisor (hotels). These datasets represent varying scales and review lengths, providing a robust testbed for the model's generalizability.

Key Results

ERRA consistently outperformed state-of-the-art baselines, including PETER and CAML, across all metrics.

Comparison of ERRA against baseline models on Yelp, Amazon, and TripAdvisor datasets. ERRA achieves the lowest RMSE (R) and MAE (M) scores.

In addition to the quantitative gains in rating prediction shown above, ERRA demonstrated substantial improvements in explanation quality. On the TripAdvisor dataset, the model achieved a 15.8% improvement in BLEU4 scores compared to the best baseline. Human evaluations also confirmed that ERRA's explanations were more fluent and logically consistent than those produced by competing models.

Discussion and Future Work

The success of ERRA highlights the value of using retrieval as a "cheat sheet" for high-quality human language. By focusing on the intersection of item features and user values, the model achieves a higher degree of personalization.

However, two main challenges remain for future research. First, the computational cost of dynamic vector retrieval scales with the size of the knowledge base, necessitating more efficient retrieval or compression techniques. Second, the use of snippets from other users' reviews raises privacy concerns that must be addressed to ensure sensitive information is not inadvertently leaked in the generated explanations.

Conclusion

ERRA demonstrates that better explanations and more accurate predictions can be achieved simultaneously. By integrating personalized retrieval and aspect learning, the model provides a path toward more transparent and effective recommendation systems.

Reference: Cheng, H., et al. (2023). Explainable Recommendation with Personalized Review Retrieval and Aspect Learning. Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (ACL 2023).

Summary updated

BibTeX
@inproceedings{cheng2023explainable,
  author = {Hao Cheng and Shuo Wang and Wensheng Lu and Wei Zhang and Mingyang Zhou and Kezhong Lu and Hao Liao},
  title = {{Explainable Recommendation with Personalized Review Retrieval and Aspect Learning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-long.4},
}
Figure