Introduction
Session-based Recommendation (SBR) aims to predict a user's next item based on a short sequence of interactions within a single session. Traditional approaches typically employ an encoder-decoder architecture where a non-linear encoder (e.g., RNN, GNN, or Transformer) compresses the session into a vector, and a decoder computes similarity scores against candidate item embeddings. However, this paper identifies a critical issue: the Inconsistent Representation Space.
The Problem: Inconsistent Representation Space
When complex non-linear networks are used to encode sessions, the resulting session embeddings often drift into a different region of the vector space compared to the original item embeddings. This misalignment makes the decoding process—usually a dot product or cosine similarity—unreliable and prone to overfitting. As the authors demonstrate, sessions with similar objectives may result in wildly different predictions when the representation space is inconsistent, leading to poor generalization.
Methodology: The CORE Framework
To address this, the authors propose CORE (COnsistent REpresentation), a framework designed to keep session and item embeddings in the same space through two primary components.
Representation-Consistent Encoder (RCE)
Instead of deep non-linear transformations, RCE represents a session as a weighted linear combination of its constituent item embeddings. By using a linear combination, the session vector is mathematically guaranteed to reside within the same representation space as the items. The weights are learned using a DNN-based attention mechanism (e.g., a Transformer layer) to capture item importance and temporal order without breaking the geometric consistency.
Robust Distance Measuring (RDM)
To prevent the model from simply memorizing item embeddings, CORE employs Robust Distance Measuring. This includes:
- Cosine Distance: Used instead of dot product for better alignment.
- Controllable Margin: A temperature parameter ($\tau$) to handle varying data distributions.
- Embedding Dropout: Applied to candidate items during training to encourage the model to learn more generalized features.
Experimental Results
CORE was evaluated on five real-world datasets: Diginetica, Nowplaying, RetailRocket, Tmall, and Yoochoose.
Performance and Efficiency
CORE-trm (the Transformer-based variant) achieved state-of-the-art results, particularly on the Tmall dataset where it improved Recall@20 by 14% and MRR@20 by 17% over the best baseline. Crucially, CORE is highly efficient. As shown in Figure 4, CORE-ave (the mean pooling version) is approximately 100x faster to train per epoch than complex GNN-based models like SR-GNN or NISER+, while maintaining or exceeding their accuracy.
Representation Quality
t-SNE visualizations confirm that CORE produces tighter, more distinct clusters of sessions grouped by their ground-truth next items compared to baselines like GRU4Rec or SASRec. This empirical evidence supports the claim that maintaining a consistent representation space leads to better-defined user intent and more robust predictions.
Conclusion
CORE demonstrates that for session-based recommendation, "less is more." By replacing deep non-linear encoders with a representation-consistent linear approach and robust distance measuring, the model achieves superior accuracy and remarkable training efficiency. Future work will explore the integration of side information (like item categories) and the theoretical limits of linear session representations for longer, more complex sequences.
Summary updated