Multi-task retriever fine-tuning for domain-specific and efficient RAG

Patrice Béchard, Orlando Marquez Ayala
1/8/2025
cs.CLcs.IRcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Retrieval-Augmented Generation (RAG) has become ubiquitous when deploying Large Language Models (LLMs), as it can address typical limitations such as generating hallucinated or outdated information. However, when building real-world RAG applications, practical issues arise. First, the retrieved information is generally domain-specific. Since it is computationally expensive to fine-tune LLMs, it is more feasible to fine-tune the retriever to improve the quality of the data included in the LLM input. Second, as more applications are deployed in the same real-world system, one cannot afford to deploy separate retrievers. Moreover, these RAG applications normally retrieve different kinds of data. Our solution is to instruction fine-tune a small retriever encoder on a variety of domain-specific tasks to allow us to deploy one encoder that can serve many use cases, thereby achieving low-cost, scalability, and speed. We show how this encoder generalizes to out-of-domain settings as well as to an unseen retrieval task on real-world enterprise use cases.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bchard2025multitask,
  title  = {Multi-task retriever fine-tuning for domain-specific and efficient RAG},
  author = {Patrice Béchard and Orlando Marquez Ayala},
  year   = {2025},
  eprint = {2501.04652},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.04652v2}
}

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/2501.04652.svg)](https://codeofpaper.com/paper/2501.04652)

Discussion