TL;DR
The "see-saw" effect in recommendation systems—where improving diversity (long-tail items) usually hurts accuracy—is a long-standing hurdle. This paper introduces HID (Hybrid Intent-based Dual Constraint Framework), a plug-and-play module that achieves a "win-win" by using attribute-aware spectral clustering to distinguish between relevant tail items and session-irrelevant noise.
What Problem Does This Paper Address?
Session-based recommendation (SBR) predicts a user's next move based on a short sequence of anonymous interactions (like a single shopping session). A major challenge here is the long-tail distribution: a few "head" items get all the attention, while the vast majority of "tail" items are ignored.
Existing solutions usually try to "force" the model to recommend more tail items. However, this often leads to the "see-saw" effect: as long-tail coverage goes up, recommendation accuracy goes down. The authors argue this happens because existing models fail to distinguish between a relevant tail item and noise. If a user is looking at kitchenware, recommending a rare "tail" item in the clothing category just because it's a tail item is noisy and hurts the user experience.
Methods
The authors propose the HID framework, which consists of two main components:
- Hybrid Intent Learning:
- Instead of looking at items in isolation, the model groups them into "intents."
- Step 1: It creates "preliminary intents" by grouping items that share attributes (e.g., all items in the "Food" category).
- Step 2: It builds a graph where edges represent how often these attributes co-occur across all sessions.
- Step 3: It uses spectral clustering on this graph to form "Hybrid Intents." This captures both semantic similarity (attributes) and behavioral patterns (co-occurrence).
- For any given session, the intent containing the ground-truth next item is labeled the Target Intent, while intents from other sessions in the training batch are labeled Noise Intents.
- Intent Constraint Loss (ICLoss):
- This is a dual-objective loss function designed to regulate the session's representation in vector space.
- Constraint for Long-tail: It minimizes the distance between the session embedding and the Target Intent. This ensures the model learns to associate the session with the correct niche, even if the target is a rare tail item.
- Constraint for Accuracy: It maximizes the distance between the session and Noise Intents. By "repelling" irrelevant intents, it prevents the model from making noisy, inaccurate recommendations.
- The authors include a Flexible Coefficient ($\sigma$) to adjust the margin between target and noise, allowing the model to handle ambiguous sessions more gracefully.
Datasets
The framework was evaluated on three widely used e-commerce benchmarks:
- Tmall: Shopping logs from the Tmall online platform.
- Diginetica: Data from the CIKM Cup 2016, containing typical transaction and query logs.
- RetailRocket: A dataset containing six months of real-world visitor behavior (views, adds-to-cart, and transactions).
Key Insights and Ideas
- Tail Items $\neq$ Noise: The core "aha moment" is that the see-saw effect isn't inevitable. The drop in accuracy isn't caused by tail items themselves, but by the model's inability to filter out irrelevant tail items.
- Attributes as an Anchor: By using item attributes (like category or brand) to form preliminary intents, the model gains a "prior" that helps it understand rare items that don't have much interaction data.
- The Power of Repulsion: Most recommendation losses focus only on pulling the "correct" item closer. HID shows that explicitly pushing "noise" intents away is crucial for maintaining accuracy when trying to boost diversity.
- Plug-and-Play: HID is model-agnostic. It can be added to existing SBR architectures (like GRU4Rec or GNN-based models) as an auxiliary loss during training.
Key Results
The authors tested HID against several state-of-the-art long-tail plugins (like TailNet and LOAM) across four different base models (STAMP, GRU4Rec, SRGNN, and GCEGNN).
- Win-Win Performance: Unlike competitors that saw accuracy drop when tail coverage rose, HID improved both. For example, on the Tmall dataset using the STAMP model, HID improved HR@20 (Accuracy) from 26.10 to 28.26 and tCov@20 (Tail Coverage) from 69.46 to 73.65.
- Consistency: HID established new state-of-the-art results across almost all metrics (HR, MRR, and tail-specific metrics) on all three datasets.
- Ablation Success: Removing either the Hybrid Intent module or the Flexible Coefficient led to performance degradation, proving that both the "smart grouping" and the "dual constraints" are necessary.
Limitations and Future Work
- Static Intents: The hybrid intents are pre-computed before training. While this is efficient, it means the intent structure doesn't evolve as the model learns better item embeddings.
- Attribute Dependency: The method relies on having access to item attributes. In scenarios where metadata is sparse or low-quality, the "Preliminary Intent" stage might be less effective.
- Future Directions: The authors suggest exploring how these hybrid intents might work in cross-domain recommendations or how to make the intent assignment more dynamic during the inference phase.
Summary updated