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

SpecAlign: 通过合成数据实现高效的大语言模型规范对齐

SpecAlign: Efficient Specification-Grounded Alignment of Large Language Models via Synthetic Data

University of Notre Dame(圣母大学);Carnegie Mellon University(卡内基梅隆大学);LMU Munich(慕尼黑大学);University of Southern California(南加州大学)

Wenjie Wang, Yue Huang, Zhengqing Yuan, Han Bao, Shiyi Du, Yuchen Ma, Yue Zhao, Yanfang Ye, Xiangliang Zhang

AI总结:

提出规范对齐新范式,通过从规范文档合成数据(SpecAlign框架),结合结构化规则标注、可控规范实例化和多智能体对抗数据合成,生成细粒度偏好对,提升规则遵守度且不损害通用能力。

摘要:

随着大语言模型(LLM)在现实应用中的部署日益增多,对齐不再由单一的通用安全或有用性概念主导,而是由提供商或应用特定的模型规范主导。这些规范通常冗长、结构化且频繁更新,然而现有的对齐流程缺乏系统化的机制来将其作为训练信号。在本文中,我们提出规范对齐(specification-grounded alignment),一种新的对齐范式,将提供商编写的模型规范作为主要对齐目标,而非抽象原则或静态基准。为实例化该范式,我们引入SpecAlign框架,该框架直接从规范文档合成对齐数据。SpecAlign结合结构化规则标注、可控规范实例化和多智能体对抗数据合成,生成细粒度、边界感知的偏好对,捕获合规行为和有意义的规范违反。在多个模型规范和骨干模型上的实验表明,使用SpecAlign进行训练一致地提高了规则遵守度,同时保持了通用能力并避免了过度保守的行为。这些结果表明,将对齐建立在显式模型规范上,能够实现LLM行为对不断变化的政策要求的快速、精确和可扩展的适应。

英文摘要:

As large language models (LLMs) are increasingly deployed in real-world applications, alignment is no longer governed by a single universal notion of safety or helpfulness, but instead by provider- or application-specific model specifications. These specifications are typically long, structured, and frequently updated, yet existing alignment pipelines lack a systematic mechanism to operationalize them as training signals. In this paper, we propose specification-grounded alignment, a new alignment paradigm that treats provider-authored model specifications as the primary alignment target rather than abstract principles or static benchmarks. To instantiate this paradigm, we introduce SpecAlign, a framework that synthesizes alignment data directly from specification documents. SpecAlign combines structured rule annotation, controllable specification instantiation, and multi-agent adversarial data synthesis to generate fine-grained, boundary-aware preference pairs that capture both compliant behaviors and meaningful specification violations. Experiments across multiple model specifications and backbone models demonstrate that training with SpecAlign consistently improves rule compliance while preserving general capabilities and avoiding over-conservative behavior. These results suggest that grounding alignment in explicit model specifications enables rapid, precise, and scalable adaptation of LLM behavior to evolving policy requirements.

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

↑