评估 RecBole 和 LensKit 中 itemKNN 的性能偏差
Evaluating the performance-deviation of itemKNN in RecBole and LensKit
AI总结:
本研究比较 RecBole 与 LensKit 中 ItemKNN 的性能,发现相似度矩阵计算差异导致偏差,调整后两者 nDCG 几乎一致。
摘要:
本研究考察了基于物品的 k 近邻(ItemKNN)算法在 RecBole 和 LensKit 推荐系统库中的性能。使用四个数据集(Anime、Modcloth、ML-100K 和 ML-1M),我们评估了每个库的效率、准确性和可扩展性,主要关注归一化折损累计增益(nDCG)。我们的结果表明,在 ML-100K 数据集上,RecBole 在三个指标中的两个上优于 LensKit:其 nDCG 高出 18%,精确率高出 14%,召回率低 35%。为确保公平比较,我们调整了 LensKit 的 nDCG 计算方式以匹配 RecBole 的方法。这种对齐使性能更具可比性,LensKit 的 nDCG 为 0.2540,而 RecBole 为 0.2674。相似度矩阵计算的差异被确定为性能偏差的主要原因。在修改 LensKit 仅保留前 K 个相似物品后,两个库在所有数据集上的 nDCG 值几乎相同。例如,在 ML-1M 数据集上,使用相同随机种子,两者均达到 0.2586 的 nDCG。最初,LensKit 的原始实现仅在 ModCloth 数据集上超过了 RecBole。
英文摘要:
This study examines the performance of item-based k-Nearest Neighbors (ItemKNN) algorithms in the RecBole and LensKit recommender system libraries. Using four data sets (Anime, Modcloth, ML-100K, and ML-1M), we assess each library's efficiency, accuracy, and scalability, focusing primarily on normalized discounted cumulative gain (nDCG). Our results show that RecBole outperforms LensKit on two of three metrics on the ML-100K data set: it achieved an 18% higher nDCG, 14% higher precision, and 35% lower recall. To ensure a fair comparison, we adjusted LensKit's nDCG calculation to match RecBole's method. This alignment made the performance more comparable, with LensKit achieving an nDCG of 0.2540 and RecBole 0.2674. Differences in similarity matrix calculations were identified as the main cause of performance deviations. After modifying LensKit to retain only the top K similar items, both libraries showed nearly identical nDCG values across all data sets. For instance, both achieved an nDCG of 0.2586 on the ML-1M data set with the same random seed. Initially, LensKit's original implementation only surpassed RecBole in the ModCloth dataset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。