Introduction: The Alignment Tax
Modern Large Language Models (LLMs) are typically released in two versions: a "base" model pre-trained on massive corpora and a "chat" model refined through Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF). While alignment makes models helpful and safe, it often comes at a cost known as the "alignment tax"—a degradation in the model's ability to recall specific factual information.
As shown in the data, base models like Llama-2-7b significantly outperform their chat-aligned versions in tasks requiring precise verbatim recall. This creates a dilemma for knowledge-intensive applications: should one prioritize the raw knowledge of a base model or the conversational polish of a chat model?
The A + B Framework
To resolve this trade-off, we propose the A + B Framework, which decouples the tasks of knowledge retrieval and response synthesis:
- Generator (A): An unaligned base model acting as a "librarian." It leverages its superior internal memory to generate relevant context or "recollections" based on the user's query.
- Reader (B): An aligned chat model acting as an "editor." It processes the query alongside the context provided by the Generator to produce a final, helpful, and safe response.
This modular approach allows each model to specialize in what it does best, bypassing the limitations of forcing a single model to excel at both memorization and instruction-following.
Experimental Results
The framework was evaluated across several open-domain QA benchmarks, including Natural Questions (NQ), TriviaQA, WebQuestions (WebQ), and HotpotQA.
Key Findings
- Synergistic Performance: The combination of a Base Generator and a Chat Reader consistently outperforms single-model baselines. For example, using Llama-2-13b as a generator for a Llama-2-13b-chat reader achieves higher scores on NQ (36.1) and TriviaQA (71.1) than the chat model alone. This demonstrates that providing the reader with high-quality generated context significantly aids its reasoning process.
- Generator Size is the Primary Bottleneck: Scaling the Generator (A) provides more significant performance boosts than scaling the Reader (B). A more knowledgeable generator provides higher-quality "raw material" for the reader to synthesize. In our tests, moving from a 7b to a 13b generator yielded much larger gains than similar upgrades to the reader component.
- Cross-Family Compatibility: The framework is flexible, allowing for "mix-and-match" configurations. Using a Llama-2 generator with a Mistral-based reader can leverage the unique strengths of different model architectures. For instance, Mistral-Instruct paired with a Mistral generator achieved some of the highest scores on HotpotQA (29.3), showcasing the framework's versatility.
Continuous Learning and RAG
Beyond standard QA, the A + B framework proves effective in Continuous Learning (CL) scenarios. By using LoRA to "bake" new knowledge into the Generator's parameters, the system can answer questions about new documents more accurately than traditional Retrieval-Augmented Generation (RAG) methods like BM25 or Contriever. In within-document tests, the A+B CL approach achieved a precision of 38.3, surpassing the 35.9 achieved by BM25 and 35.6 by Contriever.
Conclusion and Future Directions
The "A + B" framework demonstrates that the "alignment tax" can be mitigated by specializing model roles. By pairing the memorization of base models with the reasoning of chat models, we can unleash the full potential of LLMs for knowledge-intensive tasks. Future work will explore scaling this approach to larger proprietary datasets and optimizing the inference overhead associated with running dual-model pipelines.
Summary updated