arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.12121cs.AIcs.CLcs.LG
收藏

通过针对性表征编辑实现大语言模型中的精确属性强度控制

Precise Attribute Intensity Control in Large Language Models via Targeted Representation Editing

Georgia Institute of Technology(佐治亚理工学院);Adobe Research(Adobe研究);Harvard University(哈佛大学)

Rongzhi Zhang, Liqin Ye, Yuzhao Heng, Xiang Chen, Tong Yu, Lingkai Kong, Sudheer Chava, Chao Zhang

AI总结:

本研究通过针对性表征编辑方法,实现大语言模型中精确属性强度控制,提升模型对用户需求的适应能力。

摘要:

精确属性强度控制——生成具有特定用户定义属性强度的大语言模型(LLM)输出——对于能够适应多样化用户期望的人工智能系统至关重要。然而,当前的LLM对齐方法通常只能提供方向性或开放式的指导,无法可靠地实现精确的属性强度。我们通过三个关键设计解决了这一限制:(1)将精确属性强度控制重新表述为目标到达问题,而不是简单的最大化;(2)通过时差学习训练一个轻量级的价值函数,从部分生成中预测最终属性强度评分,从而引导LLM输出;(3)利用基于梯度的干预在隐藏表征上导航,使模型精确地朝着特定属性强度目标前进。我们的方法实现了对属性强度的细粒度、连续控制,超越了简单的方向对齐。在LLaMA-3.2-3b和Phi-4-mini上的实验验证了我们方法能够以高精度引导文本生成到用户指定的属性强度。最后,我们展示了在三个下游任务中的效率提升:偏好数据合成、帕累托前沿近似和优化,以及无干预推理中的对齐行为蒸馏。我们的代码可在https://github.com/Pre-Control/pre-control上获取。

英文摘要:

Precise attribute intensity control--generating Large Language Model (LLM) outputs with specific, user-defined attribute intensities--is crucial for AI systems adaptable to diverse user expectations. Current LLM alignment methods, however, typically provide only directional or open-ended guidance, failing to reliably achieve exact attribute intensities. We address this limitation with three key designs: (1) reformulating precise attribute intensity control as a target-reaching problem, rather than simple maximization; (2) training a lightweight value function via temporal-difference learning to predict final attribute intensity scores from partial generations, thereby steering LLM outputs; and (3) employing gradient-based interventions on hidden representations to navigate the model precisely towards specific attribute intensity targets. Our method enables fine-grained, continuous control over attribute intensities, moving beyond simple directional alignment. Experiments on LLaMA-3.2-3b and Phi-4-mini confirm our method's ability to steer text generation to user-specified attribute intensities with high accuracy. Finally, we demonstrate efficiency enhancements across three downstream tasks: preference data synthesis, Pareto frontier approximation and optimization, and distillation of aligned behaviors for intervention-free inference. Our code is available on https://github.com/Pre-Control/pre-control

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

↑