Abstract
Side information of items, such as images and text descriptions, is crucial for accurate recommendations. We propose the Pre-trained Multimodal Graph Transformer (PMGT), a framework that learns item representations by integrating multimodal side information with item relationships derived from user behavior (e.g., co-purchases). PMGT utilizes a novel sampling algorithm, MCNSampling, and two self-supervised pre-training objectives: graph structure reconstruction and masked node feature reconstruction. Experimental results across multiple datasets and an online case study with 600,000 users demonstrate PMGT's effectiveness in recommendation, classification, and click-through rate (CTR) prediction tasks.
Introduction
Modern recommendation systems face the challenge of effectively utilizing the vast amount of multimodal side information available for items, such as product images and textual descriptions. While deep learning has advanced the processing of individual modalities, existing methods often treat side information and behavioral item-to-item relationships (the "graph" of user behavior) as separate entities. The goal is to create a unified representation that captures both the intrinsic features of an item (what it looks like and says) and its extrinsic context (which other items it is frequently associated with).
Methodology
Item Multimodal Graph Construction
The first step involves constructing a homogeneous item graph where nodes represent items and edges represent behavioral relationships. For example, if two items are frequently co-purchased, they share an edge. Each node is associated with multimodal features, such as visual and textual data extracted from product listings.
PMGT Framework
The PMGT framework consists of a Graph Transformer encoder designed to aggregate information across the multimodal graph. The architecture is built around four main components:
- MCNSampling (Mini-batch Contextual Neighbors Sampling): To handle large-scale graphs, this algorithm selects "contextual neighbors" for a target item by considering both the frequency of a neighbor in random walks and its distance from the target node.
- Transformer-based Graph Encoder: The model uses a Graph Transformer with a diversity-promoting attention mechanism. This encourages the model to pay attention to neighbors that are relevant but not identical to the target node, ensuring the learned representation captures a diverse range of context.
- Dual Pre-training Objectives:
- Graph Structure Reconstruction (GSR): The model learns to predict whether an edge exists between two items, capturing the behavioral topology.
- Masked Node Feature Reconstruction (NFR): Inspired by BERT, the model masks the multimodal features of some items and tries to reconstruct them using the features of their neighbors.
Experimental Evaluation
The researchers evaluated PMGT on several diverse datasets, including Amazon Review subsets (Video Games, Toys, Tools), MovieLens-20M, and a massive real-world dataset from Taobao (Alibaba).
Key Results
- Recommendation Accuracy: PMGT consistently outperformed state-of-the-art baselines like GPT-GNN and GRAPH-BERT. On the Amazon "Toys" dataset, it achieved a Recall@10 of 0.3032, significantly higher than the next best baseline (0.2858).
- Multimodal Synergy: Ablation studies showed that combining visual and textual features consistently outperformed models using only one modality, proving that the "whole" representation is greater than the sum of its parts.
- Online Impact: In a live test on Taobao with 600,000 users, PMGT led to a 6.80% increase in new video plays compared to the existing baseline (UNITER).
- Efficiency: PMGT-initialized models reached lower training loss significantly faster than those with random initialization, highlighting the efficiency of the pre-trained embeddings.
Conclusion
PMGT successfully bridges the gap between multimodal content and behavioral graph structures through self-supervised pre-training. The model captures fundamental item characteristics that transfer effectively to various downstream tasks. While currently focused on homogeneous graphs, future work aims to extend this framework to heterogeneous graphs to capture even more nuanced relationships within the recommendation ecosystem.
Summary updated