AidText

What reviewers ask about automated face coding

Accuracy on your material, bias, face size, age, ethics and replication: the questions and how to answer them, with test results.

Questions that come back from reviewers when a paper codes faces with software, and how to answer them.

How accurate is it on your material?

A published accuracy says little about your photos. Code a random sample by hand and report the agreement on your own material. How far the answer can move: the same tool agreed with the record on 97.4% of 500 official portraits, and with the titles on fewer than half of the women in 19th-century paintings.

Does it work the same for everyone?

No, and the paper should say so. In those portraits no man was coded as a woman and 9% of the women were coded as men. Errors of this kind are known from many systems (Raji and colleagues, 2020, discuss how such systems are audited). Give the agreement for each group you compare, and report corrected shares.

How large were the faces?

Size is the first thing to look at in street and crowd photos. We shrank 250 of the portraits step by step:

Gender coding of the same 250 portraits at smaller and smaller sizes
Median face, pixelsFaces codedAgreement, %Women coded as womenMen coded as men
22825097.657 of 63187 of 187
10625097.256 of 63187 of 187
7925096.855 of 63187 of 187
5322796.549 of 57170 of 170
4018195.635 of 43138 of 138
261

Agreement with the official record. Faces under 32 pixels are counted and not coded.

Women are missed more often as the faces get smaller, while every man is still coded as a man. A street scene full of small faces will therefore show too few women.

Can you trust the age groups?

Less than gender. Of the 500 members of Congress, 82 were coded as under 30 and 12 as under 20, although nobody can sit in the House before 25. Use age groups to compare sets of photos coded the same way, merge neighbouring groups, and check a sample.

Is this ethical?

Coding appearance is not knowing a person. Say that the codes are how faces appear, that they were used for figures about a set of images and not about individuals, where the images come from and on what terms, and what your ethics board decided. Do not publish labelled faces of private people. Keyes (2018) sets out what automatic gender recognition leaves out, and a paper that relies on it should engage with that.

Can it be replicated?

Publish the data file with the paper: one row for each face, with its codes and probabilities. Anyone can rerun the analysis from it, and the images can be coded again with another tool.

Age and gender of faces

References

All tools · Privacy