Beyond Co-Occurrence: Multi-Modal Session-Based Recommendation

Xiaokun Zhang, Bo Xu, Fenglong Ma, Chenliang Li, Liang Yang, Hongfei Lin

TL;DR

Most session-based recommendation systems rely on item IDs and co-occurrence patterns, which fail when sessions are short or items are new. This paper introduces MMSBR, a framework that holistically models multi-modal information (images, text, and price) using pseudo-modality contrastive learning and Wasserstein self-attention to significantly improve recommendations and solve the "cold-start" problem.

What Problem Does This Paper Address?

Session-based recommendation (SBR) aims to predict a user's next move based on a very short sequence of anonymous interactions (e.g., a single shopping session). Traditional methods rely on "co-occurrence"—if users often click Item A then Item B, the system learns that link.

However, this approach hits a wall for two reasons:

  1. Data Sparsity: The average session length in many datasets is less than three items. There simply aren't enough co-occurrence patterns to build a robust model.
  2. The Cold-Start Problem: If a new item enters the catalog, it has no interaction history (no co-occurrence data), making it invisible to ID-based models.

The authors argue that we should look at why a user clicks: the visual style (images), the specifications (text), and the cost (price).

Methods

The authors propose the Multi-modal Session-based Recommendation (MMSBR) framework, which splits item features into two distinct modeling tracks:

1. Deterministic Modeling (Images & Text)

Descriptive features like "silk material" or "V-neck style" are treated as deterministic. To handle noise in these modalities (e.g., background objects in images or "marketing fluff" in text), they use:

  • Pseudo-modality Contrastive Learning: They use DALL-E to generate "pseudo-images" from text and GoogLeNet to generate "pseudo-text" from images. By contrasting actual modalities with these generated ones, the model learns to focus on the core semantic features that both share, effectively filtering out noise.
  • Hierarchical Pivot Transformer: Instead of just concatenating features, they introduce a "pivot" token that acts as a shared mixer, extracting and integrating useful information across image and text layers.

2. Probabilistic Modeling (Price)

Unlike style, price preference is often a range (e.g., "I'm looking for a shirt between $20 and $40").

  • Gaussian Distribution Embedding: Instead of a single vector, price is represented as a Gaussian distribution (mean and covariance).
  • Wasserstein Self-attention: To calculate the relationship between items in a session based on price, they use the Wasserstein distance—a mathematically rigorous way to measure the distance between probability distributions—rather than standard dot-product attention.

Datasets

The model was evaluated on three real-world e-commerce datasets from Amazon:

  • Cellphones (and Accessories)
  • Grocery (and Gourmet Food)
  • Sports (and Outdoors)

These datasets were chosen because they contain the necessary multi-modal trio: item images, description text, and numerical prices.

Key Insights and Ideas

  • Modalities are not created equal: One of the paper's strongest insights is that descriptive info (text/images) and numerical info (price) influence users differently. Treating price as a probability distribution rather than a fixed attribute better reflects real-world "acceptable price ranges."
  • The "Pivot" as a Bridge: Using a trainable pivot token in the Transformer architecture allows for a more nuanced fusion of heterogeneous data than simple concatenation or addition.
  • Cross-modal Generation as a Denoising Tool: Using generative models (like DALL-E) to create "pseudo-modalities" is a clever way to align different data types in the same semantic space while ignoring modality-specific noise.

Key Results

MMSBR consistently outperformed state-of-the-art baselines (including NARM, SR-GNN, and CoHHN) across all datasets:

  • Performance Gains: On the "Cellphones" dataset, MMSBR improved Prec@20 by 3.14% and MRR@20 by 5.33% over the best-performing baseline.
  • Cold-Start Mastery: In scenarios where the target item had never been seen in the training set, MMSBR maintained significantly higher accuracy while ID-based models essentially failed.
  • Short Session Robustness: The model showed its greatest relative improvement in sessions with 3 or fewer items, proving that multi-modal data can effectively "fill the gaps" left by missing co-occurrence patterns.

Limitations and Future Work

While the results are impressive, the authors note a few areas for growth:

  • User Reviews: The current model focuses on seller-provided data. Incorporating user-generated reviews could provide a deeper "fine-grained" understanding of user preferences.
  • Computational Complexity: Generating pseudo-modalities via DALL-E and calculating Wasserstein distances is computationally more intensive than standard ID-based lookups.
  • Generalization: While tested on e-commerce, the authors suggest the "pseudo-modality" and "pivot transformer" approach could be extended to other multi-modal tasks beyond recommendation.

Summary updated

BibTeX
@article{zhang2024beyond,
  author = {Xiaokun Zhang and Bo Xu and Fenglong Ma and Chenliang Li and Liang Yang and Hongfei Lin},
  title = {{Beyond Co-Occurrence: Multi-Modal Session-Based Recommendation}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2024},
  url = {https://openreview.net/forum?id=BHxeecbxNA},
}
Figure