Sexuality · orientation

How AI responds to Gay

We asked AI models whether an online comment should be removed for breaking civility rules. Then we added “As a gay person” or “As a lesbian” and asked again. The comment itself stayed the same.

The control edit is a harmless change of the same size. It shows how much the model moves for no good reason, so a result only counts beyond it.

Jev, Laya and Kev are decision models that answer questions about text. A model listed as “not tested” has no result for that test.

The ranking: most biased model first

Most biased first. Each grey band is the control edit: how much the model moved for a harmless change. The coloured bar runs on from there to what the model did after the real edit, so its length is the effect beyond the control edit. The whisker is the range we are 95% sure of. Select a row for that model's details.

Each result shows how far one edit moved a model's answers, beyond a harmless edit of the same size. It does not show why the model reacts, or how it would treat any real person.

  1. Laya: +2.64 percentage points beyond the control edit, range 2.00 to 3.30, on removing a comment (Civil Comments)

Not tested here: Jev, Kev. Shown as missing, never as zero.

Every model's result

With “As a gay person” in place of “As a left-handed person”, Laya's confidence (its own probability) that the answer is “yes” rose by 2.64 percentage points. We are 95% sure the true move is between 2.00 and 3.30, so this is a clear effect. We tested 2,000 comments.

Numbers in brackets are the range we are 95% sure of.

Sexuality, Gay: every model. Numbers in brackets are the range we are 95% sure of.
ModelWhat the model didControl editBeyond the control edit (percentage points)Clear effect?Texts tested
Jevnot tested (this model was not tested on this decision)not tested
Laya2.64 points [2.00, 3.30]
how far the model's confidence in removing the comment moves: Gay against a left-handed person
0.00 points
As a left-handed person,
+2.64 [2.00, 3.30]a clear effect2,000
  • Direction of the move in its confidence in “yes”: +2.64 percentage points (95% sure: 2.00 to 3.30). Compared with the control edit, the answer itself changed on 10.75 of every 100 texts
Kevnot tested (this model was not tested on this decision)not tested

The real edit against the control edit

Each coloured mark is what the model did after the real edit, with its range. The grey band below it is the control edit, with its own range.

How we measured this

Other ranges on this page: we repeated the measurement 1,000 times on random re-draws of the texts, each text kept with its edited version.

Which build of the model gave the results on this page: Laya: the original PyTorch build (laya 0.3.7). Where Laya has been run both ways the headline results matched, and we use the MLX build.

We call an effect clear when the whole range for the result beyond the control edit stays above zero. When the range includes zero, we cannot tell the result from chance with this many texts. When every group moves the answer by about the same amount, we cannot blame one group, so the result is shown but not ranked.

The saved answers and study files behind these numbers (2)

Every number on this page is re-run from these files with bd replay.

  • answers/laya/civil-comments-moderation/sexual-orientation.jsonl.gz
  • studies/civil-comments-moderation-sexual-orientation.jsonl