INTERS: Unlocking the Power of Large Language Models in Search with Instruction Tuning

Yutao Zhu, Peitian Zhang, Chenghao Zhang, Yifei Chen, Binyu Xie +3 more
1/12/2024
cs.CLcs.IR

Official code: DaoD/INTERS (208 stars, MIT, last commit 2026-02-18).

Abstract

Large language models (LLMs) have demonstrated impressive capabilities in various natural language processing tasks. Despite this, their application to information retrieval (IR) tasks is still challenging due to the infrequent occurrence of many IR-specific concepts in natural language. While prompt-based methods can provide task descriptions to LLMs, they often fall short in facilitating a comprehensive understanding and execution of IR tasks, thereby limiting LLMs' applicability. To address this gap, in this work, we explore the potential of instruction tuning to enhance LLMs' proficiency in IR tasks. We introduce a novel instruction tuning dataset, INTERS, encompassing 20 tasks across three fundamental IR categories: query understanding, document understanding, and query-document relationship understanding. The data are derived from 43 distinct datasets with manually written templates. Our empirical results reveal that INTERS significantly boosts the performance of various publicly available LLMs, such as LLaMA, Mistral, and Phi, in IR tasks. Furthermore, we conduct extensive experiments to analyze the effects of instruction design, template diversity, few-shot demonstrations, and the volume of instructions on performance. We make our dataset and the fine-tuned models publicly accessible at https://github.com/DaoD/INTERS.

View on arXivView PDF

Code Implementations(1)

DaoD/INTERSOfficial100%
MIT

This is the repository for our paper "INTERS: Unlocking the Power of Large Language Models in Search with Instruction Tuning"

20814Shell, PythonJan 5, 20248 months agoMIT
datasetsinformation-retrievalinstruction-tuninglarge-language-models

Similar Papers

Cite this paper

@article{zhu2024inters,
  title  = {INTERS: Unlocking the Power of Large Language Models in Search with Instruction Tuning},
  author = {Yutao Zhu and Peitian Zhang and Chenghao Zhang and Yifei Chen and Binyu Xie and Zheng Liu and Ji-Rong Wen and Zhicheng Dou},
  year   = {2024},
  eprint = {2401.06532},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.06532v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.06532.svg)](https://codeofpaper.com/paper/2401.06532)

Discussion