EasyRec: Simple yet Effective Language Models for Recommendation
About
Deep neural networks have emerged as a powerful technique for learning representations from user-item interaction data in collaborative filtering (CF) for recommender systems. However, many existing methods heavily rely on unique user and item IDs, which restricts their performance in zero-shot learning scenarios. Inspired by the success of language models (LMs) and their robust generalization capabilities, we pose the question: How can we leverage language models to enhance recommender systems? We propose EasyRec, an effective approach that integrates text-based semantic understanding with collaborative signals. EasyRec employs a text-behavior alignment framework that combines contrastive learning with collaborative language model tuning. This ensures strong alignment between text-enhanced semantic representations and collaborative behavior information. Extensive evaluations across diverse datasets show EasyRec significantly outperforms state-of-the-art models, particularly in text-based zero-shot recommendation. EasyRec functions as a plug-and-play component that integrates seamlessly into collaborative filtering frameworks. This empowers existing systems with improved performance and adaptability to user preferences. Implementation codes are publicly available at: https://github.com/HKUDS/EasyRec.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Recommendation | InstructRec Amazon Movietv (test) | HR@10.3731 | 15 | |
| Recommendation | InstructRec Amazon Book (test) | HR@130.7 | 10 | |
| Ranking | InstructRec Yelp | HR@132.41 | 10 | |
| Ranking | InstructRec Goodreads | HR@113.94 | 10 | |
| Echo Chamber Effect Evaluation | InstructRec Amazon Book | FR@168.41 | 5 | |
| Echo Chamber Effect Evaluation | InstructRec Yelp | FR@176.45 | 5 | |
| Personalized Recommendation | INSTRUCTREC-Yelp (test) | FR@176.45 | 5 | |
| Recommendation | INSTRUCTREC-Amazon Books | FR@168.41 | 5 | |
| Recommendation | INSTRUCTREC-GoodReads (test) | P-HR@114.22 | 5 |