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

神经表示空间中的规范自由与度量依赖性

Gauge Freedom and Metric Dependence in Neural Representation Spaces

Physics Department, Portland Community College(波特兰社区学院物理系)

Jericho Cain

AI总结:

研究神经表示空间中的规范自由与度量依赖性,揭示余弦相似度等度量的依赖性及对模型预测的影响。

摘要:

神经网络表示通常被分析为固定欧几里得空间中的向量。然而,其坐标并非唯一确定。如果隐藏表示通过可逆线性映射进行变换,则通过将逆变换应用于下游权重可以保持网络函数。因此,表示仅在可逆线性变换下定义。我们从几何角度研究神经表示空间,并将其视为具有规范自由度的向量空间,其下一般线性群的作用。在此框架下,常用的相似度度量如余弦相似度成为依赖度量的量值,其值可以在不改变模型函数的坐标变换下发生变化。这为文献中的若干观察提供了共同的解释,包括余弦相似度的不稳定性、嵌入空间中的各向异性以及表示比较方法如SVCCA和CKA的吸引力。在多层感知机和卷积网络上的实验表明,将可逆变换插入训练模型中可以显著扭曲余弦相似度和最近邻结构,同时保持预测不变。这些结果表明,神经表示的分析应关注在该规范自由下不变的量或显式选择的规范坐标。

英文摘要:

Neural network representations are often analyzed as vectors in a fixed Euclidean space. However, their coordinates are not uniquely defined. If a hidden representation is transformed by an invertible linear map, the network function can be preserved by applying the inverse transformation to downstream weights. Representations are therefore defined only up to invertible linear transformations. We study neural representation spaces from this geometric viewpoint and treat them as vector spaces with a gauge freedom under the general linear group. Within this framework, commonly used similarity measures such as cosine similarity become metric-dependent quantities whose values can change under coordinate transformations that leave the model function unchanged. This provides a common interpretation for several observations in the literature, including cosine-similarity instability, anisotropy in embedding spaces, and the appeal of representation comparison methods such as SVCCA and CKA. Experiments on multilayer perceptrons and convolutional networks confirm that inserting invertible transformations into trained models can substantially distort cosine similarity and nearest-neighbor structure while leaving predictions unchanged. These results indicate that analysis of neural representations should focus either on quantities that are invariant under this gauge freedom or on explicitly chosen canonical coordinates.

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

↑