Efficient In-Domain Question Answering for Resource-Constrained Environments

Isaac Chung, Phat Vo, Arman C. Kizilkale, Aaron Reite
9/26/2024
cs.CL

No confident code implementation found for this paper.

Abstract

Retrieval Augmented Generation (RAG) is a common method for integrating external knowledge into pretrained Large Language Models (LLMs) to enhance accuracy and relevancy in question answering (QA) tasks. However, prompt engineering and resource efficiency remain significant bottlenecks in developing optimal and robust RAG solutions for real-world QA applications. Recent studies have shown success in using fine tuning to address these problems; in particular, Retrieval Augmented Fine Tuning (RAFT) applied to smaller 7B models has demonstrated superior performance compared to RAG setups with much larger models such as GPT-3.5. The combination of RAFT with parameter-efficient fine tuning (PEFT) techniques, such as Low-Rank Adaptation (LoRA), promises an even more efficient solution, yet remains an unexplored area. In this work, we combine RAFT with LoRA to reduce fine tuning and storage requirements and gain faster inference times while maintaining comparable RAG performance. This results in a more compute-efficient RAFT, or CRAFT, which is particularly useful for knowledge-intensive QA tasks in resource-constrained environments where internet access may be restricted and hardware resources limited.

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. Any repos shown below are weak matches — 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{chung2024efficient,
  title  = {Efficient In-Domain Question Answering for Resource-Constrained Environments},
  author = {Isaac Chung and Phat Vo and Arman C. Kizilkale and Aaron Reite},
  year   = {2024},
  eprint = {2409.17648},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.17648v3}
}

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

Discussion