Abstract
Session-based Recommender Systems (SRSs) are designed to predict a user's next action based on a short sequence of interactions, often in anonymous settings where long-term history is unavailable. While effective at capturing immediate intent, these systems typically fail to account for a user's broader, stable preferences. We present ProxySR, a novel unsupervised framework that bridges this gap by learning a set of shared "proxies" representing distinct types of general interests. By projecting session-encoded short-term interests onto proxy-defined hyperplanes, the model captures the nuanced relationship between general personality and specific session context. ProxySR demonstrates significant performance gains over state-of-the-art baselines on multiple public benchmarks, particularly in data-sparse environments.
Introduction
Modern recommendation engines typically rely on extensive user profiles to provide personalized suggestions. However, in many practical applications—such as e-commerce sites where users browse without logging in—only a short sequence of clicks, or a "session," is available. Session-based Recommender Systems (SRSs) address this by modeling short-term interests. The primary challenge remains: a single session is often too brief to reveal a user's long-term, general interest.
Existing attempts to incorporate broader context often rely on simple item co-occurrence or require explicit user identifiers. ProxySR overcomes these limitations by "hallucinating" long-term preferences through an unsupervised proxy selection mechanism, allowing for personalization even in fully anonymous environments.
The ProxySR Framework
ProxySR introduces a multi-stage architecture to integrate short-term session dynamics with latent general interests.
Unsupervised Proxy Selection
The core of the model is a set of $K$ learnable embedding vectors, termed "proxies." For each session, a neural network selects the most appropriate proxy. To ensure the model learns distinct behavioral archetypes, the selection process utilizes softmax with temperature annealing. This starts as a "soft" weighted average during early training and transitions to a "hard" selection of a single proxy, forcing each proxy to specialize in a specific "type" of general interest shared across the user base.
Hyperplane Projection
Rather than simple vector addition, ProxySR employs a hyperplane projection method. The session's short-term interest (encoded via self-attention) and the target item embedding are projected onto a hyperplane defined by the selected proxy. This mathematical formulation allows the model to represent "one-to-many" relationships, where a single general interest can manifest as various short-term behaviors depending on the immediate context.
Experimental Evaluation
The model was evaluated on three benchmark datasets: RetailRocket (short sessions), Diginetica (e-commerce logs), and LastFM (long music sessions). The primary metric used was Recall@K for the "next unseen item" task, which provides a rigorous test of the model's ability to infer hidden user intent.
Key Results
ProxySR consistently outperformed state-of-the-art baselines like GCE-GNN and CSRM. Notable improvements include:
- RetailRocket: A 45.43% improvement in Recall@20 compared to the best baseline.
- Diginetica: An 18.40% improvement in Recall@5.
Ablation studies confirmed that both the proxy selection mechanism and the hyperplane projection are essential for these performance gains.
Discussion and Insights
The success of ProxySR stems from its ability to categorize anonymous sessions into meaningful behavioral "buckets." Visualization of latent spaces shows that sessions from the same anonymized user naturally cluster around specific proxies, suggesting the model effectively discovers user identities without explicit IDs.
A critical factor in model performance is the number of proxies, $K$. As shown in the figure above, there is a clear "sweet spot" for $K$ that varies by dataset. If $K$ is too small, proxies become overly generic; if too large, they fail to generalize across sessions. This sensitivity highlights the need for dataset-specific tuning to balance proxy specificity with training data density.
Conclusion
ProxySR provides a robust framework for personalization without identity. By leveraging unsupervised proxy selection and hyperplane projection, it captures the interplay between stable general interests and transient session goals. Future work may explore reducing the computational overhead of the projection layers and addressing item cold-start issues within this framework.
Summary updated