NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Empowering Sequential Recommendation from Collaborative Signals and Semantic Relatedness

Mingyue Cheng, Hao Zhang, Qi Liu, Fajie Yuan, Zhi Li, Zhenya Huang, Enhong Chen, Jun Zhou, Longfei Li · DOI

Introduction

Sequential Recommender Systems (SRS) have traditionally relied on item IDs to model user behavior over time. These IDs capture vital collaborative signals—the patterns of interaction that suggest "users who liked item A also liked item B." However, item IDs are inherently sparse and fail to capture the underlying nature of the items themselves. While content features, such as product images and textual descriptions, offer rich semantic relatedness, they are often treated as secondary side information.

A significant hurdle in modern SRS is the semantic gap: item IDs and content features exist in entirely different mathematical spaces. Simply concatenating these features often fails to yield improvements because the model cannot inherently align a behavioral ID with a visual or textual representation. This paper introduces TSSR (Two-Stream Sequential Recommendation), a model designed to unify these modalities by explicitly bridging the semantic gap through hierarchical alignment.

The TSSR Framework

The TSSR architecture processes item sequences through two parallel paths to ensure both behavioral and semantic signals are fully captured.

1. Two-Stream Representation and Encoding

The model utilizes a dual-path approach:

  • ID Stream: Uses a standard embedding lookup to represent item IDs.
  • Content Stream: Employs pre-trained models—ResNet for images and BERT for text—to extract high-dimensional semantic features.

Each stream is processed by its own Transformer-based unimodal encoder, which captures the dependencies within that specific modality (e.g., how the visual style of items evolves within a user session).

2. Hierarchical Contrasting Module

To bridge the semantic gap, the authors introduce a novel hierarchical contrastive learning module. This is the core innovation of TSSR, consisting of two levels of alignment:

  • User-grained Contrasting: This level aligns the representation of the entire user sequence across both modalities, ensuring the global "intent" captured by IDs matches the intent captured by content.
  • Item-grained Contrasting: This involves a cross-modality prediction task where the model attempts to predict the next item's content using the current ID sequence, and vice versa. This forces the model to learn the fine-grained relationships between specific behaviors and specific item attributes.

3. Multimodal Interaction and Fusion

Rather than simple concatenation, TSSR employs cross-attention—where one modality acts as the "query" for the other—and a gating mechanism. This allows the model to intelligently weigh the importance of collaborative versus semantic signals based on the context of the prediction.

Experimental Evaluation

The model was evaluated on five diverse public datasets: H&M, Yelp, Phone, and Toy (visual modality) and MIND (textual modality).

Key Findings

  • Superior Performance: TSSR consistently outperformed competitive baselines, including SASRec, CL4SRec, and FDSA. On the H&M fashion dataset, TSSR achieved a 15.44% improvement in NDCG@10 over the standard SASRec-ID model.
  • Resilience to Data Sparsity: TSSR showed its most significant relative improvements when training data was scarce (e.g., using only 20% of the training set). This indicates that semantic features allow the model to "understand" items even when there are insufficient behavioral interactions to learn a robust ID embedding.
  • The Importance of Alignment: Visualization via t-SNE confirmed that without the hierarchical contrasting module, ID and content embeddings remain clustered separately. The module successfully pulls these representations together in the latent space, facilitating better fusion.
  • Content as a Primary Signal: Preliminary studies revealed that models using only content features sometimes outperformed those using only item IDs, highlighting that semantic relatedness is a powerful, often underutilized signal in SRS.

Limitations and Future Directions

Despite its performance, TSSR faces challenges regarding computational cost. The end-to-end training with heavy content features required approximately 120GB of GPU memory for the H&M dataset, compared to just 2GB for ID-only models. Additionally, while TSSR performed well on the MIND news dataset, the improvements were more modest compared to visual datasets, suggesting that more sophisticated textual extraction (beyond article titles) may be necessary.

Future work will focus on improving efficiency through parameter-efficient fine-tuning (PEFT) or adapters to reduce the memory footprint while maintaining the model's predictive power.

Summary updated

BibTeX
@inproceedings{cheng2024empowering,
  author = {Mingyue Cheng and Hao Zhang and Qi Liu and Fajie Yuan and Zhi Li and Zhenya Huang and Enhong Chen and Jun Zhou and Longfei Li},
  title = {{Empowering Sequential Recommendation from Collaborative Signals and Semantic Relatedness}},
  booktitle = {DASFAA},
  year = {2024},
  url = {https://openreview.net/forum?id=lV3C5vbhEB},
}
Figure