Introduction
Large Language Models (LLMs) are increasingly being tailored to individual user needs through personalization. While standard alignment techniques like Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO) aim for a "universal" helpfulness, real-world applications require diverse styles. A user might prefer technical, PhD-level discourse, while another requires simple, elementary-level explanations. However, this shift toward personalization often comes at a cost: the model may "forget" its core knowledge and safety training—a phenomenon known as the "alignment tax."
The Stability-Plasticity Dilemma
Fine-tuning an LLM for specific user styles introduces the Stability-Plasticity Dilemma. The model must be "plastic" enough to adopt new stylistic preferences but "stable" enough to retain its general-purpose intelligence and safety guardrails. The authors observed that standard DPO often prioritizes plasticity at the expense of stability. Specifically, personalizing for certain styles, such as "concise" or "literature," leads to a significant drop in performance on benchmarks like Science QA and MMLU.
Base-Anchored Preference Optimization (BAPO)
To address this, the researchers proposed Base-Anchored Preference Optimization (BAPO). The core insight is that the original, instruction-tuned "base" response ($y_b$) contains the model's intact global knowledge. In standard DPO, the probability of generating this base response often drops sharply as the model learns to favor a new "chosen" response ($y_w$) over a "rejected" one ($y_l$).
BAPO introduces an anchoring loss term, $L_{Anchor}$, which penalizes the model if the likelihood of the base response decreases relative to the reference model:
$$L_{BAPO} = L_{DPO} + \lambda \cdot \max(0, \log \frac{\pi_{ref}(y_b|x)}{\pi_\theta(y_b|x)})$$
The use of the max(0, ...) function ensures that the penalty is only applied when the model becomes less confident in the base response than it was initially. Theoretically, this anchoring helps the model navigate a smaller parameter subspace dedicated to personalization, preventing it from "wandering off" into areas that destroy general knowledge.
Experimental Setup
The effectiveness of BAPO was tested using two primary datasets:
- P-Soups: A dataset focusing on stylistic dimensions including Expertise (Elementary vs. PhD), Verbosity (Concise vs. Detailed), and Style (Friendly vs. Unfriendly).
- DSP (Domain-Specific Preference): A dataset covering topics like Academy, Business, Entertainment, and Literature.
Performance was evaluated across global knowledge benchmarks (Science QA, MMLU) and general alignment metrics (HHH-Honesty, HHH-Harmless).
Key Results and Insights
The researchers found that BAPO significantly outperforms standard DPO and its variants (IPO, ORPO) in several key areas:
- Knowledge Preservation: While DPO caused performance to drop by several percentage points on Science QA, BAPO maintained performance within ~0.5% of the original base model.
- Superior Personalization: Surprisingly, anchoring to the base response actually improved the model's ability to learn the target style. BAPO achieved a Reward Accuracy of ~97-98%, compared to ~93% for DPO.
- Safety and Alignment: BAPO effectively preserved the model's "Honesty" and "Harmlessness" scores, preventing the degradation often seen during fine-tuning.
- Robustness to Capacity: In standard DPO, increasing the LoRA rank (model capacity) often exacerbates forgetting. BAPO mitigates this, allowing for higher-capacity learning without sacrificing general knowledge.
Conclusion
BAPO offers a simple yet powerful solution to the stability-plasticity dilemma in LLM personalization. By anchoring the model to its original high-quality responses, BAPO ensures that models can become more personal without becoming less intelligent or safe. Future work may explore adaptive anchoring strengths and the behavior of BAPO during full-parameter fine-tuning.
Summary updated