Research paper for sequential recommendations
Top 69.8% on sourcepulse
This repository provides HLLM, a framework for enhancing sequential recommendation systems by leveraging Hierarchical Large Language Models for item and user modeling. It targets researchers and practitioners in recommendation systems seeking to improve performance by incorporating rich textual item descriptions and user interaction histories. The primary benefit is improved recommendation accuracy through sophisticated language understanding.
How It Works
HLLM employs a hierarchical approach, processing item text (title, description) and user interaction sequences using separate LLMs. It then fuses these representations to model user preferences and predict the next item. This method allows for capturing nuanced item semantics and long-range user behavior patterns, outperforming traditional ID-based methods by effectively utilizing rich textual metadata.
Quick Start & Requirements
pip3 install -r requirements.txt
fbgemm-gpu
for HSTU, sentencepiece
for Baichuan2.Highlighted Details
gradient_checkpointing
, stage 3
).Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The framework requires significant computational resources for training and inference due to the use of large language models. Specific dataset formatting and pre-trained model acquisition are necessary prerequisites.
10 months ago
1 week