arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.16152cs.LGcs.AIcs.CL
收藏

HIPO:通过约束强化学习实现指令层级

HIPO: Instruction Hierarchy via Constrained Reinforcement Learning

School of ECEE Arizona State University(亚利桑那州立大学电子与计算机工程学院);Department of ECE The Ohio State University(俄亥俄州立大学电子工程系);Computer Science Department University of Houston(休斯顿大学计算机科学系);College of Engineering & Applied Science CU Boulder(科罗拉多大学博尔德分校工程与应用科学学院);Dept. of Electrical Engineering & Computer Science United States Military Academy(美国军事学院电子工程与计算机科学系)

Keru Chen, Jun Luo, Sen Lin, Yingbin Liang, Alvaro Velasquez, Nathaniel Bastian, Shaofeng Zou

AI总结:

HIPO通过约束马尔可夫决策过程解决层级指令遵循问题,提升系统合规性与用户效用。

摘要:

层级指令遵循(HIF)指通过优先级有序的指令栈提示大语言模型。标准方法如RLHF和DPO通常无法解决此问题,因为它们主要优化单一目标,无法显式强制系统提示合规。同时,监督微调依赖于模仿过滤的合规数据,无法在算法层面建立优先级不对称性。本文介绍HIPO,一种新的对齐框架,将HIF建模为约束马尔可夫决策过程。HIPO将系统提示从单纯的输入上下文提升为严格的算法边界。使用对偶安全强化学习方法,算法动态将系统提示合规性作为显式约束,最大化用户效用严格在可行区域内。在多种模型架构(如Qwen、Phi、Llama)上的广泛评估表明,HIPO显著提高了系统合规性和用户效用。此外,机制分析揭示,这种约束优化会自动驱动模型将注意力转向长程系统令牌,为复杂工作流中可靠的LLM部署提供了原理基础。

英文摘要:

Hierarchical Instruction Following (HIF) refers to the problem of prompting large language models with a priority-ordered stack of instructions. Standard methods like RLHF and DPO typically fail in this problem since they mainly optimize for a single objective, failing to explicitly enforce system prompt compliance. Meanwhile, supervised fine-tuning relies on mimicking filtered, compliant data, which fails to establish the priority asymmetry at the algorithmic level. In this paper, we introduce \textsc{HIPO}, a novel alignment framework that formulates HIF as a Constrained Markov Decision Process. \textsc{HIPO} elevates system prompts from mere input context to strict algorithmic boundaries. Using a primal-dual safe reinforcement learning approach, the algorithm dynamically enforces system prompt compliance as an explicit constraint, maximizing user utility strictly within this feasible region. Extensive evaluations across diverse model architectures (e.g., Qwen, Phi, Llama) demonstrate that \textsc{HIPO} significantly improves both system compliance and user utility. Furthermore, mechanistic analysis reveals that this constrained optimization autonomously drives the model to shift its attention toward long-range system tokens, providing a principled foundation for reliable LLM deployment in complex workflows.

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

↑