Technical Manual for a Toolkit for Measuring Contextual Individuation in Transformer Language Models· 在变压器语言模型中测量上下文 individuation 的工具箱技术手册
A transformer language model assigns a single, context-independent vector to a word type at its embedding layer, yet is widely believed to individuate that word's occurrences by context in its later layers. Testing this belief cleanly requires a construct that holds the word form fixed while its context and intended sense vary in a controlled, labeled way. This manual documents an open toolkit built around such a construct, which we call a bridge form: a single written word that recurs, unchanged, across two or more subject domains with a different sense in each. We describe, and justify, every stage of the pipeline: the declarative specification of bridge forms and their source domains, corpus acquisition from Wikipedia, occurrence localization, layer-wise representation extraction, a dom
探索变压器语言模型中词的上下文特化表征工具箱
- 核心方法
- 构建了包含桥接形式的技术工具箱,通过固定词形、变化上下文和领域来测试词的上下文特化程度
- 适合谁读
- 研究者
- 要解决的问题
- 验证变压器语言模型是否根据上下文对同一个词的不同出现进行个性化处理
- 关键实验
- 未提供
- 主要贡献
- 提供了详细的工具箱使用说明,包括桥接形式的定义、语料库获取、模型表征提取等
- 意义与局限
- 有助于深入理解变压器模型处理语言的机制,推动模型透明度和可解释性研究,但工具箱的应用场景和效果仍需实际测试验证