Skip to main content
QUICK REVIEW

[Paper Review] RecBole: Towards a Unified, Comprehensive and Efficient Framework for Recommendation Algorithms

Wayne Xin Zhao, Shanlei Mu|arXiv (Cornell University)|Nov 3, 2020
Recommender Systems and TechniquesComputer Science95 references39 citations
TL;DR

RecBole presents a unified PyTorch-based recommender library implementing 73 models across 28 datasets, with standardized data, model, and evaluation modules to enhance reproducibility and efficiency.

ABSTRACT

In recent years, there are a large number of recommendation algorithms proposed in the literature, from traditional collaborative filtering to deep learning algorithms. However, the concerns about how to standardize open source implementation of recommendation algorithms continually increase in the research community. In the light of this challenge, we propose a unified, comprehensive and efficient recommender system library called RecBole, which provides a unified framework to develop and reproduce recommendation algorithms for research purpose. In this library, we implement 73 recommendation models on 28 benchmark datasets, covering the categories of general recommendation, sequential recommendation, context-aware recommendation and knowledge-based recommendation. We implement the RecBole library based on PyTorch, which is one of the most popular deep learning frameworks. Our library is featured in many aspects, including general and extensible data structures, comprehensive benchmark models and datasets, efficient GPU-accelerated execution, and extensive and standard evaluation protocols. We provide a series of auxiliary functions, tools, and scripts to facilitate the use of this library, such as automatic parameter tuning and break-point resume. Such a framework is useful to standardize the implementation and evaluation of recommender systems. The project and documents are released at https://recbole.io/.

Motivation & Objective

  • Motivate the need for standardized, reproducible implementations of recommendation algorithms across diverse tasks.
  • Provide a unified framework that integrates data, models, and evaluation to facilitate fair comparisons and rapid development.
  • Offer extensive datasets, models, and tooling to support reproducible research and benchmarks in recommender systems.

Proposed method

  • Implement a unified, PyTorch-based library with three core modules: data, model, and evaluation, all configurable via a central framework.
  • Introduce a general data flow from raw input to internal Representation (Interaction) to model inputs, using six atomic file types to cover mainstream tasks.
  • Provide 73 implemented models across general, sequential, context-aware, and knowledge-based recommendation categories, with a unified interface for training and testing (calculate_loss and predict).
  • Incorporate GPU-accelerated execution and an acceleration strategy for top-K evaluation by transforming full/sampled ranking into a uniform matrix form and using efficient topk on GPUs.
  • Support extensive evaluation protocols (full ranking and sample-based ranking) and multiple data-splitting and sorting options through Group, Split, Order, and NegSample interfaces.

Experimental results

Research questions

  • RQ1How can a unified framework standardize the development and evaluation of diverse recommendation algorithms?
  • RQ2What data, model, and evaluation abstractions best support reproducible research across general, sequential, context-aware, and knowledge-based recommendation tasks?
  • RQ3What is the impact of GPU-accelerated execution and evaluation acceleration on the efficiency of top-K recommendations?
  • RQ4How well can a comprehensive set of datasets and models be integrated to enable fair, comparable benchmarking?
  • RQ5What tooling (automatic parameter tuning, break-point resume) enhances usability and reproducibility in recommender research?

Key findings

  • RecBole implements 73 models over 28 datasets, spanning multiple recommendation categories, to standardize development and evaluation.
  • The library provides unified data structures (atomic files and Interaction) and a configurable workflow that simplifies adding new models.
  • GPU-accelerated execution and a dedicated top-K acceleration strategy substantially improve evaluation efficiency across datasets, including large ones like MovieLens-10M.
  • Automatic parameter tuning and break-point resume are supported to enhance reproducibility and experimentation efficiency.
  • The framework supports diverse evaluation protocols, including full and sampled ranking, with flexible data splitting and item ordering options.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.