[論文レビュー] Fine-tuning Small Language Models as Efficient Enterprise Search Relevance Labelers
この論文は、合成データパイプラインを用いて小型言語モデル(Phi-3.5 Mini Instruct)をエンタープライズ検索の関連性ラベリングに微調整し、教師LLMと同等かそれ以上の人間判断との一致を達成しつつ、高スループットとコスト削減を実現する。
In enterprise search, building high-quality datasets at scale remains a central challenge due to the difficulty of acquiring labeled data. To resolve this challenge, we propose an efficient approach to fine-tune small language models (SLMs) for accurate relevance labeling, enabling high-throughput, domain-specific labeling comparable or even better in quality to that of state-of-the-art large language models (LLMs). To overcome the lack of high-quality and accessible datasets in the enterprise domain, our method leverages on synthetic data generation. Specifically, we employ an LLM to synthesize realistic enterprise queries from a seed document, apply BM25 to retrieve hard negatives, and use a teacher LLM to assign relevance scores. The resulting dataset is then distilled into an SLM, producing a compact relevance labeler. We evaluate our approach on a high-quality benchmark consisting of 923 enterprise query-document pairs annotated by trained human annotators, and show that the distilled SLM achieves agreement with human judgments on par with or better than the teacher LLM. Furthermore, our fine-tuned labeler substantially improves throughput, achieving 17 times increase while also being 19 times more cost-effective. This approach enables scalable and cost-effective relevance labeling for enterprise-scale retrieval applications, supporting rapid offline evaluation and iteration in real-world settings.
研究の動機と目的
- scalable かつ高品質なエンタープライズ関連性データセットの不足を解消する。
- 合成データ生成と蒸留を活用してコンパクトな関連性ラベラーを訓練する。
- LLMベースのラベリングに比べてスループットとコストを削減しつつ品質を維持する。
提案手法
- seed ドキュメントからLLMとBM25ネガティブを用いて合成エンタープライズクエリを生成する。
- LLMベースのラベリングステップでクエリ–ドキュメントの組にグレード付き関連性を割り当てる。
- synthetic トリプレット上で Phi-3.5 Mini Instruct を multi-task tuning(INTERS、TREC-CAsT、MS MARCO由来データを含む)でファインチューニングする。
- 専用エンタープライズベンチマークで蒸留SLM を人間のアノテーションおよび教師LLMと対比して評価する。
- throughput (RPM) とコスト効率を人間判断との一致とともに報告する。
実験結果
リサーチクエスチョン
- RQ1 合成エンタープライズデータでファインチューニングした小型言語モデルは、教師LLMと同等の関連性ラベリング性能を発揮できるか。
- RQ2 LLM生成ラベルからSLMへ知識を蒸留することで、企業規模のラベリングにおけるスループットとコストを向上させられるか。
- RQ3 公的データセットでのマルチタスク調整を組み込むことは、企業風のクエリへの一般化にどのように影響するか。
主な発見
- 蒸留されたSLM は、人間の判断との一致で教師LLM(GPT-4o)と同等またはそれ以上を達成する。
- アプローチはベースラインのラベリング設定と比較してスループットを17×向上させる。
- ラベリングにおける教師LLMの使用と比較してコスト効率を約19×改善する。
- BM25ネガティブとLLMラベリングを用いた合成データ生成は、エンタープライズ関連性ラベリングの高品質な訓練データを作成できる。
- INTERS、TREC-CAsT、MS MARCOデータを用いたマルチタスクファインチューニングは、企業風のクエリへの一般化を高める。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。