什么是性别编码检测?Claude 或 Gemini 能像 Gender Decoder 一样检查招聘启事吗?
性别编码检测会统计招聘启事里偏男性和偏女性的词。测试中 Claude 和 Gemini 懂语境,但数错了数,还悄悄改了岗位内容。
- Fairer hiring
- Better hires
2026年10月27日 · 3 分钟阅读

提示词为英文:在各类AI工具中英文提示词效果最佳。
改写前 22 个偏男性词,改写后 1 个。这是 Claude 清理我们虚构的销售招聘启事后的结果;Gemini 留下了 5 个。两者还悄悄改动了岗位本身。
简短回答: 性别编码检测,就是扫描招聘启事,找出研究认为与男性相关的词(如 "competitive"、"dominate")和与女性相关的词(如 "support"、"collaborate"),因为偏男性的措辞会让女性觉得这份工作不适合自己。Claude 和 Gemini 擅长判断被标出的词里哪些真正在描述候选人,但不擅长计数。计数交给检测工具,语境分析和改写交给 AI,改完再数一遍。

研究与计数工具
Gaucher、Friesen 和 Kay 在 2011 年发表的论文(Journal of Personality and Social Psychology)发现,措辞越偏男性的招聘启事,越会让人觉得这个岗位上男性更多,女性也认为这类岗位吸引力更低,主要原因是觉得自己会格格不入。Kat Matfield 的 Gender Decoder 把受这篇论文启发的词表做成了计数器,按词干匹配:"compet" 可以匹配 competitive、compete 和 competition。
一则启事,三个计数器
我们写了一则高级客户经理(Senior Account Executive)的招聘启事,里面满是 "dominate"、"fearless" 和 "fights to win every deal"。用脚本运行 Gender Decoder 的公开词表,结果是 22 个偏男性词、7 个偏女性词。 然后我们让每个工具各检查三次:
You are helping me check a job ad for gendered wording. Research by Gaucher, Friesen and Kay (2011) found that some words in job ads are masculine-coded and some are feminine-coded.
List every masculine-coded word and every feminine-coded word in the ad below, with the exact word as it appears. Then give the total count of each, and say whether the ad leans masculine, leans feminine or is neutral. If a word is only coded in some uses, tell me.
AD:
[paste your job ad]
六次回答都判定为 "strongly masculine"。但数字并不稳定。Claude 按论文词表数出 18、18、17 个偏男性词,加上检测工具的扩展词后是 22、22、21。Gemini 给出 16、17、21,其中两次因为 "driven"、"fearless" 和 "fights" 不在 2011 年的词表里而没有计入,所以这些总数没有可比性。两个工具对词表本身的说法也不一致:Gemini 说词表里只有 "self-confiden*",Claude 却把 "confident" 算了进去,而且 Claude 说自己是"凭记忆"在做。所以它们给出的总数只能参考,不能全信。
AI 胜过脚本的地方是语境:
| 脚本会计入的词 | 在这则启事里的实际含义 |
|---|---|
| leads | 销售线索,不是领导力(多数运行都标出了;Claude 第三次漏掉了) |
| active | "active pipeline",即进行中的销售管道 |
| aggressive | 客户提出的折扣要求 |
| individual | "individual contributor",一种职级 |
| support | 支持团队,一个部门 |
词表类工具不管语境,只要出现就计数,所以上面标出的所有词都计入了总数。
改写改变了岗位
我们让每个工具改写这则启事,保留所有职责,提示词如下:
Rewrite the job ad below so it no longer has masculine-coded wording, keeping every duty and requirement and the same length. Do not add perks or change the role. Return only the new ad.
AD:
[paste your job ad]
第二次和第三次运行,偏男性词最终为 2 和 2(Claude)、5 和 6(Gemini);偏女性词为 11 和 8(Claude)、8 和 9(Gemini)。
Source: 我们的测试,虚构启事,用 Gender Decoder 开源词表通过脚本打分
Show the data
| 原始启事 | 改写后 | |
|---|---|---|
| Claude,偏男性词 | 22 | 1 |
| Gemini,偏男性词 | 22 | 5 |
| Claude,偏女性词 | 7 | 10 |
| Gemini,偏女性词 | 7 | 8 |
提示词里写的是 "no masculine-coded wording"(不要有偏男性措辞),这会把结果推向零,工具也确实做到了。但它们同时改动了岗位本身。"Fearless negotiator" 在 Claude 第三次运行中变成了 "a calm, steady negotiator";在 Gemini 第二次运行中变成了 "a skilled communicator"。Gemini 的三次改写全都删掉了 "Honest"。我们没有测试改为要求"平衡"的提示词。
我们会遵循的规则
- 计数用检测工具或脚本,不要用聊天。 让 AI 给出词语清单和语境说明,就像第一个提示词那样。
- 改写后重新打分,再把新旧启事对照着读, 看职责或特质有没有被改动。
- 目标是平衡,不是零, 并保留真正的硬性要求。
- 把它当作参考之一。 薪酬、任职要求和雇主口碑同样重要。
一则虚构启事、每个工具三次运行,这只是个小测试。各地对招聘广告的规定不同,请把相关规定视为地方性规定,并咨询您的律师;本文不构成法律建议。接下来: 检查启事中的年龄偏见,或从零开始起草一份招聘启事。
This article is general information, not legal advice. Laws differ by country and change often, so consult your lawyer before you rely on it for your situation.


