从反向传播到正向回放:重新审视LLM参数编辑中的目标构造
From Backward Spreading to Forward Replay: Revisiting Target Construction in LLM Parameter Editing
AI总结:
本文重新审视LLM参数编辑中的目标构造,提出一种更简洁的替代方法,通过正向传播代替反向传播,提高目标隐藏状态的准确性和兼容性。
摘要:
LLM参数编辑方法通常依赖于计算目标层的理想隐藏状态(称为锚点)并将其分布到多个前层(通常称为反向传播)以实现协同编辑。尽管长期广泛使用,其基础理论尚未系统研究。本文首先系统研究其基础,有助于明确其能力边界、实际考虑和潜在失败模式。然后,我们提出了一种简单优雅的替代方法,用正向传播代替反向传播。不优化最后一层的靶标,而是在第一编辑层优化锚点,然后将其传播到后续所有编辑层,以获得准确且相互兼容的目标隐藏状态。这种方法达到与现有方法相同计算复杂度,同时产生更准确的层间目标。我们的方法简单,不影响初始目标隐藏状态的计算或后续编辑流程的其他组件,因此对广泛的LLM参数编辑方法有益。
英文摘要:
LLM parameter editing methods commonly rely on computing an ideal target hidden-state at a target layer (referred as anchor point) and distributing the target vector to multiple preceding layers (commonly known as backward spreading) for cooperative editing. Although widely used for a long time, its underlying basis have not been systematically investigated. In this paper, we first conduct a systematic study of its foundations, which helps clarify its capability boundaries, practical considerations, and potential failure modes. Then, we propose a simple and elegant alternative that replaces backward spreading with forward-propagation. Instead of optimizing the target at the last editing layer, we optimize the anchor point at the first editing layer, and then propagate it forward to obtain accurate and mutually compatible target hidden-states for all subsequent editing layers. This approach achieves the same computational complexity as existing methods while producing more accurate layer-wise targets. Our method is simple, without interfering with either the computation of the initial target hidden state or any other components of the subsequent editing pipeline, and thus constituting a benefit for a wide range of LLM parameter editing methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。