Long-tail Session-based Recommendation

Siyi Liu, Yujia Zheng

Abstract

Session-based Recommendation Systems (SRS) often struggle with "popularity bias," where models predominantly suggest frequently clicked "short-head" items at the expense of niche "long-tail" items. This paper presents TailNet, a neural network architecture designed to enhance recommendation diversity without compromising accuracy. By employing a specialized preference mechanism and a soft adjustment layer, TailNet learns to identify user intent for niche discovery, effectively mitigating the "rich-get-richer" effect in anonymous sessions.

Introduction

In session-based recommendation, systems must predict a user's next action based on a single, anonymous session. Due to the lack of long-term history, these systems frequently default to popular items. While accurate, this behavior limits serendipity—the discovery of unexpected but relevant items—and reduces the business value of promoting higher-margin niche products. The primary challenge lies in the data sparsity of long-tail items, which makes them difficult for standard models to recommend effectively.

Methodology: The TailNet Architecture

TailNet addresses popularity bias by explicitly modeling a user's preference for item types (head vs. tail). The architecture builds upon Gated Recurrent Units (GRUs) and introduces two key components:

  1. Preference Mechanism: Items are categorized into "short-head" or "long-tail" based on the Pareto Principle. Item embeddings are augmented with a "type" signal (ones for tail, zeros for head). An attention mechanism then calculates rectification factors, $R_{head}$ and $R_{tail}$, representing the user's current leaning toward mainstream or niche content.
  2. Soft Adjustment Layer: Instead of using a hard filter, TailNet applies these factors to "nudge" recommendation scores. If the model detects a preference for niche items, it boosts the scores of all long-tail candidates before the final selection.
The TailNet architecture, highlighting the preference mechanism and soft adjustment layer.

The entire model is trained end-to-end, allowing the preference mechanism to co-evolve with the recommendation task.

Experimental Evaluation

The authors evaluated TailNet on two benchmark datasets: YOOCHOOSE (e-commerce) and 30MUSIC (music logs). Items were split into head and tail categories based on click frequency. TailNet was compared against traditional baselines (Item-KNN, FPMC) and state-of-the-art neural models (NARM, STAMP, SR-GNN).

Key Results

TailNet demonstrated a significant improvement in long-tail coverage while maintaining competitive accuracy. As shown in the results table, TailNet achieved a Tail_Coverage@20 of 40.10% on the 30MUSIC dataset, significantly outperforming the next best neural model, NARM (36.99%), and the popular SR-GNN (28.71%).

Comparison of TailNet against baseline models across various performance metrics.

On the YOOCHOOSE dataset, TailNet maintained an MRR@20 of 30.97, proving that diversity can be achieved without sacrificing the overall quality of recommendations.

Discussion and Portability

A significant finding of this work is the modularity of the preference mechanism. When integrated into other models like STAMP and SR-GNN, the mechanism consistently improved long-tail coverage with minimal impact on accuracy. This suggests that the "soft adjustment" approach is a generalizable solution for addressing popularity bias in various recommendation architectures.

Conclusion

TailNet provides a robust framework for balancing accuracy and diversity in session-based recommendations. By explicitly modeling user preference for niche items, it overcomes the limitations of standard neural networks in handling sparse long-tail data. Future work may explore more granular item categorizations beyond the binary head/tail split and address the cold-start problem for items with no prior interactions.

Summary updated

BibTeX
@inproceedings{liu2020long,
  author = {Siyi Liu and Yujia Zheng},
  title = {{Long-tail Session-based Recommendation}},
  booktitle = {RecSys},
  year = {2020},
  doi = {10.1145/3383313.3412222},
}
Figure