potentialpaper

Cat-DPO: Category-Adaptive Safety Alignment

Tiankai Yang, Yi Nian, Xinyuan Li, Ruiyao Xu, Henry Peng Zou, Kaize Ding, Xiyang Hu, Yan Liu, Yue Zhao

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Cat-DPO adds per-category adaptive margins to DPO via Lagrangian dual variables, closing safety gaps on underprotected harm categories while preserving aggregate performance and avoiding over-refusal.

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.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
20 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:47 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Summary. The paper introduces Cat-DPO, which replaces a single global safety objective with category-specific safety constraints. Each category is assigned an adaptive dual variable that acts as a margin in the DPO loss, increasing training pressure on categories where the model insufficiently prefers safe responses. These margins are updated using an offline violation proxy derived from the DPO log-ratio, without requiring additional reward models or on-policy rollouts. Empirically, Cat-DPO improves overall and worst-category safety while largely preserving helpfulness.

Strengths. The paper’s main strength is its simple and well-motivated reformulation of safety alignment from a single aggregate objective into category-specific adaptive constraints. By increasing the DPO margin for underperforming or data-scarce categories, Cat-DPO directly targets safety disparities that may be obscured by aggregate metrics. The method is also computationally attractive, as the dual updates rely on quantities already available during DPO training.

The rebuttal meaningfully strengthens the paper, especially regarding its dependence on manually defined harm categories. The authors reran Cat-DPO after removing all 19 PKU harm labels and instead defining categories through unsupervised clustering of training prompts. Despite the low purity of these clusters with respect to the PKU taxonomy, the label-free variant still substantially outperformed the matched no-margin baseline, improving Safe Ratio by 4.8 points and worst-3 performance by 6.2 points while reducing variance from 1.42 to 0.70. This provides encouraging evidence that the method does not fundamentally depend on a curated harm taxonomy and can retain much of its benefit in an unlabeled setting.

Weaknesses. Some limitations remain. Several gains in the original evaluation are modest, particularly in near-saturated settings, and the lack of multiple seeds or significance tests makes it difficult to assess the stability of smaller improvements. The offline violation proxy is also not directly validated against actual category-level unsafe generation rates, and the implemented max-margin heuristic is not fully aligned with the stated Lagrangian formulation. In addition, agreement filtering may remove cases where helpfulness and safety genuinely conflict.

Overall Assessment. The rebuttal substantially addresses my main concern regarding reliance on pre-defined harm-category annotations. In particular, the unsupervised clustering experiment shows that Cat-DPO can recover most of the safety and worst-category gains even when the original harm labels are completely removed, which considerably broadens the applicability of the method. Given this additional evidence, I now lean toward acceptance (poster). I strongly encourage the authors to incorporate the unsupervised category construction and its results prominently into the final manuscript, rather than leaving them only in the rebuttal, as this experiment materially strengthens the paper’s scope and directly addresses an important limitation of the original submission.

Final justification

Please consult with Metareview.

Area Chair VX3j · Meta-reviewOpenReview ↗
Final justification
Please consult with Metareview.
Read meta-review
Meta-review

Summary. The paper introduces Cat-DPO, which replaces a single global safety objective with category-specific safety constraints. Each category is assigned an adaptive dual variable that acts as a margin in the DPO loss, increasing training pressure on categories where the model insufficiently prefers safe responses. These margins are updated using an offline violation proxy derived from the DPO log-ratio, without requiring additional reward models or on-policy rollouts. Empirically, Cat-DPO improves overall and worst-category safety while largely preserving helpfulness.

Strengths. The paper’s main strength is its simple and well-motivated reformulation of safety alignment from a single aggregate objective into category-specific adaptive constraints. By increasing the DPO margin for underperforming or data-scarce categories, Cat-DPO directly targets safety disparities that may be obscured by aggregate metrics. The method is also computationally attractive, as the dual updates rely on quantities already available during DPO training.

The rebuttal meaningfully strengthens the paper, especially regarding its dependence on manually defined harm categories. The authors reran Cat-DPO after removing all 19 PKU harm labels and instead defining categories through unsupervised clustering of training prompts. Despite the low purity of these clusters with respect to the PKU taxonomy, the label-free variant still substantially outperformed the matched no-margin baseline, improving Safe Ratio by 4.8 points and worst-3 performance by 6.2 points while reducing variance from 1.42 to 0.70. This provides encouraging evidence that the method does not fundamentally depend on a curated harm taxonomy and can retain much of its benefit in an unlabeled setting.

Weaknesses. Some limitations remain. Several gains in the original evaluation are modest, particularly in near-saturated settings, and the lack of multiple seeds or significance tests makes it difficult to assess the stability of smaller improvements. The offline violation proxy is also not directly validated against actual category-level unsafe generation rates, and the implemented max-margin heuristic is not fully aligned with the stated Lagrangian formulation. In addition, agreement filtering may remove cases where helpfulness and safety genuinely conflict.

Overall Assessment. The rebuttal substantially addresses my main concern regarding reliance on pre-defined harm-category annotations. In particular, the unsupervised clustering experiment shows that Cat-DPO can recover most of the safety and worst-category gains even when the original harm labels are completely removed, which considerably broadens the applicability of the method. Given this additional evidence, I now lean toward acceptance (poster). I strongly encourage the authors to incorporate the unsupervised category construction and its results prominently into the final manuscript, rather than leaving them only in the rebuttal, as this experiment materially strengthens the paper’s scope and directly addresses an important limitation of the original submission.

1 comment
Authors · CommentOpenReview ↗

Summary

Dear Area Chair VX3j,

Thank you for the careful summary, and for recognising the reformulation and its negligible cost over standard DPO.

We added additional experiments during the discussion period, and all seven weaknesses are now answered with new numbers. One line per weakness below, in your order, with the tables and full arguments in the per-reviewer replies. Alpaca-7B and the reward-model judge (cost ≤ 0) unless stated.

[1] Cat-DPO depends on pre-defined harm-category annotations from PKU-SafeRLHF...

  • We reran the method with the 19 harm labels deleted, taking categories from unsupervised prompt clustering (purity 0.507 against the PKU taxonomy): still +4.8 Safe Ratio and +6.2 worst-3 over the matched no-margin run, variance 0.70 against 1.42. PKU's own labels also come from "a joint annotation process that combines humans and AI". → wxCY, W1.

[2] The gains are often small, reported for the near-saturated Qwen3-4B setting...

  • Qwen3-4B is 53.1% safe before any training, against 10.4% for Alpaca-7B. On three added backbones with real headroom, one from another model family, Cat-DPO improves Safe Ratio, worst-3, gap and variance over SafeDPO on every one, by up to +2.8 and +5.9. The SFT-then-DPO pipeline yb83 asked for was also run. → wxCY W2, yb83 W2 and W3.

[3] ...reported without multiple seeds or significance tests...

  • Three seeds per method, paired: Cat-DPO minus SafeDPO is +1.36 ± 0.37 Safe Ratio, +1.41 ± 0.61 macro, +1.73 ± 1.26 worst-3, −1.37 ± 1.14 gap and −0.28 ± 0.17 variance, favourable on 3/3 seeds for all five; against the matched ablation, +5.25 and +6.65, again 3/3. Two runs at the same seed give identical numbers, so this spread is seed variation alone. → AXb5, W3.

[4] ...does not convincingly show that existing methods suffer from severe category imbalance...

  • The claim is the residual gap, as §1 states it. Gross imbalance belongs to DPO-helpful (lowest category 53.2%, 37.3pp spread), DPO-bettersafe and DPO-harmless; against SACPO and SafeDPO what is systematic is the residual, with SafeDPO's cross-category variance running 1.6 to 8.7 times Cat-DPO's across five backbones and a larger gap on all five. → yb83, W1.

[5] Agreement filtering removes examples where helpfulness and safety conflict...

  • In those 363 pairs PKU's two annotations contradict each other, so no single preference target exists. Adding them back leaves the 31 conflict-type test prompts at the identical 30 of 31 safe, so they carry no signal about their own case, and filtering costs us data (11,771 training pairs against 14,545 for the baselines). → wxCY, W3.

[6] ...the offline dual-update proxy is not validated against actual category-level unsafe generation rates...

  • Measured: against the reference model's actual per-category unsafe rate, V is Spearman −0.509 (n = 19, p < 0.05). The negative sign identifies V as separation difficulty rather than violation frequency, which follows from its definition. Acting on it improves the real rates: Fig. 4c gives r = −0.70, and against the matched run all 19 categories improve, the weakest five by +8.65. → wxCY Q1, AXb5 W2.

[7] ...the implemented max-margin heuristic departs from the stated Lagrangian formulation.

  • The exact-Lagrangian sum version is worse, by 1.9 Safe Ratio and 4.8 worst-3 with double the gap, which is the multi-label over-penalty A.5 predicts. The formulation still supplies three properties a hand-set margin would not: labels cannot flip at any λ ≥ 0 (A.2), the update releases pressure once a category is satisfied, and ε must grow as capacity shrinks (confirmed in Table 2). → AXb5, W1.

Status. wxCY: the single Question is [6]; W1, W2 and W3 are [1], [2] plus [3], and [5]. yb83: W1 is [4], W2 and W3 are [2] including the SFT-then-DPO pipeline, Q1 adds a severity-stratified metric on Qwen3-4B, and Q2 is answered with exactly the experiment requested, every checkpoint of both runs evaluated, where DPO-bettersafe never catches up on held-out generation. AXb5: all three weaknesses were experiment-answerable and all three experiments are done.

We are glad to provide any further clarification.

Reviewer AXb5OpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes Cat-DPO, a category-adaptive framework for safety alignment through direct preference optimization. The paper focuses on a limitation of existing safety-alignment methods that they typically represent safety using a single global constraint or fixed margin, which can produce strong aggregate performance while leaving some rare or difficult harm categories insufficiently aligned. To address this issue, the authors formulate safety alignment as a per-category constrained optimization problem and introduce a separate adaptive margin for each harm category. Each margin is derived from the corresponding Lagrangian dual variable and is updated online according to the model’s current performance.

Strengths and weaknesses

Strengths:

  1. The paper identifies an important and practically relevant issue that strong aggregate safety metrics can conceal substantial disparities across different harm categories.
  2. Cat-DPO is simple and intuitive. By assigning larger adaptive margins to underperforming categories, it directs more training pressure toward weak categories with little additional cost over standard DPO.

Weaknesses:

1.The method is motivated through a per-category Lagrangian formulation, but the implemented algorithm departs from the exact Lagrangian by using a max aggregation rather than the sum of category penalties, and by using a dual-inspired update rather than an exact primal-dual procedure. What does the Lagrangian derivation add beyond a heuristic adaptive per-category margin?

2.The dual update relies on an offline pairwise proxy for category difficulty. However, the paper does not directly show whether this proxy correlates with the actual per-category unsafe rate under model generations. Could the authors report this correlation, or otherwise validate that this proxy reliably tracks true category-level safety failures?

3.The empirical results appear to be reported without multiple seeds, standard deviations, or significance tests. Since some improvements are small and several metrics are close to saturation, how can we tell whether the gains are robust rather than due to run-to-run variation?

Questions

See Weaknesses.

Limitations

Yes

Final justification

The authors have addressed my main concerns in the rebuttal.

  1. The additional ablation comparing max aggregation with the strict Lagrangian sum better justifies the design choice and clarifies the role of the Lagrangian formulation.
  2. The authors directly evaluated the category-difficulty proxy and provided correlation and per-category improvement analyses, addressing my concern about whether the proxy meaningfully reflects category-level difficulty.
  3. They also added multi-seed results with standard deviations and paired comparisons, which substantially strengthens the evidence for robustness.

Overall, my main concerns have been resolved and I increased my score accordingly.

Formatting concerns

None observed.

4 comments
Authors · CommentOpenReview ↗

Part 1

Dear Reviewer AXb5,

Thank you for the careful review, and for recognising that aggregate safety metrics can conceal per-category disparities. All three points were answerable by experiment and all three experiments are done.

[w1] The implemented algorithm departs from the exact Lagrangian by using a max aggregation rather than the sum... What does the Lagrangian derivation add beyond a heuristic adaptive per-category margin?

Thank you, this is the right question to put to the derivation. App. A.5 already describes Cat-DPO as dual-inspired rather than exact primal-dual, and gives the multi-label over-penalty as the reason for preferring max over the strict Lagrangian's sum. What we add is the measurement:

Alpaca-7B, RM Safe Ratio Worst-3 Gap ↓ Var ↓
max aggregation (default) 97.2 94.3 6.4 0.28
sum aggregation (strict Lagrangian) 95.3 89.5 12.8 0.97
λ capped at 10 (SafeDPO's fixed margin) 96.3 91.9 8.7 0.65
DPO-bettersafe (no margin, matched) 90.5 85.5 13.6 1.42

The strict sum loses 1.9 Safe Ratio and 4.8 worst-3 and doubles the gap, which is the over-penalty A.5 predicts: a prompt carrying five labels is charged five times for one gradient step, and the label count reflects taxonomy granularity rather than risk. Row three tests the opposite simplification, capping λ at the scale §5 reports it settling near, which coincides with SafeDPO's Δ = 10; forbidding differentiation above that costs 0.9 Safe Ratio and 2.4 worst-3.

The formulation then supplies three properties that hold for the algorithm exactly as implemented, and that a hand-set per-category margin would not give. (1) λ enters only as an additive shift on safe-unsafe pairs, and A.2 proves that no λ ≥ 0 can flip a preference label, so the margin can be raised as far as needed without corrupting the training signal. (2) The update λ_k ← max(0, λ_k + η(V_i − ε)) decreases whenever V_i < ε, so pressure is released once a category is satisfied and its loss returns to plain DPO, which the measured trajectories show (App. C.3). (3) Reading ε as a violation budget predicts that a lower-capacity backbone needs a larger ε, and Table 2 confirms it, the optimum moving from 0.02 to 0.05 on the two smallest backbones.

[w2] The dual update relies on an offline pairwise proxy for category difficulty. However, the paper does not directly show whether this proxy correlates with the actual per-category unsafe rate...

Thank you for pointing this out, it is the sharpest gap in the submission's evidence and we now close it directly.

  1. The correlation. Against the reference model's actual per-category unsafe generation rate, V is Spearman −0.509 (n = 19, p < 0.05); against category training frequency, −0.39.
  2. The sign follows from the definition, and identifies the proxy. V_i = 1 − σ(βδ_i) is the model's implied probability of ranking the unsafe response above the safe one, so V measures how thin a category's safe-unsafe separation is. The more blatant the harm, the more the two responses differ as text, and the easier they separate. Disrupting Public Order and Cybercrime, violated most often by the reference model (100% and 93.5%), sit at the low end of the observed 0.026 to 0.082 range; Sexual Content, Insulting and Discriminatory Behaviour sit at the top. So V tracks separation difficulty and data scarcity, not violation frequency, which is the precise sense of A.4's statement that V_i is directionally correct but biased relative to the population violation.
  3. Acting on it improves the real rates, which is the property the method requires. Fig. 4c gives per-category improvement over the matched no-margin run against that category's difficulty: r = −0.70, p < 10⁻³, so the highest-V categories gain most. Ranking the 19 categories by the baseline's own rate, 19 of 19 improve, the weakest five by +8.65 against +2.77 for the strongest five, and variance falls 1.42 → 0.28.
  4. The ranking is a property of the data, not of one run: computed on five independently trained models with different losses, it has mean pairwise Spearman 0.79 (range 0.59 to 0.92).

We will state this reading of V explicitly in the revision.

Authors · CommentOpenReview ↗

Part 2

[w3] The empirical results appear to be reported without multiple seeds, standard deviations, or significance tests...

Thank you for raising this. Now reported: three independent seeds (1, 2, 42) per method, paired by seed.

Alpaca-7B, RM, mean ± sd over 3 seeds Safe Ratio Macro Worst-3 Gap ↓ Var ↓
DPO-bettersafe 91.65 ± 1.28 92.46 ± 1.20 87.29 ± 1.63 12.51 ± 0.95 1.14 ± 0.25
SafeDPO 95.53 ± 0.86 95.73 ± 0.97 92.20 ± 1.88 7.82 ± 1.19 0.62 ± 0.21
Cat-DPO 96.89 ± 0.52 97.14 ± 0.39 93.93 ± 0.67 6.46 ± 0.31 0.34 ± 0.05

Paired deltas, Cat-DPO minus SafeDPO: Safe Ratio +1.36 ± 0.37, Macro +1.41 ± 0.61, Worst-3 +1.73 ± 1.26, Gap −1.37 ± 1.14, Variance −0.28 ± 0.17, favourable on every seed for all five. Against the matched ablation: +5.25 ± 1.34, +4.68 ± 1.14, +6.65 ± 1.80, −6.06 ± 1.07, −0.81 ± 0.29, again every seed.

On run-to-run variation, which is what the question turns on: we trained the same configuration twice at the same seed and the two runs produced identical evaluation numbers on every reward-model metric. The pipeline therefore has no run-to-run randomness at a fixed seed, so the spread above comes from the seed alone and the deltas cannot be attributed to noise. The level metrics also hold under a change of judge: Safe Ratio and Macro improve over SafeDPO on all three seeds under GPT-4o (+1.91 ± 0.93 and +1.14 ± 0.70), and under a second LLM judge, GPT-4.1-mini, Safe Ratio improves on all three seeds.

On saturation: Qwen3-4B starts at 53.1% safe before any training, against 10.4% for Alpaca-7B, so we add three backbones with real headroom, one from another model family:

RM, absolute base safe rate Safe Ratio Worst-3 Gap ↓ Var ↓
Llama-3.2-3B: SafeDPO / Cat-DPO 26.0 96.4 / 99.1 91.6 / 97.5 8.0 / 3.3 0.61 / 0.07
Qwen3-1.7B: SafeDPO / Cat-DPO 39.0 97.2 / 98.5 95.4 / 96.9 5.7 / 3.8 0.21 / 0.13
Qwen2.5-3B: SafeDPO / Cat-DPO 28.0 93.1 / 95.9 89.2 / 93.4 10.8 / 4.8 0.79 / 0.27

Across five backbones and three model families, Safe Ratio, worst-3, gap and variance all improve over SafeDPO on every one. One further point the question brings out: the adaptive margin makes training more reproducible, not less, with Cat-DPO's seed spread at ± 0.52 against DPO-bettersafe's ± 1.28.

Authors · CommentOpenReview ↗

Follow-up on Discussion

Dear Reviewer AXb5,

As the author–reviewer discussion period is coming to a close, we would be grateful if you could let us know whether there are any remaining questions or concerns that we may further clarify. We understand this is a busy time, and we sincerely appreciate your time and thoughtful engagement with our work.

Thank you again.

Authors · CommentOpenReview ↗

Dear Reviewer AXb5,

Thank you again for your careful review. Our response added targeted evidence for all three concerns: the strict-sum/max/capped-margin comparison clarifying the Lagrangian design, the direct analysis of ViV_i together with its downstream per-category gains, and paired three-seed results showing consistent improvements.

For W2, we would also like to clarify one key point: absolute unsafe rates are not directly comparable across categories because they also depend on category-specific prompt distributions and sample difficulty. The intended role of ViV_i is therefore not to estimate absolute violation frequency, but to identify where uniform DPO leaves greater residual difficulty. The matched comparison validates this role: categories with lower baseline preference probability receive larger gains from Cat-DPO, and all 19 categories improve on held-out generation. We will make this rationale more explicit in the revision.

We hope these additions resolve your concerns. As the discussion period draws to a close, we would be grateful if you could take them into account in your final assessment.

Reviewer yb83OpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes Cat-DPO, an extension of previous DPO-based safety alignment that supports separate adaptive safety margin for each safety category instead of a single global safety objective. The results show that Cat-DPO improves overall safety alignment performance and reduces variance over categories compared to baseline DPO training.

Strengths and weaknesses

Strengths: The paper provides an interesting extension of safety alignment with DPO that treats each category separately with per-category adaptive margins.

The authors show that the proposed Cat-DPO method achieve strong performance on PKU-SafeRLHF with the Alpaca-7B model and provide sufficient ablation studies.

Weaknesses: Figure 1 and Figure 3 do not sufficiently show that prior safety alignment methods (SACPO and SafeDPO) suffer from imbalanced safety optimization over categories (large per-category safety variance) and thus the uniform pressure of a single global safety constraint, which weakens the motivation of the proposed Cat-DPO method. In other words, the severity of the raised category imbalance is not fully convincing.

The gain for Qwen3-4B is marginal, as the authors noted that all methods approach saturation. In lines 187-188 "weaker differentiation is expected because Qwen3-4B is a base checkpoint...making the DPO log-ratio less well-specified".

  • It is a standard practice to do SFT training first, then DPO. Will the differentiation be stronger if the Qwen3-4B model is trained with SFT first?
  • The test results of core safety metrics on PKU-SafeRLHF with Qwen3-4B backbone seem to be already near-perfect, which leaves little room for safety improvement and makes it hard to interpret the overall safety gain from Cat-DPO.
Questions

Can you provide more challenging evaluation results with Qwen3-4B backbone that show the gain from Cat-DPO over prior works more clearly? For example, stricter metrics or more difficult benchmarks.

I'm not exactly following the discussion and the causal chain from Figure 4b and 4c. If bettersafe catches up later in training and closes the gap, how does it explain the better downstream performance of Cat-DPO in Table 1 (which evaluates the last checkpoint I assumed)? Can you provide more explanation on the logic chain from "more capacity toward hard categories during the critical early phase" (lines 212-213) to "improving their generalization on held-out prompts" (line 213) to "flatter safe ratio distribution in Figure 3" (line 214)? If the advantage of Cat-DPO over bettersafe is category-level faster convergence, can you evaluate and compare the downstream performance of earlier Cat-DPO and bettersafe checkpoints?

Limitations

yes

Final justification

During the rebuttal, the authors provided extensive additional experiment results regarding the concerns and questions I raised. Specifically, they addressed the severity of the research problem, performance gain from Qwen3-4B, and the SFT-DPO training pipeline. A small limitation remains that the task performance of the proposed Cat-DPO is not significantly better than SafeDPO, but the motivation, proposed method, and the completeness of experiments outweigh this small limitation. So I would keep my positive rating of this work.

Formatting concerns

No formatting concern.

5 comments
Authors · CommentOpenReview ↗

Part 1

Dear Reviewer yb83,

Thank you for the careful review, and for recognising the per-category adaptive margin and the ablation studies.

[w1] Figure 1 and Figure 3 do not sufficiently show that prior safety alignment methods (SACPO and SafeDPO) suffer from imbalanced safety optimization...

Thank you for pressing on the motivation. The claim the method rests on is the residual gap, as §1 states it: safety-specific methods flatten the distribution "without closing the residual gaps at the weakest end". The interval below is a bootstrap on the lowest per-category rate, resampling the 1,620 prompts with replacement and recomputing the minimum over the 19 categories 10,000 times, so it says whether a low worst category could be an artefact of which prompts the test split contains.

Alpaca-7B, RM overall lowest category 95% CI on the lowest Gap ↓
DPO-helpful 76.1 53.2 [43.9, 61.1] 37.3
DPO-bettersafe 90.5 83.5 [75.9, 86.7] 13.6
DPO-harmless 93.7 88.8 [82.2, 90.7] 11.2
SACPO 95.1 91.1 [84.4, 92.9] 8.9
SafeDPO 96.2 93.5 [86.5, 93.9] 6.5
Cat-DPO 97.2 93.6 [87.8, 95.1] 6.4

Gross imbalance belongs to DPO-helpful, DPO-bettersafe and DPO-harmless; SACPO and SafeDPO are flatter, and what Cat-DPO acts on is what they still leave behind. That residual is systematic rather than one panel's artefact:

cross-category variance SACPO SafeDPO Cat-DPO
Alpaca-7B (3 seeds) 0.54 0.62 0.34
Qwen3-4B 0.02 0.48 0.07
Llama-3.2-3B 0.18 0.61 0.07
Qwen3-1.7B 0.22 0.21 0.13

SafeDPO's variance runs 1.6 to 8.7 times Cat-DPO's across these four and Qwen2.5-3B (0.79 against 0.27), with a larger gap on all five. SACPO's exceeds Cat-DPO's on three of its four backbones; the exception is Qwen3-4B, the saturated case where §5 already reports that Cat-DPO ties or closely trails the best.

The mechanism rests on three training-side measurements, so none depends on a judge: λ_k stays higher on the three hardest categories throughout training (Fig. 4a); the extra pressure lands where the baseline is weakest (Fig. 4c, r = −0.70, p < 10⁻³); and adding only the margin, on identical data and schedule, moves variance 1.42 → 0.28 with worst-3 +8.8pp. It raises the bottom rather than lowering the top: ranked by the baseline's own rate, all 19 categories improve, the weakest five by +8.65 and the strongest five by +2.77.

[w2] The gain for Qwen3-4B is marginal, as the authors noted that all methods approach saturation... already near-perfect...

Thank you, this is worth making concrete. Qwen3-4B's starting point does it: 53.1% safe before any training, against 10.4% for Alpaca-7B. We add three backbones with real headroom, one from another model family:

RM, absolute base safe rate Safe Ratio Worst-3 Gap ↓ Var ↓
Llama-3.2-3B: SafeDPO / Cat-DPO 26.0 96.4 / 99.1 91.6 / 97.5 8.0 / 3.3 0.61 / 0.07
Qwen3-1.7B: SafeDPO / Cat-DPO 39.0 97.2 / 98.5 95.4 / 96.9 5.7 / 3.8 0.21 / 0.13
Qwen2.5-3B: SafeDPO / Cat-DPO 28.0 93.1 / 95.9 89.2 / 93.4 10.8 / 4.8 0.79 / 0.27

The aggregate is what saturates; the distribution does not. On Qwen3-4B, SafeDPO reads 97.3 overall yet 92.4 on its worst category with a 7.6pp spread, against 98.7 / 96.8 / 3.2 for Cat-DPO. A near-perfect aggregate concealing a wide spread is the phenomenon the paper targets.

Authors · CommentOpenReview ↗

Part 2

[w3] It is a standard practice to do SFT...

Thank you for the suggestion, we ran it. The standard pipeline is already covered by the primary backbone, since Alpaca-7B is an SFT model, and §5 describes Qwen3-4B-Base as the deliberate contrast, "a non-safety-primed secondary backbone". Setup: SFT of Qwen3-4B-Base on Alpaca-52k, the Stanford Alpaca set Alpaca-7B was itself built on, which moves the model toward the distribution that generated the PKU pairs. Then the three methods on top, unchanged.

Qwen3-4B, RM Safe Ratio Worst-3 Gap ↓ Var ↓
base checkpoint
DPO-bettersafe 98.2 96.0 4.4 0.21
SafeDPO 97.3 93.7 7.6 0.48
Cat-DPO 98.7 97.6 3.2 0.07
SFT on Alpaca-52k first (new)
DPO-bettersafe 98.5 96.7 4.4 0.14
SafeDPO 98.5 96.9 3.3 0.12
Cat-DPO 99.1 97.6 2.8 0.07

Two findings. (1) SFT does what lines 187-188 predict: every method's absolute safety rises, and Cat-DPO stays best of the three retrained methods on all five statistics. (2) The separation does not grow, because all three move toward the ceiling: between 98.5 and 99.1, one percentage point is the whole remaining range. Once the log-ratio is well specified, differentiation is bounded by headroom, not by specification.

These are the best numbers we obtain on this backbone, so we will report the pipeline in the revision, and are glad to extend it beyond the three methods retrained here.

[q1] Can you provide more challenging evaluation...

Thank you for this question, which we answer in two parts, one on the metric and one on the benchmark.

A stricter metric, taken from the dataset's own annotation rather than a cut-off we pick. PKU-SafeRLHF labels each unsafe response with one of three harm severities; each prompt takes the maximum over its annotated unsafe responses.

Qwen3-4B, RM minor (n = 194) moderate (n = 1115) severe (n = 311)
DPO-bettersafe 96.9 98.4 98.4
SafeDPO 95.9 97.3 98.4
Cat-DPO 97.9 98.8 98.7
Cat-DPO minus SafeDPO +2.0 +1.5 +0.3

The genuinely hard stratum is minor, not severe: every method scores lowest there, because a minor-harm request carries the weakest refusal cues while a blatantly severe one is easy to recognise. Cat-DPO leads at all three, and its margin is largest exactly on that hardest stratum.

On a harder benchmark. A safety-only aggregate cannot separate safety from broad refusal, which is why the submission pairs it with over-refusal in Table 3, where Cat-DPO refuses the most genuinely unsafe prompts at comparable over-refusal (76.5 at 10.0, against 74.0 at 9.6 and 68.5 at 10.8). Otherwise separation comes from headroom rather than a stricter cut, which the three backbones in [w2] supply.

[q2] If bettersafe catches up...

Thank you for setting out the chain in this detail; the experiment it asks for is one we have now run. Table 1 does evaluate the final checkpoint, uniformly for every method. The tension resolves once two quantities are separated: Fig. 4b plots preference probability on the training pairs, which is fit; Table 1 and Fig. 3 measure generation on held-out prompts, which is generalisation, and the first converging does not make the second converge. Every checkpoint of both runs, on all 1,620 prompts:

step Cat-DPO macro / worst-3 bettersafe macro / worst-3 macro gap
500 97.1 / 93.5 87.5 / 76.8 +9.6
1000 97.7 / 94.1 90.2 / 82.8 +7.5
1500 97.1 / 93.3 92.2 / 87.3 +4.9
2000 97.6 / 95.2 91.8 / 84.8 +5.8
2500 97.6 / 94.1 91.1 / 85.5 +6.5
2944 (final) 97.3 / 94.3 91.4 / 85.5 +5.9

DPO-bettersafe does not catch up on held-out generation. Its macro rises from 87.5 to 92.2 by step 1500 and then settles around 91.4, so the macro gap narrows from 9.6pp to 5.9pp and is 4.9pp at its narrowest, while the worst-3 gap stays between 6.0 and 16.7pp. Cat-DPO leads at every checkpoint, and the two runs settle at different levels rather than a shared one. Cat-DPO is also stable across the range.

Taking the three links in turn. Capacity to hard categories, early: λ_k is already higher on the three hardest categories in the first blocks of training (Fig. 4a), and a larger λ_k raises the threshold a pair must clear, so the loss keeps producing gradient on that category after a plain DPO loss would have saturated (§4, App. A.3). Generalisation on held-out prompts: that is the table above, and the advantage is present at every checkpoint rather than appearing at the end. A flatter distribution: the extra pressure lands on the categories weakest under the matched baseline (Fig. 4c, r = −0.70), and per category all 19 improve with the weakest five gaining most ([w1]), which is what flattens the distribution rather than shifting it.

Authors · CommentOpenReview ↗

Follow-up on Discussion

Dear Reviewer yb83,

As the author–reviewer discussion period is coming to a close, we would be grateful if you could let us know whether there are any remaining questions or concerns that we may further clarify. We understand this is a busy time, and we sincerely appreciate your time and thoughtful engagement with our work.

Thank you again.

Reviewer wxCYOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper addresses the problem of safety alignment in large language models. Existing preference-learning-based methods reduce safety to a single scalar value that is applied uniformly across all training pairs. However, this approach leaves the model vulnerable on certain harm categories that have limited training data or are inherently more difficult. To address this, the authors decompose the safety constraint on a per-category basis. Specifically, the Lagrangian dual variable λkλ_k associated with each category's constraint serves as the safety margin for that category, and this λkλ_k is adjusted dynamically during training. That is, when the model still produces unsafe responses in a given category, λkλ_k is increased to strengthen the training pressure; conversely, once the model handles that category sufficiently safely, λkλ_k is decreased to relax the pressure.

Strengths and weaknesses

Strengths

  1. Rather than treating safety as a single scalar, the method decomposes the safety constraint on a per-category basis, allowing training pressure to be selectively concentrated on categories that have limited data or are inherently more difficult. This is a well-motivated problem formulation.
  2. The idea of updating the dual variable using only a quantity computed internally within DPO (ViV_i), without any separate cost model or on-policy sampling, is compelling. It offers a practical advantage in that per-category constraints can be operated at the same computational cost as standard DPO, without additional overhead.

Weaknesses

  1. The definition of harm categories relies directly on the annotation scheme of PKU-SafeRLHF, making the method dependent on a specific dataset. Its extensibility to other safety taxonomies or to preference datasets without pre-existing category labels is limited.
  2. The results in Table 1 alone do not clearly establish that Cat-DPO is superior. On Qwen3-4B, it does not consistently outperform the baselines across metrics, and even in the cases where it shows an advantage on Llama (Alpaca-7B), the improvement remains marginal.
  3. The agreement filter discards the training pairs that are most central to safety alignment. D_agree removes pairs in which the more helpful response is in fact the less safe one—that is, pairs where helpfulness and safety conflict—which are precisely the cases that safety alignment should most carefully address. The method relies on clean data where the helpfulness and safety signals agree, and is unable to handle pairs where the two signals conflict.
Questions

Have you verified whether the proposed proxy ViV_i directly tracks the actual per-category violation rate? Would it be possible to provide a plot that directly compares ViV_i against the actual per-category violation rate?

Limitations

yes

Final justification

The rebuttal addressed my main concerns about evaluation breadth and taxonomy dependence. I still view ViV_i as a difficulty signal rather than a true violation estimate, and the agreement filter does not directly model safety–helpfulness conflicts; however, the added evidence justifies raising my score from 3 to 4.

Formatting concerns

I did not find any formatting concerns.

5 comments
Authors · CommentOpenReview ↗

Part 1

Dear Reviewer wxCY,

Thank you for the thoughtful review, and for recognising the per-category formulation and the internal proxy V_i as practical strengths.

[w1] The definition of harm categories relies directly on the annotation scheme of PKU-SafeRLHF...

Thank you for raising this. Three points, needing progressively less annotation.

  1. These labels are produced by a pipeline, PKU's included. The dataset paper describes "a joint annotation process that combines humans and AI" performing "fine-grained annotation for 19 harm categories and 3 severity levels". PKU-SafeRLHF is therefore an existence proof, at 265k-pair scale, that labels of exactly this granularity can be produced by model-assisted annotation rather than written per example by an expert, and the same route is open on a new dataset.
  2. Categories are the only annotated input Cat-DPO adds. Every preference-based safety method already consumes PKU's safety preference labels; on top of that Cat-DPO needs C(x) and h, and h needs no annotation, being the thresholded cost 1[c(x,y) > 0] (§4). The conclusion already scopes what remains, listing "preference datasets without pre-labeled categories" as future work.
  3. It works with no harm labels at all. We deleted the 19 labels and took C(x) from clustering the training prompts: TF-IDF word-count features, truncated SVD to compress them, k-means with K = 19 so the number of dual variables is unchanged. No model and no labels enter this step. Purity against the PKU taxonomy is 0.507, meaning only about half of each cluster's prompts share its dominant PKU category, so this is a genuinely different partition rather than a rediscovery.
Alpaca-7B, RM Safe Ratio Macro Worst-3 Gap ↓ Var ↓
DPO-bettersafe (matched, no margin) 90.5 91.4 85.5 13.6 1.42
Cat-DPO, clustered categories, zero labels 95.3 96.3 91.7 9.2 0.70
Cat-DPO, PKU categories 97.2 97.3 94.3 6.4 0.28

Label-free categories recover most of the effect and halve the variance; a curated taxonomy adds a further increment, which is what a per-category controller should do.

[w2] The results in Table 1 alone do not clearly establish that Cat-DPO is superior...

Thank you for this observation. We add the two things Table 1 did not report: seeds, and backbones with headroom.

(1) Three seeds per method (Alpaca-7B, RM, mean ± sd over seeds 1, 2, 42):

method Safe Ratio Macro Worst-3 Gap ↓ Var ↓
DPO-bettersafe (matched, no margin) 91.65 ± 1.28 92.46 ± 1.20 87.29 ± 1.63 12.51 ± 0.95 1.14 ± 0.25
SafeDPO 95.53 ± 0.86 95.73 ± 0.97 92.20 ± 1.88 7.82 ± 1.19 0.62 ± 0.21
Cat-DPO 96.89 ± 0.52 97.14 ± 0.39 93.93 ± 0.67 6.46 ± 0.31 0.34 ± 0.05

Cat-DPO is best on all five and has the smallest spread on all five. Pairing by seed rather than comparing means, Cat-DPO minus SafeDPO is +1.36 ± 0.37 Safe Ratio, +1.41 ± 0.61 Macro, +1.73 ± 1.26 Worst-3, −1.37 ± 1.14 Gap and −0.28 ± 0.17 Variance, favourable on every seed for all five; against the matched ablation, +5.25 ± 1.34, +4.68 ± 1.14, +6.65 ± 1.80, −6.06 ± 1.07 and −0.81 ± 0.29, again every seed.

(2) Backbones with headroom. Qwen3-4B is 53.1% safe before any training, against 10.4% for Alpaca-7B, so we add three that leave real room, one from another model family:

RM, absolute base safe rate Safe Ratio Worst-3 Gap ↓ Var ↓
Llama-3.2-3B: SafeDPO / Cat-DPO 26.0 96.4 / 99.1 91.6 / 97.5 8.0 / 3.3 0.61 / 0.07
Qwen3-1.7B: SafeDPO / Cat-DPO 39.0 97.2 / 98.5 95.4 / 96.9 5.7 / 3.8 0.21 / 0.13
Qwen2.5-3B: SafeDPO / Cat-DPO 28.0 93.1 / 95.9 89.2 / 93.4 10.8 / 4.8 0.79 / 0.27

The aggregate is the part that approaches saturation, the distribution is not: on Llama-3.2-3B SafeDPO reads 96.4 overall yet 91.6 worst-3 with an 8.0pp gap, and Cat-DPO cuts its variance by 89%. Across five backbones and three families, all four statistics improve over SafeDPO on every one.

Authors · CommentOpenReview ↗

Part 2

[w3] The agreement filter discards the training pairs that are most central to safety alignment...

Thank you for this point, and we would separate handling the pairs from handling the cases.

  1. What the pairs are. In these 363 pairs PKU's two annotations contradict each other, so no single preference target exists; the dataset paper notes that "internal variance among human annotators also results in inconsistent Q-A pair labeling". Safety wins in a conflict, so only two coherent resolutions exist, relabel by safety (SafeDPO's swap) or exclude (agreement filtering), and neither uses the pair as annotated. App. A.2 proves what exclusion buys: labels cannot flip for any λ ≥ 0, which is what lets λ act as a margin rather than as a label change.
  2. Filtering costs data rather than granting an advantage. Cat-DPO trains on 11,771 pairs against 14,545 for SafeDPO, SACPO, DPO-harmless and DPO-helpful, so it wins on all five statistics on all three seeds with 19% fewer pairs. App. C.5 already reports the cost of relaxing the filter to the wider disagreeing set.
  3. The cases are handled. A test prompt is conflict-type if one of its test-split pairs is safe-unsafe with the more helpful response being the unsafe one, the test-side counterpart of the 363. Of 1,620 prompts, 31 qualify, so one prompt is 3.2pp.
RM conflict-type (n = 31) rest (n = 1589)
DPO-helpful 74.2 76.1
DPO-harmless 83.9 93.9
DPO-bettersafe 90.3 90.5
SACPO 93.5 95.1
SafeDPO 100.0 96.2
Cat-DPO (excludes those pairs) 96.8 97.2
Cat-DPO with the 363 added back 96.8 96.2

The controlled contrast is the last two rows: training on those pairs leaves the subgroup at the identical 30 of 31 and is not better on any aggregate statistic. The pairs carry no incremental signal about their own case, and the ability to see the unsafety behind a helpful-looking answer transfers from clean contrasts instead.

[q1] Have you verified whether the proposed proxy V_i directly tracks the actual per-category violation rate?...

Thank you for this question, and the short answer is yes. Figures are not supported here, so we report it as correlations.

  1. The correlation requested. Against the reference model's own per-category unsafe generation rate, V is Spearman −0.509 (n = 19, p < 0.05); against category training frequency, −0.39.
  2. Why the sign is negative, and what it identifies. V_i = 1 − σ(βδ_i) is the model's implied probability of ranking the unsafe response above the safe one on a labelled pair, so V measures how thin a category's safe-unsafe separation is. The more blatant the harm, the more the two responses differ as text, and the easier they separate. Disrupting Public Order and Cybercrime, violated most often by the reference model (100% and 93.5%), sit at the low end of the observed 0.026 to 0.082 range; Sexual Content, Insulting and Discriminatory Behaviour, where a safe and an unsafe answer read alike, sit at the top (0.082, 0.072, 0.070). So V locates the thinnest boundaries and the scarcest data, which is the imbalance source §1 names, and it is not an estimator of violation frequency. A.4 already notes it is directionally correct but biased relative to the population violation.
  3. Acting on it improves the real per-category rates, which is the property the method needs. Fig. 4c reports per-category improvement over the matched no-margin run against that category's difficulty: r = −0.70, p < 10⁻³, so the highest-V categories gain most. Decomposing that gain by ranking the 19 categories on the baseline's own rate: 19 of 19 improve, the weakest five by +8.65 and the strongest five by +2.77, with variance 1.42 → 0.28. Nothing is traded away.
  4. The ranking is a property of the data. Computed on five independently trained models with different losses, the per-category V ranking has mean pairwise Spearman 0.79 (range 0.59 to 0.92).

We will make this reading of V explicit in the revision.

Authors · CommentOpenReview ↗

Follow-up on Discussion

Dear Reviewer wxCY,

As the author–reviewer discussion period is coming to a close, we would be grateful if you could let us know whether there are any remaining questions or concerns that we may further clarify. We understand this is a busy time, and we sincerely appreciate your time and thoughtful engagement with our work.

Thank you again.

Comments on the paper

2 comments
Area Chair VX3j · CommentOpenReview ↗

Dear reviewers,

Please review the authors’ response and participate in the discussion.

Authors · CommentOpenReview ↗

Rebuttal Discussion Overview

Dear Area Chair VX3j,

Thank you for coordinating the discussion. For your convenience, we provide a brief overview of the reviewer interactions during the rebuttal period. We responded to all reviewer concerns with targeted analyses and additional experiments. As of this point:

  • Reviewer wxCY stated that most concerns were addressed and raised the score. We also provided a follow-up clarification on the remaining point for further consideration in the next stage.
  • Reviewer yb83 stated that our response addressed the main concerns well and maintained a positive assessment.
  • Reviewer AXb5 has not yet followed up; however, we have addressed all three concerns with the requested analyses and direct experiments. We look forward to their further consideration in the Phase 3 discussion.

Overall, every reviewer concern received a direct response, and both reviewers who followed up responded positively to the added evidence. We hope the reviewers can continue discussing the paper and our responses during Phase 3 as they finalize their assessments. We sincerely thank all reviewers for the time and effort in evaluating our work, and thank you again for coordinating the process.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…