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

表示即语言:一种用于可解释性的信息论框架

Representations as Language: An Information-Theoretic Framework for Interpretability

The University of Edinburgh(爱丁堡大学);School of Informatics(信息学院);Institute for Language Cognition and Computation(语言认知与计算研究所);Centre for Language Evolution(语言进化中心)

Henry Conklin, Kenny Smith

AI总结:

提出一种将模型表示视为语言的信息论可解释性框架,通过量化表示结构化程度来预测泛化能力,并揭示了训练阶段与噪声鲁棒性的联系。

摘要:

大规模神经模型在广泛的各类语言任务中展现出令人印象深刻的性能。尽管如此,它们在很大程度上仍是黑盒——生成难以解释的输入向量表示。这限制了我们理解它们学到了什么、何时学到,或描述哪种表示能在分布外良好泛化的能力。为了解决这个问题,我们引入了一种新的可解释性方法,将模型从句子到表示的映射视为一种独立的语言。在此过程中,我们引入了一组信息论度量,用于量化模型的表示相对于其输入的结构化程度,以及这种结构在训练过程中何时出现。我们的度量计算速度快,以语言学理论为基础,并能根据模型的表示预测哪些模型将泛化得最好。我们使用这些度量来描述训练 transformer 的两个不同阶段:第一阶段是减少任务损失的分布内学习,第二阶段是表示对噪声变得鲁棒。泛化性能在第二阶段开始提升,从而建立了泛化与噪声鲁棒性之间的联系。最后,我们探讨了模型规模如何影响表示空间的结构,表明较大的模型最终比较小的模型压缩了更多的表示。

英文摘要:

Large scale neural models show impressive performance across a wide array of linguistic tasks. Despite this they remain, largely, black-boxes - inducing vector-representations of their input that prove difficult to interpret. This limits our ability to understand what they learn, and when the learn it, or describe what kinds of representations generalise well out of distribution. To address this we introduce a novel approach to interpretability that looks at the mapping a model learns from sentences to representations as a kind of language in its own right. In doing so we introduce a set of information-theoretic measures that quantify how structured a model's representations are with respect to its input, and when during training that structure arises. Our measures are fast to compute, grounded in linguistic theory, and can predict which models will generalise best based on their representations. We use these measures to describe two distinct phases of training a transformer: an initial phase of in-distribution learning which reduces task loss, then a second stage where representations becoming robust to noise. Generalisation performance begins to increase during this second phase, drawing a link between generalisation and robustness to noise. Finally we look at how model size affects the structure of the representational space, showing that larger models ultimately compress their representations more than their smaller counterparts.

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

↑