[论文解读] AI Steerability 360: A Toolkit for Steering Large Language Models
AISteer360 是一个开源的 Python 工具包,通过 steering 管道和基准用例,在输入、结构、状态和输出控制方面统一并评估对大语言模型的 steering。
The AI Steerability 360 toolkit is an extensible, open-source Python library for steering LLMs. Steering abstractions are designed around four model control surfaces: input (modification of the prompt), structural (modification of the model's weights or architecture), state (modification of the model's activations and attentions), and output (modification of the decoding or generation process). Steering methods exert control on the model through a common interface, termed a steering pipeline, which additionally allows for the composition of multiple steering methods. Comprehensive evaluation and comparison of steering methods/pipelines is facilitated by use case classes (for defining tasks) and a benchmark class (for performance comparison on a given task). The functionality provided by the toolkit significantly lowers the barrier to developing and comprehensively evaluating steering methods. The toolkit is Hugging Face native and is released under an Apache 2.0 license at https://github.com/IBM/AISteer360.
研究动机与目标
- 提供统一的接口和抽象,以实现跨提示、模型内部、激活/注意力和解码的 steering 方法。
- 通过 steering 管道实现对多种 steering 方法的组合,以实现复杂干预。
- 通过用例和基准测试,推动对 steering 方法的全面评估与比较。
- 通过提供可重用的模式和 HF 原生集成,降低开发和评估 steering 方法的门槛。
提出的方法
- 定义四维度分类法:输入、结构、状态和输出控制。
- 引入 SteeringPipeline 作为核心表面,用于将多种控制组合成单一模型操作。
- 提供用例和基准类以定义任务,并在固定参数设置和扫参数设置下评估 steering 管道。
- 提供基准以研究控制之间的权衡和相互作用(如激活和解码时间的 steering)。
- 演示一个具体的激活 steering 示例(对比激活相加),并展示训练与推理的集成。
- 支持复合 steering 和可复用的状态-控制抽象用于激活 steering(如 ActAdd、ITI、CAA),并具有模块化组件。

实验结果
研究问题
- RQ1如何在统一的接口下将跨模型控制面的 steering 方法整合?
- RQ2组合多种 steering 方法对模型行为和任务性能的影响如何?
- RQ3 steering 参数在目标行为(如指令执行)与辅助维度(如回答质量)之间的权衡如何?
- RQ4什么工具模式最能支持跨用例的快速开发与评估 steering 方法?
主要发现
- 该工具包通过共同接口(SteeringPipeline)实现 steering 方法的构建与组合。
- 基准测试揭示指令执行与奖励/质量指标之间的权衡,在某些情况下存在 Pareto 前沿,指出 steering 强度的最佳点。
- 在某些任务上,复合 steering 相较单一控制可以获得更好的权衡。
- 状态-控制抽象提供可重用的激活 steering 模式,使多个方法能够共享组件(估计器、选择器、变换、门控)。
- 如 CAA、ActAdd、ITI 等激活 steering 方法以模块化组件实现,并且可以与 DeAL 等解码时控制在管道中结合使用。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。