Submitted 01 May 2023

Bootstrap Latent Representations for Multi-modal Recommendation

Nanyang Technological UniversityAlibaba GroupAnt Group

Abstract

This paper studies the multi-modal recommendation problem, where the item multi-modality information (e.g., images and textual descriptions) is exploited to improve the recommendation accuracy. Besides the user-item interaction graph, existing state-of-the-art methods usually use auxiliary graphs (e.g., user-user or item-item relation graph) to augment the learned representations of users and/or items. These representations are often propagated and aggregated on auxiliary graphs using graph convolutional networks, which can be prohibitively expensive in computation and memory, especially for large graphs. Moreover, existing multi-modal recommendation methods usually leverage randomly sampled negative examples in Bayesian Personalized Ranking (BPR) loss to guide the learning of user/item representations, which increases the computational cost on large graphs and may also bring noisy supervision signals into the training process. To tackle the above issues, we propose a novel self-supervised multi-modal recommendation model, dubbed BM3, which requires neither augmentations from auxiliary graphs nor negative samples. Specifically, BM3 first bootstraps latent contrastive views from the representations of users and items with a simple dropout augmentation. It then jointly optimizes three multi-modal objectives to learn the representations of users and items by reconstructing the user-item interaction graph and aligning modality features under both inter- and intra-modality perspectives. BM3 alleviates both the need for contrasting with negative examples and the complex graph augmentation from an additional target network for contrastive view generation. We show BM3 outperforms prior recommendation models on three datasets with number of nodes ranging from 20K to 200K, while achieving a 2-9X reduction in training time. Our code is available at this https URL.

AI Overview

Our new overview generator adds more detail and page citations

Modern e-commerce platforms rely heavily on recommendation systems to guide users through vast catalogs of products. While traditional methods primarily analyze historical user-item interactions (collaborative filtering), recent advancements have integrated multi-modal content—such as product images and textual descriptions—to better understand user preferences. However, incorporating these extra layers of information often introduces significant computational complexity and memory overhead, especially when using Graph Neural Networks (GNNs).

The research paper "Bootstrap Latent Representations for Multi-modal Recommendation" introduces BM3 (Bootstrapped Multi-modal Model), a framework designed to improve both the accuracy and efficiency of multi-modal recommendation systems. By moving away from costly graph augmentations and negative sampling, BM3 provides a scalable solution for large-scale applications.

The Challenges in Multi-modal Recommendation

Traditional GNN-based multi-modal models typically follow a specific workflow: they construct a user-item interaction graph and often augment it with auxiliary graphs (e.g., item-item similarity graphs based on visual or textual features). While these auxiliary graphs help the model understand item relationships better, they suffer from two major drawbacks:

  1. Computational and Memory Costs: Storing and processing auxiliary graphs for millions of items is memory-intensive. In large-scale real-world scenarios, these costs can become prohibitive.
  2. The Burden of Negative Sampling: Most recommendation models use loss functions like Bayesian Personalized Ranking (BPR), which require "negative samples"—items the user has not interacted with. Randomly sampling these negatives is computationally expensive on large graphs and can introduce noise, as an "unobserved" item might actually be a product the user would like but simply hasn't seen yet.

BM3 addresses these issues by leveraging a Self-Supervised Learning (SSL) paradigm that eliminates the need for both auxiliary graphs and negative sampling.

A Simplified Multi-modal Framework

The BM3 architecture consists of three core modules: a latent space convertor, a contrastive view generator, and a specialized multi-modal loss function.

Multi-modal Latent Space Convertor

To process diverse types of data, the model first maps all features into a shared latent space of dimension dd. For item features like images (visual) or descriptions (textual), a simple one-layer Multi-Layer Perceptron (MLP) is used:

hm=emWm+bmh_m = e_m W_m + b_m

where eme_m is the raw feature and hmh_m is the projected latent representation.

For the structural interaction data, BM3 uses a simplified GNN backbone based on LightGCN. Unlike standard GNNs that involve complex non-linearities, LightGCN focuses on linear neighborhood aggregation. The embedding for a layer l+1l+1 is calculated as:

Hl+1=(D^−1/2A^D^−1/2)HlH_{l+1} = (\hat{D}^{-1/2} \hat{A} \hat{D}^{-1/2}) H_l

where A^\hat{A} represents the adjacency matrix of the interaction graph and D^\hat{D} is the degree matrix. By summing embeddings across layers, the model captures high-order relationships between users and items.

Contrastive View Generation

Standard contrastive learning often requires complex data augmentations (like deleting edges in a graph or cropping images). BM3 simplifies this by performing augmentation directly in the latent space using dropout.

For any latent embedding hh, the model generates a perturbed "view" hˇ\check{h} by applying a Bernoulli-based dropout:

hˇ=h⋅Bernoulli(p)\check{h} = h \cdot \text{Bernoulli}(p)

This process is computationally "free" compared to regenerating graph structures. To prevent the model from falling into a "collapsed" state (where all embeddings become identical), BM3 employs a predictor network and a stop-gradient mechanism. The original embedding hh is passed through a predictor fpf_p:

h~=hWp+bp\tilde{h} = hW_p + b_p

Crucially, when the model compares h~\tilde{h} to the dropout-augmented view hˇ\check{h}, it blocks gradients from flowing back through the augmented view. This asymmetry—predicting a "target" that doesn't update its own weights during that specific step—is known as bootstrapping and is key to learning robust representations without negative samples.

Multi-modal Contrastive Loss (MMCL)

The heart of BM3 is its loss function, which jointly optimizes three distinct objectives using only positive interactions.

1. Graph Reconstruction Loss

This loss encourages the model to reconstruct the interaction graph by aligning a user's predicted embedding with the augmented embedding of an item they liked (and vice-versa). Using negative cosine similarity C(ha,hb)C(h_a, h_b), the reconstruction loss for a positive pair (u,i)(u, i) is:

Lrec=C(h~u,sg(hˇi))+C(sg(hˇu),h~i)\mathcal{L}_{rec} = C(\tilde{h}_u, \text{sg}(\check{h}_i)) + C(\text{sg}(\check{h}_u), \tilde{h}_i)

Here, sg(⋅)\text{sg}(\cdot) denotes the stop-gradient operator. This ensures that the model learns the relationship between users and items using only the interactions that actually occurred.

2. Inter-modality Feature Alignment

To ensure that the specific modality features (like the visual look of a shoe) align with the overall identity of the item (the shoe's ID), BM3 introduces an alignment loss:

Lalign=C(h~im,sg(hˇi))\mathcal{L}_{align} = C(\tilde{h}_i^m, \text{sg}(\check{h}_i))

This forces the predictor's output for a modality feature himh_i^m to match the general item ID representation hih_i.

3. Intra-modality Feature Masked Loss

To make the model robust to noise within a single modality, this loss encourages the predictor to reconstruct the full modality feature from its masked (dropped-out) version:

Lmask=C(h~im,sg(hˇim))\mathcal{L}_{mask} = C(\tilde{h}_i^m, \text{sg}(\check{h}_i^m))

Total Objective

The final training objective is the sum of these three components, plus a regularization term λ\lambda to prevent overfitting:

L=Lrec+Lalign+Lmask+λ(∥hu∥22+∥hi∥22)\mathcal{L} = \mathcal{L}_{rec} + \mathcal{L}_{align} + \mathcal{L}_{mask} + \lambda (\|h_u\|_2^2 + \|h_i\|_2^2)

By optimizing this total loss, the model learns to represent users and items in a way that captures both their interaction history and their content characteristics.

Significant Performance and Efficiency Gains

The researchers evaluated BM3 on three large datasets (Amazon Baby, Sports, and Electronics) against a variety of competitive baselines, including both general and multi-modal recommendation models.

Accuracy

BM3 consistently outperformed all existing methods. On the Electronics dataset—the largest tested—BM3 showed a significant improvement in Recall@10, exceeding the best baseline by over 20%. The results suggest that the bootstrapping approach is particularly effective at capturing the underlying patterns in large-scale interaction data.

Training Speed and Memory

One of the most impressive findings was the efficiency of the model. Because BM3 avoids negative sampling and auxiliary graphs:

  • Training Time: BM3 was 2 to 9 times faster to train per epoch than other state-of-the-art multi-modal models like LATTICE or GRCN.
  • Memory Footprint: BM3 consumed significantly less GPU memory. For instance, it required approximately half the memory of the LATTICE model because it did not need to store and compute an item-item similarity graph.
  • Backbone Efficiency: While traditional GNN models often require 4 or more layers to reach peak performance, BM3 achieved its best results with only 1 or 2 GCN layers, further reducing the computational load.

Conclusion and Significance

BM3 represents a shift toward more practical, scalable multi-modal recommendation. By demonstrating that high-quality representations can be "bootstrapped" from positive interactions alone, the authors provide a blueprint for building systems that are both more accurate and significantly cheaper to train.

The removal of negative sampling is a particularly important contribution, as it solves a long-standing efficiency bottleneck in the field. Furthermore, the use of latent-space dropout as an augmentation strategy offers a lightweight alternative to the cumbersome graph-level augmentations used in previous self-supervised methods. For developers and researchers working with massive datasets, BM3 offers a compelling way to integrate images and text into recommendation engines without the typical hardware and time constraints.

Lightgcn: Simplifying and powering graph convolution network for recommendation
The proposed BM3 model explicitly uses LightGCN as its backbone network to encode the structural information from the user-item interaction graph. This citation is fundamental to the architecture of the presented model.
Xiangnan He, Kuan Deng, Xiang Wang, Yan Li, Yongdong Zhang, and Meng Wang. 2020. Lightgcn: Simplifying and powering graph convolution network for recommendation. In Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval. 639–648.
Bootstrap your own latent: A new approach to self-supervised learning
This paper introduces the BYOL framework, which is the core self-supervised learning paradigm that BM3 adapts and simplifies for multi-modal recommendation. BM3's approach of learning from positive samples only, using an online network and avoiding model collapse, is directly inspired by the concepts presented in BYOL.
Jean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec, Pierre H Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhaohan Daniel Guo, Mohammad Gheshlaghi Azar, et al . 2020. Bootstrap your own latent: A new approach to self-supervised learning. In Proceedings of the 34th Annual Conference on Neural Information Processing Systems. 21271–21284.
Bootstrapping User and Item Representations for One-Class Collaborative Filtering
BUIR is a direct predecessor that adapts the BYOL framework specifically for the recommendation domain. The main paper positions BM3 as an extension of this self-supervised paradigm into the multi-modal context, making BUIR a critical point of reference and comparison.
Dongha Lee, SeongKu Kang, Hyunjun Ju, Chanyoung Park, and Hwanjo Yu. 2021. Bootstrapping User and Item Representations for One-Class Collaborative Filtering. In Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval.
Mining Latent Structures for Multimedia Recommendation
LATTICE is presented as a state-of-the-art graph-based multi-modal recommendation model against which BM3 is extensively benchmarked for both performance and efficiency. It represents the primary competition that the proposed model aims to outperform, and its methods provide important context for the current research landscape.
Jinghao Zhang, Yanqiao Zhu, Qiang Liu, Shu Wu, Shuhui Wang, and Liang Wang. 2021. Mining Latent Structures for Multimedia Recommendation. In Proceedings of the 29th ACM International Conference on Multimedia. 3872–3880.

Audio

Audio summaryTwo hosts talking through the paper's ideas, methods and results.

Similar papers

Show more

Discussion