paper-with-me

홈 › Papers

Analyzing Quality-Latency-Resource Trade-offs in a Technical Documentation RAG Assistant Using LoRA Adaptation

2026-05-27 · Evgenii Palnikov, Elizaveta Gavrilova arxiv

We study quality-latency-resource trade-offs in a documentation-grounded retrieval-augmented generation (RAG) system that uses Low-Rank Adaptation (LoRA) of the generator. We build a manually verified benchmark of 5,144 question-answer pairs over the official Kubernetes documentation and combine it with a fixed hybrid-retrieval pipeline (BGE-M3 dense, BGE-M3 native sparse, Reciprocal Rank Fusion, cross-encoder reranking). Over this benchmark we ablate 20 LoRA configurations on Llama-3.2-3B-Instruct and Llama-3.1-8B-Instruct across rank and target-module choices, and evaluate each on token-level F1, LLM-judged groundedness and correctness (pass@4), inference latency, inference memory, and training cost, all reported with bootstrap 95% confidence intervals. Pareto analysis shows that LoRA adapters acting only on the q and v attention projections consistently dominate the front, while the 3B/8B choice mainly defines operating regime. A param-matched control comparison further indicates that the q/v advantage is structural rather than purely parametric. The benchmark, selected adapters, and code are available at https://github.com/EugPal/rag-lora-tradeoffs.

📄 PDF Abstract BibTeX arXiv:2605.28222

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Monotonic Multihead Attention

2019-09-26 · ICLR 2020 1 · Xutai Ma, Juan Pino, James Cross, Liezl Puzon 외

Simultaneous machine translation models start generating a target sequence before they have encoded or read the source sequence. Recent approaches for this task either apply a fixed policy on a state-of-the art Transform…

DecoderMachine TranslationTranslation

T-TAMER: Provably Taming Trade-offs in ML Serving

2025-09-26 · Yuanyuan Yang, Ruimin Zhang, Jamie Morgenstern, Haifeng Xu arxiv

As machine learning models continue to grow in size and complexity, efficient serving faces increasingly broad trade-offs spanning accuracy, latency, resource usage, and other objectives. Multi-model serving further comp…

Greening AI Inference with Accuracy and Latency-aware User Incentives

2026-05-26 · Vasilios A. Siris, Adamantia Stamou, George D. Stamoulis, Konstantinos Varsos 외 arxiv

The widespread use of AI services has raised concerns for its environmental sustainability, towards which recent studies have identified carbon emissions of AI inference as the major contributor. This paper introduces a …

MixLLM: Dynamic Routing in Mixed Large Language Models

2025-02-09 · Xinyuan Wang, Yanchi Liu, Wei Cheng, Xujiang Zhao 외

Large Language Models (LLMs) exhibit potential artificial generic intelligence recently, however, their usage is costly with high response latency. Given mixed LLMs with their own strengths and weaknesses, LLM routing ai…

Continual Learning

ALADIN: Accuracy-Latency-Aware Design-space Inference Analysis for Embedded AI Accelerators

2026-02-12 · T. Baldi, D. Casini, A. Biondi arxiv

The inference of deep neural networks (DNNs) on resource-constrained embedded systems introduces non-trivial trade-offs among model accuracy, computational latency, and hardware limitations, particularly when real-time c…