论文

Transformer模型上下文区分测量工具包技术手册

Technical Manual for a Toolkit for Measuring Contextual Individuation in Transformer Language Models

精选理由

研究人员发布了一套开源工具包,可测量Transformer模型如何区分同一词在不同上下文中的含义,包含完整流程和避免常见偏差的方法。

该工具包围绕"桥接形式"概念构建,用于测试Transformer模型如何通过上下文区分同一词的不同含义。工具包包含从桥接形式声明、语料获取到表示提取的完整流程,并采用成对轮廓测量方法评估模型表示空间中的分离度。

正文

所有设计选择都附带方法论说明,避免过度宽泛类别标签导致的含义污染、轮廓系数的多组偏差等问题。

原文 · arXiv cs.AI

Technical Manual for a Toolkit for Measuring Contextual Individuation in Transformer Language Models

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 domain-pairwise silhouette measurement of separation in the model's representation space, and a paired visualization protocol. Each design choice is presented together with the methodological failure mode it is meant to avoid (sense contamination from overly broad category labels, the multi-group bias of the silhouette coefficient, subword-tokenization misalignment, and axis-comparability artifacts in dimensionality-reduced plots, among others). This manuscript is a methodological and implementation reference: it does not report or interpret empirical outcomes of running the toolkit on any particular model or bridge-form set. The toolkit, its full source, and the corpora used to exercise it are archived separately (Section 9) under a persistent identifier, and are intended to be cited as an instrument by studies that use it to produce and interpret empirical results.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:Transformer、语言模型、上下文区分、测量工具包,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.AI」(@José Luciano Verçosa Marques, Frederico Jorge Heitmann, Daniel Omar Perez, Marcelo Vinicius de Paula, Tárcio André dos Santos Barros),经 AITOP 多维评分管线结构化提炼。

发现摘要或翻译有误? 告诉我们