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.
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.
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.
Size is the first thing to look at in street and crowd photos. We shrank 250 of the portraits step by step:
| Median face, pixels | Faces coded | Agreement, % | Women coded as women | Men coded as men |
|---|---|---|---|---|
| 228 | 250 | 97.6 | 57 of 63 | 187 of 187 |
| 106 | 250 | 97.2 | 56 of 63 | 187 of 187 |
| 79 | 250 | 96.8 | 55 of 63 | 187 of 187 |
| 53 | 227 | 96.5 | 49 of 57 | 170 of 170 |
| 40 | 181 | 95.6 | 35 of 43 | 138 of 138 |
| 26 | 1 |
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.
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.
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.
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.