
软件学报 ISSN 1000-9825, CODEN RUXUEW E-mail: jos@iscas.ac.cn
Journal of Software, 2022,33(4):1430−1438 [doi: 10.13328/j.cnki.jos.006473] http://www.jos.org.cn
©中国科学院软件研究所版权所有. Tel: +86-10-62562563
ReChorus: 综合高效易扩展的轻量级推荐算法框架
∗
王晨阳
1,2
,
任
一
1,2
,
马为之
1,2
,
张
敏
1,2
,
刘奕群
1,2
,
马少平
1,2
1
(清华大学 计算机科学与技术系, 北京 100084)
2
(北京信息科学与技术国家研究中心(清华大学), 北京 100084)
通信作者: 张敏, E-mail: z-m@tsinghua.edu.cn
摘 要: 近年来, 各种各样的推荐算法层出不穷, 特别是深度学习的发展, 极大地推动了推荐系统的研究. 然而,
各个推荐算法在实现细节、评价方式、数据集处理等方面存在众多差异, 越来越多的研究者开始对推荐领域的可
复现性产生担忧. 为了帮助缓解上述问题, 基于 PyTorch 实现了一个综合、高效、易扩展的轻量级推荐算法框架
ReChorus, 意为构建一个推荐算法的“合唱团”. ReChorus 框架中实现了多种不同类型的推荐算法, 类别涵盖常规
推荐、序列推荐、引入知识图谱的推荐、引入时间动态性的推荐等; 同时, 对于一些常见的数据集也提供统一的
预处理范式. 相比其他推荐系统库, ReChorus 在保证综合高效的基础上尽可能做到了轻量实用, 同时具有较高的
可扩展性, 尤其以方便学术研究为导向, 非常容易上手实现新的模型. 不同的推荐算法在 ReChorus 框架中能够在
相同的实验设定下进行训练和评测, 从而实现推荐算法间的有效对比. 该项目目前已在 GitHub 发布: https://
github.com/THUwangcy/ReChorus.
关键词: 推荐系统; 深度学习; 可复现性; 推荐算法框架; 软件工具包
中图法分类号: TP18
中文引用格式: 王晨阳, 任一, 马为之, 张敏, 刘奕群, 马少平. ReChorus: 综合高效易扩展的轻量级推荐算法框架. 软件学
报, 2022, 33(4): 1430–1438. http://www.jos.org.cn/1000-9825/6473.htm
英文引用格式: Wang CY, Ren Y, Ma WZ, Zhang M, Liu YQ, Ma SP. ReChorus: Comprehensive, Efficient, Flexible, and
Lightweight Framework for Recommendation Algorithms. Ruan Jian Xue Bao/Journal of Software, 2022, 33(4): 1430−1438 (in
Chinese). http://www.jos.org.cn/1000-9825/6473.htm
ReChorus: Comprehensive, Efficient, Flexible, and Lightweight Framework for Recommendation
Algorithms
WANG Chen-Yang
1,2
, REN Yi
1,2
, MA Wei-Zhi
1,2
, ZHANG Min
1,2
, LIU Yi-Qun
1,2
, MA Shao-Ping
1,2
1
(Department of Computer Science and Technology, Tsinghua University, Beijing 100084, China)
2
(Beijing National Research Center for Information Science and Technology (Tsinghua University), Beijing 100084, China)
Abstra ct : In recent years, many recommendation algorithms have been proposed, and the research of recommender system has been
greatly boosted with the development of deep learning. However, concerns about the reproducibility in this field have increasingly arisen
in the research community, owing to the slight but influential differences between recommendation algorithms, such as implementation
details, evaluation protocols, dataset splitting, etc. To address this issue, ReChorus is presented, of which it is a comprehensive, efficient,
flexible, and lightweight framework for recommendation algorithms based on PyTorch, with aims to form a “Chorus” of recommendation
algorithms. In this framework, a wide range of recommendation algorithms of different categories is implemented, covering general
recommendation, sequential recommendation, knowledge-aware recommendation, and time-aware recommendation. ReChorus also
provides the paradigm of dataset preprocessing for some common datasets. Compared to other recommendation algorithm libraries,
∗ 基金项目: 国家重点研发计划(2018YFC0831900); 国家自然科学基金(61672311, 61532011, 62002191); 清华大学国强研究院
资助
本文由“面向开放场景的鲁棒机器学习”专刊特约编辑陈恩红教授、李宇峰副教授、邹权教授推荐.
收稿时间: 2021-05-25; 修改时间: 2021-07-16; 采用时间: 2021-08-27; jos 在线出版时间: 2021-10-26
评论