Hidden inside the foundation of popular artificial intelligence image-generators are thousands of images of child sexual abuse, according to a that urges companies to take action to address a harmful flaw in the technology they built.
Those same images have made it easier for AI systems to produce realistic and explicit imagery of fake children as well as transform social media photos of fully clothed real teens into nudes, much to the alarm of around the world.
Until recently, anti-abuse researchers thought the only way that some unchecked AI tools produced abusive imagery of children was by essentially combining what they've learned from two separate buckets of online images 鈥 adult pornography and benign photos of kids.
But the Stanford Internet Observatory found more than 3,200 images of suspected child sexual abuse in the giant AI database LAION, an index of online images and captions that's been used to train leading AI image-makers such as Stable Diffusion. The watchdog group based at Stanford University worked with the Canadian Centre for Child Protection and other anti-abuse charities to identify the illegal material and report the original photo links to law enforcement. It said roughly 1,000 of the images it found were externally validated.
The response was immediate. On the eve of the Wednesday release of the Stanford Internet Observatory鈥檚 report, LAION told The Associated Press it was temporarily removing its datasets.
LAION, which stands for the nonprofit Large-scale Artificial Intelligence Open Network, said in a statement that it 鈥渉as a zero tolerance policy for illegal content and in an abundance of caution, we have taken down the LAION datasets to ensure they are safe before republishing them.鈥
While the images account for just a fraction of LAION鈥檚 index of some 5.8 billion images, the Stanford group says it is likely influencing the ability of AI tools to generate harmful outputs and reinforcing the prior abuse of real victims who appear multiple times.
It鈥檚 not an easy problem to fix, and traces back to many generative AI projects being 鈥渆ffectively rushed to market鈥 and made widely accessible because the field is so competitive, said Stanford Internet Observatory's chief technologist David Thiel, who authored the report.
鈥淭aking an entire internet-wide scrape and making that dataset to train models is something that should have been confined to a research operation, if anything, and is not something that should have been without a lot more rigorous attention,鈥 Thiel said in an interview.
A prominent LAION user that helped shape the dataset's development is London-based startup Stability AI, maker of the Stable Diffusion text-to-image models. New versions of Stable Diffusion have made it much harder to create harmful content, but an older version introduced last year 鈥 which Stability AI says it didn't release 鈥 is still baked into other applications and tools and remains 鈥渢he most popular model for generating explicit imagery,鈥 according to the Stanford report.
鈥淲e can鈥檛 take that back. That model is in the hands of many people on their local machines,鈥 said Lloyd Richardson, director of information technology at the Canadian Centre for Child Protection, which runs sa国际传媒's hotline for reporting online sexual exploitation.
Stability AI on Wednesday said it only hosts filtered versions of Stable Diffusion and that 鈥渟ince taking over the exclusive development of Stable Diffusion, Stability AI has taken proactive steps to mitigate the risk of misuse.鈥
鈥淭hose filters remove unsafe content from reaching the models,鈥 the company said in a prepared statement. "By removing that content before it ever reaches the model, we can help to prevent the model from generating unsafe content.鈥
LAION was the brainchild of a German researcher and teacher, Christoph Schuhmann, who told the AP earlier this year that part of the reason to make such a huge visual database publicly accessible was to ensure that the future of AI development isn't controlled by a handful of powerful companies.
鈥淚t will be much safer and much more fair if we can democratize it so that the whole research community and the whole general public can benefit from it,鈥 he said.
Much of LAION's data comes from another source, Common Crawl, a repository of data constantly trawled from the open internet, but Common Crawl's executive director, Rich Skrenta, said it was "incumbent on" LAION to scan and filter what it took before making use of it.
LAION said this week it developed 鈥渞igorous filters鈥 to detect and remove illegal content before releasing its datasets and is still working to improve those filters. The Stanford report acknowledged LAION's developers made some attempts to filter out 鈥渦nderage鈥 explicit content but might have done a better job had they consulted earlier with child safety experts.
Many text-to-image generators are derived in some way from the LAION database, though it's not always clear which ones. OpenAI, maker of DALL-E and ChatGPT, said it doesn't use LAION and has fine-tuned its models to refuse requests for sexual content involving minors.
Google built its text-to-image Imagen model based on a LAION dataset but decided against making it public in 2022 after an 鈥渦ncovered a wide range of inappropriate content including pornographic imagery, racist slurs, and harmful social stereotypes.鈥
Trying to clean up the data retroactively is difficult, so the Stanford Internet Observatory is calling for more drastic measures. One is for anyone who's built training sets off of LAION鈥5B 鈥 named for the more than 5 billion image-text pairs it contains 鈥 to 鈥渄elete them or work with intermediaries to clean the material.鈥 Another is to effectively make an older version of Stable Diffusion disappear from all but the darkest corners of the internet.
鈥淟egitimate platforms can stop offering versions of it for download,鈥 particularly if they are frequently used to generate abusive images and have no safeguards to block them, Thiel said.
As an example, Thiel called out CivitAI, a platform that's favored by people making AI-generated pornography but which he said lacks safety measures to weigh it against making images of children. The report also calls on AI company Hugging Face, which distributes the training data for models, to implement better methods to report and remove links to abusive material.
Hugging Face said it is regularly working with regulators and child safety groups to identify and remove abusive material. Meanwhile, CivitAI said it has 鈥渟trict policies鈥 on the generation of images depicting children and has rolled out updates to provide more safeguards. The company also said it is working to ensure its policies are 鈥渁dapting and growing鈥 as the technology evolves.
The Stanford report also questions whether any photos of children 鈥 even the most benign 鈥 should be fed into AI systems without their in the federal Children鈥檚 Online Privacy Protection Act.
Rebecca Portnoff, the director of data science at the anti-child sexual abuse organization Thorn, said her organization has conducted research that shows the prevalence of AI-generated images among abusers is small, but growing consistently.
Developers can mitigate these harms by making sure the datasets they use to develop AI models are clean of abuse materials. Portnoff said there are also opportunities to mitigate harmful uses down the line after models are already in circulation.
Tech companies and child safety groups currently assign videos and images a 鈥渉ash鈥 鈥 unique digital signatures 鈥 to track and take down child abuse materials. According to Portnoff, the same concept can be applied to AI models that are being misused.
鈥淚t鈥檚 not currently happening," she said. 鈥淏ut it鈥檚 something that in my opinion can and should be done.鈥
Matt O'brien And Haleluya Hadero, The Associated Press