[Paper Review] Transformers with multi-modal features and post-fusion context for e-commerce session-based recommendation
This paper presents a hybrid Transformer-based ensemble model for e-commerce session-based recommendation, combining tabular interaction events with pre-trained textual and image embeddings via multi-modal feature fusion. The approach leverages both autoregressive (Transformer-XL) and autoencoding (XLNet) training objectives, achieving state-of-the-art performance on the SIGIR 2021 E-commerce Data Challenge with an MRR of 0.482 and F1 score of 0.578 on the private test set.
Session-based recommendation is an important task for e-commerce services, where a large number of users browse anonymously or may have very distinct interests for different sessions. In this paper we present one of the winning solutions for the Recommendation task of the SIGIR 2021 Workshop on E-commerce Data Challenge. Our solution was inspired by NLP techniques and consists of an ensemble of two Transformer architectures - Transformer-XL and XLNet - trained with autoregressive and autoencoding approaches. To leverage most of the rich dataset made available for the competition, we describe how we prepared multi-model features by combining tabular events with textual and image vectors. We also present a model prediction analysis to better understand the effectiveness of our architectures for the session-based recommendation.
Motivation & Objective
- To address the challenge of session-based recommendation in e-commerce where users are anonymous and have short, dynamic sessions.
- To improve recommendation accuracy by integrating multi-modal features—tabular events, product descriptions, and image embeddings—into a unified deep learning framework.
- To investigate the effectiveness of Transformer architectures trained with both autoregressive and autoencoding objectives for session-based recommendation.
- To analyze model behavior with respect to session length, item popularity, and price, identifying key failure modes such as cold-start and popularity bias.
Proposed method
- The model ensemble combines two Transformer architectures: Transformer-XL (trained with autoregressive language modeling) and XLNet (trained with masked language modeling).
- Multi-modal features are constructed by fusing tabular user interaction events (e.g., clicks, purchases) with pre-trained textual embeddings from product descriptions and image embeddings from vision encoders.
- Feature engineering includes item frequency capping to mitigate popularity bias and improve generalization on rare items.
- The final prediction is generated via ensemble averaging of the two Transformer models, with inference performed on the first half of each session to predict the second half.
- Model evaluation uses MRR and F1 score on the validation and private test sets, with ablation studies on session length, item popularity, and price.
Experimental results
Research questions
- RQ1How effective are Transformer architectures trained with autoregressive and autoencoding objectives for session-based recommendation in e-commerce?
- RQ2To what extent do multi-modal features (textual, visual, and tabular) improve recommendation performance compared to tabular-only models?
- RQ3How does model performance vary with session length, and what explains the drop in MRR for longer sessions?
- RQ4What role does item popularity play in prediction accuracy, and how does the model handle rare or unseen items?
- RQ5How does product price influence prediction accuracy, and is there a price-based bias in recommendations?
Key findings
- The ensemble model achieved an MRR of 0.482 and F1 score of 0.578 on the private test set, outperforming non-deep learning baselines in the competition.
- MRR decreased for longer sessions, suggesting that increased session diversity (lower intra-session similarity in embeddings) makes next-item prediction harder.
- The model exhibited strong popularity bias: MRR for items with 1–4 interactions was only 0.0009, indicating poor performance on rare items.
- Items with more than 50 interactions had significantly higher MRR, confirming that high-frequency items are easier to predict.
- Predictions for 'new items'—products unseen during pre-training or fine-tuning—achieved MRR = 0, highlighting the cold-start problem for new products.
- Lower-priced products (buckets 1–4) had lower MRR, likely due to higher popularity bias, as more expensive items were more frequently interacted with.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.