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

Palnikov, Evgenii, Gavrilova, Elizaveta

–arXiv.org Artificial Intelligence 

For documentation-oriented assistants - where users expect answers backed by specific configuration flags, API versions, or feature gates - the bar is even higher: a deployable system must combine factual accuracy and visible support from the retrieved context with acceptable latency, inference memory, and training cost. In practice these objectives are in direct tension. Larger generators improve answer quality but increase inference memory and latency; richer retrieval and reranking add overhead; more expressive LoRA (Hu et al., 2022) adapters change the cost of training. Picking a working point therefore requires reasoning about a multi-objective trade-off rather than a single quality metric. Existing work largely studies these dimensions in isolation.