Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Yang, Tiankai, Nian, Yi, Li, Xinyuan, Xu, Ruiyao, Ding, Kaize, Zhao, Yue
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2604.17299
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915946892886016
author Yang, Tiankai
Nian, Yi
Li, Xinyuan
Xu, Ruiyao
Ding, Kaize
Zhao, Yue
author_facet Yang, Tiankai
Nian, Yi
Li, Xinyuan
Xu, Ruiyao
Ding, Kaize
Zhao, Yue
contents 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 looks safe on average but stays relatively unsafe on 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 on a category and relaxes once the model catches up, so the training signal tracks each category's current difficulty rather than averaging under one 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.
format Preprint
id arxiv_https___arxiv_org_abs_2604_17299
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Cat-DPO: Category-Adaptive Safety Alignment
Yang, Tiankai
Nian, Yi
Li, Xinyuan
Xu, Ruiyao
Ding, Kaize
Zhao, Yue
Computation and Language
Artificial Intelligence
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 looks safe on average but stays relatively unsafe on 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 on a category and relaxes once the model catches up, so the training signal tracks each category's current difficulty rather than averaging under one 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.
title Cat-DPO: Category-Adaptive Safety Alignment
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2604.17299