Cat-DPO: Category-Adaptive Safety Alignment

cat-dpo:-category-adaptive-safety-alignment

Cat-DPO: Category-Adaptive Safety Alignment

[Submitted on 19 Apr 2026 (v1), last revised 7 Nov 2026 (this version, v4)]

View PDF HTML (experimental)

Abstract:Aligning large language models with human preferences must balance two competing goals: responding helpfully to legitimate requests and reliably refusing harmful ones. Most preference-based safety alignment methods collapse safety into a single scalar that is applied uniformly to every preference pair. The result is a model that appears safe on average but remains relatively unsafe in a minority of harm categories. We cast safety alignment as a per-category constrained optimization problem and derive Cat-DPO, a direct-preference-optimization algorithm with a separate adaptive safety margin for each harm category. The margin tightens when the model still produces unsafe responses in a category and relaxes once the model catches up, so the training signal tracks each category’s current difficulty rather than averaging across a single global rate. Across two LLM backbones and six preference-learning baselines, Cat-DPO improves aggregate helpfulness and harmlessness and compresses per-category safety variance and the best-to-worst gap, offering a drop-in per-category refinement of direct preference safety alignment.

Submission history

From: Tiankai Yang [view email]
[v1] Sun, 19 Apr 2026 07:29:37 UTC (496 KB)
[v2] Tue, 21 Apr 2026 06:17:50 UTC (436 KB)
[v3] Thu, 13 Aug 2026 07:58:00 UTC (425 KB)
[v4] Sat, 7 Nov 2026 20:04:03 UTC (434 KB)