Hierarchical Intent-guided Optimization with Pluggable LLM-Driven Semantics for Session-based Recommendation

Jinpeng Chen, Jianxiang He, Huan Li, Senzhang Wang, Yuan Cao, Kaimin Wei, Zhenye Yang, Ye Ji

Abstract

Session-based Recommendation (SBR) aims to predict a user's next interaction based on short, anonymous sequences. Traditional SBR models often struggle with the "ID co-occurrence trap"—where semantically related items are ignored due to lack of historical co-occurrence—and "cross-session noise" from irrelevant collaborative signals. This paper introduces HIPHOP, a novel framework that integrates pluggable LLM-driven semantic embeddings with hierarchical graph neural networks. By leveraging rich item metadata and multi-intent modeling, HIPHOP effectively filters cross-session noise and captures deep semantic relationships. Experimental results demonstrate that HIPHOP significantly outperforms existing state-of-the-art models, particularly on datasets where semantic understanding is paramount.

Introduction: The Bottlenecks of Session-Based Recommendation

Session-based Recommendation (SBR) systems are essential for platforms where user identity is unknown. However, current state-of-the-art models face two significant hurdles:

  1. The ID Co-occurrence Trap: Most models learn item relationships based solely on how frequently item IDs appear together. This fails when items are semantically similar (e.g., different brands of smartwatches) but rarely co-occur in the training data.
  2. Cross-Session Noise: While collaborative signals from other users' sessions are useful, they often introduce noise. A random click in a similar session can lead to irrelevant recommendations.
Challenges in SBR: (a) Cross-session noise and (b) semantic similarity without co-occurrence.

Methodology: The HIPHOP Framework

To overcome these challenges, we propose HIPHOP (Hierarchical Intent-guided Optimization with Pluggable LLM-Driven Semantics). The model utilizes a multi-stage architecture to refine session representations.

The HIPHOP architecture, featuring hierarchical intent-guided optimization and pluggable LLM-driven semantics.

Pluggable LLM-Driven Semantic Embeddings

HIPHOP bypasses the ID co-occurrence trap by using Large Language Models (LLMs) to generate semantic vectors from item metadata (titles, descriptions, categories). This module is "pluggable," meaning it can be integrated into various SBR architectures to provide immediate performance boosts by grounding item IDs in natural language semantics.

Intra-Session and Multi-Intent Modeling

The model uses Graph Neural Networks (GNNs) to capture immediate item transitions within a session. A dynamic multi-head attention mechanism then extracts multiple "intents" from these transitions, allowing the model to understand diverse user motivations (e.g., price sensitivity vs. brand loyalty).

Hierarchical Denoising and Contrastive Learning

HIPHOP builds hierarchical similarity graphs—Global (long-term) and Local (short-term)—to leverage cross-session data. Crucially, the captured intents serve as a filter to denoise these graphs, ensuring only relevant collaborative signals are used. Finally, the model employs contrastive learning with hard negative sampling to sharpen the distinction between truly similar sessions and deceptive "hard negatives."

Experiments and Results

The authors evaluated HIPHOP against five datasets: standard benchmarks (Diginetica, Yoochoose) and three newly curated Amazon datasets (Luxury Beauty, Musical Instruments, Prime Pantry) that include rich metadata.

HIPHOP achieved state-of-the-art results across the board:

  • Standard Benchmarks: On Diginetica, HIPHOP reached a Hit Rate (HR@20) of 62.11%, an 11.59% relative improvement over the best baseline.
  • Semantic Datasets: On the Amazon datasets, performance gains were even more dramatic, with relative improvements ranging from 28.65% to 79.26%. This confirms that LLM-driven semantics provide a decisive advantage when metadata is available.

Conclusion

HIPHOP demonstrates that combining LLM-driven semantic understanding with hierarchical intent-guided denoising significantly advances SBR. While the model shows sensitivity to certain hyperparameters like contrastive loss weight, its ability to bridge the semantic gap and filter collaborative noise sets a new standard for the field. Future work will explore multimodal data to further enhance recommendation robustness.

Summary updated

BibTeX
@inproceedings{chen2025hierarchical,
  author = {Jinpeng Chen and Jianxiang He and Huan Li and Senzhang Wang and Yuan Cao and Kaimin Wei and Zhenye Yang and Ye Ji},
  title = {{Hierarchical Intent-guided Optimization with Pluggable LLM-Driven Semantics for Session-based Recommendation}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2025},
  doi = {10.1145/3726302.3729994},
}
Figure