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

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

计算机科学 > 计算与语言

arXiv:2610.41480 (cs)
[提交于 2026年10月30日]

标题:KV-Cache Patching: Tracing How and Where Fine-Tuned Behaviors Arise

作者:Jonas Loos, Oliver Eberle
查看论文《KV-Cache Patching: Tracing How and Where Fine-Tuned Behaviors Arise》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Fine-tuning a language model changes how it responds, but where is this fine-tuned behavior instantiated? To better understand this, we evaluate whether the change in model behavior arises only during the generation of the answer tokens where the change manifests, or whether altered processing of previous tokens causes it via the attention mechanism. For this, we patch the KV cache from a LoRA fine-tuned model into the unmodified base model, and vice versa. Our results show that for some behaviors, like responding in German or emergent misalignment, patching the KV cache can indeed transfer them from the fine-tuned to the base model. Correspondingly, patching the KV cache from base to fine-tune can partially or fully remove fine-tuned behavior. Furthermore, we find that the effect of patching grows with how much of the KV cache is patched and concentrates at a few pivotal positions, with system-prompt and chat-template tokens having disproportionate influence.
评论: Interpretability as a Science Workshop at NeurIPS 2026. Project page: https://jonasloos.github.io/kv-patching
主题: 计算与语言 (cs.CL); 机器学习 (cs.LG)
引用方式: arXiv:2610.41480 [cs.CL]
  (或者 arXiv:2610.41480v1 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2610.41480

提交历史

来自:Jonas Loos
[v1] 2026年10月30日 星期五 09:35:33 UTC (239 KB)
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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