Skip to content
ML Academy

LLMs, GenAI, RAG, agents, evaluation · insight-0540

Do not fine-tune to inject facts that change; retrieve them instead

Evidence type
empirical finding
Difficulty
medium
Roles
Applied AI, ML engineer
Industries
aviation, retail

Summary: situation, action, reason, boundary

  1. Situation

    A team fine-tunes a model on this quarter's fare rules so agents can ask about them without retrieval.

  2. Action

    Keep changing facts in an index or database queried at request time; reserve fine-tuning for behaviour and format, and test any knowledge-injection idea against retrieval on the same eval set.

  3. Reason

    Studies found new knowledge in fine-tuning data is learned slowly and increases the tendency to hallucinate, and retrieval outperformed unsupervised fine-tuning for knowledge injection in the tests reported.

  4. Boundary

    Policies, prices, catalogues, regulations, internal documentation.

Symptom or risk

The model learns the rules slowly and incompletely, answers confidently about rules it never absorbed, and every rule change requires another training run.

Exceptions

Stable domain vocabulary and style can benefit from continued pretraining or fine-tuning.

Trade-offs

Retrieval adds infrastructure and its own failure modes.

Pitfalls

Judging the fine-tune only on questions seen in training.

Lessons and concepts

Claims and their sources