LoRA + DPO Decision Triangle: When to Fine-Tune vs RAG vs Prompt Engineering
A clear three-way decision framework: exhaust prompt engineering first (more powerful than most developers realize in 2026), use RAG for new or frequently changing factual knowledge, and fine-tune only when consistent formatting, domain-specific behavior, or latency/cost at inference scale cannot otherwise be achieved. When fine-tuning is warranted, DPO (Direct Preference Optimization) — which trains on preference pairs rather than correct/incorrect labels — is superior to RLHF for style, tone, brand voice, and avoiding specific failure modes, while being simpler and more stable to train. QLoRA extends fine-tuning to consumer hardware (12GB GPU for 8B models) via the Unsloth framework with 4-bit quantization and ~75% memory reduction.
Source
↳ Follow the thread