通过样本高效排序蒸馏利用成对排序提示
Harnessing Pairwise Ranking Prompting Through Sample-Efficient Ranking Distillation
AI总结:
本文提出通过成对蒸馏将 PRP 的排序能力迁移到逐点学生模型,并证明仅用 2% 文档对即可达到与全量教师标签相同的性能,从而在蒸馏和推理阶段均大幅降低计算成本。
摘要:
虽然基于大语言模型(LLMs)的成对排序提示(Pairwise Ranking Prompting,PRP)是最有效的零样本文档排序方法之一,但它相对于待排序文档数量具有二次计算复杂度,因为它需要对所有可能的文档对进行枚举。因此,PRP 出色的排序性能在大多数现实世界的排序应用中仍然难以实现。在这项工作中,我们提出通过成对蒸馏来利用 PRP 的有效性。具体来说,我们从 PRP 生成的成对教师标签中蒸馏出一个逐点学生排序器,从而得到一个高效的学生模型,该模型在保持 PRP 性能的同时大幅降低计算成本。此外,我们发现蒸馏过程可以做到样本高效:仅使用 2% 的文档对,我们就能获得与使用全部文档对生成教师标签相同的性能。因此,我们的新方法提供了一种解决方案,可以在蒸馏和服务阶段都不产生高计算成本的情况下利用 PRP 的排序性能。
英文摘要:
While Pairwise Ranking Prompting (PRP) with Large Language Models (LLMs) is one of the most effective zero-shot document ranking methods, it has a quadratic computational complexity with respect to the number of documents to be ranked, as it requires an enumeration over all possible document pairs. Consequently, the outstanding ranking performance of PRP has remained unreachable for most real-world ranking applications. In this work, we propose to harness the effectiveness of PRP through pairwise distillation. Specifically, we distill a pointwise student ranker from pairwise teacher labels generated by PRP, resulting in an efficient student model that retains the performance of PRP with substantially lower computational costs. Furthermore, we find that the distillation process can be made sample-efficient: with only 2% of pairs, we are able to obtain the same performance as using all pairs for teacher labels. Thus, our novel approach provides a solution to harness the ranking performance of PRP without incurring high computational costs during both distillation and serving.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。