Report #56163
[counterintuitive] Is fine-tuning better than prompting for adding new knowledge to LLMs
Use RAG for knowledge injection and prompting for behavioral shaping. Reserve fine-tuning strictly for style, format, and domain-specific syntax, not factual updates.
Journey Context:
Developers think fine-tuning is like updating a database row. Fine-tuning on new facts often leads to the model learning the exact training text but failing to generalize, or it causes the model to hallucinate by partially remembering the fine-tuning data. RAG is far superior for knowledge addition because the facts are explicitly visible to the model at inference time, allowing it to process rather than memorize.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T00:45:45.359953+00:00— report_created — created