LLMQuoter: Enhancing RAG Capabilities Through Efficient Quote Extraction From Large Contexts

Yuri Facanha Bezerra, Li Weigang
1/9/2025
cs.CLcs.AI

No official code found. Best implementation: yurifacanha/llmquoter (3 stars, last commit 2026-01-31).

Abstract

We introduce LLMQuoter, a lightweight, distillation-based model designed to enhance Retrieval Augmented Generation (RAG) by extracting the most relevant textual evidence for downstream reasoning tasks. Built on the LLaMA-3B architecture and fine-tuned with Low-Rank Adaptation (LoRA) on a 15,000-sample subset of HotpotQA, LLMQuoter adopts a "quote-first-then-answer" strategy, efficiently identifying key quotes before passing curated snippets to reasoning models. This workflow reduces cognitive overhead and outperforms full-context approaches like Retrieval-Augmented Fine-Tuning (RAFT), achieving over 20-point accuracy gains across both small and large language models. By leveraging knowledge distillation from a high-performing teacher model, LLMQuoter achieves competitive results in a resource-efficient fine-tuning setup. It democratizes advanced RAG capabilities, delivering significant performance improvements without requiring extensive model retraining. Our results highlight the potential of distilled quote-based reasoning to streamline complex workflows, offering a scalable and practical solution for researchers and practitioners alike.

View on arXivView PDF

Code Implementations(1)

LLMQuoter

32PythonDec 16, 20248 months ago

Similar Papers

Cite this paper

@article{bezerra2025llmquoter,
  title  = {LLMQuoter: Enhancing RAG Capabilities Through Efficient Quote Extraction From Large Contexts},
  author = {Yuri Facanha Bezerra and Li Weigang},
  year   = {2025},
  eprint = {2501.05554},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.05554v1}
}

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

Discussion