by vidarh · 2y ago · 0 comments
This turns black and mixed people into white-presenting caricatures of themselves. E.g. compare [1] and [2] where the hairstyles of the black people are turned into distinctly "white" hairstyles. My son's hair is closer in texture to that of the man on the right, and there's no way of getting it into the shape of the coloring-in page.
I get there's no ill intent here, but even for far less ethnically ambiguous inputs this "whitewashes" hairstyles and general appearance, and once I saw it I couldn't unsee it.
If my son was the age to want to use this, I'd be concerned about letting him use this, because I know he is sensitive about how he is different to his friends, etc. and this would wildly misrepresent and erase his actual appearance.
[3] and [4] is another stark example.
[5] and [6]....
[1] https://portraitart.app/static/gallery/group1_original_1024....
[2] https://portraitart.app/static/gallery/group1_coloring_page_...
[3] https://portraitart.app/static/gallery/portrait4_original_10...
[4] https://portraitart.app/static/gallery/portrait4_coloring_pa...
[5] https://portraitart.app/static/gallery/basketball2_original_...
[6] https://portraitart.app/static/gallery/basketball2_coloring_...
I was not at all surprised when it turned Black people into White people.
This to me is one of the clearest examples I've seen of what people talk about when they talk about biases in training data. Clearly the training data of "coloring books" is heavily biased towards "stereotypical 1950s white people" and turns everyone into them.
(And you can add [1] and [2] to your list of comparison images.)
1. https://portraitart.app/static/gallery/father1_original_1024...
2. https://portraitart.app/static/gallery/father1_coloring_page...
It does not apply to a machine doing a poor job because it lacks context in its training data. Just like medieval art, which was inaccurate¹ due to ignorance, not because the person doing the drawing decided to add some flare.
There's a site showing how Europeans drew elephants from popular descriptions once they disappeared from the continent: https://www.uliwestphal.de/elephas-anthropogenus/index.html
[1]: https://portraitart.app/static/gallery/group1_original_1024....
[2]: https://portraitart.app/static/gallery/group1_coloring_page_...
We use a model but not a diffusion model + controlnet which is what I'm assuming this website does.
Would love any feedback on the results + site [2] – before it's asked: we do not use any user uploaded images for model training, they're only stored to show you the color version of your originally uploaded image
[1] https://static.dreamandcolor.com/aa828ad1-5696-4d4e-95eb-bcd...
Also, just FYI, asking three different time across these comments for people to check out your site feels a bit spammy to me. I'd suggest you do your own 'Show HN' if you are trying to engage with the community here for feedback.
And one that is very likely underrepresented in the training set for no fault of theirs.
And this is why getting diversity "right" (so not the Gemini fiasco way) is hard - you can be extremely well meaning and just not have it register until someone for whom it's personal looks at it.
There are several modes (https://portraitart.app/portrait-art) - some of them are better at keeping people looking like they originally look, the "coloring page" mode seems to be the most "heavy-handed"...
It also doesn't like freckles: https://portraitart.app/static/gallery/portrait6_original_10... -> https://portraitart.app/static/gallery/portrait6_pencilsketc...
After some further browsing, the "caricature" mode seems to be the strangest - caricatures are supposed to take the characteristic traits of a person and exaggerate them in a humorous way, while these images sometimes lack even the slightest resemblance to the original. For example, this mixed race couple https://portraitart.app/static/gallery/couple1_original_1024... is not only turned into two brunettes https://portraitart.app/static/gallery/couple1_caricature_10..., but they also have a different pose, different hairstyle and wear completely different clothes...
Once a failure mode is known - like here - how do you fix it? The foundational problem is minorities are a minority of the training set. Good training data is expensive, so how can we practically boost representation without getting the Gemini fiasco?
One idea: start with the best coloring books. Presumably some human has mastered the art of “accurately representing black or mixed hair without it turning into a caricature”. Find them, and start buying their art. When they have drawings based on photos, use that training pair. When they have line art only, use a style transfer tool (like this one!) to convert to a photo. That gives you another pair for use in the other direction.
Another idea: make it easy to users to flag poor transfers. Add a “whitewashed” option to the standard mod report flow. Feed that into RLHF. Get better.
Another idea: focus dev cycles on this. Once you have a system to flag problems and address them, use all this fancy AI to identify input photos with black/mixed hair. Manually inspect how the model performs and push feedback into the next training cycle.
One tool for this is https://www.aquariumlearning.com/
The point is - once you identify a corner of feature space where things break, you can fix them.
There absolutely are good examples, yes, and I think you're right that the failure of capturing it is largely down to volume in the extant datasets, and particularly in datasets that provide a direct match for the type of line-art colouring in style, which is in itself fairly dated.
I agree with all of your recommendations. I think it's definitely a problem that will be solved. The main thing is for people to get used to looking for it.