arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.06326cs.AI
收藏

DT-Guard:用于无推理语言模型安全护栏的意图驱动推理主动训练

DT-Guard: Intent-Driven Reasoning-Active Training for Reasoning-Free LLM Safety Guardrail

Ant Group(蚂蚁集团)

He Liu, Changtao Miao, Xinjie Yang, Tianle Song, Yin Wu, Junchi Chen, Bintao He, Xinyuan Zhang, Bo Zhang, Shi Yan, Wei Lu, Wei Wang, Danyang Xu, Jiansheng Cai, Zhe Li

AI总结:

研究为开放世界应用的语言模型设计安全护栏的问题,提出基于推理主动训练、无推理推理范式的DT-Guard模型,通过构建意图驱动数据集等方法提升性能,实验证明其在安全基准测试中表现优异,能有效将推理监督内化到低延迟安全判别中。

摘要:

在开放世界应用中部署的大型语言模型需要强大且高效的安全护栏。现有护栏在轻量级基于分类的模型(高效但难应对复杂意图等)和基于推理的护栏(提升判断质量但增加延迟)间存在权衡。我们提出DT-Guard,基于推理主动训练、无推理推理范式的内容安全护栏模型。训练时用推理监督,推理时仅输出结构化安全标签。它将安全判断设为渐进决策过程,构建意图驱动数据集。还提出Rollout-Guided Progressive Hard-Case Optimization提升鲁棒性。实验表明DT-Guard在提示侧和响应侧安全基准测试中分别取得平均F1分数0.886和0.870,仅4B主干时双侧平均F1达0.878,优于8B护栏基线。

英文摘要:

Large language models deployed in open-world applications require safety guardrails that are both robust to complex risks and efficient enough for low-latency runtime moderation. Existing guardrails face a practical trade-off between lightweight classification-based models, which are efficient but often struggle with concealed intent, ambiguous semantics, and borderline safety decisions, and reasoning-based guards, which improve judgment quality but introduce additional token generation and inference latency. We present DT-Guard, a content safety guardrail model based on a Reasoning-Active Training, Reasoning-Free Inference paradigm. The key idea is to use reasoning supervision during training while emitting only structured safety labels at inference time. DT-Guard formulates safety judgment as a progressive decision process, Intent - Category - Safety, and constructs an intent-driven dataset with intent labels, risk categories, safety labels, and structured reasoning trajectories. To further improve hard-case robustness, we propose Rollout-Guided Progressive Hard-Case Optimization (RG-PHO), which uses multi-rollout consistency to identify stably mastered, persistently failed, and preference-unstable samples, and applies targeted supervised and preference optimization accordingly. At inference time, DT-Guard directly generates structured labels without explicit reasoning traces, preserving deployment efficiency. Experiments on prompt-side and response-side safety benchmarks show that DT-Guard achieves average F1 scores of 0.886 and 0.870, respectively. With only a 4B backbone, it reaches a dual-side average F1 of 0.878, outperforming strong 8B guardrail baselines. These results demonstrate that reasoning supervision can be effectively internalized into low-latency safety discrimination.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑