TL;DR
Diffusion-EXR is the first framework to apply Denoising Diffusion Probabilistic Models (DDPM) to the task of explainable recommendation. By treating review generation as a reverse diffusion process on word embeddings, it produces highly granular, personalized, and controllable explanations that significantly outperform traditional autoregressive models in text quality and diversity.
What Problem Does This Paper Address?
Recommendation systems are ubiquitous, but they are often "black boxes" that offer little insight into why a specific item was suggested. Explainable Recommendation (EXR) aims to bridge this gap by generating natural language justifications.
However, current EXR methods face a "safe sentence" problem. Template-based methods are rigid and lack variety, while modern Transformer-based models often converge on generic, uninformative phrases like "The quality is great." These "safe" sentences fail to capture the specific features of an item or the unique preferences of a user. The authors seek a way to generate reviews that are both diverse and deeply relevant to the specific user-item pair.
Methods
The authors propose Diffusion-EXR, a multi-task framework that jointly predicts rating scores and generates explanatory reviews.
The Architecture
As shown in the architecture diagram below, the system consists of two main components:
- Self-Attention Encoder: This module processes "pseudo-personas" (constructed by retrieving a user’s top-$k$ most similar historical reviews using Sentence-BERT) and "pseudo-profiles" for items. This ensures the model has a rich context of user tastes and item characteristics even when explicit metadata is missing.
- Transformer-based Decoder with Diffusion: Instead of standard autoregressive generation, the model uses a diffusion process. It corrupts word embeddings by incrementally adding Gaussian noise ($X_0 \to X_T$) and then learns to reconstruct the original representations in a reverse process ($X_T \to X_0$).
Key Technical Innovations
- Continuous Diffusion on Text: Unlike many text models that operate on discrete tokens, Diffusion-EXR applies diffusion to the continuous embedding space, allowing for fine-grained control.
- Multimodal Integration: The framework can incorporate visual signals. It uses Vector Quantized Variational Autoencoders (VQ-VAE) to generate visual tokens from item images, which are then fused into the embedding layer to ground the text generation in physical reality.
- Controllable Generation: The model allows for the injection of specific "guidance words" (features or opinions) to steer the review toward specific topics.
Datasets
The model was evaluated on two widely used benchmark datasets:
- Amazon-Clothing Shoes & Jewellery (Amazon-CSJ): A large e-commerce dataset containing ~38k users and ~22k items.
- TripAdvisor: A hotel recommendation dataset with ~9k users and ~6k items, known for having longer, more descriptive reviews.
Detailed statistics for these datasets can be found in the table below:
Key Insights and Ideas
- Escaping the "Safe Sentence" Trap: The stochastic nature of the diffusion process prevents the model from collapsing into generic outputs. By starting from noise, the model explores a wider variety of linguistic paths, leading to higher granularity (e.g., identifying a "bracelet" specifically rather than just "jewelry").
- Pseudo-Persona Construction: The authors found that using Sentence-BERT to retrieve similar historical reviews effectively "simulates" a user persona, providing the model with enough context to personalize the explanation without needing explicit demographic data.
- Joint Learning works: Training the model to predict ratings and generate reviews simultaneously ensures that the explanation is semantically aligned with the predicted score.
Key Results
Diffusion-EXR demonstrated a substantial lead over state-of-the-art baselines like PETER and NRT across nearly all metrics.
- Explainability: On the Amazon-CSJ dataset, the Feature Matching Ratio (FMR) improved from 0.10 (PETER) to 0.31, and the Feature Coverage Ratio (FCR) jumped from 0.14 to 0.30.
- Text Quality: The model saw massive gains in BLEU and ROUGE scores. For TripAdvisor, the B1 score reached 25.62, compared to PETER’s 15.96.
- Diversity: The Unique Sentence Ratio (USR) was significantly higher (e.g., 0.72 vs 0.08 on TripAdvisor), proving the model generates far fewer repetitive sentences.
Qualitatively, as seen in the example below, Diffusion-EXR generates specific nouns (like "bracelet") that match the ground truth, whereas other methods produce generic or irrelevant descriptions.
Limitations and Future Work
While the paper demonstrates impressive results, a few areas remain for exploration:
- Inference Speed: Diffusion models typically require multiple iterative steps to generate a final output, which is computationally more expensive than one-pass autoregressive models. The authors do not provide a detailed analysis of latency.
- Scaling: The backbone used is a lightweight 2-layer Transformer. Testing the diffusion approach with much larger pre-trained models (like Llama or GPT-based architectures) could potentially yield even more sophisticated explanations.
- Visual Complexity: While VQ-VAE tokens are used, the interaction between complex visual scenes and text generation could be further refined.
Summary updated