arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.10728cs.LGcs.AIcs.IRcs.PF
收藏

用于高效排序学习的蒸馏神经网络

Distilled Neural Networks for Efficient Learning to Rank

University of Pisa(比萨大学);ISTI–CNR(ISTI-CNR研究所)

F. M. Nardini, C. Rulli, S. Trani, R. Venturini

AI总结:

本文结合知识蒸馏、结构化剪枝与快速稀疏矩阵乘法,从回归树集成中获得高效浅层排序神经网络,并通过评分时间预测模型设计满足效率约束的架构,在两个公开数据集上实现最高4倍加速且不损失排序质量。

摘要:

近期在 Learning to Rank(排序学习)中的研究表明,可以从回归树集成中有效蒸馏出神经网络。这一结果使神经网络成为排序任务中基于树的集成方法的天然竞争者。然而,回归树集成在效率和效果上都优于神经模型,尤其是在 CPU 上进行评分时。本文提出一种通过结合 Distillation(蒸馏)、Pruning(剪枝)和 Fast Matrix multiplication(快速矩阵乘法)来加快神经评分时间的方法。我们采用知识蒸馏,从回归树集成中学习浅层神经网络;随后利用一种面向效率的剪枝技术,对神经网络中计算量最大的层进行稀疏化,再使用优化的稀疏矩阵乘法进行评分。此外,通过研究稠密和稀疏高性能矩阵乘法,我们开发了一个评分时间预测模型,帮助设计符合期望效率要求的神经网络架构。在两个公开的排序学习数据集上的综合实验表明,与基于树的集成相比,我们的新方法生成的神经网络在效果—效率权衡的任意点上都具有竞争力,可在不影响排序质量的情况下提供最高 4 倍的评分时间加速。

英文摘要:

Recent studies in Learning to Rank have shown the possibility to effectively distill a neural network from an ensemble of regression trees. This result leads neural networks to become a natural competitor of tree-based ensembles on the ranking task. Nevertheless, ensembles of regression trees outperform neural models both in terms of efficiency and effectiveness, particularly when scoring on CPU. In this paper, we propose an approach for speeding up neural scoring time by applying a combination of Distillation, Pruning and Fast Matrix multiplication. We employ knowledge distillation to learn shallow neural networks from an ensemble of regression trees. Then, we exploit an efficiency-oriented pruning technique that performs a sparsification of the most computationally-intensive layers of the neural network that is then scored with optimized sparse matrix multiplication. Moreover, by studying both dense and sparse high performance matrix multiplication, we develop a scoring time prediction model which helps in devising neural network architectures that match the desired efficiency requirements. Comprehensive experiments on two public learning-to-rank datasets show that neural networks produced with our novel approach are competitive at any point of the effectiveness-efficiency trade-off when compared with tree-based ensembles, providing up to 4x scoring time speed-up without affecting the ranking quality.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑