Retrieval-augmented generation in multilingual settings

Nadezhda Chirkova, David Rau, Hervé Déjean, Thibault Formal, Stéphane Clinchant +1 more
7/1/2024
cs.CLcs.AI

Official code: naver/bergen (276 stars, last commit 2026-03-11).

Abstract

Retrieval-augmented generation (RAG) has recently emerged as a promising solution for incorporating up-to-date or domain-specific knowledge into large language models (LLMs) and improving LLM factuality, but is predominantly studied in English-only settings. In this work, we consider RAG in the multilingual setting (mRAG), i.e. with user queries and the datastore in 13 languages, and investigate which components and with which adjustments are needed to build a well-performing mRAG pipeline, that can be used as a strong baseline in future works. Our findings highlight that despite the availability of high-quality off-the-shelf multilingual retrievers and generators, task-specific prompt engineering is needed to enable generation in user languages. Moreover, current evaluation metrics need adjustments for multilingual setting, to account for variations in spelling named entities. The main limitations to be addressed in future works include frequent code-switching in non-Latin alphabet languages, occasional fluency errors, wrong reading of the provided documents, or irrelevant retrieval. We release the code for the resulting mRAG baseline pipeline at https://github.com/naver/bergen.

View on arXivView PDF

Code Implementations(1)

naver/bergenOfficial100%

Benchmarking library for RAG

27633Shell, PythonMay 9, 20247 months agoNOASSERTION
augmentationgenerationllmsragretrieval

Similar Papers

Cite this paper

@article{chirkova2024retrievalaugmented,
  title  = {Retrieval-augmented generation in multilingual settings},
  author = {Nadezhda Chirkova and David Rau and Hervé Déjean and Thibault Formal and Stéphane Clinchant and Vassilina Nikoulina},
  year   = {2024},
  eprint = {2407.01463},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.01463v1}
}

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

Discussion