RecBole is a Python and PyTorch library for reproducing and developing recommendation algorithms in one framework. It targets academic research with many models, datasets, and evaluation settings.
Overview
RecBole helps researchers reproduce, compare, and extend recommendation algorithms without rebuilding pipelines for each paper. It is built on Python and PyTorch and is meant as a unified framework for recommender-system research.
The library implements a large set of recommendation models grouped into general, sequential, context-aware, and knowledge-based recommendation. It also offers extension packages for newer topics such as graph neural networks, fairness, and debiasing. A common data format and scripts let you prepare data or download preprocessed benchmark datasets.
GPU-oriented execution, configurable hyperparameter search, and standard evaluation protocols support benchmarking across models and datasets. Documentation, FAQs, and quick-start scripts cover typical runs such as training a baseline model on a sample dataset.
You install RecBole via pip, conda, or from source. Documented operating environments include Linux, Windows 10, and macOS, with Python and PyTorch version requirements described in the install notes.
Key features
- 94 recommendation algorithm implementations
- 44 formatted benchmark datasets
- Unified extensible dataset format
- Four recommendation task categories
- GPU-accelerated training support
- Standard evaluation protocols
- Hyperparameter auto-tuning helpers
- RecBole2.0 extension packages
Use cases
- Reproducing published recommender results
- Benchmarking new recommendation models
- Teaching recommender-system algorithms
- Sequential and knowledge-graph recommendation research