[Paper Review] DeepRec: An Open-source Toolkit for Deep Learning based Recommendation
DeepRec is an open-source, TensorFlow-based toolkit that provides a unified, extensible framework for deep learning-based recommendation systems, supporting rating prediction, top-N ranking, and sequential recommendation. It enables easy reproduction and extension of over 20 state-of-the-art deep learning models with GPU acceleration and standardized evaluation metrics.
Deep learning based recommender systems have been extensively explored in recent years. However, the large number of models proposed each year poses a big challenge for both researchers and practitioners in reproducing the results for further comparisons. Although a portion of papers provides source code, they adopted different programming languages or different deep learning packages, which also raises the bar in grasping the ideas. To alleviate this problem, we released the open source project: extbf{DeepRec}. In this toolkit, we have implemented a number of deep learning based recommendation algorithms using Python and the widely used deep learning package - Tensorflow. Three major recommendation scenarios: rating prediction, top-N recommendation (item ranking) and sequential recommendation, were considered. Meanwhile, DeepRec maintains good modularity and extensibility to easily incorporate new models into the framework. It is distributed under the terms of the GNU General Public License. The source code is available at github: \url{https://github.com/cheungdaven/DeepRec}
Motivation & Objective
- Address the challenge of reproducing deep learning-based recommendation models due to inconsistent codebases, programming languages, and deep learning frameworks.
- Provide a unified, modular, and extensible framework that supports multiple recommendation scenarios using a single deep learning backend.
- Lower the barrier to entry for researchers and practitioners by offering standardized implementations of state-of-the-art models with consistent evaluation metrics.
- Enable efficient training on large-scale datasets through GPU utilization and integration with TensorFlow.
- Extend beyond existing tools by including sequence-aware recommendation models, which are absent in most prior open-source libraries.
Proposed method
- Architect the toolkit around three core components: recommender (model implementations), backend (TensorFlow, NumPy, Scikit-learn, etc.), and utility (data preprocessing and evaluation functions).
- Implement a diverse set of deep learning-based recommendation models across three main scenarios: rating prediction, top-N recommendation, and sequential recommendation.
- Support both deep learning and traditional models (e.g., biasedSVD, FM, BPRMF) within the same framework using TensorFlow for end-to-end differentiability and GPU acceleration.
- Use standardized data formats (e.g., libfm-compatible for FM) and evaluation metrics (RMSE, MAE, Recall@n, NDCG, MRR) to ensure consistency and comparability.
- Design the framework with modularity in mind, allowing users to easily plug in new models and evaluation protocols.
- Ensure compatibility with modern deep learning practices by leveraging TensorFlow’s computational graph and eager execution support.
Experimental results
Research questions
- RQ1How can a unified open-source toolkit reduce the difficulty of reproducing deep learning-based recommendation models across diverse implementations?
- RQ2To what extent can a single framework support diverse recommendation scenarios—rating prediction, top-N ranking, and sequential recommendation—within a consistent interface?
- RQ3What is the impact of using a standardized deep learning backend (TensorFlow) on model extensibility, performance, and GPU utilization in recommendation systems?
- RQ4How does DeepRec compare to existing open-source recommendation libraries in terms of model coverage, GPU support, and support for modern deep learning architectures?
- RQ5Can a modular and extensible framework effectively integrate both classical and state-of-the-art deep learning recommendation models in a single, maintainable codebase?
Key findings
- DeepRec supports over 20 state-of-the-art deep learning-based recommendation models across three major recommendation scenarios, significantly outpacing existing libraries like OpenRec, which only implements four deep learning models.
- The toolkit is the first open-source library to include sequence-aware recommendation models such as Caser, AttRec, and GRU-based models, filling a key gap in existing frameworks.
- DeepRec enables GPU acceleration through TensorFlow, making it scalable for large-scale datasets and efficient training of complex models.
- The framework provides consistent evaluation metrics (e.g., RMSE, Recall@n, NDCG) across all model types, facilitating fair and direct comparison of results.
- DeepRec’s modular architecture allows for easy integration of new models, enhancing extensibility and long-term maintainability compared to monolithic or outdated libraries.
- Compared to libraries like Suprise, MyMediaLite, and LibRec, DeepRec uniquely supports deep learning models and GPU usage, while also offering a more comprehensive model coverage than OpenRec.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.