Abstract
Textual data are commonly used as auxiliary information for modeling user preference nowadays. While many prior works utilize user reviews for rating prediction, few focus on top-N recommendation, and even few try to incorporate item textual contents such as title and description. Though delivering promising performance for rating prediction, we empirically find that many review-based models cannot perform comparably well on top-N recommendation. Also, user reviews are not available in some recommendation scenarios, while item textual contents are more prevalent. On the other hand, recent graph convolutional network (GCN) based models demonstrate state-of-the-art performance for top-N recommendation. Thus, in this work, we aim to further improve top-N recommendation by effectively modeling both item textual content and high-order connectivity in user-item graph. We propose a new model named Attentive Graph-based Text-aware Recommendation Model (AGTM). Extensive experiments are provided to justify the rationality and effectiveness of our model design.
Introduction
In modern recommender systems, researchers typically leverage two primary sources of information: Collaborative Filtering (CF), which captures user-item interaction patterns, and Content-based filtering, which utilizes item attributes. Recent advancements in Graph Convolutional Networks (GCNs) have significantly improved CF by capturing high-order connectivity—modeling indirect relationships like "friends-of-friends" in the user-item graph. However, many GCN-based models overlook rich textual metadata such as titles and descriptions.
Conversely, existing text-aware models often rely on user reviews, which are not always available, or treat text as a simple "bag of words," missing deeper semantic context. This paper addresses the gap by combining the global semantic power of modern Language Models (like BERT) with the structural modeling capabilities of GCNs, specifically optimized for the top-N recommendation task.
Methodology: The AGTM Framework
The proposed Attentive Graph-based Text-aware Recommendation Model (AGTM) integrates textual semantics and graph structure through a two-stage process.
1. Textual Content Modeling (TCM)
To capture global semantics, AGTM utilizes a pretrained Sentence-BERT to extract embeddings from item titles and descriptions. Because raw BERT embeddings are high-dimensional (768 dimensions), an Autoencoder is employed to compress these into a compact 64-dimensional space. This "pre-distillation" step ensures that the textual features are manageable and effective for the recommendation task, outperforming simple linear transformations trained end-to-end.
2. Item-Based Preference Modeling (IPM)
The IPM module consists of two key components:
- Attentive Aspect-aware User Modeling (AAUM): Rather than using randomly initialized user IDs, AGTM initializes user embeddings based on the items they have interacted with. A multi-head attention mechanism identifies different "aspects" of a user's preference derived from item content, making the model more robust for users with limited interaction history.
- Embedding Propagation: The model applies LightGCN layers to allow item semantics to propagate through the user-item graph. This captures high-order relationships, enriching the initial content-based embeddings with collaborative signals.
The entire model is optimized using Bayesian Personalized Ranking (BPR) loss, which is specifically tailored for ranking tasks by maximizing the margin between observed and unobserved interactions.
Experimental Setup
The authors evaluated AGTM on three real-world datasets: Amazon-Grocery, Amazon-CDs, and MovieLens-TMDB. The MovieLens-TMDB dataset is particularly significant as it contains movie overviews from the TMDB API but lacks user reviews, serving as a rigorous test for models relying solely on item metadata. All datasets were processed with a "10-core" filter to ensure data quality.
Results and Analysis
AGTM consistently outperformed state-of-the-art baselines, including pure CF models like LightGCN and text-aware models like TPR and AARM.
As shown in the results table, AGTM-3 (the 3-layer variant) achieved significant gains. For instance, on the Amazon-Grocery dataset, it improved Recall@20 by 3.62% and NDCG@20 by 10.53% over the strongest baseline.
Key Insights
- Initialization via Content: Initializing user embeddings through the AAUM module proved superior to random ID initialization. This suggests that grounding user profiles in item content provides a more informative starting point for graph-based learning.
- The Power of Global Semantics: By using BERT instead of word-level models, AGTM captures the full context of item descriptions, leading to more accurate item representations.
- Ablation Studies: Removing either the TCM or AAUM components resulted in a performance drop, confirming that both deep textual semantics and attentive user modeling are critical to the model's success.
- Graph Depth: Experiments showed that 3 GCN layers typically provide the optimal balance for propagating textual features through the interaction graph.
Conclusion
AGTM demonstrates that effectively fusing deep textual semantics with high-order graph connectivity can significantly boost top-N recommendation performance. By moving beyond simple word-level features and random user IDs, the model provides a more nuanced understanding of user preferences. Future work may explore extending this framework to multimodal data, such as images, or investigating its performance in extreme cold-start scenarios.
Summary updated