跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 机器学习

arXiv:2411.09003 (cs)
[提交于 2024年11月13日 (v1),最后修订于 2025年1月28日 (此版本, v3)]

标题:Refusal in LLMs is an Affine Function

作者:Thomas Marshall, Adam Scherlis, Nora Belrose
查看论文《Refusal in LLMs is an Affine Function》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We propose affine concept editing (ACE) as an approach for steering language models' behavior by intervening directly in activations. We begin with an affine decomposition of model activation vectors and show that prior methods for steering model behavior correspond to subsets of terms of this decomposition. We then provide a derivation of ACE and use it to control refusal behavior on ten different models, including Llama 3 70B. ACE combines affine subspace projection and activation addition to reliably control the model's refusal responses across prompt types. We evaluate the results using LLM-based scoring on a collection of harmful and harmless prompts. Our experiments demonstrate that ACE consistently achieves more precise control over model behavior than existing methods and generalizes to models where directional ablation via affine subspace projection alone produces incoherent outputs. Code for reproducing our results is available at https://github.com/EleutherAI/steering-llama3 .
主题: 机器学习 (cs.LG); 计算与语言 (cs.CL)
引用方式: arXiv:2411.09003 [cs.LG]
  (或者 arXiv:2411.09003v3 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2411.09003

提交历史

来自:Thomas Marshall
[v1] 2024年11月13日 星期三 20:12:55 UTC
[v2] 2024年11月19日 星期二 04:53:47 UTC
[v3] 2025年1月28日 星期二 03:59:40 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-01
切换浏览方式为:
cs.LG
cs.CL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站