Abstract
Modern recommender systems often function as black boxes, providing users with suggestions but failing to offer coherent justifications. While explainable recommendation models have emerged to generate textual justifications, they frequently suffer from a decoupling problem where the sentiment of the generated text contradicts the predicted rating. This paper introduces SAER (Sentiment Aligned Explainable Recommendation), a framework designed to ensure that textual explanations act as a consistent "defense" of the recommendation. By employing shared latent sentiment vectors, sentiment regularization, and Monte Carlo Tree Search (MCTS) for constrained decoding, SAER produces explanations that are both linguistically natural and sentimentally aligned with the system's numerical predictions.
Introduction
When a recommender system suggests a product or service, the accompanying explanation serves a critical role: it justifies the system's choice and helps the user make an informed decision. However, a significant gap exists in current research where the recommendation engine (which predicts a score) and the explanation engine (which generates text) operate independently. This often results in "misaligned" explanations—for instance, a system might assign a high 5-star rating to a restaurant but generate a lukewarm text snippet like "the food was okay."
Such inconsistencies undermine user trust and fail to provide the necessary evidence to support the recommendation. The authors of this study argue that an explanation should serve as a defense of the recommendation. To achieve this, they propose the SAER framework, which enforces sentiment alignment to ensure the "why" behind a recommendation matches the "what."
The SAER Framework
SAER achieves sentiment alignment through three primary technical channels designed to bridge the gap between numerical prediction and natural language generation.
1. Shared Latent Sentiment Vector
The core of the model is a shared latent sentiment vector derived from the user-item pair. This vector serves a dual purpose: it informs the numerical rating prediction and guides the explanation generator. The generator utilizes two specialized mechanisms:
- Attribute Gate: A pointer network that ensures the explanation mentions specific, relevant attributes (e.g., "service" or "atmosphere").
- Sentiment Gate: This mechanism fuses the latent sentiment into the word-selection process, ensuring that adjectives (e.g., "excellent" vs. "mediocre") are consistent with the predicted score. The gate uses L1 regularization to focus its "sentiment budget" only on impactful words.
2. Sentiment Regularization via Gumbel-Softmax
To ensure the model learns to align sentiment during training, the authors incorporate a pre-trained sentiment regressor. This regressor evaluates the generated text and applies a loss function if the text's sentiment deviates from the predicted recommendation score. To maintain end-to-end differentiability in this discrete text generation process, the framework employs the Gumbel-softmax trick.
3. Constrained Decoding with MCTS
At inference time, generating a sentence that maintains a specific global sentiment is challenging because the final sentiment is only clear once the sentence is complete. SAER addresses this by using Monte Carlo Tree Search (MCTS) for decoding. MCTS allows the system to "look ahead" at potential sentence completions, selecting words that minimize the gap between the final sentence's sentiment and the recommendation's target score. Additionally, an adversarial text discriminator is used to ensure the resulting text remains human-like and avoids repetitive phrasing.
Experimental Evaluation
Datasets and Setup
The model was evaluated using two large-scale real-world datasets: Yelp (1.1M restaurant reviews) and Ratebeer (1.07M beer reviews). The authors utilized the Sentires toolkit to extract specific item attributes, ensuring the generated explanations focused on informative features rather than generic sentiment.
Key Results
SAER demonstrated superior performance across both recommendation accuracy and text quality metrics:
- Recommendation Accuracy: SAER outperformed established baselines like NRT and NARRE in rating prediction (RMSE) and ranking (NDCG). On the Yelp dataset, it achieved an RMSE of 1.0190, the lowest among all tested models.
- Textual Quality: The framework achieved significantly higher BLEU scores than baselines, particularly on the Ratebeer dataset (46.01 compared to NRT's 42.16), indicating a higher similarity to human-written reviews.
- User Perception: In a user study conducted via Amazon Mechanical Turk, participants found SAER’s explanations more helpful for positive recommendations than ground-truth reviews, with a 57.58% up-vote rate.
- Decision Support: Perhaps most importantly, SAER proved highly effective in helping users distinguish between similar items. When the gap between two recommendations was small, SAER’s explanations helped users identify the superior item 73.10% of the time, significantly outperforming the NRT baseline (64.76%).
Discussion and Limitations
While SAER represents a significant step forward in explainable recommendation, the authors identified several areas for future improvement. A primary limitation is data bias; because the Yelp dataset is heavily skewed toward positive reviews, the model had less data to learn from for negative cases, making it less effective at generating strong negative explanations.
Furthermore, the current model focuses on explaining items individually. Future research could explore "list-wise" explanations that justify the relative ordering of multiple items within a recommendation list, providing a more holistic view of the system's decision-making process.
Conclusion
By treating explanation as a defense of recommendation, SAER ensures that the justifications provided to users are not only linguistically fluent but also sentimentally consistent with the system's predictions. Through the integration of shared latent vectors and MCTS-guided decoding, the framework successfully builds user trust and provides meaningful decision support in complex recommendation environments.
Summary updated