arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.10929cs.LGcs.AI
收藏

可恢复但不稳定:权重和激活中的局部线性结构

Recoverable but Not Stationary:Local Linear Structures in Weights and Activations

St. Petersburg Department of the Steklov Institute of Mathematics(斯捷克洛夫数学研究所圣彼得堡分所);St. Petersburg State University(圣彼得堡国立大学)

Irina Piontkovskaia, Sergey Nikolenko

AI总结:

研究神经网络中线性结构的存在性与尺度,发现局部低秩任务梯度结构,但固定任务平面假设不成立;首次恢复更新形成轨迹前缀基,捕获大部分恢复位移;提出随机搜索理论解释高维随机参数搜索有效性,并验证参数扰动与激活引导的关系。

摘要:

任务向量、LoRA、激活引导和预训练权重周围的随机搜索都表明学习行为可以由线性方向控制。我们询问哪些线性结构实际存在以及它们处于什么尺度。在合成多任务Transformer和DistilGPT-2/GPT-2上的LoRA适配器中,我们发现强烈的局部低秩任务梯度结构,但拒绝了固定任务平面假设:静态基会错过恢复方向,有用的基在100步内显著漂移。然而,首次恢复更新形成了一个轨迹前缀基,捕获了LoRA恢复位移的77%。我们开发了随机搜索理论,结合高斯局部线性定理,证明了即使在非常高维的情况下随机参数搜索的有效性。我们还研究了参数扰动与激活引导之间的关系:单次梯度步产生的激活偏移与标记对比CAA引导向量的余弦为0.58,对Qwen-0.5B BoolQ陈述具有类似的引导效果。我们通过在合成Transformer和LLM上的实验验证了结果。我们的结果表明,训练网络中的线性结构不是全局任务方向,而是演化的局部几何结构,这些结构在参数和激活空间中部分持续存在。

英文摘要:

Task vectors, LoRA, activation steering, and random search around pretrained weights all suggest that learned behaviour can be controlled by linear directions. We ask which linear structures actually exist and on what scale. In a synthetic multitask transformer and LoRA adapters on DistilGPT-2 / GPT-2 we find strong local low-rank task-gradient structure but reject the fixed-task-plane hypothesis: static bases miss the recovery direction, and the useful basis drifts substantially within 100 steps. However, the first recovery updates form a trajectory-prefix basis capturing 77% of the LoRA recovery displacement. We develop random search theory with a Gaussian local-linear theorem that justifies the effectiveness of random parameter search even in very high dimensions. We also study the relation between parameter perturbations and activation steering: a single gradient step produces an activation shift with 0.58 cosine to a labelled-contrast CAA steering vector, with a similar steering effect on Qwen-0.5B BoolQ statements. We validate our results with experiments on synthetic Transformers and LLMs. Our results suggest that linear structures in trained networks are not global task directions, but evolving local geometries that partially persist across parameter and activation spaces.

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

↑