DOG-DPO:Dynamic Optimization in Geometry for Safety Alignment

Yi Nian, Tiankai Yang, Yudi Zhang, Qi Pan, Zelong Xu +5 more
6/4/2026
cs.LGcs.AI
rlhf-rlvr-dpo

No confident code implementation found for this paper.

Abstract

Safety alignment for large language models relies on preference data, but current pipelines often train on large, redundant datasets. Existing data selection methods typically score each preference pair independently, collapsing directional preference information into scalar quality or diversity scores.

Show full abstract

This sample-centric view is especially limiting in multi-dataset settings, where shared safety directions coexist with dataset-specific residual risks. We propose DOG-DPO, a training-free data selection framework that treats preference pairs as structured geometric signals. DOG-DPO first represents each preference pair as a direction in model representation space. It then decomposes multi-dataset preference geometry into a global anchor subspace and dataset-specific residual subspaces. Finally, it selects subsets by maximizing diversity-based coverage, encouraging broad, non-redundant coverage of alignment directions before DPO training. Across six safety benchmarks and two model backbones, DOG-DPO achieves a strong utility-robustness trade-off using only 11% of the preference pairs. It recovers most of the safety gains of full-data training while remaining entirely teacher-free, training-free, and substantially faster than representative selection baselines.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{nian2026dogdpodynamic,
  title  = {DOG-DPO:Dynamic Optimization in Geometry for Safety Alignment},
  author = {Yi Nian and Tiankai Yang and Yudi Zhang and Qi Pan and Zelong Xu and Shenzhe Zhu and Qingqing Luan and Yue Huang and Xiangliang Zhang and Yue Zhao},
  year   = {2026},
  eprint = {2606.07678},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.07678v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.07678.svg)](https://codeofpaper.com/paper/2606.07678)

Discussion