printf: Preference Modeling Based on User Reviews with Item Images and Textual Information via Graph Learning

Hao-Lun Lin, Jyun-Yu Jiang, Ming-Hao Juan, Pu-Jen Cheng · DOI

Abstract

Nowadays, modern recommender systems usually leverage textual and visual contents as auxiliary information to predict user preference. For textual information, review texts are one of the most popular contents to model user behaviors. Nevertheless, reviews usually lose their shine when it comes to top-N recommender systems because those that solely utilize textual reviews as features struggle to adequately capture the interaction relationships between users and items. For visual one, it is usually modeled with naive convolutional networks and also hard to capture high-order relationships between users and items. Moreover, previous works did not collaboratively use both texts and images in a proper way. In this paper, we propose printf, preference modeling based on user reviews with item images and textual information via graph learning, to address the above challenges. Specifically, the dimension-based attention mechanism directs relations between user reviews and interacted items, allowing each dimension to contribute different importance weights to derive user representations. Extensive experiments are conducted on three publicly available datasets. The experimental results demonstrate that our proposed printf consistently outperforms baseline methods with the relative improvements for NDCG@5 of 26.80%, 48.65%, and 25.74% on Amazon-Grocery, Amazon-Tools, and Amazon-Electronics datasets, respectively. The in-depth analysis also indicates the dimensions of review representations definitely have different topics and aspects, assisting the validity of our model design.

Introduction

Modern recommender systems frequently encounter the "data sparsity" challenge, where the limited number of user-item interactions makes it difficult to predict future preferences accurately. To mitigate this, researchers have increasingly turned to auxiliary data, such as product images and textual descriptions. However, two primary obstacles persist: modality misalignment and the semantic gap. Many models fail to align visual and textual features effectively, and standard collaborative filtering (CF) often fails to capture the underlying reasons—the "why"—behind a user's choice. While user reviews are rich with these qualitative insights, traditional models often treat them as monolithic embeddings rather than multi-faceted descriptions of product attributes.

The printf Framework

To address these limitations, we introduce printf, a graph-based learning framework that integrates item images, textual titles, and user reviews. The architecture is divided into three specialized modules:

Cross-Modality Item Modeling (CMIM)

This module utilizes a vision-language approach inspired by ALBEF to align item images with their corresponding titles. By employing a 12-layer Visual Transformer and a 6-layer BERT, the system ensures that visual and textual representations reside within the same semantic space. To maintain efficiency within the graph processing stage, these 768-dimensional features are compressed to 64-dimensional embeddings using Auto-Encoders.

Review-Aware User Modeling (RAUM)

The core innovation of printf lies in its dimension-based attention mechanism. Unlike standard attention that assigns a single weight to an entire review, RAUM assumes that different dimensions of an embedding vector represent distinct product aspects (e.g., price, durability, or aesthetics). This allows the model to learn which specific features within a review are most relevant to a user's preference, effectively bridging the gap between latent user desires and physical item attributes.

User-Item Embedding Propagation (EPIM)

The enriched embeddings are integrated into a Graph Convolutional Network (specifically LightGCN). By propagating information through the user-item interaction graph, the model captures high-order relationships. Notably, while many GCN-based recommenders peak at 3 layers, printf demonstrates optimal performance at 7 layers. This suggests that high-quality multi-modal initialization allows the model to explore deeper graph structures without the typical "over-smoothing" issues.

Experimental Results

We evaluated printf against five major baselines using three large-scale Amazon datasets: Grocery, Tools, and Electronics. These datasets provide the necessary combination of interactions, metadata, and raw reviews.

Performance Metrics

The printf framework consistently outperformed state-of-the-art baselines, including AGTM. The most significant gains were observed in ranking accuracy:

  • Amazon-Tools: 48.65% relative improvement in NDCG@5.
  • Amazon-Grocery: 26.80% relative improvement in NDCG@5.
  • Amazon-Electronics: 25.74% relative improvement in NDCG@5.

Ablation and Analysis

Ablation studies confirmed that both the image and review components are critical to the model's success; removing either led to a significant drop in performance. Furthermore, visualization of the learned embeddings revealed that specific dimensions naturally cluster around distinct topics (e.g., hardware-related terms vs. lighting-related terms), validating the dimension-based attention design.

Conclusion

The printf framework demonstrates that the collaborative use of textual reviews and visual information, when processed through a dimension-aware graph learning system, significantly enhances recommendation accuracy. By treating reviews as a bridge between users and items rather than just auxiliary text, printf captures a more nuanced understanding of user behavior. Future work will focus on addressing the computational overhead of multi-modal transformers and improving performance in cold-start scenarios where user reviews are unavailable.

Summary updated

BibTeX
@inproceedings{lin2023printf,
  author = {Hao-Lun Lin and Jyun-Yu Jiang and Ming-Hao Juan and Pu-Jen Cheng},
  title = {{printf: Preference Modeling Based on User Reviews with Item Images and Textual Information via Graph Learning}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2023},
  doi = {10.1145/3583780.3615012},
}
Figure