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

TL;DR

The paper introduces HID (Hybrid Intent-based Dual Constraint Framework), a plug-and-play plugin for session-based recommenders that breaks the traditional "see-saw" trade-off between recommendation accuracy and long-tail item diversity. By clustering items into global hybrid intents and applying dual constraints during training, HID successfully filters out session-irrelevant noise while boosting the visibility of relevant tail items.

What Problem Does This Paper Address?

Session-based recommendation (SBR) systems predict an anonymous user's next action based on a brief sequence of interactions (e.g., an e-commerce shopping session). A persistent challenge in SBR is the heavy long-tail distribution of data: a handful of highly popular "head" items dominate user interactions, while the vast majority of "tail" items receive very little exposure.

When existing algorithms try to fix this by artificially promoting tail items, they hit a wall known as the "see-saw" effect: as long-tail diversity goes up, overall recommendation accuracy goes down. The authors identify the root cause of this conflict as session-irrelevant noise. Traditional long-tail methods indiscriminately push tail items into recommendations without checking if they actually match the user's current intent (for example, recommending a rare pair of socks in a session dedicated entirely to kitchenware).

Comparison of HID vs previous approaches

Methods

To turn the see-saw into a "win-win," HID introduces two core components:

  1. Hybrid Intent Learning: Instead of extracting user intent purely from a single, noisy session, HID looks globally. It first groups items by shared attributes (preliminary intents) and builds a global graph based on how frequently these attributes co-occur across all sessions. It then applies spectral clustering to define robust hybrid intents. For any given session, intents containing the ground-truth next item are labeled target intents, while others in the training mini-batch are treated as noise intents.
Hybrid Intent Learning and Assignment
  1. Intent Constraint Loss (ICLoss): HID introduces a novel loss function that applies dual constraints to the session representations:
  2. Constraint for Long-tail: Minimizes the variance of distances between the session embedding and all items within the target intent. This aligns the representations of head and tail items belonging to the same intent.
  3. Constraint for Accuracy: Maximizes the distance between the session embedding and noise intents, actively pushing irrelevant items away.

Datasets

The authors evaluated HID across three standard real-world e-commerce benchmarks:

  • Tmall: Shopping logs from the IJCAI-15 competition, characterized by longer average session lengths.
  • RetailRocket: A dataset containing user browsing behaviors on an e-commerce platform.
  • Diginetica: Transaction and click data from the CIKM Cup 2016.

Key Insights and Ideas

  • The Noise Culprit: The fundamental reason long-tail promotion hurts accuracy isn't a flaw in the tail items themselves, but rather the session-irrelevant noise introduced by undifferentiated boosting.
  • Global Intent Consistency: Session data is inherently noisy, but cross-session attribute co-occurrences provide a stable anchor for understanding high-level user intent.
  • Mathematical Efficiency: Minimizing the variance of distances to all items in a target intent is computationally expensive ($O(Nd)$). The authors mathematically prove this is equivalent to minimizing the distance to the average-pooled intent centroid, reducing the complexity to a highly efficient $O(d)$.

Key Results

HID was evaluated as a plugin across four diverse base SBR models (STAMP, GRU4Rec, SR-GNN, GCE-GNN) and compared against four state-of-the-art long-tail methods (TailNet, CSBR, LOAM, LAP-SR).

The framework consistently outperformed competitors, simultaneously improving both accuracy (Hit Ratio, MRR) and long-tail coverage (tCov):

  • Breaking the See-Saw: On the Tmall dataset using a GRU4Rec base, previous methods like LOAM improved tail coverage (from 49.60% to 58.76%) but degraded accuracy (HR@20 dropped from 19.69% to 18.40%). HID boosted tail coverage even further to 63.21% while increasing accuracy to 25.13%.
  • Model-Agnostic Success: Across all three datasets and all four base architectures, HID achieved the top performance in almost every metric, validating its capability as a robust, plug-and-play framework.

Limitations and Future Work

The primary formulation of HID relies on explicit item attributes (like categories or brands) to construct the preliminary intent graph. To address scenarios where metadata is missing, the authors successfully tested a variant using semantic clustering of raw embeddings (HID w/o attr.). However, this variant's performance is bound to the quality of the initial item embeddings.

The authors suggest that future work could explore more dynamic, hierarchical intent structures or extend the framework to handle multi-modal item features (such as text descriptions and product images).

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