谁获得词元,它承载什么?大型语言模型中的不平等名称支持与概念访问

·

研究论文 · 2026/09/30

姓名是个人标识符,但也承载社会意义,并常被用于评估语言模型如何对待不同人群。此类评估通常假设匹配的姓名是可比的模型输入。我们表明,这一假设在词汇接口处常常不成立:匹配的姓名不一定是匹配的输入。一些姓名获得直接的单令牌访问,而另一些则由多个子词组装而成,造成姓名表面支持的不平等。在近50万个名字和12个与LLM相关的分词器中,直接词汇访问具有高度选择性、模型依赖性,并且在种族和性别相关的姓名元数据上分布不均。我们引入NameTrace,一个模型原生、细粒度、行为前的框架,用于衡量不平等的姓名表面支持是保持为词汇属性,还是在任务相关的内部表征中变得可见。NameTrace通过模型自身在任务特定形容词轴上的概率,以连续的任务对齐权重衡量概念可及性。在同一种族/族裔-性别关联分层内匹配的原子和短片段姓名上,支持度预测了在奖学金、招聘、临床评估和贷款方面概念可及性的系统性差异。这些差异在所有八个匹配分层中持续存在,跨越模型家族,并迁移到未见过的姓名。隐藏状态干预进一步表明,所测量的任务方向具有下游影响力,会改变后续的约束选择。因此,不平等的词汇支持在输入层面具有人口结构特征,并在任务相关的模型计算中保持可见。NameTrace使词汇可比性可测量,支持一个更广泛的原则:行为可比性始于词汇可比性。

该研究挑战了LLM公平性评估中姓名匹配即输入匹配的常见假设,提供了可测量的词汇可比性框架,并证明词汇层面的不平等会持续影响任务相关的模型计算与决策,对公平性研究和模型评估具有重要启示。

Names are personal identifiers, but they also carry social meaning and are widely used to evaluate how language models treat different people. Such evaluations typically assume that matched names are comparable model inputs. We show that this assumption often fails at the lexical interface: matched names are not necessarily matched inputs. Some names receive direct single-token access, while others are assembled from multiple subwords, creating unequal name-surface support. Across nearly half a million first names and 12 LLM-associated tokenizers, direct lexical access is highly selective, model dependent, and uneven across race- and gender-associated name metadata. We introduce NameTrace, a model-native, fine-grained, pre-behavioral framework for measuring whether unequal name-surface support remains a vocabulary property or becomes visible in task-relevant internal representations. NameTrace measures concept accessibility from the model's own probabilities over task-specific adjective axes with continuous task-aligned weights. On matched atomic and short-fragmented names within the same race/ethnicity--gender-associated strata, support predicts systematic differences in concept accessibility across fellowship, hiring, clinical assessment, and lending. These differences persist across all eight matched strata, extend across model families, and transfer to unseen names. Hidden-state interventions further show that the measured task directions have downstream leverage, shifting later constrained choices. Unequal lexical support is therefore demographically structured at the input and remains visible in task-relevant model computation. NameTrace makes lexical comparability measurable, supporting a broader principle: behavioral comparability begins with lexical comparability.

阅读原文

参与讨论