Home / Insights / AI in Practice
Fine-Tuning or Retrieval? Choosing How to Adapt a Model
A practical framework for deciding between better prompts, retrieval and further training.
Teams often ask whether to "train the AI on our data". The answer depends on what is missing.
Three tools
Prompting adds instructions and examples. It is quick and reversible.
Retrieval fetches relevant documents at question time. It supplies facts the model lacks and lets you cite them.
Fine-tuning continues training on your own examples, changing the weights. It is well suited to a consistent style or format, a specialised classification, or making a small model perform a narrow job that otherwise needs a larger one.
Diagram by O&O Consulting.
A rule of thumb
If the model does not know something, retrieve it. If it knows but does not behave as required, even with clear instructions and examples, consider fine-tuning. The two can be combined.
Fine-tuning is a poor way to keep facts current: updating a price means training again, and there is no easy way to confirm which version the model recalls.
What fine-tuning needs
It requires examples that represent the real task and show the desired answer, usually hundreds to thousands, carefully reviewed. Low-quality or contradictory examples teach low-quality behaviour. Techniques such as LoRA train a small set of additional weights, greatly reducing the cost.
Risks
Further training can degrade abilities the model had before, and research has found that fine-tuning can weaken safety behaviour even when the new data looks harmless. Sensitive examples may be memorised and later reproduced. A tuned model also ties you to a particular base model that its provider may retire.
Limitations and open questions
There is no universal threshold at which one method wins. The balance shifts with model quality, input length limits and prices. The dependable guide is an experiment: build a test set, measure the simplest option, and add complexity only when the results justify it.
References
- Lewis, P. et al. (2020). "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks." arxiv.org/abs/2005.11401
- Hu, E. J. et al. (2021). "LoRA: Low-Rank Adaptation of Large Language Models." arxiv.org/abs/2106.09685
- Qi, X. et al. (2023). "Fine-tuning Aligned Language Models Compromises Safety." arxiv.org/abs/2310.03693
This article is general information, not financial, legal or investment advice. AI research and rules change quickly; check the cited sources for the current position.