Identifying fake cosmetics using AI
groverlab.org
groverlab.org
- https://groverlab.org/research/2022-05-06-candycodes.html
- https://groverlab.org/research/2026-03-19-disintegration-fin...
(edit: Formatting)
Also, given that for example L'Oreal / Lancome and Maybelline cold creme are the same thing, is L'Oreal fake Mabelline or Mabelline fake L'Oreal?
Whaaaattt? How could the author go through such detail and discover that Gemini completely failed in the assigned task (calling all the products fakes when some were and some weren't means that it provided zero correct assistance in this discrimination task) and then conclude "AI could play a helpful role"??? Does the author also conclude that stopped clocks could play a helpful role telling time because the are correct twice a day?
Apparently AI isn't the only thing that hallucinates.
Very odd conclusion to an otherwise interesting experiment.
Gemini wrongly called an authentic product a fake, but that was mainly because there really were typographical errors in the authentic product's ingredient list. That's more of an indictment of the manufacturer than it is Gemini.
Finally, a lot of the things that Gemini got wrong seemed to me like they could reasonably be attributed to things like optical artifacts in the photos (glare, shadows, stuff like that). Better/more photos might improve that.
All that being said, this is obviously a tiny study of a single AI tool with a single brand of cosmetic product, so it's probably premature for me to optimistic, even cautiously. I've edited the last section of the writeup accordingly.
Yet I still think your study was a microcosm of the greatest dangers I think about AI. That is, it was astoundingly good at doing small scale feature detection, but astoundingly bad at synthesizing an overall conclusion, and worse, it did so with characteristic "AI certainty". Also, in the real world just like you found, pictures have glare, and real manufacturers have mistakes. The horrifyingly scary thing is that even if you think Gemini did a fairly good job at feature detection, in the real world people have and will just follow the AI conclusions blindly because they're "mostly" correct, even when they lead to completely wrong outcomes.
Heck, a Tesla already killed its passenger when it rammed into the side of a truck a few years ago because it mistook glare on the truck for the sun. Military planners blew up a school of young children based on old data, yet the Pentagon tried to blacklist Anthropic because Anthropic didn't want to provide autonomous kill capabilities.
I don't mean to sound over dramatic, but again, to me your study highlights everything I think is wrong with AI and the extreme dangers it will cause if society relies on it too much, which it has already begun to do.
Even if these techniques did not produce false positives on genuine products, I suspect that they would not scale well. If counterfeiters realized they were losing a lot of sales through AI detection, they will just use AI to catch the errors themselves.
I'm hopeful that future AI models (perhaps trained for this purpose, not a general-purpose model like I used here) might be able to identify more subtle variations in e.g. injection molding patterns, the surface finish of a pill, things that would be hopefully a lot harder for counterfeiters to fix than a typo.
As well as the fact they have already done well enough to fool almost all buyers.
And yes, packaging mistakes with chemical names and typography are quite common for anyone who occasionally pays attention to these things.
my wife bought some cosmetics from amazon that turned out to be counterfeit and the only reason we knew it was because we had previously purchased the correct item from sephora and the bottle was quite different.
i tried to complain to the brand and amazon, but no one really cared and they gave me a refund and kept on selling.
it would be really awesome if there was a way for companies to upload high quality imagery of legit products and they could be used by ai engines to identify fakes.