TL;DR
Current safety alignment often forces large language models (LLMs) to be "identity-blind," causing them to incorrectly ignore demographic differences even when factually or legally warranted. While fine-tuning models to fix this improves accuracy, it triggers a hidden side effect called harm drift, where the model's generated explanations become increasingly toxic or stereotypical. To resolve this tension, the authors introduce DART (Distill-Audit-Repair Training), a multi-stage pipeline that dramatically boosts difference-awareness accuracy while systematically purging harmful rationales.
What Problem Does This Paper Address?
Standard safety alignment makes LLMs overly cautious. When confronted with prompts involving demographic groups, models often default to a generic "equal-treatment" stance, completely ignoring contexts where recognizing group differences is factually correct (e.g., ancestry-based disease incidence) or legally justified (e.g., religious hiring preferences).
To fix this, researchers use difference-awareness classification to teach models to decide whether a scenario requires recognizing real group differences (YES) or treating groups identically (NO). However, the authors discover a highly problematic phenomenon when fine-tuning models for this task: harm drift.
As a model's binary classification accuracy improves, the quality of its explanatory reasoning paradoxically degrades. The model begins generating rationales that elaborate on harmful content, introduce problematic stereotypes, or fail to flag biases that the baseline model easily caught. Because standard evaluation metrics only look at final binary decisions, this insidious safety degradation usually goes completely unnoticed.
Methods
The authors propose DART (Distill–Audit–Repair Training), a three-stage pipeline designed to decouple capability optimization from harm mitigation:
- Stage I: Teacher Distillation: The student model learns difference-aware reasoning from a powerful teacher model (like DeepSeek-Chat). By conditioning the teacher on the ground-truth labels during generation, the student model maximizes its decision accuracy via LoRA fine-tuning.
- Stage II: Harm Audit: The pipeline automatically detects harm drift by comparing the distilled model's rationales against the baseline's. It uses a toxicity classifier for initial screening, followed by an LLM-as-Judge to confirm the drift and stratify cases by severity (Mild, Moderate, Severe, Extreme).
- Stage III: Targeted Repair: For the flagged drift cases, the teacher model is reinstructed with strict safety guardrails to generate safe, abstract alternative rationales. The student model is then fine-tuned on these safe alternatives using a severity-weighted oversampling strategy, ensuring that the most severe harms receive the strongest gradient updates.
DART also includes an optional Inference-Time Explanation Policy. This mechanism uses structured system prompts at deployment to dynamically constrain the length and framing of rationales based on the model's first-pass prediction.
Datasets
The paper utilizes several distinct datasets for training and evaluation:
- Difference-Awareness Benchmark Suite (Wang et al., 2025): A dataset of 8,024 examples split into descriptive benchmarks (testing empirical/factual knowledge like disease prevalence) and normative benchmarks (assessing value-based social judgments like affirmative action).
- Open-Ended Real-World Queries: A newly curated evaluation set of 280 real-world prompts spanning medical, legal, policy, and educational domains to test out-of-distribution generalization.
- External Safety Benchmarks: To verify general safety preservation, the final model was tested on 5,920 prompts from standard safety benchmarks: BOLD, HolisticBias, RealToxicityPrompts, and HateCheck.
Key Insights and Ideas
- The Accuracy-Safety Conflict is Procedural, Not Fundamental: Jointly optimizing for both safety and accuracy during a single training phase forces a sub-optimal trade-off because their gradients conflict when dealing with sensitive content. Separating them into sequential stages allows the model to maximize accuracy first, and then perform surgical safety corrections.
- Harm Amplification is a Student Phenomenon: Harm drift isn't simply inherited from the teacher. While the teacher model generated harmful rationales on only 2% of prompts, the distilled student model amplified this behavior to 26.8% of prompts, proving that fine-tuning smaller models on sensitive topics inherently destabilizes their safety guardrails.
- Lexical Over-Sensitivity in Safety Evaluators: Standard hate speech detectors are incredibly brittle when evaluating difference-aware models. They frequently flag perfectly safe, educational counter-speech simply because the response explicitly mentions demographic terms alongside words like "discriminatory" or "terrorist."
Key Results
- Massive Accuracy Boost: On Llama-3-8B-Instruct, DART increased overall accuracy from 39.0% to 68.8%. The most dramatic improvement occurred on equal-treatment prompts, where accuracy skyrocketed from 11.3% to 72.6%.
- Effective Harm Mitigation: DART successfully reduced harm drift cases by 72.6% overall, achieving a 74.9% reduction in the most severe harm categories.
- Real-World Generalization: On open-ended real-world queries, DART nearly doubled the rate of difference-appropriate responses (from 39.8% to 77.5%) while slashing unnecessary safety refusals from 34.3% down to just 3.0%.
Limitations and Future Work
- Post-Hoc Correction: DART addresses harm drift after it occurs during distillation. A more ideal approach would modify the distillation objective itself to prevent harmful elaboration from ever emerging.
- Evaluator Brittleness: The framework relies heavily on automated toxicity classifiers and LLM judges, which are prone to lexical biases and can miss subtle, implicit harms. Developing evaluators specifically calibrated for demographic reasoning remains a critical next step.
- Computational Cost: The multi-stage pipeline requires multiple inference and training passes, and the two-pass inference-time policy effectively doubles deployment costs.
Summary updated