arXiv cs.CL· Jonas Loos, Oliver Eberle·· 27 天前AI 评分44
KV-Cache Patching:追踪微调行为如何、在哪里产生
KV-Cache Patching: Tracing How and Where Fine-Tuned Behaviors Arise
AI 导读
KV-Cache Patching 将 LoRA 微调模型的 KV cache 补丁进未修改的基础模型并反向操作,可将部分微调行为在两者间迁移。用德语回答、涌现性失配等行为可从微调模型转移到基础模型,反向打补丁则能部分或完全消除微调行为。补丁效果随被替换的 KV cache 比例增大,并集中在少数关键位置,system prompt 与 chat template 的 token 影响尤其显著。
来源:arXiv cs.CL · arxiv.org