A Tale of Trust and Accuracy: Base vs. Instruct LLMs in RAG Systems

Florin Cuconasu, Giovanni Trappolini, Nicola Tonellotto, Fabrizio SilvestriarXiv 2024 · DOI

This paper challenges a foundational assumption in AI engineering: that fine-tuned "Instruct" models are inherently superior to their "Base" counterparts for complex tasks. In the context of Retrieval-Augmented Generation (RAG), researchers discovered that raw Base LLMs often outperform instruction-tuned versions by a significant margin, revealing a complex trade-off between conversational helpfulness and factual grounding.

The Problem: Helpfulness vs. Faithfulness

Retrieval-Augmented Generation (RAG) is the industry standard for reducing hallucinations by providing Large Language Models (LLMs) with relevant documents (non-parametric memory) to reference. The prevailing wisdom suggests using "Instruct" models—versions of LLMs that have undergone Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF) to follow directions and be helpful.

However, this study identifies a conflict: the training that makes a model a "helpful assistant" often makes it too chatty or too reliant on its own internal training data (parametric memory). This can cause the model to ignore the specific context provided in a RAG prompt in favor of its own internal knowledge.

Methodology

The researchers conducted a head-to-head comparison between Base models (pre-trained on next-token prediction) and Instruct models (fine-tuned for chat). They also tested an Instruct + Template configuration, which uses specific formatting (like [INST] or <|begin_of_text|>) recommended by model creators.

The evaluation spanned four popular model families—Llama 2 (7B), Llama 3 (8B), Falcon 7B, and Mistral 7B—across two primary tasks:

  1. Extraction: Extracting the answer directly from provided documents.
  2. Extraction + Proof: Extracting the answer and providing a supporting snippet from the context.

Benchmarks included NQ-open and TriviaQA-unfiltered, with Contriever used to pull relevant Wikipedia passages.

Key Insights: The Failure Modes of Instruct Models

The "Verbosity Trap"

Instruct models are trained to be conversational. In RAG tasks requiring short, extractive answers, this often backfires. Instruct models frequently provide long-winded explanations that lower their accuracy scores, whereas Base models naturally stick to the concise, extractive format requested.

Parametric Memory Interference

Instruct models exhibit a stronger "ego." If they have learned an answer during pre-training, they are more likely to prioritize that internal knowledge over the documents provided in the prompt—even when explicitly instructed to use only the provided context.

The Template Tax

Surprisingly, using official chat templates often decreased RAG performance. These templates seem to trigger a "chat mode" that prioritizes conversational flow over strict data extraction.

Key Results and the Trust-Accuracy Trade-off

On average, Base models outperformed Instruct versions by 20%. This gap was most pronounced in Llama 3 8B, which showed staggering improvements in its Base form compared to the Instruct version when forced into short-answer constraints.

Figure 3: Performance comparison between Base, Instruct, and Instruct + Template models across different document counts.

However, there is a significant catch regarding model "trustworthiness." While Base models are more accurate at finding correct answers, they are "over-confident." They almost never admit when an answer is missing from the provided documents. In contrast, Instruct models are much better at "Negative Rejection"—stating "I don't know" when the context is insufficient.

Figure 4: Negative Rejection Rates showing that Instruct models are significantly better at admitting when an answer is not present in the context.

Conclusion and Future Directions

The study highlights that current fine-tuning paradigms for "helpfulness" may be at odds with the requirements for "faithfulness" in RAG systems. While Base models are currently more accurate extractors, their inability to reject unanswerable questions makes them risky for production environments where hallucination prevention is critical.

Future work should focus on new fine-tuning strategies specifically designed for RAG—training models to be faithful to context rather than just helpful to users. Additionally, the industry requires better evaluation metrics that do not penalize conversational models for verbosity while still accurately rewarding factual extraction.

Summary updated

Abstract

Retrieval Augmented Generation (RAG) represents a significant advancement in artificial intelligence combining a retrieval phase with a generative phase, with the latter typically being powered by large language models (LLMs). The current common practices in RAG involve using "instructed" LLMs, which are fine-tuned with supervised training to enhance their ability to follow instructions and are aligned with human preferences using state-of-the-art techniques. Contrary to popular belief, our study demonstrates that base models outperform their instructed counterparts in RAG tasks by 20% on average under our experimental settings. This finding challenges the prevailing assumptions about the superiority of instructed LLMs in RAG applications. Further investigations reveal a more nuanced situation, questioning fundamental aspects of RAG and suggesting the need for broader discussions on the topic; or, as Fromm would have it, "Seldom is a glance at the statistics enough to understand the meaning of the figures".
BibTeX
@misc{cuconasu2024tale,
  author = {Florin Cuconasu and Giovanni Trappolini and Nicola Tonellotto and Fabrizio Silvestri},
  title = {{A Tale of Trust and Accuracy: Base vs. Instruct LLMs in RAG Systems}},
  year = {2024},
  eprint = {2406.14972},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.14972},
}
Figure