Fine-tuning and RAG: what each technique addresses

If an assistant does not know a revised price, the difficulty is access to current information. If it retrieves the document but consistently returns an unsuitable structure, instructions, examples or behaviour may be the issue. Before…

Ian · 2026-03-05

Practical guide

RAG adds retrieved information to a response context. Fine-tuning changes model behavior through examples. They can be combined, but neither technique removes errors or establishes document permissions by itself.

Planning a first application

  1. First test a baseline with suitable instructions and examples.
  2. Use retrieval to consult information that needs updating.
  3. Consider fine-tuning for behavior or format with sufficient examples and evaluation.

What to check before deciding

Compare quality and cost on the same tasks, including difficult cases. Count data preparation, training, inference, storage, review and maintenance. Permissions and source updates must be addressed in the architecture.

Diagnose what is failing

If an assistant does not know a revised price, the difficulty is access to current information. If it retrieves the document but consistently returns an unsuitable structure, instructions, examples or behaviour may be the issue. Before adapting a model, try clear instructions and examples. Before adding RAG, verify that sources exist and can be accessed with the required permissions.

Compare using a fixed evaluation

Prepare representative inputs and a rubric separating accuracy, format and citations. Reserve examples that are not used during configuration. Evaluate the simpler alternative first, then each change. Improved style does not solve missing information; a correct citation does not establish that a document is current.

Model adaptation requires considering example preparation, usage rights, training costs and reevaluation across versions. LoRA is a parameter-efficient adaptation technique, not a guarantee of task performance. RAG and adaptation can coexist: one supplies retrieved context and the other may adjust response patterns. Combining them is justified only when testing identifies the contribution of each. Keep the same evaluation set when comparing approaches so that an easier batch of questions is not mistaken for a better system.

Primary reference: Lewis et al. · Retrieval-Augmented Generation

Talk to Innovatec in a free 30-minute introductory conversation to assess your needs.

LoRA · Low-Rank Adaptation of Large Language Models