Saved in:
Bibliographic Details
Main Author: Devine, Peter
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2501.11929
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929683243728896
author Devine, Peter
author_facet Devine, Peter
contents Retrieval Augmented Generation (RAG) systems have been shown to improve the accuracy of Large Language Model (LLM) outputs. However, these models can often achieve low accuracy when applied to new data domains. We introduce the Automatic Local Fine Tuning of Retrieval Augmented Generation models (ALoFTRAG) framework, designed to improve the accuracy of RAG systems on a given domain by training LLMs without manually labeled data or using larger teacher models. By generating and filtering synthetic training data and performing LoRA fine-tuning, ALoFTRAG improves citation and answer accuracy across 20 datasets in 26 languages by, on average, 8.3% and 3.0% respectively. Our results demonstrate that ALoFTRAG offers a practical, cost-effective, and data-secure solution for improving RAG accuracy, making it particularly applicable to sensitive domains such as healthcare and finance.
format Preprint
id arxiv_https___arxiv_org_abs_2501_11929
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ALoFTRAG: Automatic Local Fine Tuning for Retrieval Augmented Generation
Devine, Peter
Machine Learning
Retrieval Augmented Generation (RAG) systems have been shown to improve the accuracy of Large Language Model (LLM) outputs. However, these models can often achieve low accuracy when applied to new data domains. We introduce the Automatic Local Fine Tuning of Retrieval Augmented Generation models (ALoFTRAG) framework, designed to improve the accuracy of RAG systems on a given domain by training LLMs without manually labeled data or using larger teacher models. By generating and filtering synthetic training data and performing LoRA fine-tuning, ALoFTRAG improves citation and answer accuracy across 20 datasets in 26 languages by, on average, 8.3% and 3.0% respectively. Our results demonstrate that ALoFTRAG offers a practical, cost-effective, and data-secure solution for improving RAG accuracy, making it particularly applicable to sensitive domains such as healthcare and finance.
title ALoFTRAG: Automatic Local Fine Tuning for Retrieval Augmented Generation
topic Machine Learning
url https://arxiv.org/abs/2501.11929