Skip to main content
QUICK REVIEW

[論文レビュー] Promptriever: Instruction-Trained Retrievers Can Be Prompted Like Language Models

Orion Weller, Benjamin Van Durme|arXiv (Cornell University)|Sep 17, 2024
Natural Language Processing TechniquesComputer Science被引用数 3
ひとこと要約

Promptriever は、言語モデルのようにプロンプトで制御できる最初のインstructチューニング済みのドレインリトリーバーを導入し、自然言語の指示を通じてクエリごとの関連性を動的に調整可能にした。MS MARCO から得た 500K の合成されたインストラクション拡張データセットで訓練された本モデルは、インストラクション遵守ベンチマーク(例:FollowIR での +14.3 p-MRR)で最先端の性能を達成し、クエリの表現方法の変化やプロンプトベースのハイパーパramータチューニングに対しても頑健であることを示した。

ABSTRACT

Instruction-tuned language models (LM) are able to respond to imperative commands, providing a more natural user interface compared to their base counterparts. In this work, we present Promptriever, the first retrieval model able to be prompted like an LM. To train Promptriever, we curate and release a new instance-level instruction training set from MS MARCO, spanning nearly 500k instances. Promptriever not only achieves strong performance on standard retrieval tasks, but also follows instructions. We observe: (1) large gains (reaching SoTA) on following detailed relevance instructions (+14.3 p-MRR / +3.1 nDCG on FollowIR), (2) significantly increased robustness to lexical choices/phrasing in the query+instruction (+12.9 Robustness@10 on InstructIR), and (3) the ability to perform hyperparameter search via prompting to reliably improve retrieval performance (+1.4 average increase on BEIR). Promptriever demonstrates that retrieval models can be controlled with prompts on a per-query basis, setting the stage for future work aligning LM prompting techniques with information retrieval.

研究の動機と目的

  • ドレインリトリーバーが、言語モデルが指示に応じて反応するのと同様に、自然言語のプロンプトによって制御可能になるようにすること。
  • 標準的な情報検索(IR)ファインチューニング後にインストラクション遵守能力を失う標準的リトリーバーの限界を解消すること。
  • インスタンスレベルの関連性定義とインストラクションネガティブを備えた多様で高品質なインストラクションベースのリトリーブデータセットを作成すること。
  • リトリーブモデルが、言語モデル(LM)で用いられるようなプロンプティング技術(ゼロショット適応やハイパーパramータ最適化)を活用できるかどうかを評価すること。
  • バイエンコーダーリトリーバーが、アーキテクチャの変更なしに強力なインストラクション遵守性能を達成できるかどうかを実証すること。

提案手法

  • インスタンスレベルの自然言語指示(関連性を定義)を備えた約 500K のクエリ-パassageペアからなる合成データセットを収集・公開した。
  • 大規模言語モデルを用いて、時間的要因、著者、形式などの制約を追加する多様で自由形式の指示を生成した。
  • 「インストラクションネガティブ」として、個別には関連性があるが、特定の指示下では関連性がなくなるパassageを導入し、モデルの識別能力を向上させた。
  • バックボーンのプロンプト遵守能力を保持したまま、バイエンコーダーリトリーバー(例:LLaMA-2 7B)をインストラクション拡張データセットでファインチューニングした。
  • ユーザーが自然言語で関連性を定義できるゼロショットプロンプティングを可能にした(例:「2022年以前の文書のみ含める」)。
  • BEIR および InstructIR におけるプロンプトの頑健性、インストラクション遵守、プロンプトベースのハイパーパramータサーチを通じて一般化性能を評価した。
Figure 1: An illustration of the capabilities of retrieval models. Standard retrieval models find semantic similarity to the input query, typically matching using query keywords and phrases. Current instructable retrievers prepend a dataset prefix that generically describes the task and is also used
Figure 1: An illustration of the capabilities of retrieval models. Standard retrieval models find semantic similarity to the input query, typically matching using query keywords and phrases. Current instructable retrievers prepend a dataset prefix that generically describes the task and is also used

実験結果

リサーチクエスチョン

  • RQ1ドレインリトリーブモデルは、言語モデルがプロンプトに応じて反応するのと同様に、クエリごとの自然言語指示に従えるように訓練可能か?
  • RQ2インストラクションチューニングは、クエリ+インストラクションの組み合わせにおける語彙的変動に対するリトリーバーの頑健性にどのように影響するか?
  • RQ3プロンプティングを用いて、再訓練なしにハイパーパramータ最適化をゼロショットで行えるか?性能向上が見られるか?
  • RQ4バイエンコーダーリトリーバーは、標準的な IR ファインチューニング後も、プロンプト遵守行動をどの程度維持できるか?
  • RQ5トレーニング時にインストラクションネガティブを含めることで、リトリーバーの複雑な関連性条件の解釈能力はどの程度向上するか?

主な発見

  • Promptriever は FollowIR ベンチマークで最先端の性能を達成し、先行手法と比較して p-MRR が +14.3、nDCG が +3.1 向上した。
  • クエリおよびインストラクションの表現方法の変化に対して顕著に頑健であることが示され、InstructIR ベンチマークで +12.9 Robustness@10 を達成した。
  • 自然言語指示によるプロンプトベースのハイパーパramータサーチにより、BEIR ベンチマークで平均 +1.4 の性能向上が得られた。
  • 再訓練なしに、複数条件を含む複雑な関連性指示(例:「共同監督でないかつ2022年以前のもの」)を正しく解釈できた。
  • トレーニング時にインストラクションネガティブを含めることで、関連性のあるパassageと条件付きで非関連となるパassageを区別する能力が向上した。
  • 固定されたデータセット全体のプレフィックスを用いる既存のインストラクションチューニング済みリトリーバーよりも優れた性能を示し、インスタンスレベルのプロンプティングの優位性を実証した。
Figure 2: The data generation process to generate instruction-based retrieval data. We take the initial query and relevant passage and prompt an LM to generate an instruction that would match that query. Note that the instruction adds extra qualifications to the definition of relevance . We then ask
Figure 2: The data generation process to generate instruction-based retrieval data. We take the initial query and relevant passage and prompt an LM to generate an instruction that would match that query. Note that the instruction adds extra qualifications to the definition of relevance . We then ask

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。