Mitigating the Safety-utility Trade-off in LLM Alignment via Adaptive Safe Context Learning

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wang, Yanbo, Wang, Minzheng, Liang, Jian, Wang, Lu, Yu, Yongcan, He, Ran
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866918338046722048
author Wang, Yanbo
Wang, Minzheng
Liang, Jian
Wang, Lu
Yu, Yongcan
He, Ran
author_facet Wang, Yanbo
Wang, Minzheng
Liang, Jian
Wang, Lu
Yu, Yongcan
He, Ran
contents While reasoning models have achieved remarkable success in complex reasoning tasks, their increasing power necessitates stringent safety measures. For safety alignment, the core challenge lies in the inherent trade-off between safety and utility. However, prevailing alignment strategies typically construct CoT training data with explicit safety rules via context distillation. This approach inadvertently limits reasoning capabilities by creating a rigid association between rule memorization and refusal. To mitigate the safety-utility trade-off, we propose the Adaptive Safe Context Learning (ASCL) framework to improve the reasoning given proper context. ASCL formulates safety alignment as a multi-turn tool-use process, empowering the model to autonomously decide when to consult safety rules and how to generate the ongoing reasoning. Furthermore, to counteract the preference for rule consultation during RL, we introduce Inverse Frequency Policy Optimization (IFPO) to rebalance advantage estimates. By decoupling rule retrieval and subsequent reasoning, our method achieves higher overall performance compared to baselines.
format Preprint
id arxiv_https___arxiv_org_abs_2602_13562
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Mitigating the Safety-utility Trade-off in LLM Alignment via Adaptive Safe Context Learning
Wang, Yanbo
Wang, Minzheng
Liang, Jian
Wang, Lu
Yu, Yongcan
He, Ran
Cryptography and Security
Artificial Intelligence
Computation and Language
While reasoning models have achieved remarkable success in complex reasoning tasks, their increasing power necessitates stringent safety measures. For safety alignment, the core challenge lies in the inherent trade-off between safety and utility. However, prevailing alignment strategies typically construct CoT training data with explicit safety rules via context distillation. This approach inadvertently limits reasoning capabilities by creating a rigid association between rule memorization and refusal. To mitigate the safety-utility trade-off, we propose the Adaptive Safe Context Learning (ASCL) framework to improve the reasoning given proper context. ASCL formulates safety alignment as a multi-turn tool-use process, empowering the model to autonomously decide when to consult safety rules and how to generate the ongoing reasoning. Furthermore, to counteract the preference for rule consultation during RL, we introduce Inverse Frequency Policy Optimization (IFPO) to rebalance advantage estimates. By decoupling rule retrieval and subsequent reasoning, our method achieves higher overall performance compared to baselines.
title Mitigating the Safety-utility Trade-off in LLM Alignment via Adaptive Safe Context Learning
topic Cryptography and Security
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2602.13562