arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.06164cs.LGcs.AI
收藏

模型对齐搜索

Model Alignment Search

Stanford University(斯坦福大学)

Satchel Grant

AI总结:

提出模型对齐搜索方法,通过双向转移神经活动度量功能相似性,结合反事实潜在目标提升因果相关性,揭示模型编码差异与微调错位。

摘要:

我们何时能说两个神经系统以相同的方式执行任务?当我们无法对系统的表征进行因果探测时,会错过哪些细微之处?我们又如何建立双向因果关系?在本研究中,我们引入了一种在人工神经网络之间双向转移神经活动的方法,并将其产生的行为作为功能相似性的度量。我们首先表明,该方法可用于将行为从一个冻结的神经网络(NN)转移到另一个,其方式类似于模型拼接,并展示了该方法与表征相似性分析等相关性相似性度量的不同之处。接下来,我们在经验和理论上证明,该方法在需要时可等价于模型拼接,或者可采取一种对共享因果信息更具限制性关注的形式;在两种形式下,它都将比较n个模型所需的矩阵数量减少至与n呈线性关系。随后,我们展示了一个关于数字相关任务的案例研究,表明该方法可用于检查因果信息的特定子类型,证明在循环模型中数字可根据任务被不同地编码;我们还展示了另一个案例研究,表明MAS能揭示微调后的DeepSeek-r1-Qwen-1.5B模型中的错位。最后,我们在损失函数中增加反事实潜在(CL)辅助目标,以在两个网络之一因果不可访问时(如在与生物网络进行比较时常见的情况)提高因果相关性。我们利用研究结果鼓励在神经相似性分析中使用因果方法,并建议未来探索用于模型错位的网络相似性方法论。

英文摘要:

When can we say that two neural systems perform a task in the same way? What nuances do we miss when we fail to causally probe the representations of the systems, and how do we establish bidirectional causal relationships? In this work, we introduce a method that bidirectionally transfers neural activity between artificial neural networks and uses their resulting behavior as a measure of functional similarity. We first show that the method can be used to transfer the behavior from one frozen Neural Network (NN) to another in a manner similar to model stitching, and we show how the method can differ from correlative similarity measures like Representational Similarity Analysis. Next, we empirically and theoretically show how the method can be equivalent to model stitching when desired, or it can take a form that has a more restrictive focus to shared causal information; in both forms, it reduces the number of required matrices for a comparison of n models to be linear in n. We then present a case study on number-related tasks showing that the method can be used to examine specific subtypes of causal information demonstrating that numbers can be encoded differently in recurrent models depending on the task, and we present another case study showing that MAS can reveal misalignment in fine-tuned DeepSeek-r1-Qwen-1.5B models. Lastly, we augment the loss function with a counterfactual latent (CL) auxiliary objective to improve causal relevance when one of the two networks is causally inaccessible (as is often the case in comparisons with biological networks). We use our results to encourage the use of causal methods in neural similarity analyses and to suggest future explorations of network similarity methodology for model misalignment.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑