语言模型中的不变特征:几何特性与模型归因
Invariant Features in Language Models: Geometric Characterization and Model Attribution
AI总结:
研究探讨语言模型中不变特征的几何特性及归因方法,提出局部几何框架并验证其在不同模型和层中的有效性。
摘要:
语言模型对同义替换具有强鲁棒性,暗示语义信息可能通过稳定的内部表示编码,但其结构和来源仍不明确。本文提出一个局部几何框架,其中语义等价输入占据潜在空间中的结构区域,同义替换沿干扰方向变化,而语义身份保留在不变子空间中。基于此观点,我们做出三个贡献:(1) 对不变潜在特征的几何表征,(2) 一种对比子空间发现方法,用于分离语义变化与语义保持变化,(3) 将不变表示应用于零样本模型归因。在不同模型和层中,实证结果支持这些贡献。不变结构出现在特定深度区域,语义位移主要位于干扰子空间之外,表示层面干预表明不变成分在模型输出中具有因果作用。不变表示还捕捉到模型特定的几何模式,实现了准确归因。这些发现表明,语义不变性可以被视为潜在表示的局部几何属性,为语言模型组织意义提供了系统视角。
英文摘要:
Language models exhibit strong robustness to paraphrasing, suggesting that semantic information may be encoded through stable internal representations, yet the structure and origin of such invariance remain unclear. We propose a local geometric framework in which semantically equivalent inputs produce representations that occupy structured regions in latent space, with paraphrastic variation along nuisance directions and semantic identity preserved in invariant subspaces. Building on this view, we make three contributions: (1) a geometric characterization of invariant latent features, (2) a contrastive subspace discovery method that separates semantic-changing from semantic-preserving variation, and (3) an application of invariant representations to zero-shot model attribution. Across models and layers, empirical results support these contributions. Invariant structure emerges in specific depth regions, semantic displacement lies largely outside the nuisance subspace, and representation-level interventions indicate a causal role of invariant components in model outputs. Invariant representations also capture model-specific geometric patterns, enabling accurate attribution. Together, these findings support a local geometric characterization of semantic invariance in language model representations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。