180 painted portraits whose titles name the sitter: more than half of the women were coded as men, often with high confidence.
Face coding is trained on photographs. Museums have put their paintings online, and it is tempting to run them through the same tool. We did, to see what happens. The short answer is: do not.
235 painted portraits from the open collections of the Cleveland Museum of Art and the Art Institute of Chicago, from the 1500s and 1600s and from the 1800s, whose titles say who the sitter is: “Portrait of a Woman”, “Mrs. Potter Palmer”, “Portrait of a Man”. They were coded with Age and gender of faces. We kept the 180 paintings in which exactly one face was found and coded, and compared the code with the title.
| Coded as woman | Coded as man | Right | |
|---|---|---|---|
| Women, 1500s and 1600s | 23 | 14 | 62% |
| Women, 1800s | 21 | 36 | 37% |
| Men, 1500s and 1600s | 6 | 37 | 86% |
| Men, 1800s | 1 | 42 | 98% |
Of 94 painted women, 50 were coded as men, some of them with a probability above .99. The painted men came out right in 79 of 86 cases. On photographs of members of Congress the same tool found 91% of the women and all of the men. Anyone who had counted women in these paintings without a check would have found 28% where the titles say 52%.
A tool does not say when it is out of its depth. It gives a code and a probability for every face, and the probabilities are high for the wrong ones too. Drawings, cartoons, screenshots of old film and heavily filtered photos may all be in the same position, in ways nobody has tested for your material. A random sample of 50 faces coded by hand would have shown the problem in ten minutes.
How such a sample is drawn and how large it has to be is in How many images to check by hand.