Paper - [ArXiv]
- Enhancing High-order Interaction Awareness in LLM-based Recommender Model, EMNLP 2024 Main.
- Xinfeng Wang, Jin Cui, Fumiyo Fukumoto, and Yoshimi Suzuki.
- The checkpoints of ELMRec were uploaded on Google Drive.
- If you have any questions, please feel free to contact me at kaysenn@163.com.
>> pip install -r requirements.txt
>> python pretrain.py ./data/{dataset}/ --cuda --batch_size 64 --checkpoint ./checkpoint/{dataset}/
>> python seq_reranker.py ./data/{dataset}/ --cuda --batch_size 16 --checkpoint ./checkpoint/{dataset}/
>> python topn.py ./data/{dataset}/ --cuda --batch_size 16 --checkpoint ./checkpoint/{dataset}/
>> python exp.py ./data/{dataset}/ --cuda --batch_size 16 --checkpoint ./checkpoint/{dataset}/
Dataset | Direct Recommendation | Sequential Recommendation | ||||||
---|---|---|---|---|---|---|---|---|
α | σ | N | L | α | σ | N | L | |
Sports | 5 | 5 | 10 | 4 | 11 | 5 | 10 | 4 |
Beauty | 9 | 6 | 15 | 4 | 6 | 6 | 15 | 4 |
Toys | 9 | 5 | 10 | 4 | 5 | 5 | 10 | 4 |
If this repository helps you, please cite:
@article{wang2024enhancing,
title={Enhancing High-order Interaction Awareness in LLM-based Recommender Model},
author={Wang, Xinfeng and Cui, Jin and Fukumoto, Fumiyo and Suzuki, Yoshimi},
journal={arXiv preprint arXiv:2409.19979},
year={2024}
}