TL;DR
Session-based recommendation systems struggle with cold-start items and popularity bias when relying solely on interaction IDs. This paper introduces a hybrid multimodal architecture combining collaborative filtering, customized recurrent networks, and a text-based retrieval model trained via Decoupled Contrastive Learning with dual momentum queues. Together with a gradient-boosted reranker (CatBoost) fueled by graph and session features, this system achieved 5th place in KDD Cup 2023 Task 1.
What Problem Does This Paper Address?
Sequential and session-based recommendation (predicting a user's next click given their recent browsing history) typically relies on item ID interaction graphs. However, pure ID-based architectures face significant hurdles:
- Cold-Start & Popularity Bias: Unseen or rarely clicked items lack the dense interaction histories required to learn expressive ID embeddings.
- Modality Interference: Naively concatenating textual representations (e.g., product titles, descriptions) directly with ID embeddings often harms performance when ID data is already dense and informative.
- Partial Semantic Synchronization: Typical sequential contrastive objectives update sequence representations to match candidate item targets, but overlook the reverse direction (aligning item representations back to sequence spaces).
The authors tackle these challenges by keeping representation spaces decoupled at retrieval time, utilizing pre-trained language models with bidirectional contrastive learning, and fusing multimodal predictions via a downstream tree-based reranker.
Methods
The proposed system adopts a classic multi-channel retrieval + reranking pipeline:
[Session History]
├── 1. ItemCF (Popularity, Distance, Directional, & Position Weights)
├── 2. Custom GRU (ID + Side info, Sequence-level Residual Skip Connection)
└── 3. Language Model (BERT + Decoupled Contrastive Learning)
│
▼
[Top-120 Candidate Selection] (Score Product)
│
▼
[CatBoost Reranker] (Graph Centrality, Session & Popularity Features)
│
▼
[Final Next-Item Ranking]
1. Multimodal Retrieval Channels
- Enhanced ItemCF: Adjusts traditional co-occurrence similarity using positional distance, interaction direction ($Pos_x < Pos_y$), popularity normalizers, and an explicit boost ($1.8\times$) for the final clicked item in a session.
- Customized Residual GRU: Embeds item IDs and side information (price, brand), processes them through a GRU, and adds a sequence-level residual skip connection directly from the initial mean-pooled input to bypass vanishing gradients.
- Language Embeddings with Decoupled Contrastive Learning (DCL): Product attributes (title, brand, price, color, size, etc.) are tokenized and passed through a pre-trained BERT encoder. To train the encoder:
- Dual Momentum Queues: Separate memory queues track sequence representations ($x_s$) and candidate item representations ($x_t$), updated via exponential moving average (MoCo-style) to supply over 10,000 negative samples per step.
- Symmetric ArcCon Loss: Adopts an angular margin loss ($\text{ArcCon}$) with four decoupled contrastive objectives: $$\min \, \lambda_1 \mathcal{L}(x_s, x_t) + \lambda_2 \mathcal{L}(x_t, x_s) + \lambda_3 \mathcal{L}(x_s, x_s) + \lambda_4 \mathcal{L}(x_t, x_t)$$ This ensures bidirectional sequence-to-item and item-to-sequence alignment, alongside intra-sequence and intra-item separation.
2. Tree-Based Fusion & Reranking
Preliminary candidates are selected by multiplying normalized scores across the three retrieval streams. The top 120 items are reranked using CatBoost trained on:
- Item Frequency & Rank Features: Historic views, popularity trends, and initial retrieval ranks.
- Session Aggregates: Mean session price, category distributions, and engagement levels.
- Co-occurrence Graph Features: Node centrality metrics computed on the ItemCF graph, including PageRank, Betweenness, Katz, and degree statistics.
Datasets
The authors evaluated their system on the Amazon-M2 benchmark (KDD Cup 2023), covering multi-lingual shopping sessions across the UK, Germany (DE), and Japan (JP) locales.
- Sessions were expanded using data augmentation techniques during training.
- 5-fold cross-validation was conducted exclusively on the UK subset to balance validation rigor with computational efficiency.
Key Insights and Ideas
- Decoupled Contrastive Objectives Prevent Collapse: Splitting negative sample spaces into sequence and item queues prevents asymmetry where representations collapse toward one modality, providing a +0.0115 MRR@100 gain over standard contrastive learning.
- Preserving Early Embeddings Aids RNNs: Adding a global residual shortcut directly from pre-GRU pooled embeddings to post-GRU representations smoothed gradient flow more effectively than standard step-wise pooling.
- Decoupling Retrieval Prevents Modality Degradation: Instead of forcing BERT embeddings into a shared vector space with item IDs early on, running independent retrievers and combining their signals at the reranking stage eliminated negative cross-modal interference.
Key Results
- KDD Cup 2023 (Task 1): Achieved 5th place overall with an official leaderboard score of 0.4033 MRR@100.
- Ablation of Decoupled Contrastive Learning (CV-MRR@100):
- Without DCL:
0.2610 - Symmetric cross-modal only ($\lambda_1=\lambda_2=0.5$):
0.2687 - Full Decoupled Contrastive Learning ($\lambda = [0.35, 0.35, 0.15, 0.15]$):
0.2725 - Ablation of Reranking Stages:
- Standalone Language Retrieval:
0.2725 - Standalone ItemCF:
0.2941 - Standalone Customized GRU:
0.3073(Leaderboard:0.3792) - CatBoost Fusion alone:
0.3175 - CatBoost + Graph/Session Feature Engineering:
0.3394(Leaderboard:0.4034)
Limitations and Future Work
- Computational Overhead of Dual Queues: Maintaining two momentum queues and computing four separate contrastive loss terms increases pre-training memory and iteration latency.
- Validation Scope: Offline cross-validation was restricted to the UK locale due to resource constraints, leaving regional generalization differences (e.g., linguistic variances in DE and JP) less explored offline.
- Future Direction: The authors aim to scale the dual-queue architecture to real-time industrial e-commerce environments where inventory catalogs and cold-start rates shift continuously.
Summary updated