TL;DR
Personalizing Large Language Models (LLMs) by aligning them with specific human values can unintentionally compromise their safety protocols. This paper demonstrates that value-aligned LLMs exhibit higher toxicity and bias because they faithfully express abstract values that psychologically correlate with harmful behaviors (such as hedonism leading to adult content, or power leading to hate speech). Crucially, the authors show that simply prompting the model to disregard these problematic values during inference significantly mitigates these safety risks.
What Problem Does This Paper Address?
As LLMs become deeply integrated into personalized applications, there is growing interest in tailoring models to reflect individual human values, beliefs, and personas. However, aligning models with specific value systems—such as the Schwartz basic human values framework—can inadvertently create a backdoor for harmful behaviors.
While prior research has noted that assigning specific personas to LLMs can increase toxicity, this paper tackles the underlying why and how. The authors investigate the psychological mechanisms connecting specific value alignments to distinct safety risk categories (e.g., hate speech, adult content, or deception), exploring how well-intentioned personalization can lead to unintended safety degradation.
Methods
The authors fine-tuned a vanilla Llama-2 7B model using the Value Injection Method (VIM) across 154 distinct Schwartz value distributions. These distributions included 14 synthetic "extreme" profiles (where one value or higher-order value group was heavily prioritized) and 140 real-world human value profiles sourced from the European Social Survey (ESS).
To evaluate the safety impacts, they measured the correlation between specific value dimensions and safety risks using ordinary least squares regression. Finally, they introduced a novel, straightforward mitigation strategy: using "value prompts" that explicitly instruct the LLM to disregard specific risky values during inference, comparing this against standard safety prompts across both value-aligned and vanilla models (including Llama-3.1 8B, Gemma-2 9B, and Qwen-2.5 7B).
Datasets
- Fine-tuning Datasets:
- Instruction Tuning: Alpaca (52K) and Dolly (15K).
- Traditional NLP Tasks: Grammar (14K combined from JFLEG and C4_200M) and Samsum (16K dialogue summarization).
- Value Alignment: Touché23-ValueEval (8K pairs of arguments and value labels).
- Safety Evaluation Datasets:
- Conventional Benchmarks: RealToxicityPrompts (3K toxic prompts) and HolisticBiasR (17.7K demographic prompts).
- Detailed Safety Categories: HEx-PHI (330 instructions across 11 categories) and BeaverTails-Evaluation (700 instructions across 14 categories).
Key Insights and Ideas
- Values, Not Toxic Data, Drive the Harm: The authors audited the value-alignment dataset (Touché23-ValueEval) and found virtually zero toxic content. This proves that the increased harmfulness in value-aligned LLMs is not a data-poisoning issue; rather, it arises because the model genuinely extrapolates abstract values into real-world text generation.
- LLMs Mirror Human Psychological Correlations: The safety risks manifested by the value-aligned LLMs strongly mirror human psychological data. For instance, Hedonism and Self-direction positively correlate with adult content and physical harm. Conversely, Power positively correlates with hate speech and discrimination, but shows a strong negative correlation with deception and violence—likely because power-centric entities view chaos and deception as threats to their established authority.
- Value Suppression as a Safety Valve: Instructing a model to suppress or disregard a specific value (e.g., "disregard self-direction" when facing adult content prompts) reduces harmful outputs significantly, even without explicitly telling the model to act safely.
Key Results
- Safety Degradation: Value-aligned models consistently demonstrated lower safety metrics on conventional benchmarks. On RealToxicityPrompts, the value-aligned model reached a Toxicity Probability of 30.93%, compared to just 17.02% for the un-fine-tuned vanilla model.
- Value-Risk Mapping: The ordinary least squares regression revealed stark, statistically significant correlations between specific values and safety categories, as mapped out in the paper's heatmaps.
- Mitigation Success: The proposed "value prompt" mitigation strategy yielded massive safety improvements. For value-aligned models facing adult content prompts, the harmfulness score dropped from 4.10 to 2.45 when told to disregard the value, outperforming standard safety prompts (2.87). Combining both safety and value prompts reduced it further to 2.43.
Limitations and Future Work
- English-Centric Evaluation: The study exclusively evaluates English-language models and datasets. Because safety standards and value interpretations vary drastically across cultures, this approach may not capture diverse global perspectives.
- Prior Risk Mapping Required: The value-prompting mitigation strategy requires developers to know in advance which values correlate with which specific safety risks. If a deployment context surfaces an unmapped value-risk pair, the mitigation won't be active. The authors note that future work will focus on generalizing this approach into broader, automated mitigation strategies.
Summary updated