Skip to main content
QUICK REVIEW

[論文レビュー] LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusion

Dongfu Jiang, Xiang Ren|arXiv (Cornell University)|Jun 5, 2023
Natural Language Processing TechniquesComputer Science被引用数 9
ひとこと要約

LLM-Blender は PairRanker(ペアワイズランキングモジュール)と GenFuser(生成的融合モジュール)を組み合わせ、MixInstruct をこのタスクのベンチマークとして導入することで、オープンソース LLM を組み合わせたエンサンブルを可能にします。個別モデルやベースラインのエンサンブル手法よりも優れた性能を達成します。

ABSTRACT

We present LLM-Blender, an ensembling framework designed to attain consistently superior performance by leveraging the diverse strengths of multiple open-source large language models (LLMs). Our framework consists of two modules: PairRanker and GenFuser, addressing the observation that optimal LLMs for different examples can significantly vary. PairRanker employs a specialized pairwise comparison method to distinguish subtle differences between candidate outputs. It jointly encodes the input text and a pair of candidates, using cross-attention encoders to determine the superior one. Our results demonstrate that PairRanker exhibits the highest correlation with ChatGPT-based ranking. Then, GenFuser aims to merge the top-ranked candidates, generating an improved output by capitalizing on their strengths and mitigating their weaknesses. To facilitate large-scale evaluation, we introduce a benchmark dataset, MixInstruct, which is a mixture of multiple instruction datasets featuring oracle pairwise comparisons. Our LLM-Blender significantly outperform individual LLMs and baseline methods across various metrics, establishing a substantial performance gap.

研究の動機と目的

  • さまざまなオープンソース LLM のダイナミックなエンサンブルを促進し、単一モデルよりも優れた性能を発揮させる。
  • 候補出力間の微妙な差を捉えるペアワイズランキングモジュールを開発する。
  • トップ候補を組み合わせて優れた最終出力を生成する生成的融合モジュールを開発する。
  • オラクル型のペアワイス比較を用いてエンサンブル性能を評価する MixInstruct を評価ベンチマークとして提供する。
  • エンサンブルが指示に従うタスク全般でロバスト性と整合性の向上をもたらすことを示す。

提案手法

  • PairRanker は入力と2つの候補出力をクロスアテンションで同時にエンコードし、ペアの優越性を学習する。
  • 全候補ペア間のペアワイズ比較マトリクスを構築し、それからランキングを導出する。
  • MaxLogits(デフォルト)集約を用いて O(N) 時間でトップ候補を効率的に選択する。
  • GenFuser は入力とトップK ranked 候補を取り、 seq2seq モデル(実験で Flan-T5-XL を使用)により最終出力を生成する。
  • MixInstruct は PairRanker の監督およびエンサンブル性能の評価のために oracle 風のペアワイズ比較を含む訓練データを提供する。
Figure 1: Motivation of ensembling LLMs. Based on this pie chart about the percentage of examples where each LLM ranks 1st, we can see that optimal LLMs for different examples can significantly vary.
Figure 1: Motivation of ensembling LLMs. Based on this pie chart about the percentage of examples where each LLM ranks 1st, we can see that optimal LLMs for different examples can significantly vary.

実験結果

リサーチクエスチョン

  • RQ1伝統的なポイントワイズスコアリングよりも、ペアワイズ候補比較は多数の LLM 候補の中から最高品質の出力を特定するのに有効か。
  • RQ2トップ-K ランクの候補を融合することで、単一候補や単純なリランキングより優れた出力が得られるか。
  • RQ3LLM- Blender フレームワークは、個別の LLM や既存のベースラインと比較して instruction-following タスクでどの程度性能を発揮するか。
  • RQ4MixInstruct は、多様な指示タスクに対して LLM のエンサンブル手法を評価する効果的なベンチマークか。
  • RQ5自動評価指標(BERTScore、BLEURT、BARTScore)と GPT ベースのランキング(GPT-Rank)の相関は本設定でどうなるか。

主な発見

  • PairRanker は GPT-Rank との相関が最も高く、SummaReranker や SimCLS を上回る。
  • トップ3 の PairRanker 選択+ GenFuser を組み合わせた LLM-Blender は、最良の単一 LLM よりも GPT-Rank および NLG 指標で優れている。
  • MixInstruct で、PR(K=3) + GF の LLM-Blender は GPT-Rank 3.01、BERTScore 79.09、BARTScore -3.02、BLEURT -0.17、Top-3 対象割合 68.59、OA および Vicuna を上回る出力のシェアが高い。
  • PairRanker 単独でも最良の個別モデルを上回り、GPT-Rank 3.20 および Top-3 65.12% を達成しており、例ごとのモデル選択が効果的であることを示す。
  • BARTScore は評価指標の中で GPT-Rank と強い相関を示し、PairRanker の訓練における監督に有用であることを支持する。
Figure 2: The LLM- Blender framework. For each input $x$ from users, we employ $N$ different LLMs to get output candidates. Then, we pair all candidates and concatenate them with the input before feeding them to PairRanker , producing a matrix as comparison results. By aggregating the results in the
Figure 2: The LLM- Blender framework. For each input $x$ from users, we employ $N$ different LLMs to get output candidates. Then, we pair all candidates and concatenate them with the input before feeding them to PairRanker , producing a matrix as comparison results. By aggregating the results in the

この論文を読む

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

Nubintでこの論文を読む

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