Improving Personalized Explanation Generation through Visualization

Shijie Geng, Zuohui Fu, Yingqiang Ge, Lei Li, Gerard de Melo, Yongfeng Zhang

Explainable recommendation systems aim to provide both a suggestion (e.g., "You should stay at this hotel") and a justification (e.g., "...because it has a great view of the ocean"). However, current state-of-the-art models often suffer from a "laziness" problem. Because they are trained solely on text, they frequently converge on repetitive, generic sentences like "the hotel is very nice" or "the food was good."

This paper, presented at ACL 2022, introduces METER (Multimodally-Enhanced Transformer for Explainable Recommendation), a framework designed to make recommendation explanations more descriptive and diverse by grounding them in visual concepts.

The METER Framework

The core idea behind METER is to force the model to develop a "mental map" of real-world concepts. While a text-only model might not understand the specific visual characteristics of a "spacious room" or "yellow curry," METER treats ratings, text, and images as a single sequence, requiring the model to autoregressively predict all three.

The METER architecture: (a) shows the Multimodal Transformer processing user, item, and feature tokens alongside text and visual tokens; (b) illustrates the matching discriminator that ensures alignment between generated text and visualizations.

To represent images as tokens compatible with a Transformer, the authors utilize VQ-GAN (Vector Quantized Generative Adversarial Network), which converts image patches into discrete indices. The "secret sauce" of the model is a Text-Image Matching Discriminator. Trained via contrastive learning, this component penalizes the generator if the text explanation and the generated visualization are incongruent. This forces the text generator to produce words that are "groundable"—meaning they actually describe the visual features the model is attempting to render.

Multimodal Data Augmentation

Since standard recommendation datasets like TripAdvisor and Yelp do not typically contain perfectly aligned text-image pairs for every review, the authors developed a sophisticated augmentation process. They clustered review sentences using Sentence-BERT to identify common visual concepts and used these clusters to retrieve relevant images via the Google Images API. These images were then filtered and aligned using the CLIP model to ensure a high-quality "visual concept pool" for training.

Key Results and Insights

The most striking insight from the study is that requiring the model to generate an image acts as a powerful regularizer for text quality. To satisfy the image generator and the matching discriminator, the text generator must move away from abstract adjectives like "nice" toward specific nouns and adjectives that can be visualized, such as "higher floors" or "ocean view."

An example of a generated visualization grounded in specific textual features, illustrating how METER moves beyond generic descriptions.

METER significantly outperformed baselines across several metrics:

  • Diversity: On TripAdvisor, METER achieved a Unique Sentence Ratio (USR) of 0.56, more than double the baseline PETER (0.25).
  • Explainability: The Feature Matching Ratio (FMR) reached 0.90 on TripAdvisor, indicating the model successfully mentions the specific features it is asked to describe.
  • Human Evaluation: In user studies, humans rated METER's explanations significantly higher for both Faithfulness (4.57/5.0) and Diversity (3.70/5.0) compared to text-only baselines.

Conclusion

By bridging the semantic gap between "seeing" and "writing," METER demonstrates that multimodal grounding is a viable path toward more human-like, descriptive, and faithful recommendation explanations. Future work may extend this approach to even more visually-driven domains such as fashion or cinema.

Summary updated

BibTeX
@inproceedings{geng2022improving,
  author = {Shijie Geng and Zuohui Fu and Yingqiang Ge and Lei Li and Gerard de Melo and Yongfeng Zhang},
  title = {{Improving Personalized Explanation Generation through Visualization}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.20},
}
Figure