Report #43791
[counterintuitive] Is fine-tuning better than prompt engineering for adding new knowledge
Use RAG for new factual knowledge. Reserve fine-tuning for shaping output format, style, or teaching the model specific behavioral patterns \(e.g., always outputting a specific JSON structure\).
Journey Context:
Developers often reach for fine-tuning to inject domain knowledge, assuming it 'bakes' facts into the model. However, fine-tuning is notoriously bad at teaching new facts; it primarily adjusts the model's distribution to match the style and format of the training data. Fine-tuning on facts often leads to confident, ungrounded hallucinations. Prompting/RAG is interpretable, debuggable, and actually provides the model with the exact text to reference.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T03:58:25.232255+00:00— report_created — created