Skip to main content
QUICK REVIEW

[论文解读] InPars-Light: Cost-Effective Unsupervised Training of Efficient Rankers

Leonid Boytsov, Preksha Patel|arXiv (Cornell University)|Jan 8, 2023
Mobile Crowdsensing and CrowdsourcingComputer Science被引用 3
一句话总结

InPars-Light 是一种经济高效的无监督方法,仅使用开源 BLOOM 语言模型和小型交叉编码器模型(如参数量为 30M 的 MiniLM)即可训练高效的神经排序模型。通过结合全领域预训练与经过一致性检查的数据微调,其在五个英文检索数据集上的表现相较 BM25 提升了 7–30%,优于参数更大的 MonoT5-3B 模型,且仅对 100 篇文档进行重排序,而非原始 InPars 方法中的 1000 篇。

ABSTRACT

We carried out a reproducibility study of InPars, which is a method for unsupervised training of neural rankers (Bonifacio et al., 2022). As a by-product, we developed InPars-light, which is a simple-yet-effective modification of InPars. Unlike InPars, InPars-light uses 7x-100x smaller ranking models and only a freely available language model BLOOM, which -- as we found out -- produced more accurate rankers compared to a proprietary GPT-3 model. On all five English retrieval collections (used in the original InPars study) we obtained substantial (7%-30%) and statistically significant improvements over BM25 (in nDCG and MRR) using only a 30M parameter six-layer MiniLM-30M ranker and a single three-shot prompt. In contrast, in the InPars study only a 100x larger monoT5-3B model consistently outperformed BM25, whereas their smaller monoT5-220M model (which is still 7x larger than our MiniLM ranker) outperformed BM25 only on MS MARCO and TREC DL 2020. In the same three-shot prompting scenario, our 435M parameter DeBERTA v3 ranker was at par with the 7x larger monoT5-3B (average gain over BM25 of 1.3 vs 1.32): In fact, on three out of five datasets, DeBERTA slightly outperformed monoT5-3B. Finally, these good results were achieved by re-ranking only 100 candidate documents compared to 1000 used by Bonifacio et al. (2022). We believe that InPars-light is the first truly cost-effective prompt-based unsupervised recipe to train and deploy neural ranking models that outperform BM25. Our code and data is publicly available. https://github.com/searchivarius/inpars_light/

研究动机与目标

  • 探究在无指令微调的情况下,大规模下一个词预测训练是否会使大型开源语言模型中涌现出信息检索能力。
  • 评估开源语言模型(BLOOM、GPT-J)与专有模型(GPT-3 Curie)在生成合成 IR 训练数据方面的有效性。
  • 评估在重排序设置中,一致性检查是否能提升无监督神经排序模型的训练效果。
  • 确定小型高效的 BERT 基础交叉编码器(如 MiniLM)是否能在无监督训练中超越大型模型(如 MonoT5-3B)。
  • 开发一种实用、低成本的神经排序模型训练与部署方案,使其在无需昂贵数据或模型的情况下超越 BM25。

提出的方法

  • 使用开源 BLOOM 语言模型(1760 亿参数)生成用于领域内训练数据的合成查询。
  • 采用两阶段流程训练小型交叉编码器排序模型(MiniLM-L6-30M,DeBERTA-v3-435M):先进行全领域预训练,再进行领域内微调。
  • 利用强模型(DeBERTA-v3-435M)对合成训练数据进行一致性检查,以过滤掉低质量或不一致的查询-文档对。
  • 每条查询仅对 100 篇候选文档进行重排序,与原始 InPars 方法相比显著降低了推理成本。
  • 结合全领域预训练与一致性检查数据的微调,以提升模型的泛化能力和性能。
  • 仅使用单张 RTX 3090 GPU 完成训练与推理,实现了低成本、实用化的部署。

实验结果

研究问题

  • RQ1仅通过大规模下一个词预测训练,而不进行指令微调,大型语言模型中是否能涌现出信息检索能力?
  • RQ2在生成合成 IR 训练数据方面,开源语言模型(如 GPT-J)是否比专有模型(如 GPT-3 Curie)更有效或更无效?
  • RQ3在无监督重排序设置中,一致性检查是否能提升模型性能?该方法是否可推广至检索器训练之外的场景?
  • RQ4在无监督训练中,小型 BERT 基础交叉编码器(如 MiniLM)能否达到甚至超越大型 MonoT5-3B 模型的性能?
  • RQ5在无监督设置中,小型高效排序模型(如参数量为 3000 万的 MiniLM)是否能稳定地超越 BM25?

主要发现

  • 开源语言模型(如 BLOOM 和 GPT-J)生成的合成查询与 GPT-3 Curie 生成的查询效果相当,且生成成本降低了约 10 倍。
  • 在一致性检查数据上进行微调,显著提升了模型性能,即使使用小型模型也优于标准 InPars 训练方法。
  • 3000 万参数的 MiniLM-L6 模型在全部五个检索数据集上,nDCG@K 和 MRR 指标均比 BM25 提升 7–30%,而原始 InPars 研究中仅 MonoT5-3B 模型取得成功。
  • 4.35 亿参数的 DeBERTA-v3 模型在五个数据集中的三个上达到或略优于 7 倍参数量的 MonoT5-3B 模型,且仅对 100 篇文档进行重排序。
  • 训练与推理成本大幅降低:使用云 GPU 生成查询的成本每数据集低于 10 美元,且在 RTX 3090 上使用 MiniLM 对 100 篇文档进行重排序的延迟低于 1 秒。
  • 全领域预训练后接一致性检查数据的微调,是使小型模型超越 BM25 的关键,解决了标准 InPars 方法在小型模型上失败的问题。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。