arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.19337cs.CLcs.CV
收藏

Token级熵揭示语言模型中的群体统计差异

Token-Level Entropy Reveals Demographic Disparities in Large Language Models

Independent Researcher(独立研究者)

Messi H. J. Lee

AI总结:

通过测量零温度下全词汇香农熵,发现黑裔名字比白裔名字产生更高的首token熵,且女性名字比男性名字产生更低的熵和更同质的输出,种族和性别效应可加,指令微调未减弱种族差距,显式群体标签探测无显著种族效应。

摘要:

我们探究仅由姓名标识的人口统计身份是否会系统性地重塑语言模型的生成分布。在六个开源基础模型和5760个隐式句子补全提示(例如“Tanisha在一个周一早晨走进办公室,然后”)上,测量零温度下的全词汇香农熵,我们发现,在所有六个架构中,与白裔名字相比,黑裔名字产生更高的首token熵——这与在显式人口统计提示下记录的输出层面同质性偏差(Lee等人,2024)相反——并且黑裔名字总是比白裔名字在身份中性基线之上产生更大的熵(所有六个模型中ΔΔ>0)。与男性名字相比,女性名字伴随更低的首token熵(DL合并β̂=-0.041,p=0.019)和更同质的输出(α̂=+0.024,p<0.001)——这一模式与同质性偏差收敛;种族和性别效应是可加的。指令微调并未减弱种族差距(匹配格式DL合并β̂=+0.153)。使用显式群体标签而非姓名运行相同模板,在隐式探测显著的12个模型中有10个产生无效的种族效应——这表明探测方法是恢复哪种分布结构的主要决定因素。

英文摘要:

A name alone measurably reshapes a language model's next-token distribution before a single token is sampled. We measure full-vocabulary Shannon entropy of the next-token distribution across six open-weight model families on 5,760 sentence-completion prompts in which race and gender are signaled only by a first name. Black-associated names co-occur with higher first-token entropy and more diverse continuations than White-associated names -- directionally consistent in all six instruction-tuned models under shared raw-text input, all six base checkpoints, and, for output diversity, five of six models under native chat formatting -- opposite to the homogeneity bias documented under explicit group labels (Lee et al., 2024). The gap persists under tokenization and frequency controls and on a frequency-matched name subset; per-prompt effects are small (d = 0.06-0.16) but uniformly signed (template-level paired d = 0.66-1.08). Gender points the other way, additively with race. First-token entropy attenuates sharply under chat-formatted input, and explicit group-label probing is mostly null or reversed; a variance-matched comparison locates the output-diversity disparity in heterogeneity across name-conditioned continuations -- a dimension a fixed group label cannot express. Probing methodology shapes not only whether a disparity is detected but which direction it takes.

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

↑