paper-with-me

Papers

ALoFTRAG: Automatic Local Fine Tuning for Retrieval Augmented Generation

2025-01-21 · Peter Devine

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.

📄 PDF Abstract BibTeX arXiv:2501.11929

Code (1)

lightblue-tech/aloftrag 공식 구현

Tasks

Language ModelingLanguage ModellingLarge Language ModelRAGRetrievalRetrieval-augmented Generation

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Adam 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Retrieval & Fine-Tuning for In-Context Tabular Models

2024-06-07 · Valentin Thomas, Junwei Ma, Rasa Hosseinzadeh, Keyvan Golestan 외

Tabular data is a pervasive modality spanning a wide range of domains, and the inherent diversity poses a considerable challenge for deep learning. Recent advancements using transformer-based in-context learning have sho…

DiversityIn-Context LearningRetrieval

Efficiently Learning at Test-Time: Active Fine-Tuning of LLMs

2024-10-10 · Jonas Hübotter, Sascha Bongni, Ido Hakimi, Andreas Krause

Recent efforts in fine-tuning language models often rely on automatic data selection, commonly using Nearest Neighbors retrieval from large datasets. However, we theoretically show that this approach tends to select redu…

Active LearningLanguage ModelingLanguage ModellingRetrieval

Fine-Tuning and Retrieval Augmented Generation for Question Answering Using Affordable Large Language Models

2024-05-01 · LREC-Coling 2024 5 · Tiberiu Boroş, Radu Chivereanu, Stefan Dumitrescu, Octavian Purcaru

We present our proposed system named Sherlock to UNLP 2024 Shared Task on Question Answering winning first place. We employ a mix of methods, from using automatically translated datasets to perform supervised fine-tuning…

Question AnsweringRetrievalRetrieval-augmented Generation

Vendor-Aware Industrial Agents: RAG-Enhanced LLMs for Secure On-Premise PLC Code Generation

2025-11-12 · Joschka Kersting, Michael Rummel, Gesa Benndorf arxiv

Programmable Logic Controllers are operated by proprietary code dialects; this makes it challenging to train coding assistants. Current LLMs are trained on large code datasets and are capable of writing IEC 61131-3 compa…

Prompt EngineeringCode Generation

DGL: Dynamic Global-Local Prompt Tuning for Text-Video Retrieval

2024-01-19 · Xiangpeng Yang, Linchao Zhu, Xiaohan Wang, Yi Yang

Text-video retrieval is a critical multi-modal task to find the most relevant video for a text query. Although pretrained models like CLIP have demonstrated impressive potential in this area, the rising cost of fully fin…

RetrievalVideo Retrieval