Bid Farewell to Seesaw: Towards Accurate Long-tail Session-based Recommendation via Dual Constraints of Hybrid Intents

Xiao Wang, Ke Qin, Dongyang Zhang, Xiurui Xie, Shuang Liang · DOI

Session-based recommendation (SBR) systems often struggle with a "see-saw" effect: improving the visibility of rare "long-tail" items typically degrades overall recommendation accuracy. This paper introduces the Hybrid Intent-based Dual Constraint Framework (HID), a plug-and-play solution designed to break this trade-off. By leveraging attribute-aware intent modeling, HID distinguishes between relevant tail items and session-irrelevant noise, achieving a "win-win" for both diversity and precision.

The Challenge: The Long-tail "See-saw" Effect

In SBR, the goal is to predict a user's next interaction based on a short sequence of clicks. A persistent challenge is the long-tail distribution, where a small number of "head" items dominate interactions while the majority of items are rarely seen.

Traditional approaches to address this—such as data augmentation or re-ranking—often introduce session-irrelevant noise. For instance, a model might recommend a rare "hiking boot" to a user browsing "cooking supplies" simply to increase diversity. This leads to the "see-saw" effect: as tail item coverage increases, recommendation accuracy drops. The authors posit that the solution lies in identifying tail items that align with the user's specific intent.

The HID Framework: Dual Constraints for Hybrid Intents

The HID framework introduces two core components to navigate the accuracy-diversity trade-off:

1. Hybrid Intent Learning

Standard models often derive intent solely from recent item clicks. HID incorporates item attributes (e.g., category, brand) to build a more robust semantic understanding. It constructs a "Preliminary Intent Graph" based on attribute co-occurrences across sessions and applies spectral clustering to define "Hybrid Intents" (e.g., merging "Tableware" and "Food" into a "Cooking" intent).

2. Intent Constraint Loss (ICLoss)

The framework employs a dual-constraint loss function to supervise the learning process:

  • Long-tail Constraint ("Align"): It minimizes the variance of similarity scores between a session and items within its target intent, effectively pulling relevant tail items closer to the session representation.
  • Accuracy Constraint ("Away"): It pushes the session representation away from "noise intents" identified in other sessions within the same training batch.
The HID framework utilizes "Align" and "Away" constraints to bridge the gap between sessions and relevant items while distancing them from noise.

Because HID is a modular framework, it can be integrated into various base SBR architectures, including GRU4Rec, STAMP, and GNN-based models.

Experimental Evaluation

The researchers evaluated HID using three real-world e-commerce datasets: Tmall, RetailRocket, and Diginetica. Data was split chronologically to reflect real-world deployment scenarios, with standard preprocessing to filter out noise.

Results and Key Insights

The HID framework consistently outperformed state-of-the-art long-tail plugins like TailNet, CSBR, and LOAM.

Breaking the Trade-off

As shown in the performance comparison, HID is the only method that significantly improves both accuracy and long-tail coverage simultaneously, effectively "breaking" the see-saw effect. On the Tmall dataset using the STAMP model, HID improved HR@20 from 26.10% to 28.26%.

Performance comparison showing HID achieving superior accuracy and long-tail coverage compared to base models and other plugins.

Key Takeaways

  • Noise Mitigation: The "see-saw" effect is largely driven by irrelevant tail items. By anchoring recommendations to a "Hybrid Intent," HID ensures that promoted rare items are semantically relevant.
  • Efficiency: The authors mathematically proved that the variance-minimization constraint can be approximated by aligning a session with its intent's centroid, ensuring computational efficiency.
  • Attribute Versatility: While HID performs best with explicit attributes, it remains robust using "semantic clusters" derived from item embeddings when attributes are unavailable.

Conclusion and Future Directions

HID represents a significant step toward balanced recommendation systems. While it currently relies on pre-computed spectral clustering and benefits from item attributes, future work could explore dynamic intent mapping or the use of Large Language Models (LLMs) to extract deeper semantic meanings from item descriptions.

Summary updated

BibTeX
@inproceedings{wang2026bid,
  author = {Xiao Wang and Ke Qin and Dongyang Zhang and Xiurui Xie and Shuang Liang},
  title = {{Bid Farewell to Seesaw: Towards Accurate Long-tail Session-based Recommendation via Dual Constraints of Hybrid Intents}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i19.38622},
}
Figure