arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.16897cs.CL
收藏

对比差异CKA揭示跨语言模型架构的概念特定结构对齐

Contrastive-Difference CKA Reveals Concept-Specific Structural Alignment Across Language Model Architectures

Alibaba Cloud(阿里云)

Xueping Gao

AI总结:

提出对比差异CKA(CKA_Delta)方法,发现不同LLM架构在概念表示上存在几何收敛与功能可迁移性分离的现象,能有效区分概念特定相似性与通用相似性。

摘要:

不同LLM架构是否以结构兼容的方式编码高层概念?我们系统性地刻画了几何-功能普遍性分离:在多个概念领域和架构家族中,适度的几何收敛与近乎完美的功能迁移共存。通过使用对比差异CKA(CKA_Delta),一种无需训练的诊断方法,在每样本对比差异上计算核对齐,我们从通用相似性中分离出概念特定的收敛——在标准CKA无法区分的场景下实现了显著区分。这种分离在我们测试的所有六个概念领域(五个领域几何区分p≤0.017,安全性作为收敛功能趋势p=0.08)中重复出现,包括两个非指令概念(代码vs自然语言、推理vs记忆),这些概念在没有系统提示的情况下得到验证;一个70B-70B对提供了观察性说明,即普遍性可能随规模增强,需要更多≥70B模型进行验证。我们将CKA_Delta定位为实用的领域分类器和架构异常检测器(Gemma:d=1.08,AUC=0.79),而非绝对的迁移准确性预测器,为跨架构概念监控提供了一种无需训练的诊断方法。

英文摘要:

Do language models encode the same prompted concepts in structurally compatible ways, beyond generic similarity induced by shared questions? We study contrastive-difference centered kernel alignment ($\mathrm{CKA}_Δ$), which compares per-question activation differences between opposing concept instructions. A matched same-concept versus cross-concept comparison separates the question of concept-conditioned structure from the magnitude of representational similarity. Across four checkpoints and eight personality-related traits, a fixed-final-layer analysis gives mean same- and cross-trait $\mathrm{CKA}_Δ$ of 0.7259 and 0.6828. Trait-label randomization detects correspondence conditional on this model and prompt set ($p=1/10001$, one-sided), but a model-and-trait-weighted 95% interval for the difference is $[-0.0330,0.1017]$, limiting broader generalization. Strict question-group holdouts retain high same-trait linear recoverability. More stringently, maps and preprocessing fitted on seven traits transfer a source polarity classifier for the eighth trait to handwritten test questions: mean affine and orthogonal accuracies are 88.10% and 88.57%, versus 47.70% for shuffled pairing. Performance varies substantially across traits and model directions. Synthetic controls show why moderate CKA and high affine accuracy alone do not establish functional equivalence. The results support a scoped diagnostic of concept-specific structure and held-out linear recoverability; they do not establish universal invariance or a robust advantage over raw CKA across architectures.

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

↑